/* CutLab Friseur, Stylesheet */

:root {
  --red: #E11F25;
  --red-dark: #B5161B;
  --red-soft: rgba(225, 31, 37, .08);
  --ink: #161618;
  --charcoal: #1b1b1e;
  --charcoal-2: #232328;
  --paper: #ffffff;
  --soft: #f6f6f7;
  --muted: #6c6c74;
  --line: #e9e9ec;
  --gold: #ffc107;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(20, 20, 25, .10);
  --shadow-sm: 0 6px 20px rgba(20, 20, 25, .08);
  --container: 1180px;
  --secpad: clamp(3.5rem, 7vw, 6rem);
  --kopf: 72px;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 12px); overflow-x: hidden; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.sr-only, .sprite {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sprunglink {
  position: absolute; left: 1rem; top: -200px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.sprunglink:focus { top: 1rem; }

/* Tastaturfokus: der Ring folgt der Form des Bausteins */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.reviews :focus-visible, .lightbox :focus-visible, .footer :focus-visible,
.callbar :focus-visible, .consent :focus-visible { outline-color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Knöpfe: zwei Größen, eine Form */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2; text-align: center;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn--lg { min-height: 3.5rem; padding: .8rem 1.9rem; font-size: 1.05rem; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(225, 31, 37, .28); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* Zwei zusammengehörige Knöpfe teilen sich die Zeile, je die halbe Breite */
.knopfpaar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.knopfpaar .btn { width: 100%; white-space: normal; padding-inline: 1rem; }

/* Kopf */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand { display: block; flex: none; }
.brand__logo { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__link { position: relative; padding: .2rem 0; font-weight: 600; font-size: .96rem; color: var(--ink); white-space: nowrap; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--red);
  transition: width .22s ease;
}
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: .4rem; }
.nav__cta .icon { width: 1.05rem; height: 1.05rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Abschnittsköpfe und Anker */
.eyebrow {
  display: inline-block; margin-bottom: .8rem;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  color: var(--red);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.section-head__sub { color: var(--muted); margin-top: .8rem; }
.section-head__sub a { color: var(--red); font-weight: 600; }
.section-head--light h2 { color: #fff; }
section h2 { font-weight: 800; }

section[id] { scroll-margin-top: calc(30px - var(--secpad)); }
#start { scroll-margin-top: 0; }

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background: radial-gradient(1200px 500px at 85% -10%, rgba(225,31,37,.06), transparent 60%), var(--paper);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.5vw, 4.6rem); font-weight: 900; letter-spacing: -0.02em; }
.hero__lead { font-size: 1.12rem; color: #36363c; margin: 1.4rem 0 2rem; max-width: 33ch; }
.hero__actions { max-width: 34rem; margin-bottom: 1.8rem; }
.hero__rating { display: inline-flex; align-items: center; gap: .6rem; font-size: .98rem; color: #45454c; }
.stars { color: var(--gold); letter-spacing: 2px; }
.stars--lg { font-size: 1.4rem; }
.hero__rating-text strong { font-size: 1.05rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: 100%; max-height: 560px;
  object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; left: -14px; bottom: 26px; display: flex; flex-direction: column; line-height: 1.1;
  background: var(--red); color: #fff; padding: .9rem 1.2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.hero__badge-big { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.hero__badge-small { font-size: .8rem; opacity: .9; margin-top: .15rem; }

/* Vorteile */
.features { padding: clamp(2rem, 5vw, 3.5rem) 0; background: var(--soft); }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature__icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-bottom: .9rem; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.feature__icon .icon { width: 1.35rem; height: 1.35rem; }
.feature h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.feature p { font-size: .94rem; color: var(--muted); }

/* Salon */
.about { padding: var(--secpad) 0; }
.about__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media img { width: 100%; max-height: 560px; object-fit: cover; object-position: 40% 20%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-bottom: 1.1rem; }
.about__text p { color: #43434a; margin-bottom: 1rem; }
.checklist { list-style: none; margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: #fff; font-size: .8rem; font-weight: 700;
}

/* Leistungen */
.services { padding: var(--secpad) 0; background: var(--soft); }
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 900px; margin-inline: auto; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.service-card__title { margin-bottom: 1.2rem; }
.service-card__tag {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem;
  color: #fff; background: var(--ink);
}
.service-list { list-style: none; flex: 1; display: grid; align-content: space-between; gap: .7rem; }
.service-list li { position: relative; padding-left: 1.6rem; color: #3a3a41; }
.service-list li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.service-list .service-list__more { font-style: italic; color: var(--muted); }
.service-list .service-list__more::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--red); }
.services__note { text-align: center; color: var(--muted); margin-top: 2rem; font-size: .95rem; }

/* Galerie: Kacheln im echten Bildformat 2:3, damit kein Kopf beschnitten wird */
.gallery { padding: var(--secpad) 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery__item { display: block; aspect-ratio: 2 / 3; padding: 0; border: 0; background: var(--soft); cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }

/* Instagram */
.insta { padding: var(--secpad) 0; background: var(--soft); }
.insta__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: start; justify-items: center; }
.insta__grid .instagram-media {
  margin: 0 !important; width: 100% !important; min-width: 0 !important; max-width: 360px !important;
  border-radius: var(--radius-sm) !important; box-shadow: var(--shadow-sm) !important;
}
.insta__cta { text-align: center; margin-top: 2.2rem; }

/* Einbettungen, die erst nach Einwilligung laden */
.embed { position: relative; }
.embed__ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  min-height: 320px; padding: 2rem 1.2rem; text-align: center;
  background: #fff; border: 1px dashed #cfcfd6; border-radius: var(--radius);
}
.embed.is-loaded .embed__ph { display: none; }
.embed__titel { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.embed__titel .icon { color: var(--red); width: 1.25rem; height: 1.25rem; }
.embed__hinweis { font-size: .85rem; color: var(--muted); }
.embed--map .embed__ph { min-height: 360px; border: 0; background: var(--soft); }
.embed--map iframe { width: 100%; height: 360px; border: 0; display: none; }
.embed--map.is-loaded iframe { display: block; }
.embed--insta .insta__grid { display: none; }
.embed--insta.is-loaded .insta__grid { display: grid; }

/* Einwilligungsfenster */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--ink); color: #e7e7ea; box-shadow: 0 -8px 30px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom); }
.consent[hidden] { display: none; }
.consent__inner { width: min(100% - 2.4rem, 1000px); margin-inline: auto; padding: 1rem 0; display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; }
.consent__text { flex: 1 1 320px; font-size: .9rem; color: #c9c9d0; }
.consent__text a { color: #fff; text-decoration: underline; }
.consent__actions { flex: 0 1 20rem; min-width: min(100%, 17rem); }

/* Bewertungen */
.reviews { padding: var(--secpad) 0; background: var(--charcoal); color: #ececed; }
.reviews__score { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: 3rem; }
.reviews__score-num { font-family: var(--font-head); font-weight: 900; font-size: 4rem; color: #fff; line-height: 1; }
.reviews__score-meta { display: flex; flex-direction: column; gap: .2rem; font-size: .98rem; color: #b9b9c0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.review-card { display: flex; flex-direction: column; background: var(--charcoal-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 1.8rem; }
.review-card .stars { font-size: 1.05rem; margin-bottom: .9rem; }
.review-card blockquote { font-size: 1.02rem; line-height: 1.6; color: #e6e6e9; }
.review-card figcaption { margin-top: auto; padding-top: 1.1rem; font-weight: 600; color: #9a9aa2; font-size: .9rem; }
.reviews__cta { text-align: center; margin-top: 2.6rem; }

/* Kontakt: beide Karten gleich hoch, der Inhalt füllt sie */
.contact { padding: var(--secpad) 0; }
.contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.contact__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact__card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.2rem; }
.hours { width: 100%; flex: 1; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 600; color: #3a3a41; padding: .5rem 0; font-family: var(--font-body); border-bottom: 1px solid var(--line); }
.hours td { text-align: right; padding: .5rem 0; color: #3a3a41; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hours tr:last-child td, .hours tr:last-child th { border-bottom: 0; }
.hours__closed { color: var(--red); font-weight: 600; }
.contact__list { list-style: none; flex: 1; display: grid; align-content: space-between; gap: 1.1rem; }
.contact__list li { display: flex; flex-direction: column; }
.contact__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .2rem; }
.contact__list a { font-weight: 600; color: var(--ink); }
.contact__list a:hover { color: var(--red); }
.contact__actions { margin-top: 1.6rem; }
.contact__map { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* Rechtstexte als eigene Seiten */
.rechtstext {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--secpad);
  background: radial-gradient(1200px 500px at 85% -10%, rgba(225,31,37,.05), transparent 60%), var(--paper);
}
.rechtstext__inner { max-width: 760px; }
.rechtstext h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.rechtstext h2 { font-size: 1.15rem; font-weight: 700; margin: 2.2rem 0 .6rem; }
.rechtstext p { color: #3a3a41; margin-bottom: .8rem; max-width: 68ch; }
.rechtstext a { color: var(--red); font-weight: 600; overflow-wrap: anywhere; }
.rechtstext a:hover { color: var(--red-dark); }
.rechtstext__zurueck { margin-bottom: 1.6rem; font-size: .92rem; }
.rechtstext .rechtstext__zurueck a { color: var(--muted); }
.rechtstext__lead { font-size: 1.05rem; }
.rechtstext__stand { margin-top: 2.4rem; color: var(--muted); font-size: .9rem; }
.rechtstext__linkknopf { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--red); cursor: pointer; text-decoration: underline; }

/* Fuß */
.footer { background: var(--ink); color: #c9c9cf; padding-top: 3rem; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-bottom: 2.5rem; }
.footer__logo { height: 56px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .95rem; max-width: 32ch; color: #a3a3ac; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: .6rem; font-size: .95rem; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; color: #8a8a93; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__legal a:hover, .footer__linkknopf:hover { color: #fff; }
.footer__linkknopf { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* Schnellkontakt auf dem Handy */
.callbar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(10,10,12,.92); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 48; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.4rem;
    background: #fff; padding: 6rem 2rem 2rem; box-shadow: var(--shadow);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; transition: transform .3s ease, visibility 0s; }
  .nav__cta { margin-left: 0; }
  .nav-toggle { display: flex; z-index: 60; }

  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid, .insta__grid, .contact__grid, .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { gap: 1.6rem; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .callbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
  body.nav-open .callbar { display: none; }
  .callbar__btn {
    display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 58px; padding: .5rem .4rem;
    font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: #fff;
  }
  .callbar__btn .icon { width: 1.15rem; height: 1.15rem; }
  .callbar__btn--call { background: var(--red); }
  .callbar__btn--wa { background: #25D366; }
  .callbar__btn--route { background: var(--ink); }
}

@media (max-width: 820px) {
  .hero__inner, .about__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__media, .about__media { order: -1; }
  .hero__lead { max-width: none; }
}

@media (max-width: 560px) {
  .services__grid, .features__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__badge { left: 8px; }
  .reviews__score { flex-direction: column; gap: .4rem; text-align: center; }
  .btn--lg { padding-inline: 1rem; font-size: 1rem; }
  .btn { white-space: normal; max-width: 100%; }
}

@media (max-width: 360px) {
  .callbar__btn { gap: .25rem; font-size: .84rem; padding-inline: .25rem; }
  .callbar__btn .icon { width: 1rem; height: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature, .gallery__item img, .nav, .nav-toggle span { transition: none; }
}
