/* kokosesthetic.de – eigenes Stylesheet (ohne Theme/Framework)
   Farben wie im Original (helle Grautöne, Orange #e88565). Hinweis: Einige Grautöne liegen unter dem
   WCAG-Kontrast 4,5:1 – bewusst, auf Wunsch des Kunden (Kleinstunternehmen, BFSG gilt nicht). */

:root {
  --text: #171412;
  --muted: #8e8e8e;          /* Original: rgba(96,96,96,.71) */
  --muted-light: #b1b1b1;    /* Original: rgba(96,96,96,.49) */
  --mid: #808080;
  --accent: #e88565;
  --accent-strong: #e88565;
  --line: #dcdad8;
  --ui-border: #8a8580;
  --soft: #faf9f8;
  --footer: #808084;
  --star: #f6bb06;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --container: 1340px;
  --gutter: clamp(20px, 3.5vw, 50px);
  --header-h: 91px;
  --wide: calc(var(--container) + 2 * var(--gutter));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  overflow-wrap: break-word;
}
img, svg, video, iframe { display: block; max-width: 100%; }
@media (max-width: 1020px) { .v-desktop { display: none !important; } }
@media (min-width: 1021px) { .v-mobile { display: none !important; } }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Hilfsklassen ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 20px;
  background: var(--text); color: #fff; text-decoration: none; letter-spacing: .05em;
  transition: top .15s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
#inhalt:focus { outline: none; }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(0, 0, 0, .07); }
.site-header__inner {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: var(--header-h); padding: 0 var(--gutter);
}
.site-header__logo { display: block; }
.site-header__logo img { width: auto; height: 65px; }

.nav-toggle {
  position: absolute; right: 9px; top: 50%; z-index: 70; width: 44px; height: 44px; margin-top: -21px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav a, .nav__parent {
  display: flex; align-items: center; gap: 6px; text-decoration: none; text-transform: uppercase;
  letter-spacing: .3em; font-size: 16px; line-height: 24px; color: var(--text);
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav [aria-current="page"], .nav__item.is-active > .nav__parent { color: #c2bcb8; }
.nav__chevron { width: 14px; height: 14px; transition: transform .25s; }
.nav__parent[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

/* mobil: Panel von rechts (wie im Original bis 1299 px) */
@media (max-width: 1299px) {
  .site-header__inner { height: 86px; }
  .site-header__logo img { height: 48px; margin-bottom: 20px; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(380px, 88vw);
    padding: 96px 32px 40px; background: #fff; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease, visibility 0s linear .35s; visibility: hidden;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .08);
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li > a, .nav__parent { width: 100%; padding: 14px 0; justify-content: space-between; font-size: 15px; letter-spacing: .2em; }
  .nav__sub { padding: 0 0 12px 14px; }
  .nav__sub[hidden] { display: none; }
  .nav__sub a { padding: 9px 0; font-size: 14px; letter-spacing: .08em; text-transform: none; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(23, 20, 18, .35); }
  body.nav-open { overflow: hidden; }
}

/* Desktop ab 1300 px (wie im Original): Logo oben, Menü darunter, beim Scrollen bleibt nur das Menü stehen */
@media (min-width: 1300px) {
  .site-header { top: -145px; }
  .nav { margin-top: 28px; }
  .site-header__inner { height: auto; padding-top: 39px; }
  .site-header__logo img { height: 78px; }
  .nav-toggle, .nav-backdrop { display: none !important; }
  .nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 24px; }
  .nav__list > li { position: relative; }
  .nav__list > li > a, .nav__parent { padding: 40px 0; }
  .nav__list > li > a:hover, .nav__parent:hover, .nav__item--parent:hover > .nav__parent { color: #c2bcb8; }
  /* Untermenü-Hinweis wie im Original: kleiner Punkt statt Pfeil */
  .nav__chevron { display: none; }
  .nav__parent { position: relative; padding-right: 11px; }
  .nav__parent::after { content: ""; position: absolute; right: 0; top: 56px; width: 0; height: 0; border: 1px solid currentColor; }
  /* aktiver Bereich (Damen/Herren) wie im Original mit feiner Linie unter dem Menüpunkt */
  .nav__parent::before { content: ""; position: absolute; left: 0; right: 15px; bottom: 2px; height: 1px; background: #0a0909; opacity: 0; transition: opacity .3s; }
  .nav__item--parent.is-active > .nav__parent::before { opacity: 1; }
  .nav__sub {
    position: absolute; top: 100%; left: -34px; z-index: 5; box-sizing: content-box; width: 183px;
    margin-top: 1px; padding: 22px 29px 22px 34px; background: rgba(255, 255, 255, .95); text-align: left;
    opacity: 0; visibility: hidden; transform: rotateX(-90deg); transform-origin: 0 0;
    transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s;
  }
  .nav__sub[hidden] { display: block; }
  .nav__sub > li { opacity: 0; transform: translateY(5px); transition: opacity .2s cubic-bezier(.4, .28, .31, 1.28), transform .2s cubic-bezier(.4, .28, .31, 1.28); }
  .nav__sub > li:not(:last-child) { margin-bottom: 1px; }
  .nav__item--parent:hover > .nav__sub,
  .nav__item--parent:focus-within > .nav__sub,
  .nav__item--parent.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease-out, transform .2s ease-out; }
  .nav__item--parent:hover > .nav__sub > li,
  .nav__item--parent:focus-within > .nav__sub > li,
  .nav__item--parent.is-open > .nav__sub > li { opacity: 1; transform: none; }
  .nav__sub > li:nth-child(1) { transition-delay: .1s; }
  .nav__sub > li:nth-child(2) { transition-delay: .15s; }
  .nav__sub > li:nth-child(3) { transition-delay: .2s; }
  .nav__sub > li:nth-child(4) { transition-delay: .25s; }
  .nav__sub > li:nth-child(5) { transition-delay: .3s; }
  .nav__sub > li:nth-child(6) { transition-delay: .35s; }
  .nav__sub > li:nth-child(7) { transition-delay: .4s; }
  .nav__sub > li:nth-child(n+8) { transition-delay: .45s; }
  .nav__item--parent.is-closed > .nav__sub { opacity: 0 !important; visibility: hidden !important; }
  .nav__sub a {
    display: block; position: relative; padding: 8px 9px 8px 0;
    font-size: 16px; line-height: 24px; letter-spacing: .15em; text-transform: uppercase; overflow-wrap: normal;
    transition: padding .3s, color .3s;
  }
  .nav__sub a::before {
    content: ""; position: absolute; left: -9px; top: 24px; width: 0; height: 0;
    border: 1px solid currentColor; border-radius: 50%; opacity: 0; transition: opacity .4s, left .4s;
  }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { padding: 8px 0 8px 9px; color: #b2b2b7; }
  .nav__sub a:hover::before, .nav__sub a[aria-current="page"]::before { left: 0; opacity: 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; }
.site-footer__inner {
  max-width: var(--wide); margin: 0 auto; padding: 53px var(--gutter) 61px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
}
.site-footer__copy { margin: 0; font-size: 14px; line-height: 30px; text-transform: uppercase; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 34px; }
.site-footer__nav a { font-size: 16px; line-height: 24px; text-decoration: none; }
.site-footer__nav a:hover, .site-footer__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 767px) {
  .site-footer__inner { flex-direction: column; align-items: stretch; text-align: center; padding: 53px 25px 63px; gap: 10px; }
  .site-footer__nav { display: block; margin: 0 -17px; line-height: 0; }
  .site-footer__nav li { display: inline-block; margin: 0 17px 3px; vertical-align: top; }
  .site-footer__nav a { display: block; }
}

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px;
  display: grid; place-items: center; background: #0a0909; color: #fff; border: 0; cursor: pointer;
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.to-top:focus-visible { outline-color: var(--accent-strong); }

/* ---------- Typografie-Bausteine ---------- */
.headline {
  text-align: center; text-transform: uppercase; letter-spacing: 2px; line-height: 1.35;
  font-size: clamp(16px, 1.1vw + 10px, 26px);
}
.headline__accent { display: inline-block; color: var(--accent-strong); }
.headline--xl { font-size: clamp(18px, 1.5vw + 9px, 30px); }
.headline--lg { font-size: clamp(15px, 1.2vw + 9px, 26px); }
.headline--md { font-size: clamp(16px, .9vw + 12px, 26px); }
.headline--sm { font-size: clamp(20px, 1.2vw + 13px, 30px); text-align: left; }
.headline--name { font-size: clamp(24px, 1.8vw + 14px, 40px); text-align: left; }
.headline--xl .headline__plain, .headline--md .headline__plain { display: block; }
/* helles Akzent-Orange nur ab 24 px Schriftgröße (WCAG: große Schrift 3:1) */
@media (min-width: 1024px) { .headline--xl .headline__accent { color: var(--accent); } }
@media (min-width: 1260px) { .headline--lg .headline__accent { color: var(--accent); } }
@media (min-width: 1340px) { .headline--md .headline__accent { color: var(--accent); } }
.headline__accent--dark { color: var(--text) !important; }

.lead { color: var(--muted); text-align: center; }
.lead p { font-size: clamp(16px, .45vw + 13.5px, 20px); line-height: 1.75; }
.lead strong { color: var(--text); font-weight: 400; }
.lead--sm p { font-size: clamp(16px, .3vw + 14px, 18px); line-height: 2.2; }
@media (max-width: 767px) { .lead--sm p { line-height: 1.8; } }
.lead--left { text-align: left; }
.lead--left p { line-height: 2; }

.framed { display: inline-block; padding: 14px; border: 1px solid rgba(0, 0, 0, .12); background: #fff; }
.framed img { box-shadow: 0 0 10px rgba(0, 0, 0, .5); }

/* hervorgehobene Wörter mit gezeichneter Linie */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark__line {
  position: absolute; left: -3%; width: 106%; max-width: none; bottom: -.42em; height: .5em; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
}
.mark__line path { stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.mark--circle .mark__line { top: 50%; bottom: auto; left: 50%; width: calc(100% + 20px); height: calc(100% + 20px); transform: translate(-50%, -50%); stroke-width: 2; stroke-linejoin: round; }
.mark--circle .mark__line, .mark--circle .mark__line path { vector-effect: none; }
.mark--brush .mark__line { top: -10px; bottom: auto; left: -10px; width: calc(100% + 20px); height: calc(100% + 20px); stroke: #e88565; stroke-width: 10; stroke-linecap: butt; }
.mark--brush .mark__line, .mark--brush .mark__line path { vector-effect: none; }
.js .mark:not(.is-in) .mark__line path { stroke-dashoffset: 1; }
.js .mark .mark__line path { transition: stroke-dashoffset 1.2s ease .2s; }

/* Überschriften-Animationen (nur mit JS, endet spätestens nach 5 s) */
.js [data-anim="drop"]:not(.is-in) { opacity: 0; transform: translateY(-.7em); }
.js [data-anim="drop"] { transition: opacity .8s ease, transform .8s ease; }
.js [data-anim="flip"]:not(.is-in) { opacity: 0; transform: perspective(300px) rotateX(-90deg); }
.js [data-anim="flip"] { transition: opacity .7s ease, transform .7s ease; transform-origin: 50% 0; }
.js [data-anim="slide"].is-cycling { animation: kokos-slide 2.2s ease-in-out 2; }
@keyframes kokos-slide {
  0% { opacity: 0; transform: translateY(.8em); }
  15%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-.8em); }
}
.js [data-anim="slide"].is-done { animation: kokos-slide-in .6s ease both; }
@keyframes kokos-slide-in { from { opacity: 0; transform: translateY(.8em); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ui-border); background: #fff; color: #4a4441; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--text); border-color: var(--text); color: #fff; }
.btn--outline { color: #574f4a; padding: 21px 54px; font-size: 14px; line-height: 20px; text-transform: uppercase; }

/* ---------- Einbettungen (Zwei-Klick-Lösung) ---------- */
.embed { position: relative; overflow: hidden; background: #111; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--video { aspect-ratio: 16 / 9; }
.hero .embed { box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
.embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; text-align: center; color: #fff;
}
/* Vorschau wie im Original: Videobild ohne Abdunklung; Hinweis unten wie YouTube-Untertitel */
.embed--video .embed__overlay { justify-content: flex-end; padding: 0; background: none; }
.embed--video .embed__play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%; background: rgba(23, 23, 23, .72); color: #fff; cursor: pointer; transition: background .2s, transform .2s;
}
.embed--video .embed__play:hover, .embed--video .embed__play:focus-visible { background: rgba(23, 23, 23, .92); transform: scale(1.06); }
.embed--video .embed__play svg { width: 30px; height: 30px; margin-left: 4px; }
.embed--video .embed__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.embed__foot { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 0 16px 16px; }
.embed__note, .embed__remember { margin: 0; font-size: 13px; line-height: 1.5; text-shadow: 0 0 3px rgba(0, 0, 0, .8); }
.embed--video .embed__note, .embed--video .embed__remember { text-shadow: none; }
.embed--video .embed__remember { padding: 2px 8px; background: rgba(8, 8, 8, .75); border-radius: 2px; }
.embed__cap { padding: 2px 8px; background: rgba(8, 8, 8, .75); border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.embed__note a { color: inherit; }
.embed__remember { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.embed__remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-strong); }
.embed.is-loaded .embed__overlay, .embed.is-loaded .embed__poster { display: none; }
@media (max-width: 767px) {
  .embed--video .embed__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; } .embed--video .embed__play svg { width: 22px; height: 22px; }
  .embed__foot { padding: 0 8px 8px; } .embed__note { font-size: 11px; line-height: 1.35; } .embed--video .embed__remember { display: none; }
}

.embed--map { height: clamp(380px, 48vw, 750px); background: #f3efec; }
.embed__overlay--map { background: none; color: var(--text); gap: 12px; }
.embed__pin { width: 40px; height: 40px; color: var(--accent-strong); }
.embed__address { margin: 0; font-size: 17px; line-height: 1.6; }
.embed__overlay--map .embed__note, .embed__overlay--map .embed__remember, .embed__alt { color: #4a4441; }
.embed__alt { margin: 4px 0 0; font-size: 15px; }

/* ---------- Startseite ---------- */
.hero { max-width: var(--wide); margin: 24px auto 0; padding: 0 var(--gutter); }
@media (max-width: 767px) { .hero { margin-top: 6px; padding: 0 10%; } }

/* Maße wie im Original bei 1560 px: Bild-Spalte 43,7 %, Text-Spalte 53,3 % */
.intro {
  max-width: var(--wide); margin: 0 auto; padding: 140px var(--gutter) 0;
  display: grid; grid-template-columns: 43.73% 53.28%; grid-template-areas: "media text"; align-items: center;
}
.intro__media { grid-area: media; text-align: center; }
.intro__media .framed { max-width: 506px; }
.intro__text { grid-area: text; margin-top: -38px; }
.intro .headline { margin-bottom: 70px; line-height: 40px; }
.lead--intro p { margin: 0 0 35px; font-size: 20px; line-height: 35px; }
.lead--intro p:last-child { margin-bottom: 0; }

.treatments { max-width: var(--wide); margin: 0 auto; padding: 124px var(--gutter) 169px; }
.treatments .headline { line-height: 36.8px; }

.beauty {
  max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 45% 44.33%; align-items: center;
}
.beauty__media { text-align: center; padding: 10px; }
.beauty__media .framed { max-width: 583px; padding: 15px; }
.beauty__text { text-align: center; }
.beauty .headline { margin-bottom: 40px; font-size: 24px; line-height: 35px; }
.beauty .lead--sm p { margin: 0 0 20px; font-size: 18px; line-height: 40px; }
.beauty .lead--sm p:last-child { margin-bottom: 0; }

.extras { max-width: var(--wide); margin: 0 auto; padding: 129px var(--gutter) 105px; }
.extras .headline { margin-bottom: 95px; line-height: 36.8px; }
/* Kreis um „Gratisleistungen“ wie im Original nur in der Mobil-Variante */
@media (min-width: 1021px) { .extras .mark__line { display: none; } }
.extras__list { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1160px; margin: 0 auto; gap: 40px 0; }
.extra { text-align: center; }
.extra picture { display: block; }
.extra__icon { width: 165px; height: 165px; margin: 0 auto 23px; object-fit: contain; }
.extra--massage .extra__icon { width: 184px; height: 184px; margin: -10px auto 14px; }
.extra__text { margin: 0; font-size: 15px; line-height: 35px; letter-spacing: 1px; color: var(--muted-light); }

.closing { padding: 0 20px 40px; }
.headline--closing { font-size: 12px; line-height: 14.4px; letter-spacing: 2px; }
.headline--closing .headline__plain { display: block; margin-bottom: 14px; }
.headline--closing .headline__accent { color: var(--accent-strong); }

/* Mobil-Variante wie im Original (bis 1020 px): Überschrift, Bild, keine Fließtexte */
@media (max-width: 1020px) {
  .hero { padding: 0 10.7%; margin-top: 11px; }
  .intro .headline { font-size: 18px; line-height: 1.2; }
  .beauty .headline { font-size: 16px; line-height: 1.2; margin-bottom: 41px; }
  .beauty__media img { aspect-ratio: 1; object-fit: cover; }
  .extras .headline { font-size: 14px; line-height: 1.2; }
  .extras .headline .mark { white-space: normal; }
  .intro, .beauty { display: flex; flex-direction: column; align-items: center; padding: 50px 20px 0; }
  .intro__text, .beauty__text { display: contents; }
  .intro .headline, .beauty .headline { order: 1; margin-bottom: 30px; }
  .intro__media, .beauty__media { order: 2; padding: 0; }
  .intro__media .framed, .beauty__media .framed { width: 60vw; max-width: 420px; padding: 14px; }
  .intro__media img, .beauty__media img { width: 100%; height: auto; }
  .beauty { padding-top: 65px; }
  .extras { padding: 50px 20px 55px; }
  .extras .headline { margin-bottom: 65px; }
  .extras__list { grid-template-columns: 1fr 1fr; gap: 26px 0; max-width: 300px; }
  .extra--om1 { order: 1; } .extra--om2 { order: 2; } .extra--om3 { order: 3; } .extra--om4 { order: 4; }
  .extra__icon, .extra--massage .extra__icon { width: 60px; height: 60px; margin: 0 auto 5px; }
  .extra__text { padding-top: 18px; font-size: 12px; line-height: 18px; letter-spacing: .5px; }
}
@media (max-width: 767px) {
  .hero { margin-top: 11px; padding: 0 40px; }
  .hero .embed { max-width: 325px; margin: 0 auto; }
  .intro__media .framed, .beauty__media .framed { width: calc(100vw - 150px); }
  .beauty { padding-top: 55px; }
  .beauty .headline { margin-bottom: 40px; }
  .extras { padding-top: 39px; }
  .extras .headline { margin-bottom: 66px; padding: 0 30px; }
  .extras__list { max-width: none; padding: 0 30px; gap: 25px 0; }
  .intro .headline > span { white-space: nowrap; } /* wie im Original: jede Zeile bleibt eine Zeile */
}
@media (min-width: 360px) and (max-width: 767px) {
  .extra__text { margin: 0 -12px; } /* 12 statt 9 px wie im Original: darf in den Spaltenabstand ragen, damit die Zeilen gleich umbrechen */
}

/* ---------- Seitenkopf mit Bild (wie im Original: Bild vollständig sichtbar, Titel an der Unterkante) ---------- */
.page-banner { position: relative; overflow: hidden; height: calc(51vw + 38px); background: #fff; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; }
.page-banner__title {
  position: absolute; left: 0; right: 0; bottom: 15px; z-index: 1; padding: 0 20px;
  color: #fff; text-align: center; text-transform: uppercase; letter-spacing: 3px; line-height: 1.1;
  font-size: 35px; text-shadow: 5px 5px 10px rgba(0, 0, 0, .96);
}
@media (max-width: 1299px) { .page-banner { height: 640px; } .page-banner__title { bottom: 31px; } }
@media (max-width: 767px) { .page-banner { height: auto; aspect-ratio: 375 / 176; } .page-banner__title { bottom: 2px; font-size: 20px; } }
.page-contact .page-banner { height: auto; aspect-ratio: 331 / 186; margin: 5px 22px 0; }
@media (min-width: 768px) { .page-contact .page-banner { margin: 0; } }
.page-contact .page-banner img { object-fit: cover; }
@media (min-width: 768px) { .page-contact .page-banner { aspect-ratio: 1.6; } }
@media (min-width: 1280px) { .page-contact .page-banner { aspect-ratio: 1560 / 878; margin-top: -7px; } .page-contact .contact { padding-top: 114px; } }
@media (min-width: 1280px) {
  .page-contact .page-banner { overflow: visible; }
  .page-contact .page-banner__title { bottom: -19px; }
}
.page-contact .page-banner::after { display: none; }

/* ---------- Leistungsseiten – Maße wie im Original (1560 px) ---------- */
.service { max-width: 1240px; margin: 0 auto; padding: 50px var(--gutter) 50px; text-align: center; }
.service__intro { max-width: 1140px; margin: 0 auto 65px; font-size: 22px; line-height: 40px; letter-spacing: .3px; color: var(--mid); }
.feature { margin: 0 auto; }
.feature + .feature { margin-top: 100px; }
.feature__media { width: 927px; max-width: 100%; margin: 0 auto; overflow: hidden; }
.feature--2 .feature__media { width: 818px; }
.feature--3 .feature__media { width: 709px; }
.feature--4 .feature__media { width: 600px; }
.feature__img { width: 100%; transition: transform .5s ease; }
.feature__media:hover .feature__img { transform: scale(1.06); }
.feature__title { margin: 27px 0 10px; font-size: 24px; line-height: 30px; letter-spacing: 2px; text-transform: uppercase; }
.feature__text { margin: 0 auto; font-size: 18px; line-height: 40px; letter-spacing: .3px; color: var(--muted); }

.divider { position: relative; width: min(741px, 70%); height: 50px; margin: 75px auto 50px; color: #c9c5c2; }
.divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.divider--icon { display: grid; place-items: center; }
.divider__icon { position: relative; width: 22px; height: 22px; padding: 0; background: #fff; box-shadow: 0 0 0 10px #fff; border-radius: 50%; }
.service > .divider:not(.divider--icon) { width: min(456px, 60%); height: 31px; margin: 30px auto 0; }
.prices .divider { margin: 40px auto; }

.prices { max-width: 684px; margin: 0 auto; text-align: left; }
.prices__group + .prices__group { margin-top: 51px; }
.prices__heading { margin: 0 0 20px; text-align: center; font-size: 21px; line-height: 40px; letter-spacing: 1px; text-transform: uppercase; }
.prices__group:first-of-type .prices__heading { font-size: 23px; line-height: 45px; letter-spacing: 1.5px; }
.prices__note { margin: 0 auto 10px; max-width: 420px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.prices__legal { margin: 20px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.price-list { border: 0; }
.price { border: 0; }
.price__row {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 20px; align-items: center; width: 100%;
  padding: 18px 0 19px; margin: 0; background: none; border: 0; text-align: left; font: inherit;
  font-size: 18px; line-height: 27px; color: var(--muted);
}
button.price__row { cursor: pointer; }
button.price__row:hover .price__name { color: var(--text); }
.price__icon { grid-row: 1 / span 2; position: relative; width: 32px; height: 32px; }
.price__icon::before, .price__icon::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 50%; border-top: 1px solid currentColor; transition: transform .25s;
}
.price__icon::after { transform: rotate(90deg); }
.price.is-open .price__icon::after { transform: rotate(0); }
.price__name { grid-column: 2; letter-spacing: 0; }
.price__value { grid-column: 2; text-align: right; white-space: nowrap; }
.price__desc { padding: 0 0 22px; font-size: 16px; line-height: 31px; color: var(--text); }
.price__desc p { margin: 0; }
.price__desc[hidden] { display: none; }
.price.is-open:not(.price--toggle) { padding-bottom: 21px; }

.service__duration { margin: 0; font-size: 12px; line-height: 23px; letter-spacing: .5px; color: var(--muted); }
.service__cta { margin: 40px 0 0; }
.btn--pill { border-radius: 25px; padding: 5px 25px; font-size: 14px; line-height: 20px; color: var(--mid); border-color: #c9c5c2; box-shadow: 0 0 4px rgba(0, 0, 0, .12); }
/* Tablet wie im Original: Desktop-Schriftgrößen, 100 px Rand */
@media (max-width: 1020px) {
  .service { padding: 50px 100px; }
  .feature__media { width: 100%; }
  .feature--2 .feature__media { width: 88%; } .feature--3 .feature__media { width: 76%; } .feature--4 .feature__media { width: 65%; }
}
/* Handy wie im Original (bis 480 px): kleine Schrift, schmale Bilder; Text mindestens 12 px für die Lesbarkeit */
@media (max-width: 480px) {
  .page-banner { margin-top: 5px; }
  .service { padding: 15px 20px 50px; }
  .service__intro { margin-bottom: 35px; font-size: 12px; line-height: 18px; }
  .feature__media { width: 75%; } .feature--2 .feature__media { width: 68%; } .feature--3 .feature__media { width: 61%; } .feature--4 .feature__media { width: 54%; }
  .feature + .feature { margin-top: 35px; }
  .feature__title { margin: 12px 0 9px; font-size: 14px; line-height: 20.6px; letter-spacing: 3px; }
  .feature__text { font-size: 12px; line-height: 17px; }
  .divider { margin: 40px auto 30px; }
  .prices { max-width: 240px; }
  .price__row { grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; padding: 9px 0 10px; font-size: 12px; line-height: 27px; letter-spacing: 1px; }
  .price__icon { width: 24px; height: 24px; } .price__icon::before, .price__icon::after { left: 5px; right: 5px; }
  .price__desc { font-size: 12px; line-height: 18px; }
  .price.is-open:not(.price--toggle) { padding-bottom: 2px; }
  .prices__heading { font-size: 15px; line-height: 26px; } .prices__group:first-of-type .prices__heading { font-size: 16px; line-height: 28px; }
  .service__cta { margin-top: 30px; }
  .btn--pill { padding: 5px 22px; font-size: 12px; line-height: 17px; }
}

/* ---------- Profil (Team/Studio) – Maße wie im Original ---------- */
.profile {
  max-width: var(--wide); margin: 0 auto; padding: 28px var(--gutter) 70px;
  display: grid; grid-template-columns: 50% 50%; align-items: center;
}
.profile__media { text-align: center; }
.profile__media .framed { max-width: 410px; }
.profile--team .profile__media .framed { max-width: 334px; }
.profile--studio { padding-bottom: 154px; }
.profile--studio .profile__media img { width: 380px; aspect-ratio: 380 / 490; height: auto; object-fit: cover; object-position: 50% 30%; }
.page-profile .reviews { padding-top: 145px; padding-bottom: 40px; }
.profile__text { padding-right: 20px; }
.headline--name { font-size: 40px; line-height: 44px; }
.profile .headline--name { margin-bottom: 20px; }
.lead--profile { color: var(--muted-light); }
.lead--profile strong { color: var(--mid); }
.lead--profile p { margin: 0 0 20px; font-size: 20px; line-height: 40px; }
.lead--profile p:last-child { margin-bottom: 0; }
@media (max-width: 1020px) {
  .profile { grid-template-columns: 1fr; padding: 20px 20px 0; text-align: center; }
  .profile--studio { padding-bottom: 71px; }
  .profile__media .framed, .profile--team .profile__media .framed { width: 52vw; max-width: 334px; }
  .profile__media img, .profile--studio .profile__media img { width: 100%; height: auto; aspect-ratio: 304 / 550; object-fit: cover; }
  .profile__text { padding: 0; margin: -14px auto 0; max-width: 265px; position: relative; }
  .profile .headline--name { text-align: center; font-size: 24px; line-height: 29px; margin-bottom: 20px; }
  .lead--profile { text-align: center; }
  .lead--profile p { margin-bottom: 18px; font-size: 12px; line-height: 18px; letter-spacing: .5px; }
  .page-profile .reviews { padding-top: 61px; }
}

/* ---------- Bewertungen ---------- */
.reviews {
  max-width: 1320px; margin: 0 auto; padding: 40px var(--gutter) 80px;
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px 30px; align-items: center;
}
.reviews__summary { text-align: center; }
.reviews__title { font-size: 24px; line-height: 1.4; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); vertical-align: middle; }
.stars .star { width: 18px; height: 18px; }
.reviews__summary .stars .star { width: 30px; height: 30px; }
.reviews__count { margin: 6px 0 4px; font-size: 14px; line-height: 1.5; }
.reviews__link { margin: 0; font-size: 14px; }
.reviews__carousel { position: relative; min-width: 0; }
.reviews__track {
  position: relative; /* hält absolut positionierte Screenreader-Texte im Scrollbereich */
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 0 10px; scroll-padding-inline: 0; scrollbar-width: none; /* wie im Original: keine Scrollleiste, Blättern über Pfeile, Wischen, Trackpad, Tastatur */
}
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.review article { height: 100%; padding: 14px 16px; background: #fff; text-align: center; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; text-align: left; }
.review__avatar {
  flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #5f6f7e; color: #fff; font-size: 17px;
}
.review:nth-child(5n+2) .review__avatar { background: #46743a; }
.review:nth-child(5n+3) .review__avatar { background: #5c6bc0; }
.review:nth-child(5n+4) .review__avatar { background: #9a5230; }
.review:nth-child(5n+5) .review__avatar { background: #8e5a8b; }
.review__avatar--img { display: block; width: 40px; object-fit: cover; background: #ececec; }
.stars .star.is-empty { color: #d9d9d9; }
.review__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.review__name a { color: inherit; text-decoration: none; }
.review__name a:hover { text-decoration: underline; }
.review__date { margin: 0; font-size: 13px; line-height: 1.4; color: #6b6b6b; }
.review .stars { margin-bottom: 8px; }
.review__text { font-size: 15px; line-height: 1.45; text-align: center; color: #171412; }
.review__text p { margin: 0 0 .5em; }
.js .review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { margin-top: 6px; padding: 6px 0; background: none; border: 0; font-size: 14px; color: #000; cursor: pointer; }
.review__more:hover { text-decoration: underline; }
.carousel__pause {
  position: absolute; right: 0; bottom: -44px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--ui-border); border-radius: 50%; background: #fff; color: var(--text); cursor: pointer;
}
.carousel__pause svg { width: 14px; height: 14px; }
.carousel__btn {
  position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: #555; cursor: pointer;
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: -34px; }
.carousel__btn--next { right: -34px; }
@media (max-width: 1100px) { .carousel__btn--prev { left: -8px; } .carousel__btn--next { right: -8px; } }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
.reviews__disclaimer { grid-column: 1 / -1; max-width: 900px; margin: 10px auto 0; font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; }
@media (max-width: 1020px) { .reviews__disclaimer { margin-top: 34px; } } /* Platz für die Pause-Taste */
@media (max-width: 1023px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .review { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 599px) {
  .reviews { padding: 20px 20px 60px; }
  .review { flex-basis: 86%; }
  .carousel__btn { display: none; }
}

/* ---------- Kontakt – Maße wie im Original (1560 px: Spalten bei 324 und 860 px) ---------- */
/* Spalten wie im Original relativ zur Fensterbreite: Details ab 20 % + 12 px, Formular ab 50 % + 80 px bis 80 % - 12 px */
.contact {
  padding: 80px calc(20vw + 12px) 126px;
  display: grid; grid-template-columns: calc(30vw - 12px) minmax(0, 1fr); column-gap: 80px;
}
.contact .headline--sm { margin-bottom: 85px; font-size: 30px; line-height: 37.5px; }
.contact .headline--form { margin-bottom: 66px; font-size: 25px; line-height: 35px; }
.contact__details { display: grid; grid-template-columns: calc(15vw - 6px) 1fr; gap: 88px 0; margin: 0 0 74px; padding-left: 20px; }
.contact__details dt, .contact__sub { font-size: 18px; line-height: 28.8px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.contact__details dd { margin: 0; font-size: 15px; line-height: 30px; letter-spacing: 1px; color: var(--muted); }
.contact__details a, .social a { color: var(--muted); text-underline-offset: 3px; }
.contact__sub { margin-left: 20px; }
.social { display: grid; grid-template-columns: calc(15vw - 6px) 1fr; margin: 6px 0 100px; padding-left: 20px; }
.social a { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; line-height: 35px; letter-spacing: 1px; }
.social svg { width: 30px; height: 30px; color: #4a4441; }
.headline--hours { margin-bottom: 30px !important; font-size: 25px !important; line-height: 31px; }
.hours { width: calc(27vw - 22px); margin-left: 10px; font-size: 17px; line-height: 33px; letter-spacing: 1px; color: var(--muted); border-collapse: collapse; }
.hours th { padding: 0 20px 0 0; text-align: left; font-weight: 400; }
.hours td { white-space: nowrap; }
.hours td { padding: 0; text-align: right; letter-spacing: 2.5px; }
.contact__note { width: calc(27vw - 22px); margin: 30px 0 0 10px; padding-top: 28px; border-top: 0; position: relative; font-size: 12px; line-height: 23px; letter-spacing: 1px; color: var(--muted); text-align: center; }
.contact__note::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; border-top: 1px solid #c9c5c2; }
.contact__intro { margin: -40px 0 30px; font-size: 16px; line-height: 1.7; color: var(--muted); }
@media (min-width: 1021px) and (max-width: 1366px) {
  .contact { padding-left: calc(20vw + 18px); padding-right: 21.3vw; grid-template-columns: calc(30vw - 18px) minmax(0, 1fr); }
  .contact__details, .social { padding-left: 50px; grid-template-columns: calc(15vw - 39px) 1fr; }
  .contact__sub { margin-left: 50px; }
  .hours, .contact__note { width: calc(25.2vw - 28px); }
}
@media (min-width: 1021px) and (max-width: 1200px) { .contact { column-gap: 0; padding-right: 21.6vw; } }

/* Öffnungszeiten: Pinselstrich nur in der Mobil-Variante (wie im Original) */
@media (min-width: 1021px) { .headline--hours .mark__line { display: none; } }

/* Mobil-Variante wie im Original (bis 1020 px): Öffnungszeiten, Kontaktdetails, Social Media, Karte – darunter das Formular */
@media (max-width: 1020px) {
  .contact-page { display: flex; flex-direction: column; }
  .contact { display: contents; }
  .contact__info { order: 1; display: flex; flex-direction: column; align-items: center; padding: 20px 20px 0; text-align: center; }
  .page-contact .map { order: 2; width: 100%; padding: 0 30px; margin: 0 0 40px; }
  .contact__form { order: 3; width: 100%; max-width: 560px; margin: 0 auto; padding: 10px 20px 60px; }
  .headline--hours { order: 1; margin-bottom: 58px !important; font-size: 16px !important; line-height: 19.2px; text-align: center; }
  .hours { order: 2; width: 291px; max-width: 100%; margin: 0; font-size: 11px; line-height: 19px; }
  .hours td { letter-spacing: 1px; }
  .contact__note { order: 3; width: 100%; margin: 10px 0 0; padding-top: 14px; font-size: 10px; line-height: 15.5px; }
  .contact__note::before { left: 10%; right: 10%; }
  .contact .headline--details { order: 4; margin: 39px 0 55px; font-size: 18px; line-height: 21.6px; text-align: center; }
  .contact__details { order: 5; display: flex; flex-direction: column; gap: 32px; margin: 0; padding: 0; }
  .contact__details .contact__email { order: 4; }
  .contact__details dt, .contact__sub { font-size: 15px; line-height: 22px; margin-bottom: 0; }
  .contact__details dd { font-size: 13px; line-height: 25.3px; }
  .contact__sub { order: 6; margin: 36px 0 8px; }
  .social { order: 7; display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 0 0 40px; padding: 0; }
  .social a { font-size: 13px; line-height: 25px; letter-spacing: 0; }
  .social svg { width: 24px; height: 24px; }
  .contact .headline--form { margin-bottom: 40px; font-size: 20px; text-align: left; }
  .embed--map { height: 570px; }
}
@media (max-width: 420px) { .contact__details, .social { grid-template-columns: 1fr; } }

/* Formular: sieht aus wie im Original (graue Beschriftung direkt über der Linie),
   die Beschriftung ist aber ein echtes Label und rutscht beim Tippen nach oben */
.form__field { position: relative; margin-bottom: 39px; padding-top: 0; }
.form input, .form textarea {
  width: 100%; height: 41px; padding: 8px 0; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: transparent;
  font: 16px/1.5 var(--font); color: var(--text);
}
.form textarea { height: 160px; resize: vertical; }
.form__field--textarea { margin-bottom: 30px; }
.form__field label {
  position: absolute; left: 0; top: 10px; font-size: 14px; line-height: 20px; color: var(--mid); pointer-events: none;
  transform-origin: 0 0; transition: transform .15s ease, color .15s ease;
}
.form__field input:focus + label, .form__field input:not(:placeholder-shown) + label,
.form__field textarea:focus + label, .form__field textarea:not(:placeholder-shown) + label,
.form__field [aria-invalid="true"] + label { transform: translateY(-22px) scale(.86); color: #4a4441; }
.form input:focus, .form textarea:focus { outline: none; border-bottom: 2px solid var(--text); }
.form input:focus-visible, .form textarea:focus-visible { outline: none; }
.form [aria-invalid="true"] { border-bottom-color: #b00020; }
.form__error { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: #b00020; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.form__captcha { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form__captcha[hidden] { display: none; }
.form__captcha-label { margin: 0 0 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.form__captcha altcha-widget {
  display: block; max-width: 320px; font-family: inherit;
  --altcha-max-width: 320px; --altcha-border-radius: 0; --altcha-border-width: 1px;
  --altcha-border-color: var(--ui-border); --altcha-checkbox-border-color: var(--ui-border);
  --altcha-color-base: #fff; --altcha-color-base-content: var(--text);
  --altcha-color-primary: var(--accent-strong); --altcha-color-primary-content: #fff;
  --altcha-color-success: #2e7d32; --altcha-color-error: #b00020;
  --altcha-checkbox-outline-color: var(--text);
}
.form__noscript { padding: 14px 16px; background: var(--soft); font-size: 14px; line-height: 1.6; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__status { margin-top: 16px; font-size: 15px; }
.form__status--error { color: #b00020; }
.form-success { padding: 26px; background: var(--soft); border-left: 3px solid var(--accent-strong); font-size: 16px; }

.map { max-width: 1240px; margin: 0 auto 50px; padding: 0 var(--gutter); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 900px; margin: 0 auto; padding: 70px var(--gutter) 100px; font-size: 17px; line-height: 1.75; }
.legal h1 { margin-bottom: 30px; font-size: clamp(24px, 1.6vw + 14px, 35px); line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; }
.legal h2 { margin: 44px 0 14px; font-size: clamp(19px, .6vw + 15px, 23px); line-height: 1.35; }
.legal h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 700; }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.legal li { margin-bottom: .35em; }
.legal a { text-underline-offset: 3px; }
.legal .box { padding: 20px 24px; background: var(--soft); border-left: 3px solid var(--line); }
.legal .consent-list { list-style: none; padding: 0; }
.legal .consent-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal .consent-list button { padding: 6px 16px; border: 1px solid var(--ui-border); background: #fff; border-radius: 20px; cursor: pointer; font-size: 14px; }
.legal--center { text-align: center; }
.legal--center .link-list { list-style: none; padding: 0; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-anim]:not(.is-in) { opacity: 1 !important; transform: none !important; }
  .js .mark .mark__line path { stroke-dashoffset: 0 !important; }
}

@media print {
  .site-header, .site-footer, .to-top, .embed, .slider__controls, .carousel__btn { display: none !important; }
}
