/* ===================================================================
   Physio Aarewelle – Demo-Seite
   Beispielprojekt von VikingPixels, keine echte Praxis.

   Bewusst hell und ruhig gehalten, im Gegensatz zur Barber-Demo:
   eine Praxis soll zugaenglich wirken, nicht nach Nachtclub aussehen.
   Mobile-first aufgebaut.
   =================================================================== */

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/montserrat-latin-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Farbwelt aus der ersten Physio-Demo: Waldgruen, Salbei, Sand auf Creme.
   Warm und ruhig statt kuehl-klinisch. --flaeche ist bewusst reines Weiss,
   damit sich Karten vom cremefarbenen Grund abheben. */
:root {
    --akzent: #3a5a40;
    --akzent-dunkel: #2c4632;
    --akzent-leicht: #e9efe7;
    --salbei: #588157;

    --sand: #d4a373;
    --sand-dunkel: #a9743c;
    --sand-leicht: #f6ecdf;

    --bg: #fdfcf8;
    --bg-sanft: #f4f2ea;
    --bg-tief: #3a5a40;
    --flaeche: #ffffff;

    --text: #2d3436;
    --text-leise: #636e72;
    --text-hell: #f3f5f0;

    --linie: #e4e0d4;
    --radius: 14px;
    --breite: 1120px;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--akzent);
}

:focus-visible {
    outline: 3px solid rgba(58, 90, 64, .55);
    outline-offset: 2px;
}

.wrap {
    width: min(var(--breite), 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 32px);
}

[id] {
    scroll-margin-top: 90px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--akzent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
}


/* ===================================================================
   Navigation
   =================================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 10px clamp(16px, 5vw, 32px);

    background: rgba(253, 252, 248, .94);
    border-bottom: 1px solid var(--linie);
    backdrop-filter: blur(10px);
}

.nav-marke {
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: .01em;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
}

.nav-marke span {
    color: var(--akzent);
}

/* Mobil ein Klappmenue unter der Leiste. Ohne das waeren die fuenf Seiten
   auf dem Handy nur ueber den Footer erreichbar - bei einem Mehrseiter
   ist das zu wenig. */
.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    margin: 0;
    padding: 12px 16px 16px;
    list-style: none;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    background: var(--flaeche);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 20px 40px rgba(45, 52, 54, .14);
}

.nav-links.offen {
    display: flex;
}

.nav-links a {
    display: block;
    padding: 12px;
    border-radius: 9px;
    color: var(--text-leise);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    transition: color .2s ease, background .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--akzent);
    background: var(--akzent-leicht);
}

.nav .btn-termin {
    margin-left: auto;
    padding: 10px 16px;
    font-size: .9rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 26px;
    height: 20px;
    margin-left: 8px;
    padding: 0;

    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--akzent);
    transition: transform .25s ease, opacity .25s ease;
}

.hamburger.offen span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.offen span:nth-child(2) {
    opacity: 0;
}

.hamburger.offen span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

@media (min-width: 900px) {
    .nav-links {
        position: static;

        margin: 0 0 0 auto;
        padding: 0;

        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;

        background: transparent;
        border-bottom: 0;
        box-shadow: none;
    }

    .nav-links a {
        display: inline-block;
        padding: 9px 12px;
    }

    .hamburger {
        display: none;
    }

    .nav .btn-termin {
        margin-left: 10px;
    }
}


/* ===================================================================
   Buttons
   =================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 11px;

    font: inherit;
    font-weight: 700;
    text-decoration: none;
    text-align: center;

    cursor: pointer;
    transition: background .22s ease, border-color .22s ease,
        color .22s ease, transform .22s ease;
}

.btn-termin {
    background: var(--akzent);
    color: #fff;
}

.btn-termin:hover {
    background: var(--akzent-dunkel);
    transform: translateY(-1px);
}

.btn-rand {
    background: transparent;
    border-color: var(--linie);
    color: var(--text);
}

.btn-rand:hover {
    border-color: var(--akzent);
    color: var(--akzent);
}

.btn-hell {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.btn-hell:hover {
    background: rgba(255, 255, 255, .2);
}


/* ===================================================================
   Hero
   =================================================================== */

.hero {
    padding: clamp(44px, 7vw, 84px) 0;
    background:
        radial-gradient(720px 420px at 80% 10%, rgba(88, 129, 87, .16) 0%, rgba(88, 129, 87, 0) 62%),
        var(--bg-sanft);
}

.hero h1 {
    margin: 0 0 .5em;
    max-width: 18ch;
    font-size: clamp(1.9rem, 5.4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.01em;
}

.augenbraue {
    display: block;
    margin-bottom: 12px;
    color: var(--akzent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-lead {
    margin: 0 0 1.8rem;
    max-width: 46ch;
    color: var(--text-leise);
    font-size: 1.05rem;
}

.hero-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-hinweis {
    margin: 14px 0 0;
    font-size: .86rem;
    color: var(--text-leise);
}

.hero-fakten {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text-leise);
    font-size: .93rem;
}

.hero-fakten li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-fakten li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--akzent);
    flex: 0 0 auto;
}


/* ===================================================================
   Abschnitte
   =================================================================== */

.abschnitt {
    padding: clamp(52px, 8vw, 88px) 0;
}

.abschnitt--sanft {
    background: var(--bg-sanft);
}

.abschnitt--tief {
    background: var(--bg-tief);
    color: var(--text-hell);
}

.abschnitt h2 {
    margin: 0 0 .4em;
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

.abschnitt-lead {
    margin: 0 0 clamp(28px, 4vw, 44px);
    max-width: 62ch;
    color: var(--text-leise);
}

.abschnitt--tief .abschnitt-lead {
    color: rgba(243, 245, 240, .80);
}

.kopf-klein {
    padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 44px);
    background: var(--bg-sanft);
    border-bottom: 1px solid var(--linie);
}

.kopf-klein h1 {
    margin: 0 0 .3em;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 800;
}

.kopf-klein p {
    margin: 0;
    max-width: 60ch;
    color: var(--text-leise);
}


/* ===================================================================
   Kartenraster (Therapieangebot, Vorteile)
   =================================================================== */

.karten {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 680px) {
    .karten {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1000px) {
    .karten--drei {
        grid-template-columns: repeat(3, 1fr);
    }
}

.karte {
    padding: 24px 22px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);
    transition: border-color .25s ease, transform .25s ease,
        box-shadow .25s ease;
}

.karte:hover {
    border-color: rgba(58, 90, 64, .40);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(45, 52, 54, .08);
}

.karte h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 700;
}

.karte p {
    margin: 0;
    color: var(--text-leise);
    font-size: .97rem;
}

.karte-dauer {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--akzent-leicht);
    color: var(--akzent-dunkel);
    font-size: .8rem;
    font-weight: 700;
}


/* ===================================================================
   Highlight-Karten auf der Startseite

   Uebernimmt das Dreier-Muster mit Icon aus der ersten Demo. Jede Karte
   ist ein Wegweiser auf eine Unterseite - die Startseite selbst traegt
   keine Inhalte mehr.
   =================================================================== */

.wegweiser {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 720px) {
    .wegweiser {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

.wegweiser-karte {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;

    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);

    text-decoration: none;
    color: inherit;

    transition: border-color .25s ease, transform .25s ease,
        box-shadow .25s ease;
}

.wegweiser-karte:hover {
    border-color: rgba(58, 90, 64, .40);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(45, 52, 54, .08);
}

.wegweiser-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;

    border-radius: 50%;
    background: var(--sand-leicht);
    color: var(--sand-dunkel);
}

.wegweiser-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.wegweiser-karte h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    font-weight: 700;
}

.wegweiser-karte p {
    margin: 0 0 16px;
    color: var(--text-leise);
    font-size: .97rem;
}

.wegweiser-mehr {
    margin-top: auto;
    color: var(--akzent);
    font-size: .93rem;
    font-weight: 700;
}

.wegweiser-karte:hover .wegweiser-mehr {
    text-decoration: underline;
}


/* ===================================================================
   Anfahrt: Platzhalter statt echter Karte

   Eine eingebettete Karte von Google oder OpenStreetMap wuerde Daten an
   Dritte senden - auf einer Demo-Seite mit erfundener Adresse hat das
   keinen Nutzen. Hier steht ein Platzhalter, der zeigt, wo die Karte im
   fertigen Projekt sitzt.
   =================================================================== */

.karte-platzhalter {
    display: grid;
    place-items: center;
    gap: 10px;

    min-height: 260px;
    padding: 28px 24px;

    border: 1px dashed rgba(58, 90, 64, .40);
    border-radius: var(--radius);
    text-align: center;

    background:
        repeating-linear-gradient(45deg,
            rgba(88, 129, 87, .05) 0 14px,
            rgba(88, 129, 87, 0) 14px 28px),
        var(--akzent-leicht);
}

.karte-platzhalter svg {
    width: 34px;
    height: 34px;
    fill: var(--akzent);
}

.karte-platzhalter p {
    margin: 0;
    max-width: 44ch;
    color: var(--text-leise);
    font-size: .93rem;
}

.karte-platzhalter strong {
    color: var(--text);
}


/* ===================================================================
   Krankenkasse & Verordnung
   =================================================================== */

.kasse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}

@media (min-width: 820px) {
    .kasse {
        grid-template-columns: 1.15fr .85fr;
        gap: 44px;
    }
}

.kasse-kernsatz {
    margin: 0 0 18px;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.6;
}

.kasse-schritte {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: schritt;
}

.kasse-schritte li {
    counter-increment: schritt;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(243, 245, 240, .18);
}

.kasse-schritte li:last-child {
    border-bottom: 0;
}

.kasse-schritte li::before {
    content: counter(schritt);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    font-weight: 800;
    font-size: .88rem;
}

.kasse-box {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
}

.kasse-box h3 {
    margin: 0 0 10px;
    font-size: 1.02rem;
}

.kasse-box p {
    margin: 0;
    color: rgba(243, 245, 240, .82);
    font-size: .95rem;
}


/* ===================================================================
   Team
   =================================================================== */

.team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 620px) {
    .team {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .team {
        grid-template-columns: repeat(4, 1fr);
    }
}

.person {
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);
    overflow: hidden;
}

.person img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.person-text {
    padding: 18px 18px 20px;
}

.person h3 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
}

.person-rolle {
    margin: 0 0 10px;
    color: var(--akzent);
    font-size: .88rem;
    font-weight: 700;
}

.person p:last-child {
    margin: 0;
    color: var(--text-leise);
    font-size: .93rem;
}


/* ===================================================================
   Stelleninserate
   =================================================================== */

.stellen {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 780px) {
    .stellen {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stelle {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);
}

.stelle-pensum {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--akzent-leicht);
    color: var(--akzent-dunkel);
    font-size: .8rem;
    font-weight: 800;
}

.stelle h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.stelle ul {
    margin: 0 0 22px;
    padding-left: 1.15em;
    color: var(--text-leise);
    font-size: .95rem;
}

.stelle li {
    margin-bottom: 6px;
}

.stelle .btn {
    margin-top: auto;
    align-self: flex-start;
}


/* ===================================================================
   Info-Karten (Anfahrt, Kontakt)
   =================================================================== */

.info-raster {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 760px) {
    .info-raster {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

.info-karte {
    padding: 22px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);
}

.info-karte h3 {
    margin: 0 0 12px;
    font-size: 1.02rem;
    font-weight: 700;
}

.info-karte p {
    margin: 0 0 6px;
    color: var(--text-leise);
    font-size: .95rem;
}

.info-karte p strong {
    color: var(--text);
}

.zeiten-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zeiten-liste li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--linie);
    font-size: .94rem;
    color: var(--text-leise);
}

.zeiten-liste li:last-child {
    border-bottom: 0;
}

.zeiten-liste .zeit {
    color: var(--text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}


/* ===================================================================
   Hinweis-Dialog (Termin-Button)
   =================================================================== */

.hinweis {
    width: min(460px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);
    color: var(--text);
}

.hinweis::backdrop {
    background: rgba(45, 52, 54, .55);
}

.hinweis-inhalt {
    padding: 26px 24px 22px;
}

.hinweis h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--akzent);
}

.hinweis p {
    margin: 0 0 18px;
    color: var(--text-leise);
    font-size: .98rem;
}

.hinweis .btn {
    width: 100%;
}


/* ===================================================================
   Footer
   =================================================================== */

.fuss {
    border-top: 1px solid var(--linie);
    background: var(--bg-sanft);
}

.fuss-inhalt {
    width: min(var(--breite), 100%);
    margin: 0 auto;
    padding: 34px clamp(16px, 5vw, 32px) 28px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 720px) {
    .fuss-inhalt {
        grid-template-columns: 1.3fr 1fr 1fr;
    }
}

.fuss-marke {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 8px;
}

.fuss p {
    margin: 0 0 6px;
    color: var(--text-leise);
    font-size: .92rem;
}

.fuss-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fuss-links a {
    color: var(--text-leise);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
}

.fuss-links a:hover {
    color: var(--akzent);
}

/* Demo-Hinweis: muss sichtbar bleiben, damit niemand die Seite fuer
   eine echte Praxis haelt. */
.demo-hinweis {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding: 14px 16px;

    border: 1px dashed rgba(58, 90, 64, .45);
    border-radius: 11px;
    background: var(--akzent-leicht);

    color: var(--akzent-dunkel);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

.demo-hinweis a {
    color: inherit;
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .btn:hover,
    .karte:hover {
        transform: none;
    }
}
