/* ==========================================================================
   Jutta's Adventschaos – Stylesheet
   Farben: Tannengrün der alten Seite (#122b15) + Logo (Creme, Blattgrün,
   Kerzenflamme, Beerenrot)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Grüntöne */
  --tanne-950: #081409;
  --tanne-900: #0e2211;
  --tanne-850: #122b15;   /* Original Jimdo */
  --tanne-800: #17361b;
  --tanne-700: #1f4a25;
  --tanne-600: #2b6132;
  --moos-500:  #4d8a3f;
  --blatt-400: #7aab52;   /* Logo-Blätter */
  --salbei-300:#a9c49a;
  --salbei-100:#e3ecdc;

  /* Warm */
  --creme-50:  #fdfaf3;
  --creme-100: #f7f0e1;   /* Logo-Schrift */
  --creme-200: #ede1c6;
  --creme-300: #dccaa0;
  --flamme:    #f6b93b;
  --kerze:     #e88122;   /* Original-Akzent */
  --kerze-600: #c9670f;
  --beere:     #c63f2c;
  --holz:      #6d4b31;

  --text-dark: #13261a;
  --text-muted-dark: #4c5e50;
  --text-light: var(--creme-100);
  --text-muted-light: #b9c9b3;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 2px 8px rgba(8, 20, 9, .12);
  --shadow-m: 0 12px 32px -8px rgba(8, 20, 9, .28);
  --shadow-l: 0 30px 60px -20px rgba(8, 20, 9, .45);
  --glow: 0 0 40px rgba(246, 185, 59, .35);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--creme-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--flamme); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--flamme); color: var(--tanne-900); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "WONK" 0; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--kerze-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--flamme); }
.accent { font-style: italic; font-weight: 500; color: var(--kerze); }
.on-dark .accent { color: var(--flamme); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--kerze); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.1;
  box-shadow: 0 8px 24px -8px rgba(232, 129, 34, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--kerze-600); box-shadow: 0 14px 30px -10px rgba(232, 129, 34, .8); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-ghost { --bg: rgba(247, 240, 225, .08); --fg: var(--creme-100); box-shadow: inset 0 0 0 1.5px rgba(247, 240, 225, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(247, 240, 225, .16); box-shadow: inset 0 0 0 1.5px var(--creme-100); }
.btn-ghost-dark { --bg: transparent; --fg: var(--tanne-800); box-shadow: inset 0 0 0 1.5px var(--tanne-700); }
.btn-ghost-dark:hover { background: var(--tanne-800); color: var(--creme-100); box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--kerze-600); }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header / Menüleiste
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s var(--ease);
}
.site-header::before { /* Glas-Hintergrund, erst nach Scrollen */
  content: ""; position: absolute; inset: 0;
  background: rgba(14, 34, 17, .82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity .35s;
  border-bottom: 1px solid rgba(247, 240, 225, .08);
}
.site-header.is-solid::before, .site-header.always-solid::before { opacity: 1; }
.site-header.is-solid { --header-h: 64px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--creme-100); }
.brand img {
  width: 52px; height: 52px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
  transition: width .35s var(--ease), height .35s var(--ease), transform .4s var(--ease);
}
.site-header.is-solid .brand img { width: 44px; height: 44px; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--flamme); margin-top: .35em; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block;
  padding: .55rem .9rem; border-radius: 999px;
  color: var(--creme-100); text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background .25s, color .25s;
}
.nav-links a::after { /* kleine Flamme als Aktiv-Marker */
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px;
  border-radius: 50% 50% 50% 0; transform: translateX(-50%) rotate(-45deg) scale(0);
  background: var(--flamme); box-shadow: 0 0 8px var(--flamme);
  transition: transform .3s var(--ease);
}
.nav-links a:hover { background: rgba(247, 240, 225, .1); }
.nav-links a[aria-current="page"]::after, .nav-links a.is-active::after { transform: translateX(-50%) rotate(-45deg) scale(1); }
.nav-links a[aria-current="page"], .nav-links a.is-active { color: var(--flamme); }

.nav-tools { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(247, 240, 225, .08); color: var(--creme-100);
  transition: background .25s, transform .25s var(--ease);
}
.icon-btn:hover { background: rgba(247, 240, 225, .18); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[aria-pressed="true"] { background: rgba(246, 185, 59, .2); color: var(--flamme); }

.menu-toggle { display: none; }
.menu-toggle .bars { position: relative; width: 20px; height: 14px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobiles Menü */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(246,185,59,.14), transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(122,171,82,.16), transparent 60%),
    var(--tanne-900);
  color: var(--creme-100);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 2rem;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header::before { opacity: 0; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu li:nth-child(6) { transition-delay: .25s; }
.mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 500;
  border-bottom: 1px solid rgba(247,240,225,.1);
}
.mobile-menu a .num { font-family: var(--font-body); font-size: .8rem; color: var(--flamme); font-weight: 600; letter-spacing: .1em; min-width: 2ch; }
.mobile-menu a[aria-current="page"], .mobile-menu a.is-active { color: var(--flamme); }
.mobile-menu .mobile-foot { margin-top: auto; display: flex; align-items: center; gap: 1rem; color: var(--text-muted-light); font-size: .9rem; }
.mobile-menu .mobile-foot img { width: 56px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (min-width: 981px) { .mobile-menu { display: none; } }
@media (max-width: 420px) { .brand-text small { display: none; } .brand-text strong { font-size: 1.12rem; } }

/* ==========================================================================
   Lichterkette (Girlande)
   ========================================================================== */
.garland {
  position: relative; height: 34px; overflow: hidden; pointer-events: none;
  display: flex; justify-content: center;
}
.garland .seg { position: relative; flex: 0 0 64px; height: 16px; border-bottom: 2px solid rgba(20, 45, 24, .85); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.garland.on-dark-bg .seg { border-color: rgba(247,240,225,.28); }
.garland .bulb {
  position: absolute; left: 50%; bottom: -13px; width: 9px; height: 13px; margin-left: -4.5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--c, var(--flamme)); box-shadow: 0 0 10px 2px var(--c, var(--flamme));
  animation: twinkle var(--d, 2.6s) ease-in-out var(--delay, 0s) infinite;
}
.garland .bulb::before { content: ""; position: absolute; top: -3px; left: 2px; width: 5px; height: 4px; border-radius: 1px; background: #3a4a3a; }
@keyframes twinkle {
  0%, 100% { opacity: 1; filter: brightness(1.15); }
  50% { opacity: .35; filter: brightness(.7); box-shadow: 0 0 2px 0 var(--c, var(--flamme)); }
}

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: var(--creme-100); isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 110px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; transform: scale(1.08); animation: slowzoom 24s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,20,9,.94) 0%, rgba(14,34,17,.82) 38%, rgba(14,34,17,.35) 70%, rgba(14,34,17,.55) 100%),
    linear-gradient(0deg, rgba(8,20,9,.9) 0%, transparent 35%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .pre { display: block; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: .42em; color: var(--salbei-300); margin-bottom: .2em; letter-spacing: 0; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #dfe7d8; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-logo { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-logo::before { /* Kerzenschein-Halo */
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,185,59,.33) 0%, rgba(232,129,34,.14) 40%, transparent 70%);
  animation: halo 5s ease-in-out infinite;
}
.hero-logo::after { /* Kranz-Ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(247,240,225,.22);
  animation: spin 80s linear infinite;
}
.hero-logo img { position: relative; width: 92%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted-light); text-decoration: none;
}
.scroll-cue span { width: 24px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(247,240,225,.4); position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--flamme); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero .garland { position: absolute; left: 0; right: 0; bottom: 0; }

@media (max-width: 860px) {
  .hero { padding-top: calc(var(--header-h) + 16px); text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: min(46vw, 190px); }
  .hero-logo::after { inset: -6%; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero::before { background: linear-gradient(180deg, rgba(8,20,9,.75) 0%, rgba(14,34,17,.85) 50%, rgba(8,20,9,.95) 100%); }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--text-muted-dark); font-size: 1.1rem; }
.on-dark { background: var(--tanne-850); color: var(--text-light); }
.on-dark .section-head p { color: var(--text-muted-light); }
.paper {
  background:
    radial-gradient(60% 40% at 90% 10%, rgba(232,129,34,.07), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(77,138,63,.08), transparent 70%),
    var(--creme-50);
}

/* Das bin ich */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
  position: relative; border-radius: 999px 999px var(--radius-l) var(--radius-l); overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--tanne-700), var(--tanne-900));
  aspect-ratio: 4 / 5; display: grid; place-items: center; box-shadow: var(--shadow-l);
}
.about-visual .frame img { width: 82%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.4)); }
.about-visual .badge {
  position: absolute; right: -8px; bottom: 36px;
  background: var(--creme-50); color: var(--tanne-800); border-radius: var(--radius-m);
  padding: 1rem 1.2rem; box-shadow: var(--shadow-m); display: flex; align-items: center; gap: .8rem;
  font-weight: 600; line-height: 1.25; font-size: .95rem; max-width: 230px;
  animation: float 6s ease-in-out infinite;
}
.about-visual .badge b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--kerze-600); line-height: 1; }
.about-visual .sprig { position: absolute; left: -26px; top: 18%; width: 90px; transform: rotate(-20deg); opacity: .9; }
.about-text p { font-size: 1.1rem; }
.about-text .signature { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--tanne-700); margin-top: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.about-text .signature svg { width: 28px; height: 28px; color: var(--beere); }
blockquote.chaos {
  position: relative; margin: 2rem 0 0; padding: 1.4rem 1.6rem 1.4rem 1.8rem;
  background: var(--salbei-100); border-radius: var(--radius-m);
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--tanne-800);
}
blockquote.chaos::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: linear-gradient(var(--kerze), var(--beere)); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; margin-inline: auto; width: 100%; }
  .about-visual .badge { right: 0; }
}

/* Advent-Countdown */
.countdown {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 50% 42%, rgba(246,185,59,.16), transparent 70%),
    radial-gradient(90% 60% at 50% 120%, var(--tanne-700), transparent 70%),
    var(--tanne-900);
}
.countdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.wreath-wrap { position: relative; width: min(100%, 460px); margin-inline: auto; }
.wreath { width: 100%; height: auto; overflow: visible; }
.wreath .candle { cursor: pointer; }
.wreath .glow, .wreath .flame { pointer-events: none; }
.wreath .candle:focus, .wreath .candle:focus-visible { outline: none; }
.wreath .candle:focus-visible .wax { stroke: var(--flamme); stroke-width: 3; }
.wreath .flame { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: scale(.2); transition: opacity .35s, transform .45s var(--ease); }
.wreath .lit .flame { opacity: 1; transform: scale(1); animation: flicker 1.6s ease-in-out infinite alternate; }
.wreath .glow { opacity: 0; transition: opacity .6s; }
.wreath .lit .glow { opacity: 1; animation: glowpulse 2.4s ease-in-out infinite; }
.wreath .candle:nth-of-type(2) .flame { animation-delay: -.4s; }
.wreath .candle:nth-of-type(3) .flame { animation-delay: -.9s; }
.wreath .candle:nth-of-type(4) .flame { animation-delay: -1.3s; }
@keyframes flicker {
  0% { transform: scale(1, 1) skewX(0deg); }
  30% { transform: scale(.94, 1.06) skewX(2deg); }
  60% { transform: scale(1.04, .95) skewX(-2deg); }
  100% { transform: scale(.97, 1.04) skewX(1deg); }
}
@keyframes glowpulse { 50% { opacity: .65; } }
.wreath-hint { text-align: center; color: var(--text-muted-light); font-size: .85rem; margin-top: .4rem; }
.cd-label { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-style: italic; color: var(--salbei-300); margin-bottom: 1rem; }
.cd-units { display: flex; gap: clamp(8px, 2vw, 16px); flex-wrap: wrap; }
.cd-unit {
  min-width: clamp(68px, 16vw, 104px); padding: 1rem .6rem .8rem; border-radius: var(--radius-m);
  background: rgba(247,240,225,.06); box-shadow: inset 0 0 0 1px rgba(247,240,225,.1);
  text-align: center;
}
.cd-unit b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1; color: var(--creme-100); font-variant-numeric: tabular-nums; }
.cd-unit.big b { color: var(--flamme); text-shadow: var(--glow); }
.cd-unit small { display: block; margin-top: .5rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted-light); }
.cd-dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.2rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--text-muted-light); }
.cd-dates li { display: flex; align-items: center; gap: .6rem; }
.cd-dates li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--salbei-300); flex: none; }
.cd-dates li.done { color: var(--creme-100); }
.cd-dates li.done::before { background: var(--flamme); border-color: var(--flamme); box-shadow: 0 0 10px var(--flamme); }
@media (max-width: 860px) {
  .countdown-grid { grid-template-columns: 1fr; text-align: center; }
  .cd-units { justify-content: center; }
  .cd-dates { max-width: 360px; margin-inline: auto; text-align: left; }
}

/* Meine Werke – Kategorie-Karten */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.work-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-s); text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); }
.work-card .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tanne-800); }
.work-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover .media img { transform: scale(1.07); }
.work-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,9,.75), transparent 50%); }
.work-card .count {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  background: rgba(247,240,225,.92); color: var(--tanne-800); backdrop-filter: blur(4px);
  font-size: .78rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px;
}
.work-card .media h3 { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 1; color: var(--creme-100); margin: 0; }
.work-card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.work-card .body p { margin: 0; color: var(--text-muted-dark); font-size: .98rem; line-height: 1.65; }
.work-card .body .link-arrow { margin-top: auto; }
@media (max-width: 1100px) { .works-grid { grid-template-columns: repeat(2, 1fr); } .work-card .media { aspect-ratio: 16 / 11; } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

/* Highlights-Karussell */
.highlights { overflow: hidden; }
.carousel-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.carousel-head .section-head { margin-bottom: 0; }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-nav .icon-btn { background: var(--tanne-800); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 320px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 8px var(--gutter) 24px; margin: 0; list-style: none;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel li { scroll-snap-align: start; }
.carousel a { display: block; position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3 / 4; background: var(--tanne-800); }
.carousel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.carousel a:hover img { transform: scale(1.06); }
.carousel .cap { position: absolute; inset: auto 0 0 0; padding: 2.4rem 1rem .9rem; font-size: .88rem; line-height: 1.4; color: var(--creme-100); background: linear-gradient(0deg, rgba(8,20,9,.88), transparent); transform: translateY(30%); opacity: 0; transition: .4s var(--ease); }
.carousel a:hover .cap, .carousel a:focus-visible .cap { transform: none; opacity: 1; }
@media (hover: none) { .carousel .cap { transform: none; opacity: 1; } }
.center-cta { text-align: center; margin-top: 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--tanne-950); color: var(--text-muted-light); padding: 64px 0 28px; font-size: .95rem; }
.site-footer .garland { position: absolute; top: 0; left: 0; right: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 24px; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 84px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--creme-100); font-weight: 600; }
.site-footer h4 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--flamme); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--creme-100); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(247,240,225,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.4rem; font-size: .85rem; }
.footer-bottom .heart { color: var(--beere); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Unterseiten-Kopf
   ========================================================================== */
.page-hero {
  position: relative; color: var(--creme-100); isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(246,185,59,.14), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(122,171,82,.18), transparent 60%),
    var(--tanne-850);
}
.page-hero .bg-img { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.page-hero .bg-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) blur(2px); transform: scale(1.05); transition: opacity .5s; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,34,17,.95) 20%, rgba(14,34,17,.55)); }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); }
.page-hero p { max-width: 44em; color: #dfe7d8; font-size: 1.12rem; margin: 0; }
.page-hero .garland { position: absolute; left: 0; right: 0; bottom: 0; }
.fade-swap { animation: fadeswap .5s var(--ease); }
@keyframes fadeswap { from { opacity: 0; transform: translateY(8px); } }

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery-section { padding: 0 0 clamp(64px, 8vw, 120px); }
.cat-tabs-wrap {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(253,250,243,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19,38,26,.08);
}
.cat-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .8rem 0; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: none; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.05rem; border-radius: 999px; border: 0;
  background: transparent; color: var(--text-dark); font-weight: 500; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(19,38,26,.14);
  transition: background .25s, color .25s, box-shadow .25s;
}
.cat-tab:hover { background: var(--salbei-100); }
.cat-tab .n { font-size: .76rem; font-weight: 600; background: rgba(19,38,26,.08); padding: .1rem .5rem; border-radius: 999px; }
.cat-tab[aria-selected="true"] { background: var(--tanne-800); color: var(--creme-100); box-shadow: none; }
.cat-tab[aria-selected="true"] .n { background: var(--kerze); color: #fff; }

.gallery-layout { display: grid; grid-template-columns: 270px 1fr; gap: clamp(20px, 3vw, 40px); padding-top: 28px; align-items: start; }
.filters {
  position: sticky; top: calc(64px + 70px); max-height: calc(100vh - 150px); overflow: auto;
  padding: 1.2rem 1.2rem 1.4rem; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s);
  scrollbar-width: thin;
}
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.filters-head h2 { font-size: 1.3rem; margin: 0; }
.filter-reset { border: 0; background: none; color: var(--kerze-600); font-weight: 600; font-size: .88rem; padding: .3rem 0; }
.filter-reset[hidden] { display: none; }
.filter-group { border-top: 1px solid rgba(19,38,26,.08); padding: 1rem 0 .4rem; }
.filter-group:first-of-type { border-top: 0; }
.filter-group h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted-dark); margin: 0 0 .75rem; display: flex; align-items: center; gap: .4rem; }
.filter-group h3 svg { width: 15px; height: 15px; color: var(--kerze); }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch {
  position: relative; width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.1);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tanne-800); }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 7px; margin: -5px 0 0 -6px; border-left: 2.5px solid var(--ck, #fff); border-bottom: 2.5px solid var(--ck, #fff); transform: rotate(-45deg); }
.swatch .cnt { position: absolute; right: -5px; top: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--tanne-800); color: #fff; font-size: .66rem; font-weight: 600; line-height: 18px; text-align: center; }
.swatch:disabled { opacity: .25; cursor: not-allowed; transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  border: 0; padding: .42rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: var(--creme-100); color: var(--text-dark); transition: background .2s, color .2s, transform .2s;
}
.chip:hover { background: var(--creme-200); }
.chip[aria-pressed="true"] { background: var(--tanne-800); color: var(--creme-100); }
.chip small { opacity: .6; margin-left: .25em; font-size: .78em; }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.fav-toggle { width: 100%; justify-content: center; display: flex; align-items: center; gap: .5rem; padding: .7rem; }
.fav-toggle svg { width: 18px; height: 18px; color: var(--beere); }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.2rem; }
.results-count { font-weight: 500; color: var(--text-muted-dark); }
.results-count b { color: var(--text-dark); font-family: var(--font-display); font-size: 1.3rem; }
.results-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: var(--salbei-100); padding: .35rem .5rem .35rem .75rem; border-radius: 999px; font-size: .85rem; }
.active-filters button i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.active-filters button svg { width: 14px; height: 14px; opacity: .6; }
.btn-small { padding: .6em 1.05em; font-size: .9rem; box-shadow: none; }
.filter-open-btn { display: none; }

/* Masonry */
.masonry { columns: 3 260px; column-gap: 16px; }
.tile {
  position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius-m); overflow: hidden;
  background: var(--creme-200); box-shadow: var(--shadow-s);
  animation: tilein .6s var(--ease) both;
}
@keyframes tilein { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.tile button.open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.04); }
.tile .overlay {
  position: absolute; inset: auto 0 0 0; padding: 2.6rem .9rem .8rem; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,20,9,.85), transparent);
  color: var(--creme-100); font-size: .86rem; line-height: 1.4;
  opacity: 0; transform: translateY(10px); transition: .35s var(--ease);
}
.tile:hover .overlay, .tile:focus-within .overlay { opacity: 1; transform: none; }
.tile .dots { display: flex; gap: 4px; margin-top: .5rem; }
.tile .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.tile .cat-label { position: absolute; left: 10px; top: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; padding: .25rem .6rem; border-radius: 999px; background: rgba(247,240,225,.9); color: var(--tanne-800); pointer-events: none; }
.fav-btn {
  position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(247,240,225,.9); color: var(--tanne-800);
  opacity: 0; transform: scale(.8); transition: .3s var(--ease);
}
.fav-btn svg { width: 18px; height: 18px; }
.tile:hover .fav-btn, .fav-btn:focus-visible, .fav-btn[aria-pressed="true"] { opacity: 1; transform: none; }
.fav-btn[aria-pressed="true"] { color: var(--beere); }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
@media (hover: none) { .fav-btn { opacity: 1; transform: none; } .tile .overlay { display: none; } }

.empty-state { text-align: center; padding: 60px 20px; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); }
.empty-state svg { width: 64px; height: 64px; color: var(--salbei-300); margin-bottom: 1rem; }
.empty-state[hidden] { display: none; }

/* Filter als Bottom-Sheet auf Mobil */
.sheet-backdrop { display: none; }
@media (max-width: 900px) {
  .gallery-layout { grid-template-columns: 1fr; }
  .filter-open-btn { display: inline-flex; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 120; max-height: 82vh;
    border-radius: var(--radius-l) var(--radius-l) 0 0; padding: .6rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom));
    transform: translateY(105%); transition: transform .45s var(--ease); box-shadow: 0 -20px 60px rgba(0,0,0,.3);
  }
  .filters::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(19,38,26,.18); margin: 0 auto .8rem; }
  .filters.open { transform: none; }
  .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(8,20,9,.5); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .sheet-backdrop.open { opacity: 1; pointer-events: auto; }
  .filters .sheet-done { display: flex; width: 100%; justify-content: center; margin-top: 1rem; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .tile { margin-bottom: 10px; border-radius: var(--radius-s); }
}
@media (min-width: 901px) { .filters .sheet-done { display: none; } }
@media (max-width: 380px) { .masonry { columns: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(6, 14, 7, .96); color: var(--creme-100);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); gap: 1rem; }
.lb-counter { font-size: .9rem; color: var(--text-muted-light); font-variant-numeric: tabular-nums; }
.lb-top .tools { display: flex; gap: .4rem; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 0 clamp(8px, 6vw, 90px); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transition: opacity .3s, transform .35s var(--ease); }
.lb-stage img.loading { opacity: 0; transform: scale(.97); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-prev { left: clamp(6px, 2vw, 24px); }
.lb-next { right: clamp(6px, 2vw, 24px); }
.lb-caption { padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom)); text-align: center; }
.lb-caption p { margin: 0 auto .5rem; max-width: 44em; font-size: 1rem; }
.lb-tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.lb-tags span { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(247,240,225,.1); }
.lb-tags i { width: 10px; height: 10px; border-radius: 50%; background: var(--sw); }
@media (max-width: 600px) { .lb-nav { display: none; } }

/* ==========================================================================
   Rechtstexte
   ========================================================================== */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.legal ul { padding-left: 1.2rem; }
.legal .card { background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-s); }
.legal .note { background: var(--salbei-100); border-radius: var(--radius-m); padding: 1rem 1.2rem; }

/* ==========================================================================
   Schnee & Reveal
   ========================================================================== */
#snow { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Menü: Kranz-Finder-Eintrag & breiterer Umbruch (6 Einträge)
   ========================================================================== */
.nav-links a.nav-finder {
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, rgba(246,185,59,.22), rgba(232,129,34,.18));
  box-shadow: inset 0 0 0 1px rgba(246,185,59,.45); color: var(--flamme);
}
.nav-links a.nav-finder:hover { background: linear-gradient(135deg, rgba(246,185,59,.34), rgba(232,129,34,.28)); }
.nav-links a.nav-finder svg, .mobile-menu a svg.spark { width: 16px; height: 16px; animation: sparkle 2.4s ease-in-out infinite; }
.nav-links a.nav-finder::after { display: none; }
.mobile-menu a.nav-finder { color: var(--flamme); }
.mobile-menu a svg.spark { width: 26px; height: 26px; margin-left: auto; }
@keyframes sparkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }
@media (max-width: 1200px) and (min-width: 981px) { .nav-links a { padding: .55rem .6rem; font-size: .93rem; } .brand-text small { display: none; } }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; }
  .mobile-menu { display: flex; }
}

/* ==========================================================================
   Kerzenlicht-Modus
   ========================================================================== */
.candlelight { position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; --x: 50vw; --y: 45vh; --r: 240px; }
.candlelight.on { opacity: 1; visibility: visible; }
.cl-dark {
  position: absolute; inset: 0;
  background: radial-gradient(circle var(--r) at var(--x) var(--y),
    rgba(255, 196, 110, .06) 0%, rgba(40, 22, 6, .28) 38%, rgba(10, 12, 8, .78) 72%, rgba(4, 8, 5, .95) 100%);
}
.cl-warm {
  position: absolute; inset: 0; mix-blend-mode: overlay;
  background: radial-gradient(circle calc(var(--r) * .85) at var(--x) var(--y), rgba(255, 170, 70, .55), rgba(255, 120, 30, .15) 55%, transparent 75%);
}
.cl-flame {
  position: absolute; left: var(--x); top: var(--y); width: 16px; height: 26px;
  transform: translate(-50%, -115%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 72%, #fffbe8 0 18%, #ffd36b 34%, #f39a2a 62%, rgba(232,110,20,0) 72%);
  filter: drop-shadow(0 0 10px rgba(255, 190, 80, .95)) drop-shadow(0 0 26px rgba(255, 150, 40, .6));
  animation: flameDance 1.2s ease-in-out infinite alternate;
}
.cl-flame::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: #3a2616; }
@keyframes flameDance {
  0% { transform: translate(-50%, -115%) scale(1, 1) rotate(-2deg); }
  40% { transform: translate(-50%, -118%) scale(.92, 1.08) rotate(2deg); }
  100% { transform: translate(-50%, -114%) scale(1.05, .95) rotate(-1deg); }
}
@media (hover: none) { .cl-flame { transform: translate(-50%, -50%); animation: none; } }
.cl-exit {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 160;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s;
  background: rgba(247,240,225,.12); color: var(--creme-100); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(247,240,225,.3);
}
.cl-exit:hover { background: rgba(247,240,225,.22); }
.candlelight-on .cl-exit { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cl-hint { position: fixed; left: 50%; top: 50%; z-index: 160; transform: translate(-50%, -50%); pointer-events: none;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); color: var(--creme-100); text-align: center;
  opacity: 0; transition: opacity .8s; text-shadow: 0 2px 20px rgba(0,0,0,.8); padding: 0 24px; width: 100%; }
.cl-hint.show { opacity: 1; }

/* ==========================================================================
   Heiligabend
   ========================================================================== */
.eve-modal {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px;
  background: rgba(6, 14, 7, .72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
}
.eve-modal.open { opacity: 1; visibility: visible; }
.eve-card {
  position: relative; width: min(100%, 520px); max-height: calc(100svh - 40px); overflow: auto;
  padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 44px) clamp(24px, 4vw, 36px); text-align: center;
  border-radius: var(--radius-l); color: var(--creme-100);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(246,185,59,.25), transparent 70%),
    linear-gradient(180deg, var(--tanne-800), var(--tanne-950));
  box-shadow: 0 0 0 1px rgba(246,185,59,.35), 0 40px 100px rgba(0,0,0,.6), 0 0 80px rgba(246,185,59,.18);
  transform: translateY(30px) scale(.96); transition: transform .8s var(--ease);
}
.eve-modal.open .eve-card { transform: none; }
.eve-card .portrait { width: 132px; margin: -4px auto 8px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
.eve-card .stars-row { color: var(--flamme); letter-spacing: .5em; font-size: .9rem; margin-bottom: .4rem; }
.eve-card h2 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.9rem); margin-bottom: .6rem; }
.eve-card h2 .accent { color: var(--flamme); }
.eve-card p { color: #dfe7d8; font-size: 1.06rem; }
.eve-card .sig { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--flamme); margin: .4rem 0 1.4rem; }
.eve-close { position: absolute; right: 12px; top: 12px; }
.eve-reopen {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  width: 52px; height: 52px; background: var(--tanne-800); color: var(--flamme);
  box-shadow: 0 0 0 1px rgba(246,185,59,.4), 0 0 24px rgba(246,185,59,.35); animation: halo 3s ease-in-out infinite;
}
.eve-reopen svg { width: 24px; height: 24px; }
.cd-units[hidden] { display: none; }

/* ==========================================================================
   Kranz-Finder
   ========================================================================== */
.finder {
  position: relative; min-height: 100svh; color: var(--creme-100); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 60px)) 0 clamp(80px, 8vw, 120px);
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(246,185,59,.16), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(122,171,82,.18), transparent 60%),
    var(--tanne-900);
}
.finder .garland { position: absolute; left: 0; right: 0; bottom: 0; }
.finder-head { text-align: center; max-width: 720px; margin: 0 auto clamp(24px, 4vw, 40px); }
.finder-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); margin-bottom: .3em; }
.finder-head p { color: var(--text-muted-light); font-size: 1.08rem; margin: 0; }
.progress { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; }
.progress i { width: 34px; height: 5px; border-radius: 3px; background: rgba(247,240,225,.15); transition: background .4s, width .4s var(--ease); }
.progress i.done { background: var(--kerze); }
.progress i.now { background: var(--flamme); width: 52px; box-shadow: 0 0 12px rgba(246,185,59,.6); }
.step { max-width: 1040px; margin-inline: auto; animation: stepIn .55s var(--ease) both; }
.step.out { animation: stepOut .3s ease-in both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepOut { to { opacity: 0; transform: translateX(-40px); } }
.step.back-in { animation-name: stepInBack; }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-40px); } }
.step-label { display: block; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--flamme); margin-bottom: .5rem; }
.step h2 { text-align: center; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: 1.6rem; }
.options { display: grid; gap: clamp(10px, 1.6vw, 16px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.options.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); max-width: 860px; margin-inline: auto; }
.opt {
  position: relative; display: flex; flex-direction: column; text-align: left; overflow: hidden;
  border: 0; padding: 0; border-radius: var(--radius-m); color: var(--creme-100);
  background: rgba(247,240,225,.06); box-shadow: inset 0 0 0 1px rgba(247,240,225,.12);
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}
.opt:hover { transform: translateY(-4px); background: rgba(247,240,225,.1); box-shadow: inset 0 0 0 1.5px rgba(246,185,59,.6), 0 16px 40px -16px rgba(0,0,0,.6); }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--flamme), 0 0 30px rgba(246,185,59,.25); background: rgba(246,185,59,.12); }
.opt .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tanne-800); }
.opt .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.opt:hover .ph img { transform: scale(1.07); }
.opt .txt { padding: .85rem 1rem 1rem; display: grid; gap: .2rem; }
.opt .txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.opt .txt small { color: var(--text-muted-light); font-size: .88rem; line-height: 1.4; }
.opt .sw { display: flex; gap: 6px; padding: 1.1rem 1rem 0; }
.opt .sw i { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 2px rgba(247,240,225,.15); }
.opt .ico { display: grid; place-items: center; height: 96px; color: var(--flamme); }
.opt .ico svg { height: 64px; width: auto; }
.step-nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.8rem; }

/* Ergebnis */
.result-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; max-width: 1040px; margin: 0 auto clamp(36px, 5vw, 60px); }
.result-img { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(246,185,59,.3); display: block; }
.result-img img { width: 100%; max-height: 64vh; object-fit: cover; }
.match {
  position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: .6rem;
  background: rgba(8,20,9,.78); backdrop-filter: blur(6px); padding: .5rem .9rem .5rem .5rem; border-radius: 999px; font-weight: 600;
}
.match svg { width: 42px; height: 42px; transform: rotate(-90deg); }
.match circle { fill: none; stroke-width: 4; }
.match .bg { stroke: rgba(247,240,225,.15); }
.match .fg { stroke: var(--flamme); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.result-text h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.result-text .why { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.6rem; }
.result-text .why span { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(247,240,225,.08); box-shadow: inset 0 0 0 1px rgba(247,240,225,.12); }
.result-text .why span::before { content: "✓"; color: var(--blatt-400); font-weight: 700; }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.more-title { text-align: center; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-bottom: 1.4rem; }
.more-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1180px; margin-inline: auto; list-style: none; padding: 0; }
.more-grid a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-m); overflow: hidden; background: var(--tanne-800); }
.more-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.more-grid a:hover img { transform: scale(1.06); }
.more-grid .pct { position: absolute; right: 8px; top: 8px; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: rgba(8,20,9,.75); color: var(--flamme); }
.more-grid li { animation: tilein .6s var(--ease) both; }
@media (max-width: 1000px) { .more-grid { grid-template-columns: repeat(3, 1fr); } .more-grid li:nth-child(n+4) { display: none; } }
@media (max-width: 760px) {
  .result-top { grid-template-columns: 1fr; text-align: center; }
  .result-text .why, .result-actions { justify-content: center; }
  .result-img img { max-height: 52vh; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid li:nth-child(n+4) { display: block; }
  .more-grid li:nth-child(n+5) { display: none; }
  .options { grid-template-columns: repeat(2, 1fr); }
  .options.cols-3 { grid-template-columns: 1fr; }
  .opt .txt b { font-size: 1.05rem; }
  .opt .txt small { font-size: .8rem; }
  .options.cols-3 .opt { flex-direction: row; align-items: center; }
  .options.cols-3 .opt .ico { height: 76px; width: 84px; flex: none; }
  .options.cols-3 .opt .ico svg { height: 46px; }
}
#q-title:focus { outline: none; }
.options.cols-4 { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .options.cols-4 { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Musik-Knopf
   ========================================================================== */
.music-btn { position: relative; }
.music-btn .eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 13px; }
.music-btn .eq i { width: 3px; height: 14px; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.music-btn .eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .8s; }
.music-btn .eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.15s; }
.music-btn[aria-pressed="true"] { background: rgba(246,185,59,.2); color: var(--flamme); box-shadow: 0 0 0 1px rgba(246,185,59,.4), 0 0 18px rgba(246,185,59,.25); }
.music-btn[aria-pressed="true"] .note { display: none; }
.music-btn[aria-pressed="true"] .eq { display: flex; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* Platz für 4 Knöpfe auf kleinen Handys */
@media (max-width: 480px) {
  .nav-tools { gap: .25rem; }
  .nav-tools .icon-btn { width: 40px; height: 40px; }
  .nav-tools .icon-btn svg { width: 18px; height: 18px; }
  .music-btn .eq { padding-bottom: 12px; }
  .brand { gap: .55rem; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1rem; }
}
@media (max-width: 360px) { .brand-text { display: none; } }

/* Weiche Seitenwechsel */
.page-enter { animation: pageEnter .45s ease-out; }
@keyframes pageEnter { from { opacity: 0; } } /* nur Deckkraft: ein transform würde die fixierte Lightbox/Filter einsperren */
.is-loading, .is-loading * { cursor: progress; }
.is-loading main { opacity: .6; transition: opacity .2s; }
main:focus { outline: none; }
.tile .cat-label.is-new b { color: var(--beere); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ==========================================================================
   Werk-Nummern
   ========================================================================== */
.tile .nr-badge, .more-grid .nr-badge {
  position: absolute; left: 10px; bottom: 10px; pointer-events: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  padding: .28rem .6rem; border-radius: 999px; background: rgba(8,20,9,.78); color: var(--creme-100); backdrop-filter: blur(4px);
  transition: opacity .25s;
}
.tile:hover .nr-badge, .tile:focus-within .nr-badge { opacity: 0; }
.tile .overlay .nr { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--flamme); margin-bottom: .15rem; }
@media (hover: none) { .tile .nr-badge { opacity: 1 !important; } }
.nr-search {
  display: inline-flex; align-items: center; gap: .3rem; height: 40px; padding: 0 .3rem 0 .9rem; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.5px rgba(19,38,26,.18); font-weight: 600; color: var(--tanne-800);
}
.nr-search:focus-within { box-shadow: inset 0 0 0 2px var(--kerze); }
.nr-search input { width: 5.2em; border: 0; outline: 0; background: none; font: inherit; font-weight: 500; color: var(--text-dark); -moz-appearance: textfield; }
.nr-search input::-webkit-outer-spin-button, .nr-search input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nr-search button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--tanne-800); color: var(--creme-100); }
.nr-search button svg { width: 16px; height: 16px; }
.lb-id { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: .5rem; flex-wrap: wrap; }
.lb-id strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--flamme); font-variant-numeric: tabular-nums; }
.lb-id .btn svg { width: 16px; height: 16px; }
.fav-copy { width: 100%; justify-content: center; display: flex; align-items: center; gap: .5rem; padding: .6rem; margin-top: .5rem; }
.fav-copy[hidden] { display: none; }
.fav-copy svg { width: 16px; height: 16px; }
.fav-help { font-size: .8rem; color: var(--text-muted-dark); margin: .6rem 0 0; line-height: 1.45; }
.result-nr { font-family: var(--font-display); font-size: 1.5rem; color: var(--flamme); margin: -.4rem 0 .2rem; }
.carousel .cap b { color: var(--flamme); }
.toast {
  position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top)); z-index: 500; max-width: calc(100vw - 32px);
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
  background: var(--tanne-800); color: var(--creme-100); padding: .8rem 1.2rem; border-radius: 14px; font-weight: 500; text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(246,185,59,.35);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) { .results-bar { gap: .6rem; } .results-actions { width: 100%; } .nr-search { flex: 1 1 100%; } .nr-search input { flex: 1; } }

/* ==========================================================================
   Weihnachtsmann-Schlitten
   ========================================================================== */
.hero .hero-grid { position: relative; z-index: 1; pointer-events: none; }
.hero .hero-text, .hero .hero-logo { pointer-events: auto; }
.sleigh-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sleigh-layer .glitter { position: absolute; inset: 0; }
.sleigh-team {
  position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 50% 50%; opacity: 0; pointer-events: none; will-change: transform;
  filter: drop-shadow(0 0 2px rgba(255, 236, 180, .9)) drop-shadow(0 0 14px rgba(255, 214, 120, .6)) drop-shadow(0 8px 14px rgba(0,0,0,.4));
}
.sleigh-team.on { opacity: 1; pointer-events: auto; }
.sleigh-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sleigh-svg .body { fill: #a26f45; }
.sleigh-svg .ear, .sleigh-svg .tail { fill: #7d5231; }
.sleigh-svg .legs path { stroke: #6f4a2c; stroke-width: 3.2; stroke-linecap: round; fill: none; }
.sleigh-svg .antler { stroke: #e8d3a8; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.sleigh-svg .harness { stroke: #c63f2c; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.sleigh-svg .nose { fill: #3a2616; }
.sleigh-svg .lead .nose { fill: #ff3b2a; filter: drop-shadow(0 0 4px #ff5a3c) drop-shadow(0 0 8px #ff5a3c); animation: nose 1.2s ease-in-out infinite; }
.sleigh-svg .eye { fill: #1b120b; }
.sleigh-svg .rein { stroke: #f6d27a; stroke-width: 1.2; fill: none; opacity: .85; }
.sleigh-svg .coat { fill: #c8302a; }
.sleigh-svg .belt { fill: #2a1d14; }
.sleigh-svg .face { fill: #f3c7a2; }
.sleigh-svg .beard, .sleigh-svg .trim { fill: #fbf7ee; }
.sleigh-svg .hat { fill: #c8302a; }
.sleigh-svg .arm { stroke: #c8302a; stroke-width: 4.5; stroke-linecap: round; fill: none; }
.sleigh-svg .mitten { fill: #1f4a25; }
.sleigh-svg .sack { fill: #7d5231; }
.sleigh-svg .sack-tie { stroke: #f6b93b; stroke-width: 2; fill: none; stroke-linecap: round; }
.sleigh-svg .body-sleigh { fill: #9e1f1a; }
.sleigh-svg .trim-sleigh { stroke: #f6b93b; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.sleigh-svg .runner { stroke: #f6b93b; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sleigh-svg .bob { animation: bob 1.1s ease-in-out infinite; animation-delay: var(--ph, 0s); }
.sleigh-svg .deer .legs.front { transform-box: fill-box; transform-origin: 50% 0; animation: gallopF .55s ease-in-out infinite alternate; animation-delay: var(--ph, 0s); }
.sleigh-svg .deer .legs.back { transform-box: fill-box; transform-origin: 50% 0; animation: gallopB .55s ease-in-out infinite alternate; animation-delay: var(--ph, 0s); }
@keyframes bob { 50% { transform: translateY(-3px); } }
@keyframes gallopF { from { transform: rotate(-28deg); } to { transform: rotate(22deg); } }
@keyframes gallopB { from { transform: rotate(26deg); } to { transform: rotate(-24deg); } }
@keyframes nose { 50% { opacity: .65; } }
.sleigh-team .hoho {
  position: absolute; left: 6%; top: -34px; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--tanne-900);
  background: var(--creme-50); padding: .25rem .7rem; border-radius: 14px 14px 14px 4px; box-shadow: 0 6px 16px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(6px) scale(.8); pointer-events: none;
}
.sleigh-team.rtl .hoho { transform: scaleX(-1) translateY(6px) scale(.8); }
.sleigh-team.say .hoho { animation: hoho 1.8s var(--ease) forwards; }
.sleigh-team.rtl.say .hoho { animation-name: hohoRtl; }
@keyframes hoho { 15%, 75% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-8px) scale(1); } }
@keyframes hohoRtl { 15%, 75% { opacity: 1; transform: scaleX(-1) translateY(0) scale(1); } 100% { opacity: 0; transform: scaleX(-1) translateY(-8px) scale(1); } }
.legal-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
