/* ===================================================================
   Nordcut Barbers – Demo-Seite
   Beispielprojekt von VikingPixels, keine echte Firma.

   Eigenstaendiges Stylesheet: die Demo soll aussehen wie eine
   Kundenseite, nicht wie vikingpixels.ch. 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;
}

:root {
    --bg: #0f1113;
    --bg-karte: #16181b;
    --bg-karte-hoch: #1b1e22;
    --linie: rgba(255, 255, 255, .09);
    --linie-hell: rgba(255, 255, 255, .16);

    --gold: #c9a23f;
    --gruen: #1d4d35;
    --gruen-hell: #276645;
    --rot: #e05a5a;

    --text: #e9e9e7;
    --text-leise: #9aa0a6;

    --radius: 14px;
    --breite: 1140px;
}

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.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(201, 162, 63, .65);
    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(--gold);
    color: #14100a;
    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: 14px;
    /* min-height statt height: bei 320px wurde der Buchungsknopf dreizeilig
       und ragte 21px aus der festen 68px-Leiste heraus. So waechst die
       Leiste stattdessen mit - wie im Physio-Demo auch. */
    min-height: 68px;
    padding: 10px clamp(16px, 5vw, 32px);

    background: rgba(15, 17, 19, .88);
    border-bottom: 1px solid var(--linie);
    backdrop-filter: blur(10px);
}

.nav-marke {
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .92rem;
    text-decoration: none;
    white-space: nowrap;
}

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

.nav-links {
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
    display: none;
    gap: 6px;
}

.nav-links a {
    display: inline-block;
    padding: 9px 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 {
    color: var(--text);
    background: rgba(255, 255, 255, .05);
}

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

/* "Jetzt online buchen" passt auf dem Handy nicht in eine Zeile. Damit der
   Knopf in der Leiste einzeilig bleibt, steht dort die Kurzform. */
.nav .btn-buchen .kurz {
    display: none;
}

@media (max-width: 560px) {
    .nav .btn-buchen .lang {
        display: none;
    }

    .nav .btn-buchen .kurz {
        display: inline;
    }
}

@media (min-width: 860px) {
    .nav-links {
        display: flex;
    }

    .nav .btn-buchen {
        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,
        transform .22s ease;
}

.btn-buchen {
    background: var(--gruen);
    border-color: rgba(255, 255, 255, .10);
    color: #eaf4ee;
}

.btn-buchen:hover {
    background: var(--gruen-hell);
    transform: translateY(-1px);
}

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

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


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

.hero {
    padding: clamp(40px, 7vw, 76px) 0 clamp(48px, 8vw, 84px);
    background:
        radial-gradient(760px 420px at 18% 12%, rgba(201, 162, 63, .09) 0%, rgba(201, 162, 63, 0) 62%),
        var(--bg);
}

.hero-raster {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 44px);
    align-items: start;
}

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

.hero h1 {
    margin: 0 0 .5em;
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
}

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

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

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

.ort-pille {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 22px;
    padding: 9px 16px;

    border: 1px solid var(--linie);
    border-radius: 999px;
    background: var(--bg-karte);

    font-size: .88rem;
    color: var(--text-leise);
}

.ort-pille::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex: 0 0 auto;
}

@media (min-width: 940px) {
    .hero-raster {
        grid-template-columns: 1.35fr .85fr;
        gap: 56px;
    }
}


/* ===== Öffnungszeiten-Karte ===== */

.zeiten {
    padding: 22px 22px 20px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--bg-karte);
}

.zeiten-status {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
}

.zeiten-status.ist-offen {
    color: #5fbf85;
}

.zeiten-status.ist-zu {
    color: var(--rot);
}

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

.zeiten-liste li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--linie);
    font-size: .96rem;
}

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

.zeiten-liste .tag {
    color: var(--text-leise);
}

.zeiten-liste .zeit {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.zeiten-liste li.ist-heute .tag,
.zeiten-liste li.ist-heute .zeit {
    color: var(--text);
    font-weight: 700;
}

.zeiten .btn {
    width: 100%;
}


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

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

.abschnitt--linie {
    border-top: 1px solid var(--linie);
}

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

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


/* ===================================================================
   Leistungen
   =================================================================== */

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

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

.leistung {
    display: flex;
    flex-direction: column;

    padding: 24px 22px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--bg-karte);

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

.leistung:hover {
    border-color: var(--linie-hell);
    transform: translateY(-3px);
}

.leistung--beliebt {
    border-color: rgba(201, 162, 63, .55);
    background: var(--bg-karte-hoch);
}

.leistung-kopf {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.leistung h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
}

.leistung-badge {
    flex: 0 0 auto;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(201, 162, 63, .16);
    border: 1px solid rgba(201, 162, 63, .45);
    color: var(--gold);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.leistung-preis {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    /* margin-top:auto schiebt die Preiszeile nach unten. Dadurch stehen
       die Betraege aller drei Karten auf einer Linie, auch wenn ein
       Titel zweizeilig umbricht. */
    margin: 22px 0 18px;
    margin-top: auto;
    padding-top: 22px;
}

.leistung-dauer {
    color: var(--text-leise);
    font-size: .9rem;
}

.leistung-betrag {
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Kein margin-top:auto hier - das hat die Preiszeile. Zwei
   auto-Abstaende wuerden den freien Platz untereinander aufteilen und
   die Betraege waeren wieder nicht auf einer Linie. */
.leistung .btn {
    width: 100%;
}


/* ===================================================================
   Standort & Kontakt
   =================================================================== */

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

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

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

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

.info-karte p {
    margin: 0 0 8px;
}

.info-karte dl {
    margin: 0;
}

.info-karte dt {
    display: inline;
    font-weight: 700;
}

.info-karte dd {
    display: inline;
    margin: 0;
}

.info-karte dd + dt::before {
    content: "";
    display: block;
    height: 8px;
}

.info-karte .wert-gold {
    color: var(--gold);
}

.info-fussnote {
    margin: 16px 0 0;
    color: var(--text-leise);
    font-size: .86rem;
}




/* ===================================================================
   Hinweis-Dialog (Buchungsbutton)

   Natives <dialog>: bringt Fokusfalle und Escape von Haus aus mit,
   ganz ohne zusaetzliche Bibliothek.
   =================================================================== */

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

.hinweis::backdrop {
    background: rgba(0, 0, 0, .66);
}

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

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

.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: #0c0e10;
}

.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.4fr 1fr;
    }
}

.fuss-marke {
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .92rem;
    margin-bottom: 8px;
}

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

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

    border: 1px dashed rgba(201, 162, 63, .5);
    border-radius: 11px;
    background: rgba(201, 162, 63, .07);

    color: var(--gold);
    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,
    .leistung:hover {
        transform: none;
    }
}
