/* ============================================================
   BER PoC — Design System (nachgebaut nach ber.berlin-airport.de)
   Marke: BER-Rot + Anthrazit + Cyan/Mint. Schrift: Figtree (≈ BERSans)
   Eigener Nachbau, keine kopierten Original-Assets.
   ============================================================ */

:root {
  /* Marken-Farben (gemessen an der echten Seite) */
  --ber-red: #e61900;       /* Headline / Logo / Marker */
  --ber-red-dark: #c21500;
  --bordeaux: #78052d;      /* Buttons */
  --ink: #1e2d37;           /* Text, Footer, Widget */
  --ink-2: #34424b;
  --cyan: #00a0b9;          /* Links / Akzent */
  --cyan-dark: #00859a;
  --mint: #cdeef2;          /* helle Sektionsfläche */
  --mint-strong: #80d0dc;

  --grey-100: #f4f5f6;
  --grey-200: #e7e9ea;
  --grey-300: #d2d5d7;
  --grey-500: #a5abaf;
  --muted: #5c6873;
  --line: #e1e4e6;
  --card: #ffffff;
  --paper: #ffffff;

  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 10px 30px -18px rgba(30,45,55,.45);
  --shadow-soft: 0 6px 18px -12px rgba(30,45,55,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Section-Überschrift mit rotem Marker (wie Original) */
.sec-title { display: flex; align-items: center; gap: .7rem; color: var(--ber-red);
  font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 1.6rem; }
.sec-title::before { content: ""; width: 6px; align-self: stretch; min-height: 1.5rem; background: var(--ber-red); border-radius: 2px; }

.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-dark); font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font); font-weight: 700;
  padding: .75rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  font-size: .95rem; transition: transform .12s ease, background .2s, color .2s, border-color .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ber-red); color: #fff; }
.btn-primary:hover { background: var(--ber-red-dark); }
.btn-bordeaux { background: var(--bordeaux); color: #fff; }
.btn-bordeaux:hover { background: #5d0423; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--grey-300); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }

/* ============================ HEADER ============================ */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .55rem; }
.brand .logo { font-family: var(--font); font-weight: 800; font-size: 1.7rem; color: var(--ber-red); letter-spacing: -.04em; line-height: 1; }
.brand .brand-sub { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 600; line-height: 1.25; }

.nav { display: flex; gap: 1.3rem; margin-left: 1rem; align-items: center; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a.active { color: var(--ber-red); }
.nav a:hover { color: var(--ber-red); text-decoration: none; }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.lang { font-weight: 700; font-size: .85rem; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: .35rem .6rem; }
.search-mini { display: flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem; color: var(--muted); }
.search-mini input { border: 0; outline: 0; font-family: var(--font); font-size: .9rem; color: var(--ink); width: 130px; background: transparent; }
.burger { background: none; border: 0; cursor: pointer; color: var(--ber-red); font-size: 1.6rem; line-height: 1; padding: 0; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 24px 1rem; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .search-mini { display: none; }
}

/* ============================ HERO ============================ */
.hero { background: #fff; padding: 3rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.hero-head { position: relative; padding-left: 1.4rem; }
.hero-head::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 8px; background: var(--ber-red); border-radius: 3px; }
.hero h1 { color: var(--ber-red); font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; line-height: .98; }
.hero p.lead { color: var(--ink); font-size: 1.15rem; max-width: 40ch; margin-top: 1rem; }

/* Bild-Collage (eigene Platzhalter, keine Original-Bilder) */
.collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, 150px); gap: 12px; }
@media (max-width: 900px) { .collage { grid-template-rows: repeat(2, 120px); } }
.collage .ph { border-radius: var(--radius-lg); position: relative; overflow: hidden; color: #fff;
  background-size: cover; background-position: center; background-color: var(--ink); }
.collage .ph span { position: absolute; z-index: 1; left: 12px; bottom: 10px; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.collage .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,45,55,.5), transparent 55%); }
.ph.a { grid-row: span 2; }

/* Flug-Widget */
.flight-bar { margin-top: 2.5rem; background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.flight-bar .tabs { display: flex; }
.flight-bar .tab { flex: 0 0 auto; background: transparent; color: rgba(255,255,255,.7); border: 0; cursor: pointer;
  padding: 1rem 1.6rem; font-family: var(--font); font-weight: 700; font-size: .95rem; border-bottom: 3px solid transparent; }
.flight-bar .tab.active { color: #fff; border-bottom-color: var(--ber-red); }
.flight-bar .body { padding: 1.2rem; display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.flight-bar .body h3 { color: #fff; font-size: 1.05rem; margin: 0 1rem 0 0; }
.flight-bar input { flex: 1; min-width: 200px; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font-family: var(--font); font-size: 1rem; }
.flight-bar input::placeholder { color: rgba(255,255,255,.55); }
.flight-bar input:focus { outline: 2px solid var(--cyan); }

/* Quick-Actions */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.8rem 0 0; }
@media (max-width: 760px) { .quick { grid-template-columns: repeat(2, 1fr); } }
.quick a { display: flex; align-items: center; gap: .7rem; background: var(--grey-100); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem 1rem; color: var(--ink); font-weight: 700; transition: border-color .2s, transform .12s; }
.quick a:hover { border-color: var(--ber-red); transform: translateY(-2px); text-decoration: none; }
.quick a .ico { font-size: 1.3rem; }

/* ============================ SECTIONS ============================ */
section.block { padding: 3.5rem 0; }
.bg-grey { background: var(--grey-100); }
.bg-mint { background: var(--mint); }

/* Karten-Raster */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .thumb { height: 170px; position: relative; background-size: cover; background-position: center; background-color: var(--grey-200); }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,45,55,.45), transparent 50%); }
.t-red   { background: linear-gradient(150deg, var(--ber-red), var(--bordeaux)); }
.t-cyan  { background: linear-gradient(150deg, #4fb6c6, var(--cyan)); }
.t-ink   { background: linear-gradient(150deg, var(--ink), var(--ink-2)); }
.t-mint  { background: linear-gradient(150deg, var(--mint-strong), var(--cyan)); }
.card .thumb .cat { position: absolute; z-index: 1; bottom: 12px; left: 12px; background: rgba(30,45,55,.78); color: #fff;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 4px; }
.card .body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card .body h3 { font-size: 1.15rem; color: var(--ink); }
.card .body p { color: var(--muted); font-size: .92rem; flex: 1; margin: .2rem 0 .8rem; }
.card .more { color: var(--ber-red); font-weight: 700; font-size: .9rem; }

/* Service-Kacheln (kompakter) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; color: var(--ink);
  transition: transform .16s ease, box-shadow .2s, border-color .2s; display: block; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--cyan); text-decoration: none; }
.tile .ico { font-size: 1.6rem; margin-bottom: .6rem; }
.tile h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.tile p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Promo-Banner (dunkel) */
.promo { background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } }
.promo .pbody { padding: 2.4rem; }
.promo h2 { color: #fff; font-size: 1.8rem; }
.promo p { color: rgba(255,255,255,.8); max-width: 44ch; }
.promo .pimg { background: linear-gradient(150deg, var(--bordeaux), var(--ber-red)); min-height: 220px; }

/* ===================== FLUGTAFEL ===================== */
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; background: var(--ink); }
.board-head .title { font-weight: 700; color: #fff; }
.board-head .live { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.75); }
.board-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(0,160,185,.5);} 70%{box-shadow:0 0 0 8px rgba(0,160,185,0);} 100%{box-shadow:0 0 0 0 rgba(0,160,185,0);} }
.board table { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: .75rem 1.2rem; background: var(--grey-100); }
.board td { padding: .8rem 1.2rem; font-size: .95rem; border-top: 1px solid var(--line); color: var(--ink); }
.board tbody tr { opacity: 0; transform: translateY(6px); animation: flapIn .5s forwards; }
@keyframes flapIn { to { opacity: 1; transform: translateY(0); } }
.board .time { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }
.board .flight { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.board .dest { font-weight: 600; }
.board-foot { padding: .85rem 1.2rem; background: var(--grey-100); text-align: center; }
.board-foot a { color: var(--ber-red); font-weight: 700; font-size: .9rem; }

.tag { font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 4px; font-weight: 700; }
.tag.boarding { background: rgba(0,160,185,.14); color: var(--cyan-dark); }
.tag.ontime   { background: var(--grey-200); color: var(--ink-2); }
.tag.delayed  { background: rgba(230,25,0,.12); color: var(--ber-red); }
.tag.departed { background: var(--grey-100); color: var(--grey-500); }
.tag.cancelled{ background: rgba(120,5,45,.14); color: var(--bordeaux); }

/* Filterbar */
.filterbar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin: 0 0 1.4rem; }
.filterbar input { flex: 1; min-width: 220px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff; }
.filterbar input:focus { outline: 2px solid var(--cyan); }
.seg { display: inline-flex; background: var(--grey-100); border: 1px solid var(--line); border-radius: 999px; padding: .25rem; }
.seg button { border: 0; background: transparent; padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: .9rem; color: var(--muted); }
.seg button.active { background: var(--ber-red); color: #fff; }

/* ============================ SUB-PAGE HEADER ============================ */
.page-hero { background: var(--ink); color: #fff; padding: 2.8rem 0 2.4rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); position: relative; padding-left: 1rem; }
.page-hero h1::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 6px; background: var(--ber-red); border-radius: 2px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; }
.crumbs { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: .9rem; }
.crumbs a { color: rgba(255,255,255,.75); }

.section-head { max-width: 60ch; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); }
.mt-2 { margin-top: 2.5rem; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ============================ ARTICLE ============================ */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.2rem; font-size: 1.08rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; color: var(--ink); }
.prose .figure { width: 100%; height: 320px; background: linear-gradient(150deg, var(--cyan), var(--ink)); border-radius: var(--radius-lg); margin: 1.5rem 0; position: relative; }
.prose .figure figcaption { position: absolute; bottom: 10px; left: 14px; color: rgba(255,255,255,.9); font-size: .8rem; font-family: var(--font-mono); }
.prose blockquote { border-left: 5px solid var(--ber-red); margin: 1.5rem 0; padding: .3rem 0 .3rem 1.3rem; font-size: 1.3rem; font-weight: 700; color: var(--ink); }

.aside-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; position: sticky; top: 92px; }
.aside-panel h4 { font-size: .95rem; color: var(--ink); }
.ki-check .row { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.ki-check .row:last-child { border-bottom: 0; }
.ki-check .label { font-size: .9rem; }
.ki-check .score { font-family: var(--font-mono); font-weight: 600; font-size: .82rem; padding: .15rem .5rem; border-radius: 4px; }
.score.good { background: rgba(0,160,185,.14); color: var(--cyan-dark); }
.score.warn { background: rgba(230,25,0,.12); color: var(--ber-red); }
.ki-check .hint { font-size: .82rem; color: var(--muted); margin-top: .9rem; }

/* ============================ FEEDBACK + FOOTER ============================ */
.feedback { background: var(--mint); padding: 2rem 0; }
.feedback .row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.feedback h3 { color: var(--ink); margin: 0; font-size: 1.3rem; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .logo { color: #fff; font-weight: 800; font-size: 1.5rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(255,255,255,.7); display: block; padding: .25rem 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
.footer-bottom .poc-badge { font-family: var(--font-mono); font-size: .7rem; color: var(--mint-strong);
  border: 1px solid rgba(128,208,220,.4); padding: .2rem .55rem; border-radius: 4px; }

/* ============================ CHATBOT ============================ */
.chat-fab { position: fixed; bottom: 24px; right: 24px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; border: 0;
  cursor: pointer; background: var(--ber-red); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow); transition: transform .16s, background .2s; }
.chat-fab:hover { transform: scale(1.06); background: var(--ber-red-dark); }
.chat-panel { position: fixed; bottom: 96px; right: 24px; z-index: 80; width: 360px; max-width: calc(100vw - 48px);
  height: 480px; max-height: calc(100vh - 140px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel.open { display: flex; animation: slideUp .25s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.chat-head { background: var(--ink); color: #fff; padding: 1rem 1.2rem; }
.chat-head .name { font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.chat-head .badge { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; background: rgba(230,25,0,.25); color: #ff9e8c; padding: .15rem .45rem; border-radius: 4px; }
.chat-head .sub { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: .2rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; background: var(--grey-100); display: flex; flex-direction: column; gap: .8rem; }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: 12px; font-size: .9rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--ber-red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg .src { display: block; margin-top: .5rem; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.1rem .6rem; background: var(--grey-100); }
.chat-suggest button { font-size: .78rem; border: 1px solid var(--line); background: #fff; color: var(--cyan-dark); padding: .4rem .7rem; border-radius: 999px; cursor: pointer; }
.chat-suggest button:hover { background: var(--grey-200); }
.chat-input { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; font-family: var(--font); color: var(--ink); }
.chat-input input:focus { outline: 2px solid var(--cyan); }
.chat-input button { border: 0; background: var(--ber-red); color: #fff; width: 42px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }

/* ============================ MEGA-MENÜ (Hamburger) ============================ */
.menu-overlay { position: fixed; inset: 0; background: rgba(30,45,55,.5); z-index: 99;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }

.mega { position: fixed; top: 0; right: 0; height: 100vh; width: min(540px, 100vw); background: #fff;
  z-index: 100; transform: translateX(100%); transition: transform .32s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column; box-shadow: -12px 0 48px -16px rgba(30,45,55,.5); }
body.menu-open .mega { transform: translateX(0); }

.mega-top { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.6rem; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.mega-top .ico-btn { font-size: 1.3rem; color: var(--ber-red); background: none; border: 0; cursor: pointer; line-height: 1; text-decoration: none; }
.mega-top .mega-lang { font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; }
.mega-top .mega-close { margin-left: auto; font-size: 1.6rem; color: var(--ber-red); background: none; border: 0; cursor: pointer; line-height: 1; }

.mega-scroll { flex: 1; overflow: hidden; position: relative; }
.mega-list { list-style: none; margin: 0; padding: 0; height: 100%; overflow-y: auto; }
.mega-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  text-align: left; padding: 1.15rem 1.6rem; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .15s; }
.mega-item:hover { background: var(--grey-100); }
.mega-item .eyebrow2 { display: block; color: var(--ber-red); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: .25rem; }
.mega-item .cat-title { font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.mega-item .chev { color: var(--ink); font-size: 1.3rem; flex: 0 0 auto; }

/* Zweite Ebene (Drill-down) */
.mega-sub { position: absolute; inset: 0; background: #fff; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1); overflow-y: auto; visibility: hidden; }
.mega-sub.open { transform: translateX(0); visibility: visible; }
.mega-back { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; background: var(--grey-100);
  border: 0; border-bottom: 1px solid var(--line); padding: 1rem 1.6rem; cursor: pointer; color: var(--ber-red); font-weight: 700; font-family: var(--font); }
.mega-sub h3 { padding: 1.3rem 1.6rem .4rem; color: var(--ber-red); font-size: 1.4rem; margin: 0; }
.mega-sub a { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.6rem;
  border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.mega-sub a:hover { background: var(--grey-100); text-decoration: none; color: var(--ber-red); }
.mega-sub a::after { content: "›"; color: var(--grey-500); }
