:root {
    /* PDF-Palette: Weiß, Schwarz, neutrale Grautöne */
    --bg: #ffffff;
    --secondary-bg: #F4CEE0;
    --fg: #111111;
    /* Primärtext fast schwarz */
    --muted: #6b6f76;
    /* Sekundärtext grau */
    --line: #e6e7ea;
    /* sehr helles Trennliniengrau */
    --card: #fff;
    /* Kartenhintergrund hellgrau */
    --brand: #111111;
    /* Logo/Brand in tiefem Schwarz */
    --radius: 16px;
    --max: 1120px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.55 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif
}

a {
    color: var(--fg);
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

p{
    text-align: left;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}

/* Buttons rein monochrom */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--fg);
    border-radius: 999px;
    font-weight: 600;
    transition: background .15s, color .15s, opacity .15s
}

.btn.primary {
    background: var(--fg);
    color: #fff;
    border-color: var(--fg)
}

.btn.ghost {
    background: transparent;
    color: var(--fg)
}

.btn:hover {
    background: var(--fg);
    color: #fff
}

/* Header klar, halbtransparentes Weiß + feine Linie */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px
}

.brand {
    font-weight: 700;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    color: var(--brand)
}

.logo {
    height: 40px;
    margin-right: 8px;
    vertical-align: middle;
}

.menu {
    display: flex;
    gap: 2px;
    align-items: center
}

.menu a {
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--fg)
}

.menu a.active,
.menu a:hover {
    background: var(--card)
}

.hamburger {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px
}

.secondary {
    background: var(--secondary-bg)
}

.side-img{
    border-radius: 10px;
}

.map{
    align-items: center;
    justify-content: center;
    display: flex;
}

.partner-logos {
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    display: flex;
}

.partner-logo {
    max-width: 180px;
    height: auto;
    display: block;
}

@media (max-width:900px) {
    .menu {
        position: fixed;
        inset: 64px 12px auto auto;
        margin: 0;
        background: #ffffff;
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
        border-radius: 10px;
        padding: 12px 20px;
        width: 50%;
        display: none;
        flex-wrap: wrap
    }

    .menu.open {
        display: flex
    }

    .hamburger {
        display: flex;
        align-items: center;
    }
}

.subheader {
    font-size: 20px;
    margin-top: -8px;
    margin-bottom: 18px;
    display: block;
    font-weight: 500;
}

/* Typografie wie im PDF nüchtern und großflächig */
.hero {
    padding: 72px 0 48px
}

.hero h1 {
    font-size: clamp(22px, 4vw, 44px);
    line-height: 1.08;
    margin: 0 0 12px;
    color: var(--fg)
}

.hero p.lead {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 24px
}

.hero .note {
    margin-top: 18px;
    color: var(--muted)
}

section {
    padding: 64px 0;
    border-top: 1px solid var(--line)
}

h2 {
    font-size: clamp(22px, 3vw, 32px);
    margin: 0 0 14px;
    color: var(--fg)
}

.grid {
    display: grid;
    gap: 24px
}

.grid.cols-2 {
    grid-template-columns: 1.2fr 1fr
}

.grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}
.whatsapp i, .email i{
    font-size: 32px;
}
.email{
    margin-left: 1vw;
}

@media (max-width:900px) {

    .grid.cols-2,
    .grid.cols-3 {
        grid-template-columns: 1fr
    }
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px
}

.accordion{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--card);
}

.accordion-heading{
    font-weight: 700;
    margin: 0;
    padding: 12px 0;
    color: var(--fg);
}

.margin-bottom {
    margin-bottom: 24px
}

.margin-top {
    margin-top: 24px
}

.kachel {
    padding: 16px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--line);
}

.kachel-head {
    font-weight: 600;
    font-size: 15px;
    color: var(--fg);
}

.portrait {
    padding: 16px;
    border-radius: 12px;
}

.muted {
    color: var(--muted)
}

.downloads a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted)
}

/* Listenpunkte minimal */
.list {
    display: grid;
    gap: 10px
}

.list .item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    align-items: start
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fg);
    margin-top: 8px
}

.foot {
    display: flex;
    padding: 28px 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted)
}

.spacer {
    height: 8px
}

.accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    color: var(--fg);
}

.accordion-toggle .arrow {
    transition: transform 0.2s ease;
}

.accordion-toggle.open .arrow {
    transform: rotate(180deg);
}

.accordion-toggle span{
    text-align: left;
}

.accordion-toggle span.arrow {
    text-align: right;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.open {
    max-height: 800px;
}

.address-info p, #map-link{
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.address-info p i, #map-link i {
    margin-right: 8px;
    color: var(--fg);
}

.footer-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    transform: translateZ(0); /* verhindert gelegentliche Stacking-Context-Probleme */
    will-change: transform;
}

#copyright{
    text-align: center;
}

@media (max-width: 480px) {
    .footer-button {
        right: 12px;
        bottom: 12px;
    }
}

.secondary-btn{
    border: 1px solid var(--fg);
    background: #fff;
    color: var(--fg);
}

#address-font{
    text-decoration: underline;
}

#praxis-mobile {
    display: none;
}

#kimm {
    height: 500px;
    display: block;
    margin: 0 auto 24px;
    border-radius: 12px;
}