/* ============================================================================
   Classic Lashes JL – Studio-Basis für alle Seiten
   Farben (aus dem echten Studio), Buttons, Kopfleiste, Mobilmenü und Footer.
   Startseite: studio.css + palette.css. Unterseiten: tailwind.css + site.css +
   studio.css + subpage.css.
   ========================================================================== */

:root {
  /* Studio */
  --cream: #FBF7F2;        /* Wände, Grundfläche */
  --linen: #F3EAE0;        /* zweite Fläche, Preise, Quiz */
  --blush: #F5E1E0;        /* Rosé-Hauch für den Abschluss */
  --rose: #E3A9B5;         /* Blumenwand, nur dekorativ */
  --rose-deep: #9C4460;    /* Akzenttext auf Hell (≥ 6:1 auf Creme) */
  --taupe: #8C7D74;        /* Samt der Liegen, nur Linien/Deko */
  --paper: #FFFDFB;
  --ink: #1F191A;
  --ink-2: #3B3032;
  --ink-soft: #66574F;     /* Nebentext (≥ 5:1 auf Leinen) */
  --line: rgba(140, 125, 116, .38);

  /* Metalle */
  --gold: #C8A25E;
  --gold-hi: #F3E0B5;
  --gold-lo: #8A6428;

  /* Die Dose: Nude-Rosé-Perlmutt (v3: weniger Bonbon-Pink, die echte Blumenwand trägt das Rosa) */
  --case-hi: #FBF3F0;
  --case: #EBD1CA;
  --case-lo: #D5B1A9;
  --case-deep: #A9837B;

  /* Pfännchen */
  --pan-soft: #E7C6B2;     /* 1/4 hellstes Nude */
  --pan-classic: #C48A7B;  /* 2/4 Rosé-Braun */
  --pan-mascara: #573630;
  --pan-volumen: #17110F;

  --shadow: 58, 38, 30;    /* warmes Braun für alle Schatten */

  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;

  --gold-ring: conic-gradient(from 210deg, var(--gold-lo), var(--gold-hi) 12%, var(--gold) 26%, var(--gold-lo) 45%, var(--gold-hi) 62%, var(--gold) 80%, var(--gold-lo));
  --silver-ring: conic-gradient(from 20deg, #8d8790, #f4f1f3 14%, #b9b3bb 30%, #6f6a72 48%, #ecE8eb 66%, #a39ea6 84%, #8d8790);
  /* Licht kommt überall von oben links */
  --metal-glint: radial-gradient(circle at 30% 22%, rgba(255, 250, 235, .7), rgba(255, 250, 235, 0) 36%);
  --case-surface:
    radial-gradient(ellipse 58% 30% at 34% 15%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse 42% 11% at 68% 90%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 72%),
    radial-gradient(120% 100% at 30% 20%, var(--case-hi) 0%, #F3DDD7 24%, var(--case) 50%, var(--case-lo) 82%, var(--case-deep) 100%);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grain-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 -.25'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --sparkle: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .7  3.2 0 0 0 -1.35'/><feComponentTransfer><feFuncA type='discrete' tableValues='0 0 0 0 0 0 0 0 0 .55 .9'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23s)'/></svg>");
}

/* --- Basis ------------------------------------------------------------------ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--taupe) var(--linen); }
::selection { background: var(--rose); color: var(--ink); }
input, textarea { caret-color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--cream); padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* --- Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; text-align: center;
  box-shadow: 0 10px 24px -12px rgba(var(--shadow), .6), inset 0 0 0 1.5px rgba(243, 224, 181, .5);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s, color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(var(--shadow), .65), inset 0 0 0 1.5px var(--gold-hi); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-ink .btn { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.on-ink .btn--line { --btn-bg: transparent; --btn-fg: var(--cream); }
.on-ink .btn--line:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); }
/* site.js markiert den WhatsApp-Weg; er bleibt in der Formensprache der Dose */
.whatsapp-cta { background: transparent; color: inherit; }
/* WhatsApp als bewusst leiserer zweiter Weg: Textlink mit Symbol, nie zweiter gleich großer Button */
.link-wa {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .3rem .2rem;
  font-weight: 600; font-size: .92rem; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: rgba(140, 125, 116, .55); text-underline-offset: .3em;
  transition: color .2s, text-decoration-color .2s;
}
.link-wa:hover { color: var(--ink); text-decoration-color: currentColor; }
.link-wa .icon { width: 1.25em; height: 1.25em; color: var(--taupe); }
.on-ink .link-wa { color: #E3D8D2; }

/* --- Navigation ------------------------------------------------------------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.bar.is-scrolled { background: rgba(251, 247, 242, .92); backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 10px 30px -20px rgba(var(--shadow), .5); }
.bar__in { display: flex; align-items: center; gap: 1.25rem; height: 4.75rem; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .1em; text-decoration: none; white-space: nowrap; color: var(--ink); }
.logo em { font-style: normal; font-weight: 400; font-size: .72em; letter-spacing: .28em; color: var(--rose-deep); padding-inline: .35em .3em; }
.bar__links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .88rem; font-weight: 500; }
.bar__links a { text-decoration: none; padding-block: .4rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); }
.bar__links a:hover, .bar__links a[aria-current] { background-size: 100% 1.5px; }
.bar__links .nav-secondary { color: var(--ink-soft); font-weight: 400; }
.bar__cta { min-height: 2.75rem; padding: .6rem 1.25rem; font-size: .88rem; }
.mobile-menu-button {
  display: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(243, 224, 181, .5);
}
.mobile-menu {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 5.25rem;
  padding: .6rem; border-radius: 1.75rem; background: var(--paper);
  box-shadow: 0 30px 60px -24px rgba(var(--shadow), .55), inset 0 0 0 1px rgba(200, 162, 94, .45);
}
.mobile-nav-link { display: block; padding: .95rem 1.1rem; border-radius: 1.2rem; text-decoration: none; font-weight: 500; }
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--linen); }
.mobile-nav-link.nav-secondary-mobile { color: var(--ink-soft); font-weight: 400; font-size: .92rem; }

/* --- Footer ------------------------------------------------------------------- */
.foot { background: var(--ink); color: #E3D8D2; padding-block: 4rem 2.5rem; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot .logo { color: var(--paper); }
.foot .logo em { color: #E58FB0; } /* Nicken zum rosa Logo */
.foot h2 { font-size: .78rem; font-family: var(--sans); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.foot a, .foot button { display: block; color: inherit; text-decoration: none; padding: .3rem 0; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.foot a:hover, .foot button:hover { color: var(--paper); text-decoration: underline; }
.foot address { font-style: normal; line-height: 1.8; }
.foot p { margin-top: .9rem; color: #C2B4AD; max-width: 22rem; }
.foot__copy { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(227, 216, 210, .18); font-size: .82rem; color: #ADA09A; }

/* --- Responsiv ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .bar__links { gap: 1.1rem; font-size: .82rem; }
  .bar__links .nav-secondary { display: none; }
}
@media (max-width: 900px) {
  .bar__links, .bar__cta { display: none; }
  .bar__in { justify-content: space-between; }
  .mobile-menu-button { display: inline-flex; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .logo { font-size: 1.08rem; }
  .foot { padding-top: 3rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .foot__copy { margin-top: 2rem; }
}
