/* ==========================================================================
   Visit O'gau – Design System
   Mobile First · Naturfarben · Dark Mode · respektiert prefers-reduced-motion
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2'); }

:root {
  --forest: #1f3d2b;
  --forest-2: #2b5239;
  --moss: #4f7a4a;
  --meadow: #9cc27a;
  --sky: #d7ebf4;
  --lake: #2d6c8f;
  --wood: #8a5a35;
  --berry: #b5473a;
  --sun: #e8a33d;
  --royal: #6b4c9a;
  --cream: #faf6ee;

  --bg: #faf6ee;
  --bg-2: #f1ebdd;
  --surface: #ffffff;
  --ink: #1c2420;
  --ink-2: #4a554e;
  --line: #e3dccb;
  --accent: var(--forest);
  --accent-ink: #fff;
  --link: #2b6a45;
  --title: #1f3d2b; --title-2: #4f7a4a; --glass-bg: rgba(255,255,255,.55); --glass-ink: #1f3d2b;
  --shadow: 0 1px 2px rgba(31, 61, 43, .06), 0 8px 24px -8px rgba(31, 61, 43, .18);
  --shadow-lg: 0 2px 6px rgba(31, 61, 43, .08), 0 24px 48px -16px rgba(31, 61, 43, .3);

  /* Berg-Illustration */
  --m-sky-1: #cfe7f3; --m-sky-2: #f8efd9;
  --m-snow: #ffffff; --m-far: #a8c3cf; --m-mid: #6f9a7d; --m-near: #3f6b4c; --m-front: var(--bg);
  --m-sun: #f3c66b; --m-cloud: rgba(255,255,255,.9); --m-bird: #2b3b33;

  --r: 18px; --r-sm: 12px; --r-lg: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --tabbar-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111814; --bg-2: #18211c; --surface: #1d2721; --ink: #eef2ec; --ink-2: #b4c0b7; --line: #2c3a31;
    --accent: #9cc27a; --accent-ink: #10180f; --link: #a9d28a; --title: #faf6ee; --title-2: #9cc27a; --glass-bg: rgba(255,255,255,.12); --glass-ink: #fff;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5); --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.6);
    --m-sky-1: #0f1b26; --m-sky-2: #1d2a35; --m-snow: #c9d6de; --m-far: #3a4f5c; --m-mid: #26412f; --m-near: #1a2f22;
    --m-sun: #f1e3b0; --m-cloud: rgba(200,215,225,.25); --m-bird: #c9d6de;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111814; --bg-2: #18211c; --surface: #1d2721; --ink: #eef2ec; --ink-2: #b4c0b7; --line: #2c3a31;
  --accent: #9cc27a; --accent-ink: #10180f; --link: #a9d28a; --title: #faf6ee; --title-2: #9cc27a; --glass-bg: rgba(255,255,255,.12); --glass-ink: #fff;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5); --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.6);
  --m-sky-1: #0f1b26; --m-sky-2: #1d2a35; --m-snow: #c9d6de; --m-far: #3a4f5c; --m-mid: #26412f; --m-near: #1a2f22;
  --m-sun: #f1e3b0; --m-cloud: rgba(200,215,225,.25); --m-bird: #c9d6de;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: 'SOFT' 50, 'WONK' 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--sun); color: #1c2420; padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); }
.h3 { font-size: 1.35rem; }
.h4 { font-size: 1.05rem; font-family: var(--font); font-weight: 700; display: flex; gap: .5em; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .45em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--title-2); margin: 0 0 .75rem; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8rem 1.25rem; border-radius: 999px; border: 0;
  font: 600 1rem/1.1 var(--font); color: var(--accent-ink); background: var(--accent); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent; min-height: 44px;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico:last-child { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem .95rem; font-size: .9rem; min-height: 36px; }
.btn-sun { background: var(--sun); color: #1c2420; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; }
.iconbtn:hover { background: rgba(127,127,127,.12); }
.linkbtn { border: 0; background: none; color: var(--link); cursor: pointer; padding: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .3em; font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: .25rem .65rem; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 1rem; scrollbar-width: none; margin-bottom: .5rem; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; display: inline-flex; align-items: center; gap: .4em; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: .5rem 1rem; border-radius: 999px; font: 600 .9rem var(--font); cursor: pointer; transition: all .2s; min-height: 40px; }
.chip-btn.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, transform .35s var(--ease); }
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar.is-hidden { transform: translateY(-100%); }
.is-home .topbar:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.logo svg { width: 36px; height: 36px; transition: transform .6s var(--ease); }
.logo:hover svg { transform: rotate(-12deg) scale(1.05); }
.logo b { color: var(--title-2); font-weight: 750; }
.logo-light { color: #fff; } .logo-light b { color: var(--meadow); }
.desk-nav { display: none; }
.top-actions { display: flex; align-items: center; gap: .25rem; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; } :root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(10, 20, 14, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.drawer.is-open { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--bg); padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer-title { font-family: var(--serif); font-size: 1.4rem; }
.drawer-cta { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-radius: var(--r); background: linear-gradient(135deg, var(--forest), var(--moss)); color: #fff; text-decoration: none; margin-bottom: 1.25rem; }
.drawer-cta .ico { width: 2rem; height: 2rem; color: var(--sun); }
.drawer-cta small { display: block; opacity: .85; }
.nav-group { margin-bottom: 1.25rem; }
.nav-h { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin: 0 0 .4rem; }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a { display: block; padding: .6rem .25rem; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.nav-group a[aria-current] { color: var(--title-2); }

/* Tabbar (mobil) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .68rem; font-weight: 600; color: var(--ink-2); text-decoration: none; position: relative; -webkit-tap-highlight-color: transparent; }
.tabbar .ico { width: 1.45rem; height: 1.45rem; transition: transform .3s var(--ease); }
.tabbar a[aria-current] { color: var(--accent); }
.tabbar a[aria-current]::before { content: ''; position: absolute; top: 0; width: 32px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
.tabbar a:active .ico { transform: scale(.85); }

/* ---------- Berg-Illustration ---------- */
.mtn { display: block; width: 100%; height: 100%; }
.mtn .cloud { animation: drift 60s linear infinite; }
.mtn .c2 { animation-duration: 80s; animation-delay: -30s; }
.mtn .birds { animation: birds 22s linear infinite; }
.mtn .sun { animation: sunrise 2.2s var(--ease) both; }
@keyframes drift { from { transform: translateX(-200px); } to { transform: translateX(1500px); } }
@keyframes birds { from { transform: translate(-500px, 30px); } 50% { transform: translate(400px, -10px); } to { transform: translate(1400px, 20px); } }
@keyframes sunrise { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
.mtn .l { transform-box: fill-box; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: flex-start; margin-top: -64px; padding-top: 64px; background: linear-gradient(180deg, var(--m-sky-1), var(--m-sky-2) 70%); overflow: hidden; }
.hero-bg { position: absolute; inset: auto 0 0 0; height: 46%; }
@media (min-width: 900px) { .hero-bg { height: 66%; } }
.hero-bg .mtn { position: absolute; inset: 0; }
.hero-in { position: relative; z-index: 2; padding-top: clamp(1.5rem, 6vh, 5rem); padding-bottom: 12rem; }
.hero-kicker { color: var(--title); }
.hero-h1 { font-size: clamp(2.4rem, 11.4vw, 7.5rem); line-height: .9; letter-spacing: -.035em; margin: 0 0 1rem; color: var(--title); font-weight: 800; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.hero-h1 { white-space: nowrap; }
.hero-h1 small { white-space: normal; }
.hero-h1 span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero-h1 span:nth-child(2) { animation-delay: .08s; color: var(--title-2); }
.hero-h1 span:nth-child(3) { animation-delay: .16s; }
.hero-h1 small { display: block; font-size: .3em; letter-spacing: 0; font-weight: 500; font-style: italic; color: var(--ink-2); margin-top: .35em; animation: rise .9s .3s var(--ease) both; }
.hero .lead { color: var(--ink); animation: rise .9s .4s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; animation: rise .9s .5s var(--ease) both; }
.hero .btn-glass { color: var(--glass-ink); background: var(--glass-bg); box-shadow: inset 0 0 0 1px rgba(127,127,127,.25); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scrollhint { display: none; position: absolute; z-index: 3; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border: 2px solid var(--forest); border-radius: 14px; transform: translateX(-50%); opacity: .6; }
.scrollhint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--forest); animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.personal { margin-top: 1.5rem; display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); max-width: 480px; animation: rise .6s var(--ease) both; }
.personal .em { font-size: 2rem; }
.personal a { font-weight: 700; }

/* Stats */
.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: -3rem; }
.stat { background: var(--surface); border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--title-2); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--ink-2); }

/* ---------- Page-Hero (Unterseiten) ---------- */
.phero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--m-sky-1), var(--m-sky-2)); margin-top: -64px; padding: calc(64px + 1.5rem) 0 7rem; }
.phero-bg { position: absolute; inset: auto 0 0; height: 130px; }
.mtn-sm .sun, .mtn-sm .clouds, .mtn-sm .birds, .mtn-sm .l1 g, .mtn-foot .l1 g { display: none; }
.phero-bg .mtn { position: absolute; inset: 0; }
.phero-in { position: relative; z-index: 2; }
.phero h1 { font-size: clamp(2rem, 7vw, 3.6rem); color: var(--title); animation: rise .8s var(--ease) both; max-width: 22ch; }
.phero .lead { color: var(--ink); animation: rise .8s .1s var(--ease) both; }
.phero .kicker { animation: rise .8s var(--ease) both; }
.hero-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.phero .btn-glass { color: var(--glass-ink); background: var(--glass-bg); box-shadow: inset 0 0 0 1px rgba(127,127,127,.25); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--ink-2); }
.crumbs li + li::before { content: '›'; margin-right: .25rem; opacity: .6; }
.crumbs a { color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-2); }
.section-lead { color: var(--ink-2); max-width: 60ch; margin-top: -.25rem; margin-bottom: 1.75rem; }
.section .h2 .ico { color: var(--title-2); }
.grid { display: grid; gap: 1rem; }
.split { display: grid; gap: 2rem; align-items: center; }

/* Cards */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-art { position: relative; height: 120px; display: grid; place-items: center; color: #fff; overflow: hidden; }
.card-art svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-art .art-ico { position: relative; width: 52px; height: 52px; stroke-width: 1.4; transition: transform .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.card:hover .art-ico { transform: scale(1.12) rotate(-6deg); }
.art-forest { background: linear-gradient(135deg, #2b5239, #6f9a7d); }
.art-berry { background: linear-gradient(135deg, #8e3328, #d06a4f); }
.art-sun { background: linear-gradient(135deg, #c98322, #f1c06a); }
.art-royal { background: linear-gradient(135deg, #4a3474, #8b6bbf); }
.art-lake { background: linear-gradient(135deg, #1f5674, #58a2c4); }
.art-wood { background: linear-gradient(135deg, #6b4227, #b07d52); }
.card-body { position: relative; padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin: .2rem 0 0; }
.card-body p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.card-body .chip { align-self: flex-start; }
.card .more { position: absolute; right: 1rem; top: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--accent); transition: transform .3s var(--ease); }
.card:hover .more { transform: translateX(4px); }
.meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; list-style: none; padding: 0; margin: .25rem 0 0; font-size: .85rem; color: var(--ink-2); }
.meta li { display: inline-flex; align-items: center; gap: .35em; }
.meta .ico { color: var(--title-2); }
.meta-lg { font-size: .95rem; margin-bottom: 1.25rem; }

/* Horizontal scroll */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 16px 1.5rem; margin: 0 -16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.tile { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; background: var(--surface); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s var(--ease), background .3s; }
.tile .ico { width: 2rem; height: 2rem; color: var(--title-2); margin-bottom: .35rem; transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-3px); }
.tile:hover .ico { transform: scale(1.15) rotate(-8deg); }
.tile small { color: var(--ink-2); font-size: .8rem; line-height: 1.3; }
.crosslinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 2rem auto; }
.crosslinks .tile { align-items: center; text-align: center; }

/* Quiz band */
.quizband { background: radial-gradient(120% 120% at 100% 0%, var(--moss), var(--forest)); color: #fff; overflow: hidden; }
.quizband .h2 { color: #fff; }
.quizband .kicker { color: var(--sun); }
.quizband p { opacity: .92; max-width: 48ch; }
.quizband-in { display: grid; gap: 2rem; align-items: center; }
.typecloud { display: grid; grid-template-columns: repeat(3, 96px); justify-content: center; gap: .75rem; }
.typecloud span { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; font-size: 2.4rem; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); animation: bob 4s ease-in-out infinite; animation-delay: var(--d); position: relative; }
.typecloud small { font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: #fff; }
.typecloud-sm span { background: color-mix(in srgb, var(--c) 18%, var(--surface)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 50%, transparent); }
.typecloud-sm small { color: var(--ink); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* Day pills */
.daypills { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.daypill { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.daypill:hover { transform: translateY(-3px) rotate(-.5deg); }
.dp-n { display: flex; align-items: baseline; gap: .4rem; }
.dp-n b { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--title-2); }
.dp-n span { font-weight: 700; }
.daypill small { color: var(--ink-2); font-size: .8rem; line-height: 1.4; }

/* Hunts teaser */
.hunt-teaser, .huntcard { display: flex; gap: 1rem; padding: 1.1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-left: 5px solid var(--hc); transition: transform .3s var(--ease); }
.hunt-teaser:hover, .huntcard:hover { transform: translateY(-3px); }
.hunt-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--hc) 15%, transparent); color: var(--hc); }
.hunt-ico .ico { width: 28px; height: 28px; }
.hunt-teaser b { display: block; font-family: var(--serif); font-size: 1.15rem; }
.hunt-teaser small { display: block; color: var(--ink-2); font-size: .9rem; line-height: 1.45; margin: .2rem 0; }
.hunt-teaser em { font-size: .8rem; font-style: normal; font-weight: 700; color: var(--hc); }
.huntcard { flex-direction: column; gap: .5rem; }
.huntcard-top { display: flex; justify-content: space-between; align-items: center; color: var(--hc); }
.huntcard-top > .ico { width: 36px; height: 36px; }
.huntcard-progress:not(:empty) { font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--hc) 15%, transparent); }
.huntcard .btn { align-self: flex-start; margin-top: .5rem; background: var(--hc); color: #fff; }
.howto { margin-top: 2rem; padding: 1.5rem; border-radius: var(--r); background: var(--bg-2); }
.howto ol { padding-left: 1.2rem; }

/* Checks */
.checks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .ico { color: var(--title-2); background: color-mix(in srgb, var(--meadow) 30%, transparent); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; margin-top: .1em; }
.checks-lg li { background: var(--surface); padding: .9rem 1rem; border-radius: var(--r-sm); box-shadow: var(--shadow); }

/* Lüftlmalerei-Fassade (CSS-Illustration) */
.facade { margin: 0; text-align: center; }
.facade figcaption { font-size: .85rem; color: var(--ink-2); margin-top: .75rem; font-style: italic; }
.facade-house { width: min(300px, 80%); margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(31,61,43,.25)); }
.facade-roof { height: 70px; background: linear-gradient(135deg, #6b4227, #8a5a35); clip-path: polygon(50% 0, 100% 100%, 0 100%); margin: 0 -14%; }
.facade-wall { position: relative; background: #f6efe1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 96px 64px 72px; gap: 22px 30px; padding: 24px 30px 0; }
.facade-paint { grid-column: 1 / -1; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; background: linear-gradient(180deg, #8bb7d1, #d8c49b); border: 5px solid #b5473a; display: grid; place-items: center; font-size: 2.4rem; animation: glow 5s ease-in-out infinite; }
.facade-win { background: linear-gradient(135deg, #a9c9dd, #5d8aa6); border: 4px solid #fff; box-shadow: 0 0 0 3px #2b5239; position: relative; }
.facade-win::before, .facade-win::after { content: ''; position: absolute; top: -3px; bottom: -3px; width: 10px; background: repeating-linear-gradient(0deg, #2b5239 0 4px, #3f6b4c 4px 8px); }
.facade-win::before { left: -16px; } .facade-win::after { right: -16px; }
.facade-win:nth-of-type(4), .facade-win:nth-of-type(6) { margin-bottom: 22px; }
.facade-door { background: #6b4227; border-radius: 26px 26px 0 0; box-shadow: inset 0 0 0 4px #4a2c18; }
@keyframes glow { 50% { filter: saturate(1.3) brightness(1.05); } }

/* Map teaser */
.maptease { padding-top: 1rem; }
.maptease-in { display: grid; gap: 1.5rem; padding: 1.5rem; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fff; overflow: hidden; }
.maptease .h2 { color: #fff; }
.mini-map { position: relative; min-height: 200px; border-radius: var(--r); background:
  radial-gradient(circle at 30% 40%, rgba(156,194,122,.35), transparent 40%),
  radial-gradient(circle at 70% 70%, rgba(88,162,196,.3), transparent 45%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px), #24452f; }
.mini-map .dot { position: absolute; transform: translate(-50%, -50%) scale(0); animation: pop .6s var(--ease) forwards; animation-delay: var(--d); }
@keyframes pop { to { transform: translate(-50%, -50%) scale(1); } }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); background: var(--moss); flex: none; }
.dot-kultur { background: var(--berry); } .dot-natur { background: var(--moss); } .dot-ausflug { background: var(--royal); }
.dot-genuss { background: var(--sun); } .dot-shopping { background: var(--wood); } .dot-service { background: var(--lake); } .dot-hunt { background: #d63f8c; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.1rem; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--title-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.1rem 1.1rem; margin: 0; color: var(--ink-2); }

/* Detail-Seiten */
.detail { display: grid; gap: 2rem; padding: 2.5rem 16px 3rem; }
.prose { font-size: 1.07rem; }
.prose p { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }
.side { display: grid; gap: 1rem; align-content: start; }
.sidecard { background: var(--surface); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow); }
.sidecard-cta { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--forest), var(--moss)); }
.sidecard-cta > .ico { width: 2rem; height: 2rem; color: var(--sun); }
.sidecard-cta small { display: block; opacity: .85; }
.facts { margin: 0; display: grid; gap: .6rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--line); }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { color: var(--ink-2); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 650; text-align: right; }
.tipbox { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--r); background: color-mix(in srgb, var(--sun) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--sun) 45%, transparent); margin: 1.5rem 0; }
.tipbox > .ico { width: 1.8rem; height: 1.8rem; color: var(--wood); }
.tipbox p { margin: .2rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* Timeline (Reiseplaner) */
.plancards { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.plancard { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.plancard:hover { transform: translateX(4px); }
.plancard > .ico { color: var(--title-2); margin-left: auto; }
.plancard-n { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; align-content: center; background: linear-gradient(135deg, var(--forest), var(--moss)); color: #fff; font-size: .75rem; font-weight: 700; }
.plancard-n b { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.plancard-t b { font-family: var(--serif); font-size: 1.2rem; display: block; }
.plancard-t small { color: var(--ink-2); display: block; line-height: 1.4; }
.plancard-dots { display: flex; gap: 4px; margin-top: .5rem; }
.plancard-dots i { width: 18px; height: 6px; border-radius: 3px; background: var(--meadow); }
.daynav { position: sticky; top: 64px; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.daynav-in { display: flex; gap: .4rem; overflow-x: auto; padding-top: .6rem; padding-bottom: .6rem; scrollbar-width: none; }
.daynav a { flex: none; padding: .4rem .9rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 650; font-size: .9rem; }
.daynav a.is-active { background: var(--accent); color: var(--accent-ink); }
.timeline-wrap { padding-top: 2rem; padding-bottom: 2rem; }
.day { margin-bottom: 2.5rem; }
.day-h { display: flex; flex-direction: column; font-size: 1.6rem; }
.day-h span { font-family: var(--font); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--title-2); }
.timeline { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 34px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--meadow), var(--sun), var(--lake)); border-radius: 2px; }
.tl { display: grid; grid-template-columns: 70px 1fr; gap: .8rem; margin-bottom: 1rem; position: relative; }
.tl-time { text-align: center; padding-top: .7rem; position: relative; z-index: 1; }
.tl-time b { display: inline-block; background: var(--bg); padding: .15rem .3rem; font-family: var(--serif); font-size: 1.05rem; }
.tl-time small { display: block; font-size: .65rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; background: var(--bg); }
.tl-card { background: var(--surface); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: var(--shadow); border-top: 3px solid var(--meadow); }
.tl-noon .tl-card { border-top-color: var(--sun); } .tl-afternoon .tl-card { border-top-color: var(--wood); } .tl-evening .tl-card { border-top-color: var(--lake); }
.tl-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.tl-card p { margin-bottom: .5rem; color: var(--ink-2); font-size: .97rem; }
.tl-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; font-size: .92rem; }

/* Venues, Rules, Dishes */
.venue { background: var(--surface); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow); }
.venue h3 { font-size: 1.2rem; margin-top: .4rem; }
.venue .tags { margin-bottom: .6rem; }
.venue p:last-child { margin-bottom: 0; }
.venue .try { display: flex; gap: .5rem; padding: .7rem .8rem; border-radius: var(--r-sm); background: var(--bg-2); font-size: .92rem; }
.venue .try .ico { color: var(--sun); }
.rules { display: grid; gap: .75rem; }
.rule { display: flex; gap: 1rem; background: var(--surface); padding: 1rem 1.1rem; border-radius: var(--r); box-shadow: var(--shadow); }
.rule > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-family: var(--serif); }
.rule p { margin: .15rem 0 0; color: var(--ink-2); font-size: .95rem; }
.dish { position: relative; background: var(--surface); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.dish:hover { transform: translateY(-3px); }
.dish-emoji { display: block; font-size: 2.6rem; line-height: 1; margin-bottom: .5rem; transition: transform .4s var(--ease); }
.dish:hover .dish-emoji { transform: scale(1.15) rotate(-8deg); }
.dish h3 { font-size: 1.2rem; margin-top: .5rem; }
.dish .where { font-size: .85rem; color: var(--ink-2); display: flex; gap: .35rem; }
.tried { position: absolute; top: 1rem; right: 1rem; display: inline-flex; gap: .35rem; align-items: center; font-size: .78rem; font-weight: 700; cursor: pointer; padding: .3rem .6rem; border-radius: 999px; background: var(--bg-2); }
.tried:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.tried input { accent-color: var(--title-2); }
.tried-count { font-weight: 700; color: var(--title-2); margin-top: 1rem; }
.seasons { display: grid; gap: .75rem; }
.season { padding: 1.1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); border-left: 5px solid var(--meadow); }
.season:nth-child(2) { border-color: var(--sun); } .season:nth-child(3) { border-color: var(--wood); } .season:nth-child(4) { border-color: var(--lake); }
.season p { margin: .3rem 0 0; color: var(--ink-2); }

/* Bier-Gläser */
.glasses { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.glass { text-align: center; background: var(--surface); border-radius: var(--r); padding: 1.2rem .9rem; box-shadow: var(--shadow); }
.glass h3 { font-size: 1.1rem; margin: .8rem 0 .1rem; }
.glass small { font-size: .78rem; font-weight: 700; color: var(--title-2); }
.glass p { font-size: .88rem; color: var(--ink-2); margin: .5rem 0 0; text-align: left; }
.glass-cup { position: relative; width: 58px; height: 92px; margin: 0 auto; border: 3px solid color-mix(in srgb, var(--ink) 35%, transparent); border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden; }
.glass-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--beer); transition: height 1.4s var(--ease) var(--d); }
.glass-foam { position: absolute; left: -2px; right: -2px; bottom: 0; height: 16px; background: #fffaf0; border-radius: 8px; opacity: 0; transition: bottom 1.4s var(--ease) var(--d), opacity .3s calc(var(--d) + 1s); }
.glass.is-in .glass-fill { height: 78%; }
.glass.is-in .glass-foam { bottom: 72%; opacity: 1; }
.bubble { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); opacity: 0; }
.glass.is-in .bubble { animation: bubble 2.4s ease-in infinite; }
.b1 { left: 14px; animation-delay: 1.2s !important; } .b2 { left: 28px; animation-delay: 1.9s !important; } .b3 { left: 40px; animation-delay: 2.5s !important; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
.pairings { display: grid; gap: .6rem; }
.pairing { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.pairing span { font-weight: 600; } .pairing b { text-align: right; color: var(--wood); } .pairing i { color: var(--berry); }

/* Tour levels */
.tour { background: var(--surface); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow); height: 100%; }
.tour h3 { font-size: 1.2rem; margin: .5rem 0 .3rem; }
.tour p { color: var(--ink-2); margin: .6rem 0; }
.level { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 6px; color: #fff; }
.level-easy { background: var(--lake); } .level-mid { background: var(--berry); } .level-hard { background: #222; }

/* Year timeline */
.yearline { list-style: none; padding: 2.5rem 0 1rem; margin: 0; position: relative; }
.yearline::before { content: ''; position: absolute; left: 10px; top: 2.5rem; bottom: 1rem; width: 2px; background: var(--line); }
.yearline li { position: relative; padding-left: 2.4rem; margin-bottom: 1.6rem; }
.yearline li::before { content: ''; position: absolute; left: 3px; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--bg); }
.ym { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--title-2); }
.yearline h2 { margin: .1rem 0 .3rem; }
.yearline p { color: var(--ink-2); margin: 0; }

/* Flip cards (Bairisch) */
.flips { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.flip { perspective: 900px; border: 0; padding: 0; background: none; cursor: pointer; height: 150px; font: inherit; color: inherit; text-align: center; }
.flip-in { position: relative; display: block; width: 100%; height: 100%; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip-in { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: .8rem; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--shadow); }
.flip-front { background: var(--surface); }
.flip-front b { font-family: var(--serif); font-size: 1.3rem; color: var(--title); }
.flip-front small { font-size: .7rem; color: var(--ink-2); }
.flip-back { background: linear-gradient(135deg, var(--forest), var(--moss)); color: #fff; transform: rotateY(180deg); }
.flip-back b { font-size: 1.05rem; }
.flip-back small { font-size: .8rem; opacity: .9; line-height: 1.35; }

/* SOS */
.sos { display: grid; gap: .75rem; }
.sos-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.sos-item b { font-family: var(--serif); font-size: 1.8rem; color: var(--berry); min-width: 4ch; }

/* Countdown */
.countdown { display: grid; gap: .2rem; padding: 1.4rem; border-radius: var(--r); background: linear-gradient(135deg, var(--berry), #d06a4f); color: #fff; text-align: center; margin-bottom: 1.5rem; }
.countdown b { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.countdown small { opacity: .85; }

/* Karte */
.is-map .phero { padding-bottom: 7rem; }
.mapsec { padding: 1rem 0 3rem; }
.mapbox { position: relative; height: 65vh; min-height: 380px; margin: 0 0 1.5rem; }
.map { position: absolute; inset: 0; background: var(--bg-2); z-index: 1; }
.map-consent { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 1rem; background:
  radial-gradient(circle at 30% 40%, rgba(156,194,122,.35), transparent 40%), radial-gradient(circle at 70% 70%, rgba(88,162,196,.3), transparent 45%),
  repeating-linear-gradient(45deg, rgba(31,61,43,.05) 0 2px, transparent 2px 16px), var(--bg-2); }
.map-consent > div { max-width: 420px; background: var(--surface); padding: 1.5rem; border-radius: var(--r); box-shadow: var(--shadow-lg); text-align: center; }
.map-consent > div > .ico { width: 2.5rem; height: 2.5rem; color: var(--title-2); }
.map-consent p { font-size: .9rem; color: var(--ink-2); }
.remember { display: flex; gap: .4rem; justify-content: center; align-items: center; margin-top: .8rem; font-size: .85rem; color: var(--ink-2); }
.locate { position: absolute; z-index: 1000; right: 12px; bottom: 24px; }
.chip-btn i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.chip-btn.cat-kultur i { background: var(--berry); } .chip-btn.cat-natur i { background: var(--moss); } .chip-btn.cat-ausflug i { background: var(--royal); }
.chip-btn.cat-genuss i { background: var(--sun); } .chip-btn.cat-shopping i { background: var(--wood); } .chip-btn.cat-service i { background: var(--lake); } .chip-btn.cat-hunt i { background: #d63f8c; }
.chip-btn.is-on i { box-shadow: 0 0 0 2px #fff; }
.maplist { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.maplist li { display: flex; align-items: center; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.maplist li[hidden] { display: none; }
.maplist a { flex: 1; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.maplist small { margin-left: auto; color: var(--ink-2); font-weight: 500; font-size: .78rem; }
.maplist-h { margin-top: 1rem; }
.ogau-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.35); display: grid; place-items: center; }
.ogau-pin span { transform: rotate(45deg); color: #fff; font-size: 12px; font-weight: 800; font-family: var(--font); }
.ogau-me { width: 18px; height: 18px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(26,115,232,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(26,115,232,.1); } }
.leaflet-popup-content { font-family: var(--font); font-size: .95rem; }
.leaflet-popup-content b { font-family: var(--serif); font-size: 1.05rem; display: block; }
.leaflet-popup-content a { font-weight: 700; }
.leaflet-container { font-family: var(--font); }

/* ---------- Quiz ---------- */
.quiz { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; min-height: 420px; position: relative; overflow: hidden; }
.quiz-start { text-align: center; display: grid; gap: 1.2rem; justify-items: center; padding: 1rem 0; }
.quiz-start p { color: var(--ink-2); margin: 0; }
.qbar { height: 8px; border-radius: 4px; background: var(--bg-2); overflow: hidden; margin-bottom: 1.25rem; }
.qbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--moss), var(--sun)); border-radius: 4px; transition: width .5s var(--ease); }
.qstep { font-size: .8rem; font-weight: 700; color: var(--title-2); letter-spacing: .1em; text-transform: uppercase; }
.qq { font-size: clamp(1.4rem, 5vw, 1.9rem); margin: .4rem 0 1.25rem; }
.qopts { display: grid; gap: .6rem; }
.qopt { text-align: left; border: 2px solid var(--line); background: var(--bg); border-radius: var(--r); padding: 1rem 1.1rem; font: 550 1rem/1.4 var(--font); color: var(--ink); cursor: pointer; transition: all .2s var(--ease); min-height: 56px; }
.qopt:hover { border-color: var(--title-2); transform: translateX(4px); }
.qopt.is-picked { border-color: var(--title-2); background: color-mix(in srgb, var(--meadow) 25%, var(--bg)); transform: scale(.98); }
.qslide { animation: slidein .45s var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.qback { margin-top: 1rem; }
.result { animation: slidein .6s var(--ease) both; }
.result-hero { text-align: center; padding: 1.5rem 1rem; border-radius: var(--r); background: linear-gradient(135deg, var(--tc), color-mix(in srgb, var(--tc) 55%, #000)); color: #fff; margin: -.25rem -.25rem 1.5rem; }
.result-emoji { font-size: 4.5rem; display: block; animation: tada 1.2s var(--ease) both; }
@keyframes tada { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.15) rotate(6deg); opacity: 1; } 100% { transform: none; } }
.result-hero small { text-transform: uppercase; letter-spacing: .15em; font-weight: 700; font-size: .75rem; opacity: .85; }
.result-hero h2 { font-size: clamp(2rem, 8vw, 3rem); margin: .2rem 0; color: #fff; }
.result-hero p { margin: 0 auto; max-width: 40ch; opacity: .95; }
.bars { display: grid; gap: .45rem; margin: 1rem 0 1.5rem; }
.bar { display: grid; grid-template-columns: 7.5rem 1fr 2.8rem; align-items: center; gap: .6rem; font-size: .85rem; }
.bar-track { height: 10px; background: var(--bg-2); border-radius: 5px; overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--c); transition: width 1.2s var(--ease); }
.bar b { text-align: right; }
.must { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; counter-reset: must; }
.must li { counter-increment: must; }
.must a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.must a:hover { transform: translateX(4px); }
.must a::before { content: counter(must); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tc); color: #fff; font-weight: 800; font-size: .9rem; }
.must small { display: block; color: var(--ink-2); font-size: .82rem; line-height: 1.35; }
.extras { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.extras div { padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--bg-2); }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Schnitzeljagd ---------- */
.hunt { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; position: relative; overflow: hidden; border-top: 6px solid var(--hc); }
.hunt-intro { text-align: center; display: grid; gap: 1.2rem; justify-items: center; }
.hunt-intro p { margin: 0; }
.codeword { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.codeword span { width: 42px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-2); font: 800 1.5rem var(--serif); color: var(--ink-2); box-shadow: inset 0 -3px 0 var(--line); transition: all .4s var(--ease); }
.codeword span.is-got { background: var(--hc); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); animation: flipin .6s var(--ease); }
@keyframes flipin { from { transform: rotateX(90deg); } to { transform: none; } }
.hunt-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.hunt-top .codeword span { width: 30px; height: 38px; font-size: 1.1rem; border-radius: 8px; }
.hstation { animation: slidein .45s var(--ease) both; }
.hstation-n { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hc); }
.hstation h2 { font-size: 1.6rem; margin: .3rem 0 .8rem; }
.hstory { padding: 1rem 1.1rem; border-radius: var(--r); background: var(--bg-2); font-size: 1rem; }
.hgps { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; font-size: .9rem; color: var(--ink-2); }
.hgps b { color: var(--hc); font-size: 1.1rem; }
.hgps .is-near { color: var(--title-2); }
.htask { margin-top: 1.2rem; }
.htask > p { font-weight: 650; font-size: 1.1rem; }
.htask input[type="text"] { width: 100%; padding: .9rem 1rem; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--bg); font: 600 1.1rem var(--font); color: var(--ink); }
.htask input[type="text"]:focus { border-color: var(--hc); outline: none; }
.htask .btn { margin-top: .8rem; background: var(--hc); color: #fff; }
.hfeedback { min-height: 1.6em; margin-top: .8rem; font-weight: 650; }
.hfeedback.is-wrong { color: var(--berry); }
.hint { margin-top: .5rem; }
.hint-text { padding: .8rem 1rem; border-radius: var(--r-sm); background: color-mix(in srgb, var(--sun) 18%, var(--surface)); margin-top: .5rem; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.hsolved { text-align: center; padding: 1rem 0; animation: slidein .45s var(--ease) both; }
.hletter { display: inline-grid; place-items: center; width: 96px; height: 110px; border-radius: 18px; background: var(--hc); color: #fff; font: 800 3.5rem var(--serif); margin: .8rem 0; animation: tada 1s var(--ease) both; box-shadow: var(--shadow-lg); }
.hfact { text-align: left; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--bg-2); margin: 1rem 0; display: flex; gap: .6rem; }
.hfact .ico { color: var(--sun); }
.timer { font: 800 3rem var(--serif); color: var(--hc); text-align: center; margin: .5rem 0; }
.hfinal { text-align: center; }
.hfinal #fin { width: 100%; max-width: 320px; padding: .9rem 1rem; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--bg); font: 800 1.4rem var(--serif); text-align: center; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.certificate { margin: 1.5rem auto; max-width: 520px; padding: 2rem 1.5rem; border-radius: 6px; background: #fffaf0; color: #2b2b2b; border: 10px double var(--hc); text-align: center; font-family: var(--serif); position: relative; }
.certificate h3 { font-size: 1.8rem; color: var(--hc); }
.certificate .cname { font-size: 2rem; font-style: italic; border-bottom: 1px solid #ccc; padding-bottom: .3rem; margin: .5rem auto 1rem; max-width: 80%; min-height: 1.3em; }
.certificate small { font-family: var(--font); color: #666; }
.spoiler { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--bg-2); }
.spoiler summary { cursor: pointer; font-weight: 650; }
.spoiler ol { margin: .8rem 0 0; padding-left: 1.2rem; font-size: .95rem; color: var(--ink-2); }
.hprogress { display: flex; gap: 4px; margin-bottom: 1rem; }
.hprogress i { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-2); transition: background .4s; }
.hprogress i.is-done { background: var(--hc); }
.hprogress i.is-now { background: color-mix(in srgb, var(--hc) 45%, var(--bg-2)); }

/* Confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* Toast & Totop */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: .7rem 1.2rem; border-radius: 999px; font-weight: 650; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 120; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.totop { position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .35s var(--ease); }
.totop .ico { transform: rotate(-90deg); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* Footer */
.footer { position: relative; background: var(--forest); color: rgba(255,255,255,.85); margin-top: 6rem; padding: 2rem 0 1.5rem; }
.footer-mtn { position: absolute; left: 0; right: 0; bottom: 100%; height: 110px; pointer-events: none; }
.footer-mtn .mtn { --m-front: var(--forest); --m-near: #2b5239; --m-mid: #3f6b4c; --m-far: transparent; --m-snow: transparent; height: 100%; }
.footer-mtn .sun, .footer-mtn .clouds, .footer-mtn .birds { display: none; }
.footer-in { display: grid; gap: 1.75rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { max-width: 40ch; margin-top: .75rem; }
.footer .nav-h { color: var(--meadow); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; opacity: .8; display: grid; gap: .3rem; }
.footer-bottom p { margin: 0; }

/* Legal */
.legal { padding: 2.5rem 16px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.notice { padding: 1rem; border-radius: var(--r-sm); background: color-mix(in srgb, var(--berry) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--berry) 40%, transparent); font-size: .95rem; }

/* 404 */
.nf { position: relative; min-height: 80vh; margin-top: -64px; padding-top: 64px; background: linear-gradient(180deg, var(--m-sky-1), var(--m-sky-2)); overflow: hidden; }
.nf-bg { position: absolute; inset: auto 0 0; height: 55%; }
.nf-bg .mtn { position: absolute; inset: 0; }
.nf-in { position: relative; z-index: 2; padding-top: 3rem; }
.nf-code { font: 800 clamp(5rem, 25vw, 10rem)/1 var(--serif); color: var(--title-2); margin: 0; animation: bob 4s ease-in-out infinite; }

/* ---------- Scroll-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(3n+2), .grid > * > .reveal { transition-delay: .06s; }
.grid > .reveal:nth-child(3n+3) { transition-delay: .12s; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hscroll { grid-auto-columns: 46%; }
  .flips { grid-template-columns: repeat(3, 1fr); }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .sos { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: repeat(4, 1fr); }
  .quiz, .hunt { padding: 2rem; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .totop { bottom: 24px; right: 24px; }
  .toast { bottom: 30px; }
  .desk-nav { display: flex; align-items: center; gap: 1.4rem; }
  .desk-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
  .desk-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--sun); transform: scaleX(0); transition: transform .3s var(--ease); }
  .desk-nav a:not(.btn):hover::after { transform: scaleX(1); }
  .section { padding: 5rem 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(5, 1fr); }
  .hscroll { grid-auto-columns: calc((100% - 2rem) / 3); margin: 0; padding: .5rem 0 1.5rem; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .quizband-in { grid-template-columns: 1fr 1fr; }
  .maptease-in { grid-template-columns: 1fr 1.2fr; padding: 2.5rem; align-items: center; }
  .detail { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; }
  .side { position: sticky; top: 90px; }
  .flips { grid-template-columns: repeat(4, 1fr); }
  .seasons { grid-template-columns: repeat(4, 1fr); }
  .rules { grid-template-columns: repeat(3, 1fr); }
  .plancards { grid-template-columns: repeat(2, 1fr); }
  .hero-in { padding-top: 8vh; }
  .footer-in { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
  .timeline-wrap { max-width: 860px; }
  .mapbox { height: 70vh; }
  .phero { padding-bottom: 11rem; }
  .phero-bg { height: 210px; }
}
@media (min-width: 1200px) {
  .daypills { grid-template-columns: repeat(5, 1fr); }
}

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

/* ---------- Druck ---------- */
@media print {
  .topbar, .tabbar, .footer, .totop, .toast, .drawer, .phero-bg, .hero-bg, .actions, .hero-actions, .daynav, .section-alt, .scrollhint { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .phero { background: none; padding: 0 0 1rem; margin: 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .tl-card, .card, .venue { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  a { color: #000; }
  .certificate { border-color: #333; }
  .hunt > :not(.certificate-wrap) { display: none; }
}
