/* =====================================================================
   style.css  –  Öffentliche Salon-Website
   Palette: Porcelain / Ink / Pine / Sage / Brass
   Type:    Fraunces (Display)  +  Manrope (Body/UI)
   ===================================================================== */

:root {
    --porcelain: #f4f0e9;
    --porcelain-2: #ece6db;
    --ink: #181613;
    --ink-soft: #4a463f;
    --pine: #28392f;
    --pine-deep: #1d2a23;
    --sage: #cbd5c5;
    --sage-soft: #e1e7dc;
    --brass: #a9824a;
    --line: rgba(24, 22, 19, 0.12);

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, sans-serif;

    --maxw: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--porcelain);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }

.eyebrow {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    margin: 0 0 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brass);
    display: inline-block;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; }
h2.section-title {
    font-size: clamp(2rem, 4.6vw, 3.3rem);
    letter-spacing: -0.01em;
    max-width: 16ch;
}

/* ---- Buttons -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 0.95em 1.7em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-primary { background: var(--pine); color: var(--porcelain); }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--porcelain); transform: translateY(-2px); }
.btn-light { background: var(--porcelain); color: var(--pine); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---- Header / Nav --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--porcelain) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0;
}
.brand {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--ink);
}
.brand .dot { color: var(--brass); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-soft);
    position: relative;
    transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: var(--porcelain); }
.nav-links .btn:hover { color: var(--porcelain); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
    .nav-links a:not(.btn) { display: none; }
}

/* ---- Hero ----------------------------------------------------------- */
.hero {
    padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}
.hero h1 {
    font-size: clamp(2.7rem, 8vw, 6rem);
    letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--pine); }
.hero-lead {
    margin: 1.8rem 0 2.4rem;
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: var(--ink-soft);
    max-width: 42ch;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-aside {
    border-left: 1px solid var(--line);
    padding-left: clamp(1.2rem, 3vw, 2.4rem);
    padding-bottom: 0.5rem;
}
.hero-aside .label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 700;
}
.hero-aside .hours-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.hero-aside .hours-line span:last-child { color: var(--ink-soft); }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; align-items: start; }
    .hero-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
}

/* ---- Divider mit Scheren-Motiv ------------------------------------- */
.snip {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--brass);
    margin: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.snip::before, .snip::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.snip span { font-size: 1.1rem; }

/* ---- Sections ------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 60ch; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }

/* ---- Leistungen ----------------------------------------------------- */
.leistungen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}
.leistung {
    padding: 1.6rem 1.4rem 1.6rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}
.leistung .name { font-family: var(--serif); font-size: 1.3rem; }
.leistung .desc { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.2rem; }
.leistung .preis { font-weight: 700; white-space: nowrap; color: var(--pine); }

/* ---- Team ----------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
}
.friseur-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.friseur-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(24,22,19,0.4); }
.friseur-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: none;
    object-fit: cover;
    background: var(--sage);
    color: var(--pine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.5rem;
    border: 1px solid var(--line);
}
.avatar.lg { width: 96px; height: 96px; font-size: 2.2rem; }
.friseur-card .name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.friseur-card .rolle {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 700;
    margin-top: 0.25rem;
}
.friseur-card .bio { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.friseur-card .btn { margin-top: 1.4rem; align-self: flex-start; }

/* ---- Kontakt / Footer ---------------------------------------------- */
.footer {
    background: var(--pine);
    color: var(--porcelain);
    padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
    margin-top: clamp(3rem, 7vw, 5rem);
}
.footer a { color: var(--porcelain); text-decoration: none; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}
.footer h3 { font-size: 2rem; margin-bottom: 0.6rem; }
.footer .muted { color: color-mix(in srgb, var(--porcelain) 70%, transparent); }
.footer .label {
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sage); font-weight: 700; margin-bottom: 0.8rem;
}
.footer .hours-line { display:flex; justify-content:space-between; padding:0.35rem 0; font-size:0.95rem;
    border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-bottom {
    margin-top: 2.6rem; padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
    font-size: 0.85rem; color: color-mix(in srgb, var(--porcelain) 65%, transparent);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Scroll-Reveal -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
    .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---- Fokus / Barrierefreiheit -------------------------------------- */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* =====================================================================
   Buchungsseite
   ===================================================================== */
.buchung { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.buchung-head { max-width: 50ch; margin-bottom: 2.4rem; }
.buchung-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
.buchung-head p { color: var(--ink-soft); margin-top: 0.8rem; font-size: 1.05rem; }

.schritt { margin-bottom: 2.2rem; }
.schritt-kopf { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.schritt-nr {
    width: 30px; height: 30px; border-radius: 50%; flex: none;
    background: var(--pine); color: var(--porcelain);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 0.95rem;
}
.schritt-kopf h2 { font-size: 1.4rem; }
.schritt[hidden] { display: none; }

/* Friseur-Auswahl */
.stylist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.stylist-option {
    display: flex; align-items: center; gap: 0.9rem; text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 1rem 1.1rem; cursor: pointer; font-family: inherit; color: inherit;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.stylist-option:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(24,22,19,0.45); }
.stylist-option.gewaehlt { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.stylist-option .avatar { width: 50px; height: 50px; font-size: 1.2rem; }
.stylist-option .so-name { font-family: var(--serif); font-size: 1.18rem; line-height: 1.1; }
.stylist-option .so-rolle { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); font-weight: 700; }

/* Datum & Slots */
.feld-zeile { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.feld { display: flex; flex-direction: column; gap: 0.45rem; }
.feld label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); }
input[type="date"], input[type="text"], input[type="tel"], textarea {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 0.8em 0.9em; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px var(--sage-soft); }
textarea { resize: vertical; min-height: 90px; }

.slots { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.slot {
    font-family: inherit; font-size: 0.95rem; font-weight: 600;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 0.6em 1.1em; cursor: pointer; color: var(--ink);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.slot:hover { transform: translateY(-2px); border-color: var(--pine); }
.slot.gewaehlt { background: var(--pine); color: var(--porcelain); border-color: var(--pine); }
.hinweis { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.8rem; }

/* Kontaktformular */
.kontakt-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 640px; }
.kontakt-felder .voll { grid-column: 1 / -1; }
@media (max-width: 560px) { .kontakt-felder { grid-template-columns: 1fr; } }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Zusammenfassung / Erfolg */
.zusammenfassung {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 1.4rem 1.6rem; margin: 1.4rem 0; max-width: 640px;
}
.zusammenfassung .z-zeile { display: flex; justify-content: space-between; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.zusammenfassung .z-zeile:last-child { border-bottom: none; }
.zusammenfassung .z-zeile span:first-child { color: var(--ink-soft); }
.zusammenfassung .z-zeile span:last-child { font-weight: 600; }

.erfolg {
    background: var(--pine); color: var(--porcelain); border-radius: 20px;
    padding: clamp(2rem, 5vw, 3rem); max-width: 640px;
}
.erfolg h2 { font-size: 2rem; margin-bottom: 0.6rem; }
.erfolg p { color: color-mix(in srgb, var(--porcelain) 80%, transparent); }
.erfolg .btn { margin-top: 1.6rem; }

.fehlerbox {
    background: #fbeeea; border: 1px solid #e3b5a8; color: #7a2e1c;
    border-radius: 10px; padding: 0.9rem 1.1rem; margin-top: 1rem; font-size: 0.95rem;
}
