/* =========================================================================
   Alpenasphalt — Straßenmagazin für Österreich
   Editorial / Alpine-Signage Aesthetic
   Font pairing: Fraunces (display serif) + Archivo (grotesque UI/body)
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,900&display=swap");

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

/* --------------------------- Design tokens ----------------------------- */
:root {
  /* Motorway greens */
  --green-950: #04241a;
  --green-900: #072e1f;
  --green-800: #0a4a2c;
  --green-700: #0c5c37;   /* Austrian Autobahn sign green */
  --green-600: #10774a;
  --green-500: #159a5d;
  --green-glow: #27c07a;

  /* Signage accents */
  --amber: #f0a531;
  --amber-deep: #d97a15;
  --sign-red: #d3213a;

  /* Neutrals / paper */
  --paper: #f5f1e8;
  --paper-2: #ece6d8;
  --paper-line: rgba(12, 40, 28, 0.13);
  --ink: #14201a;
  --ink-soft: #46534b;
  --ink-faint: #75817a;
  --white: #fffefb;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(10, 40, 26, 0.08);
  --shadow-md: 0 14px 34px -18px rgba(8, 46, 31, 0.45);
  --shadow-lg: 0 40px 80px -40px rgba(4, 36, 26, 0.6);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------ Base ----------------------------------- */
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--green-700); color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------- Typography -------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--amber);
  display: inline-block;
}

/* Kilometer marker chip (green sign style) */
.km {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--green-700);
  color: var(--white);
  border-radius: 4px;
  padding: 0.32rem 0.55rem;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), inset 0 0 0 4px var(--green-700);
  font-family: var(--font-sans);
}
.km b { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; }
.km span { font-size: 0.55rem; letter-spacing: 0.18em; opacity: 0.85; margin-top: 2px; }

/* ------------------------------ Nav ------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--paper-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--green-600), var(--green-800));
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm), inset 0 0 0 2px rgba(255,255,255,0.14);
  flex: none;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-size: 0.86rem; font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--green-700); background: color-mix(in srgb, var(--green-700) 8%, transparent); }
.nav__cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.05rem !important;
}
.nav__cta:hover { background: var(--green-700) !important; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--paper-line); }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); margin-inline: auto; position: relative; transition: 0.25s;
}
.nav__burger span::before { position: absolute; top: -6px; }
.nav__burger span::after { position: absolute; top: 6px; }

/* ------------------------------ Hero ----------------------------------- */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--green-950); }
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__scene svg { width: 100%; height: 100%; object-fit: cover; }
.hero__grad { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(120% 80% at 80% 0%, rgba(39, 192, 122, 0.16), transparent 60%),
  linear-gradient(180deg, rgba(4,36,26,0.15) 0%, rgba(4,36,26,0.55) 55%, var(--green-950) 100%); }

.hero__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 11vw, 8.5rem) clamp(3rem, 7vw, 5rem); }
.hero__tag {
  color: var(--amber);
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.5rem;
}
.hero__tag::before { content: ""; width: 30px; height: 3px; background: var(--amber); }
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}
.hero h1 em { font-style: italic; color: var(--green-glow); font-weight: 400; }
.hero__lead {
  margin-top: 1.6rem;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.92rem;
  padding: 0.9rem 1.6rem; border-radius: 100px;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.btn--primary { background: var(--amber); color: var(--green-950); box-shadow: 0 12px 30px -12px rgba(240,165,49,0.8); }
.btn--primary:hover { transform: translateY(-3px); background: #ffb948; }
.btn--ghost { background: rgba(255,255,255,0.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.btn--ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--green-700); transform: translateY(-3px); }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Hero stats strip */
.hero__stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stats div { padding: 1.5rem var(--gutter); border-left: 1px solid rgba(255,255,255,0.1); }
.hero__stats div:first-child { border-left: none; }
.hero__stats .n { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; color: var(--white); line-height: 1; }
.hero__stats .n span { color: var(--green-glow); font-size: 0.6em; }
.hero__stats .l { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.5rem; font-weight: 600; }

/* --------------------------- Section shell ----------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.section--dark { background: var(--green-950); color: var(--white); }
.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: 1rem; }
.section__head p { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; }
.section--dark .section__head p { color: rgba(255,255,255,0.7); }

/* Dashed lane divider */
.lane {
  height: 5px; width: 100%;
  background-image: repeating-linear-gradient(90deg, var(--amber) 0 42px, transparent 42px 78px);
  opacity: 0.9;
}

/* ------------------------- Network (Autobahnen) ------------------------ */
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.route {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.route:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-500); }
.shield {
  flex: none;
  min-width: 54px;
  padding: 0.4rem 0.55rem;
  background: var(--green-700);
  color: var(--white);
  border-radius: 7px;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.8), inset 0 0 0 4px var(--green-700), var(--shadow-sm);
  font-weight: 700;
}
.shield b { display: block; font-family: var(--font-sans); font-size: 1.35rem; letter-spacing: 0.02em; }
.route__body h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.route__path { color: var(--green-700); font-weight: 600; font-size: 0.9rem; margin-top: 0.15rem; }
.route__note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.45rem; }

/* ------------------------------ Tempo ---------------------------------- */
.tempo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.tempo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.tempo-card:hover { transform: translateY(-5px); }
.tempo-sign {
  width: 108px; height: 108px; margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--white);
  border: 9px solid var(--sign-red);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.tempo-sign b { font-family: var(--font-sans); font-weight: 700; font-size: 1.9rem; color: var(--ink); letter-spacing: -0.03em; }
.tempo-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.tempo-card p { font-size: 0.9rem; color: var(--ink-soft); }
.tempo-note {
  margin-top: 2.4rem;
  background: color-mix(in srgb, var(--amber) 15%, var(--white));
  border-left: 4px solid var(--amber-deep);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  font-size: 0.96rem;
  color: var(--ink);
}
.tempo-note b { color: var(--amber-deep); }

/* ------------------------------ Tunnels -------------------------------- */
.tunnels { display: grid; gap: 0.7rem; }
.tunnel {
  display: grid; grid-template-columns: 1.4fr 3fr auto; align-items: center; gap: 1.4rem;
  padding: 1.15rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  transition: background 0.3s, border-color 0.3s;
}
.tunnel:hover { background: rgba(255,255,255,0.08); border-color: var(--green-glow); }
.tunnel__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.tunnel__name small { display: block; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-glow); margin-top: 0.25rem; font-weight: 600; }
.tunnel__bar { height: 12px; border-radius: 100px; background: rgba(255,255,255,0.1); overflow: hidden; }
.tunnel__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--green-glow));
  border-radius: 100px;
  transition: width 1.1s var(--ease);
}
.tunnel__len { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
.tunnel__len small { font-size: 0.7rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }

/* ------------------------------ Bridge --------------------------------- */
.bridge { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bridge__figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #cfe6ff 0%, #e8f4ff 45%, #f2ede1 100%);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.bridge__figure svg { width: 100%; height: 100%; }
.bridge__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--ink); color: var(--white);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 0.45rem 0.85rem; border-radius: 100px;
}
.bridge__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.8rem; }
.fact {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.fact .n { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--green-700); line-height: 1; }
.fact .l { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.4rem; letter-spacing: 0.04em; }

/* --------------------------- Verkehr / Reise --------------------------- */
.reise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.reise-card {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.reise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reise-card__ic { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--green-700) 12%, transparent); display: grid; place-items: center; color: var(--green-700); margin-bottom: 1.1rem; }
.reise-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.reise-card p { font-size: 0.94rem; color: var(--ink-soft); }
.reise-card__no { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-display); font-size: 2.4rem; color: var(--paper-2); font-weight: 600; line-height: 1; }

/* ------------------------------ Contact -------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact__list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__item {
  display: flex; gap: 1.1rem; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; padding: 1.1rem 1.3rem;
}
.contact__item .ic { width: 44px; height: 44px; flex: none; border-radius: 11px; background: rgba(39,192,122,0.16); display: grid; place-items: center; color: var(--green-glow); }
.contact__item .k { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600; }
.contact__item .v { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.contact__item a.v:hover { color: var(--green-glow); }

.card-note {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 1.8rem;
}
.card-note h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card-note p { color: rgba(255,255,255,0.72); font-size: 0.96rem; }
.card-note .src { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: var(--green-glow); font-weight: 600; letter-spacing: 0.04em; }

/* ------------------------------ Footer --------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand .brand__name { color: var(--white); }
.footer p { font-size: 0.92rem; max-width: 40ch; margin-top: 1rem; }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col a { display: block; font-size: 0.92rem; padding: 0.35rem 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--green-glow); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer__bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--green-glow); }
.footer__disclaimer { max-width: var(--maxw); margin: 1.5rem auto 0; padding-inline: var(--gutter); font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* Footer-Hinweis: kein Verkauf */
.footer__note {
  margin-top: 1.6rem; padding: 1.1rem 1.3rem;
  background: rgba(240,165,49,0.1);
  border: 1px solid rgba(240,165,49,0.28);
  border-radius: 12px;
  display: flex; gap: 0.85rem; align-items: flex-start;
  font-size: 0.9rem; color: rgba(255,255,255,0.82); line-height: 1.55;
}
.footer__note svg { flex: none; color: var(--amber); margin-top: 1px; }
.footer__note strong { color: #ffcd82; }

/* ------------------------- Trust-Badges (Hero) ------------------------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.5rem 0.95rem; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}
.trust-badge svg { color: var(--green-glow); flex: none; }

/* ---------------------- Notice-Band: kein Verkauf ---------------------- */
.notice {
  background: color-mix(in srgb, var(--amber) 15%, var(--paper));
  border-top: 1px solid color-mix(in srgb, var(--amber-deep) 32%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--amber-deep) 32%, transparent);
}
.notice__inner { display: flex; gap: 1.3rem; align-items: center; padding-block: clamp(1.4rem, 3vw, 2rem); }
.notice__ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--amber); color: var(--green-950); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.notice__text { flex: 1; }
.notice__text b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.notice__text p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.notice__text strong { color: var(--amber-deep); }
@media (max-width: 560px) { .notice__inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; } }

/* ============================ MAGAZIN =================================== */
.mag-hero { background: var(--green-950); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.mag-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 85% 0%, rgba(39,192,122,0.14), transparent 55%); }
.mag-hero .wrap { position: relative; z-index: 1; }
.mag-hero .eyebrow { color: var(--amber); }
.mag-hero .eyebrow::before { background: var(--amber); }
.mag-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-top: 1rem; }
.mag-hero p { margin-top: 1rem; color: rgba(255,255,255,0.74); max-width: 60ch; font-size: 1.1rem; }

.magazin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.6rem; }
.mag-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.mag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-500); }
.mag-card__img { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.mag-card__img svg { width: 100%; height: 100%; display: block; }
.mag-card__cat { position: absolute; top: 0.9rem; left: 0.9rem; background: var(--ink); color: #fff; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 100px; }
.mag-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.mag-card__body h2 { font-size: 1.32rem; line-height: 1.14; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.mag-card__body h2 a:hover { color: var(--green-700); }
.mag-card__body p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.mag-card__meta { margin-top: 1.2rem; font-size: 0.76rem; color: var(--ink-faint); letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; display: flex; gap: 0.55rem; align-items: center; }
.mag-card__more { margin-top: 1.1rem; font-weight: 700; color: var(--green-700); font-size: 0.9rem; display: inline-flex; gap: 0.4rem; align-items: center; transition: gap 0.25s var(--ease); }
.mag-card:hover .mag-card__more { gap: 0.7rem; }

/* Home-Teaser */
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }

/* ============================ ARTIKEL ================================== */
.article-hero { background: var(--green-950); color: #fff; padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 130% at 88% 0%, rgba(39,192,122,0.16), transparent 55%); }
.article-hero .wrap { position: relative; z-index: 1; max-width: 860px; }
.art-crumb { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--green-glow); font-weight: 600; font-size: 0.85rem; margin-bottom: 1.4rem; transition: gap 0.25s var(--ease); }
.art-crumb:hover { gap: 0.7rem; }
.art-cat { display: inline-block; background: var(--amber); color: var(--green-950); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; padding: 0.42rem 0.9rem; border-radius: 100px; }
.article-hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-top: 1.1rem; letter-spacing: -0.02em; }
.art-lead { margin-top: 1.2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,0.82); line-height: 1.55; font-family: var(--font-display); font-weight: 400; }
.art-meta { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.art-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.art-meta svg { color: var(--green-glow); }

.article-body { max-width: 720px; margin-inline: auto; padding-block: clamp(2.5rem, 5vw, 4rem); }
.article-body p { font-family: var(--font-display); font-weight: 400; font-size: 1.16rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.4rem; }
.article-body > p:first-of-type { font-size: 1.28rem; line-height: 1.65; color: var(--ink); }
.article-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.6rem 0 1rem; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.article-body h3 { font-size: 1.3rem; margin: 1.9rem 0 0.6rem; }
.article-body ul { margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.article-body ul li { position: relative; padding-left: 1.7rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-soft); line-height: 1.6; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 2px; background: var(--amber-deep); }
.article-body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.article-body strong { color: var(--ink); font-weight: 700; }
blockquote.pull { margin: 2.2rem 0; padding: 1.5rem 1.9rem; border-left: 4px solid var(--amber); background: color-mix(in srgb, var(--amber) 11%, var(--white)); border-radius: 0 12px 12px 0; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.4; font-style: italic; color: var(--ink); }
figure.art-fig { margin: 2.2rem 0; }
figure.art-fig .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
figure.art-fig .frame svg { width: 100%; height: 100%; display: block; }
figure.art-fig figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-faint); font-family: var(--font-sans); }
.article-body .callout p { font-family: var(--font-sans); font-size: 1rem; }
.art-source { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--paper-line); font-size: 0.9rem; color: var(--ink-faint); font-family: var(--font-sans); line-height: 1.6; }
.art-source a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.article-related { border-top: 1px solid var(--paper-line); }
.article-related h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.8rem; }

@media (max-width: 560px) { .article-body p { font-size: 1.1rem; } .article-body > p:first-of-type { font-size: 1.18rem; } }

/* --------------------------- Cookie banner ----------------------------- */
.cookie {
  position: fixed; z-index: 200; left: 50%; bottom: 1.2rem;
  transform: translate(-50%, 180%);
  width: min(720px, calc(100% - 2rem));
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center;
  transition: transform 0.55s var(--ease);
}
.cookie.is-visible { transform: translate(-50%, 0); }
.cookie__ic { position: absolute; top: -18px; left: 1.4rem; width: 36px; height: 36px; border-radius: 10px; background: var(--green-700); display: grid; place-items: center; color: var(--white); box-shadow: var(--shadow-sm); }
.cookie h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.25rem; }
.cookie p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; }
.cookie p a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie__btns .btn { padding: 0.7rem 1.2rem; font-size: 0.84rem; }

/* ---------------------------- Legal / docs ----------------------------- */
.doc-hero { background: var(--green-950); color: var(--white); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.doc-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 90% 0%, rgba(39,192,122,0.14), transparent 55%); }
.doc-hero .wrap { position: relative; z-index: 1; }
.doc-hero .eyebrow { color: var(--amber); }
.doc-hero .eyebrow::before { background: var(--amber); }
.doc-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin-top: 1rem; }
.doc-hero p { margin-top: 1rem; color: rgba(255,255,255,0.72); max-width: 60ch; }
.doc-hero .updated { margin-top: 1.5rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; }

.doc { padding-block: clamp(3rem, 6vw, 5rem); }
.doc__grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: 90px; border-left: 2px solid var(--paper-line); padding-left: 1.2rem; }
.toc h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem; }
.toc a { display: block; font-size: 0.9rem; color: var(--ink-soft); padding: 0.35rem 0; transition: color 0.2s; }
.toc a:hover { color: var(--green-700); }

.doc__body { max-width: 72ch; }
.doc__body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.6rem 0 1rem; padding-top: 0.5rem; scroll-margin-top: 90px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.doc__body p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.doc__body ul { margin: 0 0 1.3rem 0; display: grid; gap: 0.6rem; }
.doc__body ul li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.doc__body ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--green-600); }
.doc__body a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.doc__body a:hover { color: var(--green-500); }
.doc__body strong { color: var(--ink); }
.callout {
  background: var(--white); border: 1px solid var(--paper-line); border-left: 4px solid var(--green-600);
  border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 1.5rem 0; box-shadow: var(--shadow-sm);
}
.callout p { margin-bottom: 0; color: var(--ink); }
.callout strong { color: var(--green-700); }
.data-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; font-size: 0.94rem; }
.data-table th, .data-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.data-table th { font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.data-table td { color: var(--ink-soft); }
.data-table tr:hover td { background: rgba(12,92,55,0.04); }

/* --------------------------- Scroll reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ------------------------------ Utilities ------------------------------ */
.center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--green-700); margin-top: 2.5rem; }
.back-link:hover { gap: 0.75rem; }

/* ---------------------------- Responsive ------------------------------- */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 1rem var(--gutter) 1.5rem; gap: 0.2rem; border-bottom: 1px solid var(--paper-line); transform: translateY(-140%); transition: transform 0.35s var(--ease); box-shadow: var(--shadow-md); }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 0.85rem 0.5rem; }
  .nav__burger { display: grid; place-items: center; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats div:nth-child(3) { border-left: none; }
  .bridge, .contact { grid-template-columns: 1fr; }
  .doc__grid { grid-template-columns: 1fr; }
  .toc { position: static; border-left: none; border-top: 2px solid var(--paper-line); padding-left: 0; padding-top: 1.2rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .tunnel { grid-template-columns: 1fr auto; }
  .tunnel__bar { display: none; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .cookie { grid-template-columns: 1fr; }
  .bridge__facts { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
