/* kokosesthetic.de – Luxus-Stil (wird nach site.css geladen und überschreibt nur Optik)
   Schriften: Bodoni Moda (Überschriften), Jost (Text) –
   selbst gehostet unter /assets/fonts/, keine Verbindung zu Google.
   Farben: Schwarz, Weiß, warmes Creme, Gold als kleiner Akzent. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

:root {
  --text: #141210;
  --muted: #5c5650;          /* Fließtext-Grau: Kontrast ca. 7:1 */
  --muted-light: #6f6861;    /* helleres Grau: Kontrast ca. 5,5:1 */
  --mid: #5c5650;
  --accent: #8c6d3a;         /* Gold, als Schrift lesbar (ca. 4,8:1) */
  --accent-strong: #8c6d3a;
  --gold-light: #c4a56e;     /* Gold für feine Linien */
  --line: #e6ddd0;
  --ui-border: #b9ac98;
  --soft: #f7f2ea;           /* warmes Creme */
  --footer: #141210;
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
}

body { font-family: var(--font); font-weight: 350; letter-spacing: .01em; }
strong, b { font-weight: 500; }

/* ---------- Überschriften: Bodoni ---------- */
.headline, h1, h2, h3,
.seo-text__title, .faq__title, .feature__title, .prices__heading, .headline--name {
  font-family: var(--serif);
  font-weight: 400;
}
.headline { text-transform: none; letter-spacing: .01em; line-height: 1.2; }
.headline--xl { font-size: clamp(30px, 2.6vw + 14px, 54px); }
.headline--lg { font-size: clamp(26px, 2vw + 12px, 44px); }
.headline--md { font-size: clamp(26px, 1.6vw + 14px, 40px); }
.headline--sm { font-size: clamp(26px, 1.4vw + 14px, 38px); }
.headline__accent { font-family: var(--serif); font-style: normal; font-weight: 400; color: var(--accent); }
.headline--closing { font-size: clamp(24px, 4vw, 32px); line-height: 1.25; letter-spacing: 0; }
.intro .headline, .treatments .headline, .extras .headline, .beauty .headline,
.studio-gallery .headline { line-height: 1.2; }
.beauty .headline { font-size: clamp(26px, 1.6vw + 14px, 40px); line-height: 1.2; }
@media (max-width: 1020px) {
  .intro .headline, .beauty .headline { font-size: 30px; line-height: 1.2; }
  .extras .headline { font-size: 26px; line-height: 1.25; }
  .intro .headline > span { white-space: normal; }
}
.seo-text__title, .faq__title { text-transform: none; letter-spacing: .01em; font-size: clamp(24px, 1.2vw + 14px, 34px); line-height: 1.25; }
.feature__title, .prices__heading { text-transform: none; letter-spacing: .01em; }

/* kleine Beschriftungen bleiben in Jost, Großbuchstaben, weit gesperrt */
.nav a, .nav__parent, .btn, .btn--outline, .site-footer__copy, .site-footer__nav a { letter-spacing: .2em; }

/* ---------- Farben & Kontrast ---------- */
.lead, .extra__text { color: var(--muted); }
.mark--brush .mark__line { stroke: var(--gold-light); }
.mark--circle .mark__line { stroke: var(--gold-light); stroke-width: 1.2; }
.seo-text::before { background: var(--gold-light); }
.site-footer { background: var(--footer); color: #f3eee6; }
.to-top { background: var(--text); }

/* ---------- Bilder ohne Rahmen & Schatten ---------- */
.framed { padding: 0; border: 0; background: none; }
.framed img, .hero .embed { box-shadow: none; }
.intro__media .framed { max-width: 560px; }
.beauty__media .framed { max-width: 640px; padding: 0; }

/* ---------- Video ohne YouTube ---------- */
.embed__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Ruhige Animationen: nur sanftes Einblenden ---------- */
.js [data-anim="drop"]:not(.is-in),
.js [data-anim="flip"]:not(.is-in) { opacity: 0; transform: translateY(12px); }
.js [data-anim="drop"], .js [data-anim="flip"] { transition: opacity 1.4s ease, transform 1.4s ease; transform-origin: 50% 50%; }
.js [data-anim="slide"].is-cycling,
.js [data-anim="slide"].is-done { animation: kokos-fade 1.4s ease both; }
@keyframes kokos-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .mark .mark__line path { transition: stroke-dashoffset 2s ease .4s; }

/* ---------- Schwarzer Balken über der Kopfzeile (Chanel-Stil) ---------- */
.topline {
  display: block; background: #000; color: #fff; text-align: center; text-decoration: none;
  font-family: var(--font); font-size: 11px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase;
  padding: 9px var(--gutter, 16px);
}
.topline:hover, .topline:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) { .topline { font-size: 10px; letter-spacing: .16em; padding: 7px 12px; } }
@media print { .topline { display: none; } }
/* ---------- Footer: schwarz, weißes Logo, Sitemap ---------- */
html { background: #000; }
body { background: #fff; }
.site-footer { background: #000; color: #fff; }
.footer-x { max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 26px; }
.footer-x__logo { display: block; width: max-content; margin: 0 auto 40px; }
.footer-x__logo img { display: block; width: auto; height: 104px; }
.footer-x__map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 40px; }
.footer-x__head {
  margin: 0 0 18px; font-family: var(--font); font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: #fff;
}
.footer-x__list { list-style: none; margin: 0; padding: 0; }
.footer-x__list li { line-height: 20px; }
.footer-x__list li + li { margin-top: 7px; }
.footer-x__list a { font-size: 14px; line-height: 20px; letter-spacing: .02em; color: rgba(255,255,255,.66); text-decoration: none; transition: color .2s; }
.footer-x__list a:hover, .footer-x__list a:focus-visible, .footer-x__list a[aria-current="page"] { color: #fff; }
.footer-x__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px;
  margin-top: 44px; padding: 20px 64px 0 0; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 11px; line-height: 18px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.footer-x__bottom p { margin: 0; }
.footer-x__bottom a { color: inherit; text-decoration: none; }
.footer-x__bottom a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
/* "Garagentor": Inhalt schiebt sich hoch und gibt den fest stehenden Footer frei */
.footer-reveal main { position: relative; z-index: 1; background: #fff; box-shadow: 0 18px 30px -12px rgba(0,0,0,.35); }
.footer-reveal .site-footer { position: sticky; bottom: 0; z-index: 0; }
@media (max-width: 1020px) {
  .footer-x__map { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
}
@media (max-width: 599px) {
  .footer-x { padding: 30px 20px 22px; }
  .footer-x__logo { margin-bottom: 20px; }
  .footer-x__logo img { height: 68px; }
  .footer-x__map { gap: 18px 14px; }
  .footer-x__head { margin-bottom: 8px; font-size: 10px; letter-spacing: .2em; }
  .footer-x__list li { line-height: 15px; }
  .footer-x__list li + li { margin-top: 5px; }
  .footer-x__list a { font-size: 12px; line-height: 15px; }
  .footer-x__bottom { flex-direction: column; align-items: center; text-align: center; margin-top: 18px; padding: 12px 0 0; gap: 2px; font-size: 9.5px; line-height: 15px; letter-spacing: .12em; }
}

/* ---------- FAQ-Seite ---------- */
.faqx { max-width: calc(900px + 2 * var(--gutter)); margin: 0 auto; padding: 50px var(--gutter) 110px; }
.faqx__head { text-align: center; margin-bottom: 40px; }
.faqx__intro { max-width: 680px; margin: 22px auto 0; font-size: 16px; line-height: 28px; color: var(--muted); }
.faqx__intro a { color: var(--text); }
.faqx__toc { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.faqx__toc a {
  padding: 10px 26px; border: 1px solid var(--text); text-decoration: none; color: var(--text);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; transition: background .2s, color .2s;
}
.faqx__toc a:hover, .faqx__toc a:focus-visible { background: var(--text); color: #fff; }
.faqx__sec { padding-top: 40px; scroll-margin-top: 110px; }
.faqx__sec-title { margin: 0 0 8px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.2; color: var(--text); }
.faqx__group { margin-top: 34px; }
.faqx__group-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--text);
  font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text);
}
.faqx__more { font-size: 11px; letter-spacing: .18em; color: var(--accent); text-decoration: none; white-space: nowrap; }
.faqx__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.faqx__item { border-bottom: 1px solid rgba(0,0,0,.12); }
.faqx__q {
  position: relative; list-style: none; cursor: pointer; padding: 16px 40px 16px 0;
  font-size: 16px; line-height: 24px; color: var(--text);
}
.faqx__q::-webkit-details-marker { display: none; }
.faqx__q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s;
}
.faqx__item[open] > .faqx__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faqx__a p { margin: 0 0 18px; font-size: 15px; line-height: 27px; color: var(--muted); }
@media (max-width: 599px) {
  .faqx { padding: 30px 22px 70px; }
  .faqx__intro { font-size: 14px; line-height: 24px; }
  .faqx__toc a { padding: 9px 16px; font-size: 11px; }
  .faqx__sec-title { font-size: 26px; }
  .faqx__group-title { font-size: 12px; letter-spacing: .16em; }
  .faqx__q { font-size: 14px; line-height: 21px; padding: 14px 32px 14px 0; }
  .faqx__a p { font-size: 13px; line-height: 22px; }
}
/* ---------- Startseiten-Video: immer volle Breite (Handy & Laptop) ---------- */
.hero, .hero .embed { max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.hero { margin-top: 0; }
/* ---------- Schwarzer Balken bleibt oben stehen (iPhone: Statusleiste/Uhrzeit färbt sich schwarz) ---------- */
html { scroll-padding-top: 144px; }
.topline {
  position: sticky; top: 0; z-index: 51; height: 34px; box-sizing: border-box;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-header { top: 34px; }
@media (min-width: 1300px) { .site-header { top: -111px; } }
@media (max-width: 599px) {
  .topline { height: 30px; }
  .site-header { top: 30px; }
  html { scroll-padding-top: 130px; }
}
/* ---------- Footer v2: kleineres Logo mit mehr Luft, Rubriken aufklappbar (Handy), passt auf flache Bildschirme ---------- */
.footer-x { padding-top: 84px; }
.footer-x__logo { margin-bottom: 72px; }
.footer-x__logo img { height: 78px; }
.footer-x__toggle {
  display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: default;
  font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left;
}
.footer-x__toggle:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
.footer-x__list li + li { margin-top: 6px; }
@media (min-width: 1021px) and (max-height: 820px) {
  .footer-x { padding-top: 56px; }
  .footer-x__logo { margin-bottom: 44px; }
  .footer-x__logo img { height: 64px; }
  .footer-x__head { margin-bottom: 12px; }
  .footer-x__list li + li { margin-top: 3px; }
  .footer-x__bottom { margin-top: 30px; padding-top: 16px; }
}
@media (max-width: 1020px) {
  .footer-x { padding: 56px 24px 80px; }
  .footer-x__logo { margin-bottom: 46px; }
  .footer-x__logo img { height: 58px; }
  .footer-x__map { grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .footer-x__col { border-bottom: 1px solid rgba(255,255,255,.2); }
  .footer-x__head { margin: 0; font-size: 11px; letter-spacing: .22em; }
  .footer-x__toggle {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: 16px 2px; box-sizing: border-box; cursor: pointer;
  }
  .footer-x__toggle::after { content: "+"; font-size: 18px; font-weight: 300; letter-spacing: 0; line-height: 1; }
  .footer-x__toggle[aria-expanded="true"]::after { content: "\2013"; }
  .footer-x__col .footer-x__list { display: none; padding: 0 2px 18px; }
  .footer-x__col.is-open .footer-x__list { display: block; }
  .footer-x__list li { line-height: 18px; }
  .footer-x__list li + li { margin-top: 8px; }
  .footer-x__list a { font-size: 13px; line-height: 18px; }
  .footer-x__bottom { flex-direction: column; align-items: center; text-align: center; margin-top: 26px; padding: 0; border-top: 0; gap: 4px; font-size: 9.5px; line-height: 16px; letter-spacing: .12em; }
}
@media (max-width: 599px) {
  .footer-x { padding: 46px 20px 78px; }
  .footer-x__logo { margin-bottom: 38px; }
  .footer-x__logo img { height: 54px; }
}
/* ---------- Footer v3: Logo höher und kleiner ---------- */
.footer-x { padding-top: 34px; }
.footer-x__logo { margin-bottom: 84px; }
.footer-x__logo img { height: 60px; }
@media (min-width: 1021px) and (max-height: 820px) {
  .footer-x { padding-top: 26px; }
  .footer-x__logo { margin-bottom: 52px; }
  .footer-x__logo img { height: 52px; }
}
@media (max-width: 1020px) {
  .footer-x { padding-top: 28px; }
  .footer-x__logo { margin-bottom: 56px; }
  .footer-x__logo img { height: 46px; }
}
@media (max-width: 599px) {
  .footer-x { padding-top: 24px; }
  .footer-x__logo { margin-bottom: 48px; }
  .footer-x__logo img { height: 42px; }
}
/* ---------- Footer v4: Logo ganz oben, wird beim Öffnen als Letztes freigelegt ---------- */
.footer-x { padding-top: 12px; }
.footer-x__logo { margin-bottom: 108px; }
@media (min-width: 1021px) and (max-height: 820px) {
  .footer-x { padding-top: 10px; }
  .footer-x__logo { margin-bottom: 64px; }
}
@media (max-width: 1020px) {
  .footer-x { padding-top: 12px; }
  .footer-x__logo { margin-bottom: 70px; }
}
@media (max-width: 599px) {
  .footer-x { padding-top: 10px; }
  .footer-x__logo { margin-bottom: 60px; }
}
/* ---------- Mobile Kopfzeile: halb so hoch (wie chanel.com), weiß ---------- */
@media (max-width: 1299px) {
  .site-header { background: #fff; }
  .site-header__inner { height: 44px; padding-top: 0; padding-bottom: 0; }
  .site-header__logo img { height: 30px; margin-bottom: 0; }
  .nav-toggle { width: 40px; height: 40px; margin-top: -20px; }
  html { scroll-padding-top: 90px; }
}
/* ---------- Kopf-Logo nur "Kokos"; Laptop-Kopfzeile einzeilig und schmal (wie chanel.com) ---------- */
@media (max-width: 1299px) {
  .site-header__logo img { height: 24px; }
}
@media (min-width: 1300px) {
  html { scroll-padding-top: 120px; }
  .site-header {
    top: 34px; display: flex; align-items: center; justify-content: space-between; height: 72px;
    padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
  }
  .site-header__inner { height: 72px; padding: 0; justify-content: flex-start; }
  .site-header__logo img { height: 36px; margin: 0; }
  .nav { margin-top: 0; }
  .nav__list { flex-wrap: nowrap; gap: 0 30px; }
  .nav__list > li > a, .nav__parent { padding: 24px 0; font-size: 14px; letter-spacing: .26em; }
  .nav__parent::after { top: 38px; }
}
/* ---------- Fußzeile unten: Adresse mittig, Plattformen ganz rechts ---------- */
@media (min-width: 1021px) {
  .footer-x { padding-bottom: 84px; }
  .footer-x__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-right: 0; }
  .footer-x__bottom p:nth-child(2) { text-align: center; }
  .footer-x__bottom p:last-child { justify-self: end; text-align: right; }
}
/* ---------- Schwarzer Balken dünner; Laptop: Logo zentriert, Menü darunter ---------- */
.topline { height: 24px; padding: 4px var(--gutter, 16px); font-size: 10px; line-height: 16px; letter-spacing: .24em; }
.site-header { top: 24px; }
@media (max-width: 599px) {
  .topline { height: 22px; padding: 3px 12px; font-size: 9px; letter-spacing: .16em; }
  .site-header { top: 22px; }
  html { scroll-padding-top: 80px; }
}
@media (min-width: 1300px) {
  html { scroll-padding-top: 140px; }
  .site-header { top: 24px; display: block; height: auto; padding: 0; }
  .site-header__inner { height: auto; padding: 16px 0 2px; justify-content: center; }
  .site-header__logo img { height: 34px; }
  .nav__list { justify-content: center; gap: 0 34px; }
  .nav__list > li > a, .nav__parent { padding: 12px 0 16px; font-size: 13px; letter-spacing: .26em; }
  .nav__parent::after { top: 28px; }
}
/* ---------- Hauptmenü kräftiger (wie chanel.com) ---------- */
.nav__list > li > a, .nav__parent { font-weight: 600; }
.nav__sub a { font-weight: 400; }
@media (min-width: 1300px) {
  .nav__list > li > a, .nav__parent { letter-spacing: .2em; }
}
/* ---------- Laptop: Menüzeile klappt beim Runterscrollen ein, beim Hochscrollen aus ---------- */
@media (min-width: 1300px) {
  .nav { max-height: 60px; transition: max-height .35s ease, opacity .25s ease; }
  .nav-collapsed .nav { max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; }
  .site-header__inner { transition: padding .35s ease; }
  .nav-collapsed .site-header__inner { padding-bottom: 14px; }
}
@media (min-width: 1300px) and (prefers-reduced-motion: reduce) {
  .nav, .site-header__inner { transition: none; }
}
/* ---------- Kopf-Logo größer ---------- */
@media (max-width: 1299px) { .site-header__logo img { height: 30px; } }
@media (min-width: 1300px) { .site-header__logo img { height: 50px; } }
/* ---------- Startseite: Textblock "Dein Kosmetikstudio…" mittig zwischen Bild und rechtem Rand ---------- */
@media (min-width: 768px) {
  .intro__text {
    margin-right: calc(-1 * var(--gutter));
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .intro__text > .headline, .intro__text > .lead { width: 100%; max-width: 620px; }
}
/* ---------- Startseite: Überschrift "Dein Kosmetikstudio…" etwas kleiner ---------- */
.intro .headline { font-size: 26px; }
@media (min-width: 768px) { .intro .headline { font-size: clamp(30px, 2.5vw, 38px); line-height: 1.25; margin-bottom: 56px; } }
/* ---------- Telefon-Icon rechts in der Kopfzeile ---------- */
.header-tel {
  position: absolute; top: 50%; right: 52px; z-index: 70; width: 40px; height: 40px; margin-top: -20px;
  display: flex; align-items: center; justify-content: center; color: var(--text);
}
.header-tel svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header-tel:hover { color: var(--accent); }
@media (min-width: 1300px) {
  .header-tel { right: max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter))); margin-top: -13px; width: 44px; height: 44px; }
  .header-tel svg { width: 22px; height: 22px; }
}

/* ---------- Ausgewogener Zeilenumbruch (keine einzelnen Wörter in der letzten Zeile) ---------- */
p, li, .lead { text-wrap: pretty; }
h1, h2, h3, .headline { text-wrap: balance; }

/* ---------- Tastatur: eingeklapptes Menü klappt bei Fokus wieder auf ---------- */
@media (min-width: 1300px) {
  .nav-collapsed .nav:focus-within { max-height: 60px; opacity: 1; pointer-events: auto; }
}

/* ---------- Bewertungen auf der Startseite ---------- */
.home-reviews { margin-top: 110px; }
@media (max-width: 767px) { .home-reviews { margin-top: 60px; } }
/* ---------- Laptop: gleicher Abstand über und unter dem Logo ---------- */
@media (min-width: 1300px) {
  .site-header__inner { padding: 26px 0 0; }
  .nav__list > li > a, .nav__parent { padding: 21px 0 18px; }
  .nav__parent::after { top: 37px; }
  .nav { max-height: 70px; }
  .nav-collapsed .nav:focus-within { max-height: 70px; }
  .nav-collapsed .site-header__inner { padding-bottom: 26px; }
  .header-tel { margin-top: -9px; }
}
/* ---------- Startseite: zusammengeführter Text neben dem Bild ---------- */
.lead--intro a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.lead--intro a:hover { color: var(--text); }
@media (min-width: 768px) {
  .lead--intro p { margin-bottom: 24px; font-size: 18px; line-height: 32px; }
}
@media (max-width: 767px) {
  .intro .lead--intro { order: 3; margin-top: 34px; padding: 0 4px; }
  .lead--intro p { margin: 0 0 18px; font-size: 16px; line-height: 28px; }
}