/* 5startrading – Stylesheet (Farben aus dem Logo: Lime #CAD227, Grau #616264) */
:root {
  --lime: #cad227;
  --lime-soft: #f3f5d3;
  --lime-ink: #5b6000;
  --ink: #1d1f21;
  --grey: #55575a;
  --grey-light: #8a8c8f;
  --paper: #fafaf7;
  --white: #ffffff;
  --line: #e4e5dd;
  --dark: #1d1f21;
  --radius: 14px;
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--font);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--lime); }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime-ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .45em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 10; }

/* Kopfbereich */
.kopf { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.kopf .logo img { width: 230px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.nav li { margin: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--grey); text-decoration: none; font-size: .93rem; font-weight: 550; }
.nav a:hover { background: var(--lime-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.menue { display: none; }

/* Buttons */
.knopf { display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px; border-radius: 999px; font-weight: 650; text-decoration: none; font-size: 1rem; transition: transform .15s ease, background .15s ease; }
.knopf:hover { transform: translateY(-2px); }
.knopf-voll { background: var(--ink); color: var(--white); }
.knopf-voll:hover { background: #000; color: var(--white); }
.knopf-lime { background: var(--lime); color: var(--ink); }
.knopf-lime:hover { background: #d9e03a; color: var(--ink); }
.knopf-rand { border: 2px solid var(--ink); color: var(--ink); }
.knopf-rand:hover { background: var(--ink); color: var(--white); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { background: var(--white); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-bild { justify-self: end; width: min(100%, 420px); }
.hero-bild img { filter: drop-shadow(0 30px 40px rgba(150, 160, 0, .18)); }
.dachzeile { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-ink); margin-bottom: 18px; }
.dachzeile::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--lime); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.lead { font-size: 1.22rem; color: var(--grey); max-width: 36em; }
.seitenkopf { background: var(--white); border-bottom: 1px solid var(--line); }
.seitenkopf .wrap { padding-top: 56px; padding-bottom: 56px; position: relative; }
.seitenkopf h1 { max-width: 18em; }
.seitenkopf .lead { margin-bottom: 0; }
.brotkrumen { font-size: .85rem; color: var(--grey-light); margin-bottom: 22px; }
.brotkrumen a { color: var(--grey-light); }
.brotkrumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brotkrumen li { margin: 0; }
.brotkrumen li + li::before { content: "/"; margin-right: 6px; }

/* Abschnitte */
.abschnitt { padding: 88px 0; }
.abschnitt-weiss { background: var(--white); }
.abschnitt-dunkel { background: var(--dark); color: #e9eae4; }
.abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: var(--white); }
.abschnitt-dunkel a { color: var(--lime); text-decoration-color: rgba(202, 210, 39, .5); }
.abschnitt-dunkel a:hover { color: var(--white); }
.abschnitt-kopf { max-width: 760px; margin-bottom: 48px; }
.abschnitt-kopf p { color: var(--grey); font-size: 1.12rem; }
.abschnitt-dunkel .abschnitt-kopf p { color: #b9bbb3; }
.abschnitt-dunkel .dachzeile { color: var(--lime); }

.raster { display: grid; gap: 24px; }
.raster-2 { grid-template-columns: repeat(2, 1fr); }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster-4 { grid-template-columns: repeat(4, 1fr); }

.karte { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.karte h3 { margin-bottom: .45em; }
.karte p { color: var(--grey); }
.karte .mehr { margin-top: auto; font-weight: 650; }
.karte-nummer { font-size: 2.8rem; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 16px; letter-spacing: -0.04em; }
.abschnitt-weiss .karte { background: var(--paper); }

.netz-karte { position: relative; padding-top: 34px; transition: border-color .15s ease, transform .15s ease; }
.netz-karte:hover { border-color: var(--lime); transform: translateY(-3px); }
.netz-karte .etikett { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 8px; }
.netz-karte .links { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .97rem; }

/* Zeitleiste */
.zeitleiste { list-style: none; padding: 0; margin: 0; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.zeitleiste li { position: relative; padding-left: 44px; margin-bottom: 34px; }
.zeitleiste li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px var(--white); }
.abschnitt-weiss .zeitleiste li::before { box-shadow: 0 0 0 5px var(--white); }
.zeitleiste .jahr { display: block; font-size: .85rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-ink); }
.zeitleiste h3 { margin: 4px 0 6px; }
.zeitleiste p { color: var(--grey); margin: 0; }

/* Zweispaltig */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-schmal { grid-template-columns: 1fr 1.4fr; }
.inhalt { max-width: 760px; }
.inhalt h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.inhalt h2:first-child { margin-top: 0; }
.inhalt h3 { margin-top: 1.4em; }

/* Kennzahlen */
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 40px; }
.fakten div { background: var(--white); padding: 24px; }
.fakten dt { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 6px; }
.fakten dd { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }

/* Tabelle */
.tabelle-huelle { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .97rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: var(--white); font-weight: 650; }
thead th:first-child { background: #2c2e31; }
tbody th { font-weight: 650; color: var(--grey); width: 18%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Hinweis & Zitat */
.hinweis { border-left: 4px solid var(--lime); background: var(--lime-soft); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin: 32px 0; }
.hinweis p:last-child { margin-bottom: 0; }
.zitat { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 650; line-height: 1.35; letter-spacing: -0.015em; margin: 0; }
.zitat::before { content: "„"; color: var(--lime); }
.zitat::after { content: "“"; color: var(--lime); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 650; padding: 18px 40px 18px 0; list-style: none; position: relative; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--lime-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--grey); padding-right: 40px; }

/* Häkchenliste */
.haken { list-style: none; padding: 0; }
.haken li { position: relative; padding-left: 32px; }
.haken li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 10px; border-left: 3px solid var(--lime-ink); border-bottom: 3px solid var(--lime-ink); transform: rotate(-45deg); }

/* Kontaktband */
.band { background: var(--lime); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.band p { margin: 0; color: #2e3000; }

/* Fuß */
.fuss { background: var(--dark); color: #b9bbb3; font-size: .95rem; }
.fuss .wrap { padding-top: 64px; padding-bottom: 32px; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.fuss img { width: 220px; margin-bottom: 18px; }
.fuss h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss a { color: #e3e5dc; text-decoration: none; }
.fuss a:hover { color: var(--lime); }
.fuss address { font-style: normal; }
.fuss-unten { border-top: 1px solid #34363a; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.fuss-unten ul { display: flex; gap: 20px; }

/* Rechtstexte */
.recht h2 { font-size: 1.35rem; margin-top: 2em; }
.recht h3 { font-size: 1.08rem; margin-top: 1.5em; }
.recht p, .recht li { color: #3b3d40; }

/* Responsiv */
@media (max-width: 1140px) {
  .raster-4 { grid-template-columns: repeat(2, 1fr); }
  .fakten { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .menue { display: block; position: relative; }
  .menue summary { list-style: none; cursor: pointer; font-weight: 650; padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; font-size: .95rem; }
  .menue summary::-webkit-details-marker { display: none; }
  .menue[open] summary { background: var(--ink); color: var(--white); }
  .menue ul { list-style: none; margin: 0; padding: 10px; position: absolute; right: 0; top: calc(100% + 10px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.12); width: min(300px, calc(100vw - 32px)); }
  .menue li { margin: 0; }
  .menue a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 550; }
  .menue a:hover, .menue a[aria-current="page"] { background: var(--lime-soft); }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero .wrap, .split, .split-schmal { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero-bild { justify-self: start; width: 180px; order: -1; }
  .raster-2, .raster-3 { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr; gap: 32px; }
  .abschnitt { padding: 64px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .kopf .logo img { width: 180px; }
  .raster-4, .fakten { grid-template-columns: 1fr; }
  .karte { padding: 24px; }
  .knopf { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .netz-karte { transition: none; }
}
@media print {
  .kopf, .band, .menue, .nav { display: none; }
  body { background: #fff; }
}
