/* hairly – gethairly.com
   Schriften liegen lokal im Ordner /fonts (keine Verbindung zu Google, DSGVO-freundlich). */
@font-face { font-family: "Lora"; src: url("fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff") format("woff"); font-weight: 500 600; font-display: swap; }

:root {
  --bg: #F2F2EF;
  --surface: #FFFFFF;
  --line: #E3E4E0;
  --ink: #111312;
  --text: #3F4341;
  --muted: #5F6361;
  --petrol: #0E5C58;
  --petrol-soft: #DDEBE8;
  --mint: #9FD0C8;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--petrol); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; background: rgba(242, 242, 239, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); text-decoration: none; }
.brand span { color: var(--petrol); }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--petrol); }
.nav a.btn-dark, .nav a.btn-dark:hover { color: #FFFFFF; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #2A2D2C; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--surface); }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); }

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-family: var(--serif); font-size: clamp(46px, 7.4vw, 88px); line-height: 1.0; letter-spacing: -0.02em; }
h1 em, h2 em { color: var(--petrol); }
h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 18px; font-weight: 500; line-height: 1.3; }
.lead { font-size: 18px; color: var(--text); max-width: 34em; text-wrap: pretty; }

/* Hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 { margin-top: 16px; }
.hero .lead { margin: 22px 0 0; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .phone-col { justify-self: center; } }

/* Handy-Ansicht */
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone { width: 290px; max-width: 100%; padding: 10px; border-radius: 46px; background: var(--ink); box-shadow: 0 40px 70px -40px rgba(17, 19, 18, 0.55); }
.screen { position: relative; height: 560px; overflow: hidden; border-radius: 37px; background: var(--bg); padding: 20px 14px 0; }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-brand { font-family: var(--serif); font-size: 21px; line-height: 1; }
.s-brand i { font-style: normal; color: var(--petrol); }
.s-loc { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); font-size: 11px; font-weight: 500; }
.screen .s-title { margin-top: 16px; font-family: var(--serif); font-size: 29px; line-height: 1.05; }
.screen .s-title em { color: var(--petrol); }
.screen .search { margin-top: 12px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: #FFFFFF; display: flex; align-items: center; gap: 8px; padding: 0 13px; font-size: 12px; color: var(--muted); }
.s-sec { margin-top: 14px; font-size: 13px; font-weight: 500; }
.card { margin-top: 8px; padding: 9px; border-radius: 16px; border: 1px solid var(--line); background: #FFFFFF; display: flex; gap: 10px; }
.card .ini { width: 58px; height: 58px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 28px; }
.card .ini.soft { background: var(--petrol-soft); color: var(--petrol); }
.card .ini.grey { background: #E9EAE6; color: var(--ink); }
.card .ini.dark { background: var(--ink); color: #FFFFFF; }
.card-body { flex-grow: 1; min-width: 0; padding-top: 1px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.card b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.s-ad { font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }
.card small { display: flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.card small .r { color: var(--ink); font-weight: 500; }
.times { display: flex; gap: 5px; margin-top: 6px; }
.chip { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--petrol-soft); color: var(--petrol); font-size: 11px; font-weight: 500; white-space: nowrap; }
.chip-line { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 2px 8px; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 56px; padding: 0 4px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 26px rgba(17, 19, 18, 0.12); display: flex; align-items: center; justify-content: space-between; }
.tab { width: 56px; height: 44px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9px; font-weight: 500; color: var(--muted); }
.tab.on { width: 68px; background: var(--ink); color: #FFFFFF; }
.phone-cap { font-size: 12px; color: var(--muted); }

/* Abschnitte */
section { scroll-margin-top: 80px; }
.sec { padding-block: 80px; }
.sec-head { max-width: 720px; }
.sec-head h2 { margin-top: 12px; }
.sec-head .lead { margin: 16px 0 0; }

.grid-4 { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.feature { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.feature .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.feature h3 { margin-top: 16px; }
.feature p { margin: 8px 0 0; font-size: 15px; color: var(--text); }

/* Salon-Bereich */
.salons { background: var(--ink); color: #FFFFFF; }
.salons .eyebrow { color: var(--mint); }
.salons .eyebrow::before { background: var(--mint); }
.salons h2 em { color: var(--mint); }
.salons .lead { color: #C9CBC6; }
.facts { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts div { padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; }
.facts span { display: block; margin-top: 8px; font-size: 15px; color: #C9CBC6; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }

.salon-cols { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 860px) { .salon-cols { grid-template-columns: minmax(0, 1fr); } }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checks li { display: flex; gap: 14px; }
.checks .ck { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--petrol); display: flex; align-items: center; justify-content: center; }
.checks b { display: block; font-weight: 500; }
.checks span { display: block; font-size: 15px; color: #C9CBC6; }

.bonus { padding: 28px; border-radius: 26px; background: var(--petrol-soft); color: var(--ink); }
.bonus h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.bonus ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bonus li { padding-left: 22px; position: relative; font-size: 15px; color: #2F4A48; }
.bonus li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); }
.bonus li b { color: var(--ink); font-weight: 500; }
.bonus .actions { margin-top: 24px; }
.bonus small { display: block; margin-top: 12px; font-size: 13px; color: #2F4A48; }

/* Ablauf */
.steps .step { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.step .num { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; }
.step h3 { margin-top: 16px; }
.step p { margin: 8px 0 0; font-size: 15px; color: var(--text); }

/* Fragen */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--petrol); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text); font-size: 15px; }

/* Abschluss */
.cta { padding-block: 24px 88px; }
.cta-box { padding: 48px; border-radius: 32px; background: var(--petrol-soft); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-box p { margin: 12px 0 0; color: #2F4A48; }
@media (max-width: 760px) { .cta-box { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--petrol); }

/* Rechtstexte */
.legal { padding-block: 56px 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); }
.legal h2 { font-family: var(--sans); font-size: 19px; font-weight: 500; margin-top: 36px; letter-spacing: 0; }
.legal p, .legal li { color: var(--text); }
.legal .todo { background: #FFF2CC; padding: 0 4px; border-radius: 4px; }

/* Gründungspartner-Seite */
.hero-partner h1 { font-size: clamp(40px, 5.2vw, 64px); hyphens: manual; }
.hero-partner .bonus h3 { font-size: 34px; }
.hero-partner .bonus small { margin-top: 18px; }
.grid-dark .feature { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.grid-dark .feature .ic { background: var(--petrol); }
.grid-dark .feature p { color: #C9CBC6; }
.faq-more { margin: 20px 0 0; color: var(--text); font-size: 15px; }

/* Formular */
.form-sec { padding-top: 16px; }
.pform { margin-top: 32px; max-width: 860px; display: flex; flex-direction: column; gap: 16px; }
.fbox { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.fbox-h { font-size: 20px; font-weight: 500; }
.fbox-serif { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.fbox-sub { margin: 8px 0 0; color: var(--text); font-size: 15px; max-width: 40em; }
.fgrid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } .fbox { padding: 22px 18px; } }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-size: 14px; font-weight: 500; }
.req { color: var(--petrol); }
.pform input[type=text], .pform input[type=tel], .pform input[type=email], .pform select, .pform textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #CDD0CB; border-radius: 14px; background: #FFFFFF;
  font: 400 16px/1.4 var(--sans); color: var(--ink); }
.pform textarea { resize: vertical; min-height: 92px; }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol); }
.pform ::placeholder { color: #8A8E8B; }

.q { margin: 22px 0 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.q legend, .qlabel { display: flex; gap: 12px; align-items: baseline; padding: 0; font-weight: 500; font-size: 16px; line-height: 1.4; }
.q legend { float: left; width: 100%; margin-bottom: 12px; }
.q legend + .opts { margin-top: 0; }
.q legend + * { clear: both; }
.qn { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; color: var(--petrol); flex-shrink: 0; min-width: 22px; }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.hint-petrol { color: var(--petrol); }
.qlabel + input, .qlabel + textarea { margin-top: 12px; }
.q-plain { margin-top: 18px; padding-top: 0; border-top: 0; }
.q-plain legend { font-size: 14px; }

.opts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; border-radius: 22px; border: 1px solid #CDD0CB; background: #FFFFFF; font-size: 15px; line-height: 1.2; transition: background 0.15s, border-color 0.15s; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.opt input:focus-visible + span { outline: 2px solid var(--petrol); outline-offset: 2px; }
.opt input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.scale { gap: 6px; }
.scale .opt span { width: 44px; justify-content: center; padding: 0; }
.scale-ends { margin-top: 8px; max-width: 548px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .scale-ends { max-width: none; } }
.fld-inline { margin-top: 12px; max-width: 360px; }
.fld-inline label { font-weight: 400; color: var(--text); }

.fbox-zusage { background: var(--petrol-soft); border-color: transparent; }
.fbox-zusage .fbox-sub { color: #2F4A48; }
.fbox-zusage .opts { margin-top: 18px; }
.fbox-zusage .fld { margin-top: 18px; max-width: 420px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fsubmit { padding: 8px 0 0; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.fnote { margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 46em; }
.form-msg { margin-top: 24px; max-width: 860px; padding: 16px 20px; border-radius: 16px; background: #FDECEA; color: #8A1C12; font-weight: 500; }

/* Danke-Seite */
.thanks { padding-block: 72px 96px; }
.thanks-box { max-width: 720px; }
.thanks-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--petrol); display: flex; align-items: center; justify-content: center; }
.thanks h1 { margin-top: 24px; font-size: clamp(40px, 6vw, 64px); }
.thanks .lead { margin: 20px 0 0; }
.thanks-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.thanks-list li { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 15px; }
.thanks-list b { display: block; color: var(--ink); font-weight: 500; }
.checks-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.checks-grid li { align-items: center; }
@media (max-width: 860px) { .checks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .checks-grid { grid-template-columns: minmax(0, 1fr); } }

/* Start-Benachrichtigung */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notify-wrap { margin-top: 28px; max-width: 520px; scroll-margin-top: 90px; }
.notify-label { margin: 0 0 10px; font-weight: 500; }
.notify { display: flex; gap: 8px; }
.notify input[type=email] { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 1px solid #CDD0CB; border-radius: 999px; background: #FFFFFF; font: 400 16px/1.2 var(--sans); color: var(--ink); }
.notify input[type=email]:focus { outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol); }
.notify .btn { min-height: 52px; flex-shrink: 0; }
@media (max-width: 520px) { .notify { flex-direction: column; } .notify .btn { width: 100%; } }
.hero .hero-note { margin-top: 12px; }
.hero-note a, .hero-salon a, .cta-box p a { color: var(--petrol); }
.hero-salon { margin: 24px 0 0; font-size: 15px; color: var(--text); }
.hero-salon a { font-weight: 500; }
.cta-box .notify { width: min(100%, 460px); }
@media (max-width: 760px) { .cta-box .notify { width: 100%; } }

/* Statusseite Warteliste */
.wl-block { display: none; }
.wl-block:target { display: block; }
.wl:not(:has(.wl-block:target)) #postfach { display: block; }
.wl-note { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.thanks h1 em { color: var(--petrol); }
