/* aluminium-koffer.com — Design-Tokens + Basis
   Charakter: nüchtern, datengetragen, vertrauenswürdig (Brief: Reference/brief.md)
   Bewusst KEIN Prezor-Look, kein Marketing-Build. */

:root {
  /* Farbe: Neutrale-Rampe + Vertrauens-Blau + Semantik-Grün */
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #16161a;
  --ink-2: #444444;
  --ink-3: #6b6b6b;
  --line: #e0ded8;
  --line-strong: #b8b5ac;
  --blue: #17457e;
  --blue-dark: #0e3260;
  --blue-tint: #f1efe8;   /* Empfehlungs-Hervorhebung, 5-8% */
  --green: #2f6b3f;
  --amber: #9a6700;

  /* Typo: durchgehend Sans (Jonas mag keine Serifen). Redaktioneller Charakter
     entsteht ueber Layout, Linien und Farbe, nicht ueber die Schriftklasse. */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-head: var(--font);
  --fs-0: 14px;
  --fs-1: 16px;
  --fs-2: 18px;
  --fs-3: 22px;
  --fs-4: 27px;
  --fs-5: 34px;
  --fs-6: 42px;

  /* Spacing 8pt */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px;

  --radius-s: 2px;
  --radius-m: 2px;
  --shadow-1: none;
  --shadow-2: none;
  --container: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--fs-1);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-4); }

/* ---------- Typo ---------- */
h1 { font-family: var(--font-head); font-size: var(--fs-6); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-family: var(--font-head); font-size: var(--fs-4); line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; }
h3 { font-family: var(--font-head); font-size: var(--fs-3); line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.prose { max-width: 65ch; }
.prose p + p { margin-top: var(--s-4); }
.prose h2 { margin: var(--s-7) 0 var(--s-4); }
.prose h3 { margin: var(--s-6) 0 var(--s-3); }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: var(--s-3); }
.prose li + li { margin-top: var(--s-2); }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-0); }
strong { font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ad-note {
  background: #f4f4f4;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  padding: var(--s-2) 0;
}
.ad-note a { color: var(--ink-3); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--s-4);
  max-width: var(--container); margin: 0 auto;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700; font-size: var(--fs-2); color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.logo .tld { color: var(--blue); }
.main-nav { display: flex; gap: var(--s-5); }
.main-nav a {
  color: var(--ink-2); text-decoration: none; font-size: var(--fs-0); font-weight: 500;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: var(--s-4) 0 0;
  font-size: 13px; color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-hidden] { margin: 0 6px; color: var(--line-strong); }

/* ---------- Intro: zweispaltig wie im Zeitungssatz, nutzt die volle Breite
     ohne die Zeilen unlesbar lang werden zu lassen ---------- */
.intro { padding-bottom: var(--s-6); max-width: none; }
.intro p + p { margin-top: var(--s-4); }
@media (min-width: 900px) {
  .intro {
    column-count: 2;
    column-gap: var(--s-8);
    column-rule: 1px solid var(--line);
  }
  .intro p { margin-top: 0; break-inside: avoid; }
  .intro p + p { margin-top: var(--s-4); }
}
.reco-head {
  margin: var(--s-6) 0 var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}

/* ---------- Seitenkopf ---------- */
.page-head { padding: var(--s-7) 0 var(--s-6); }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--s-3);
}
.page-head .sub { font-size: var(--fs-3); color: var(--ink-2); margin-top: var(--s-3); font-weight: 400; }
.meta-row {
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-0); color: var(--ink-3);
}
.meta-row .num { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Vergleichstabelle (Signature) ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
table.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 860px;
  font-size: var(--fs-0);
}
.compare th, .compare td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  position: sticky; top: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--line-strong);
  font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-3); font-weight: 600;
  z-index: 2;
}
.compare tbody tr:hover { background: #faf9f6; }
.compare tbody tr.reco, .compare tbody tr.reco:hover { background: var(--blue-tint); }
.compare td.num, .compare th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare .prod { font-weight: 600; color: var(--ink); }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no { color: var(--ink-3); }

.flag {
  display: inline-block;
  background: transparent; color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 0; border-bottom: 2px solid var(--blue);
  padding: 0 0 3px; margin-bottom: var(--s-3);
}
.flag.neutral { background: var(--ink-3); }

/* ---------- Mini-Thumbs in der Vergleichstabelle ---------- */
.prod-cell { display: flex; align-items: center; gap: var(--s-3); }
.prod-cell .thumb {
  flex: 0 0 44px; width: 44px; height: 44px;
  object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: 2px; padding: 2px;
}

/* ---------- Produkt-Eintraege (Listenlogik, keine Karten) ---------- */
.product-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: var(--s-6) 0;
  margin-top: 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: var(--s-6);
  transition: box-shadow .18s ease-out, transform .18s ease-out;
}
/* Empfehlungskarte: Produkt groß zeigen (Kaufentscheidung hängt am Bild) */
.product-card.reco-card { background: var(--blue-tint); border-left: 3px solid var(--blue); padding-left: var(--s-5); padding-right: var(--s-5); }
.product-card.reco { grid-template-columns: 300px 1fr; gap: var(--s-7); }
.product-card.reco .media img { max-width: 300px; }
.product-card:hover { background: rgba(0,0,0,.012); }
.product-card.reco-card { background: var(--blue-tint); border-left: 3px solid var(--blue); padding-left: var(--s-5); padding-right: var(--s-5); }
.product-card.reco {
  background: var(--blue-tint);
  border: 0; border-left: 3px solid var(--blue);
  padding: var(--s-6); margin-bottom: var(--s-7);
}
.product-card.reco:hover { background: var(--blue-tint); }
.product-card .media {
  display: flex; align-items: flex-start; justify-content: center;
}
.product-card .media img {
  max-width: 100%; height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: var(--s-2);
}
.product-card h3 { margin-bottom: var(--s-2); }
.plus-minus { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin: var(--s-4) 0; }
.plus-minus ul { list-style: none; }
.plus-minus li { padding-left: 22px; position: relative; margin-top: var(--s-2); font-size: var(--fs-0); }
.plus li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.minus li::before { content: "–"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.data-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-3) var(--s-5);
  border-top: 1px solid var(--line);
  padding-top: var(--s-4); margin-top: var(--s-4);
  font-size: var(--fs-0);
}
.data-grid dt { color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.data-grid dd { font-weight: 600; font-variant-numeric: tabular-nums; }

.card-cta-row { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-4); flex-wrap: wrap; }
.price { font-size: var(--fs-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.price .was { font-size: var(--fs-0); color: var(--ink-3); text-decoration: line-through; font-weight: 400; margin-left: var(--s-2); }

.btn {
  display: inline-block;
  background: var(--blue); color: #fff;
  font-weight: 600; font-size: var(--fs-0);
  padding: 10px 18px; border-radius: 2px;
  text-decoration: none;
  transition: background .15s ease-out, transform .1s ease-out;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn.ghost:hover { background: var(--blue-tint); }

/* ---------- Sektionen ---------- */
.section { padding: var(--s-8) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: var(--s-5); }
.section-head p { color: var(--ink-2); margin-top: var(--s-2); max-width: 65ch; }

/* ---------- FAQ ---------- */
.faq details {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  margin-top: 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: var(--s-4) 0;
  list-style: none; position: relative; padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: var(--s-1); top: 50%;
  transform: translateY(-50%);
  color: var(--blue); font-size: var(--fs-3); font-weight: 400;
  transition: transform .18s ease-out;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 var(--s-6) var(--s-5) 0; max-width: 70ch; color: var(--ink-2); }

/* ---------- Hinweis-Boxen ---------- */
.note-box {
  background: transparent;
  border: 0; border-top: 1px solid var(--line);
  padding: var(--s-4) 0 0;
  font-size: 13px; line-height: 1.6;
  color: var(--ink-3);
  margin: var(--s-7) 0 0;
  max-width: 78ch;
}
.note-box strong { color: var(--ink-2); }

/* ---------- Airline-Tabelle (Pass/Fail) ---------- */
.pass { color: var(--green); font-weight: 700; }
.fail { color: #b3261e; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--s-9);
  background: #efece5;
  border-top: 1px solid var(--line);
  padding: var(--s-7) 0;
  font-size: var(--fs-0);
  color: var(--ink-3);
}
.footer-disclosure { max-width: 75ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); margin-top: var(--s-5); }
.footer-links a { color: var(--ink-2); }

/* ---------- Scroll-Hinweis (nur mobil sichtbar) ---------- */
.scroll-hint { display: none; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  :root { --fs-6: 30px; --fs-5: 26px; --fs-4: 23px; }
  .page-head { padding: var(--s-6) 0 var(--s-5); }
  .section { padding: var(--s-7) 0; }
  .product-card, .product-card.reco-card { background: var(--blue-tint); border-left: 3px solid var(--blue); padding-left: var(--s-5); padding-right: var(--s-5); }
.product-card.reco { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-4); }
  .product-card .media { justify-content: flex-start; }
  .product-card .media img { max-width: 180px; }
  .product-card.reco .media img { max-width: 100%; }
  .plus-minus { grid-template-columns: 1fr; gap: var(--s-3); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .main-nav { gap: var(--s-2) var(--s-4); flex-wrap: wrap; font-size: 13px; }
  .scroll-hint { display: block; }
  /* Scroll-Affordanz: Fade-Kante rechts an breiten Tabellen */
  .table-wrap {
    background:
      linear-gradient(90deg, var(--surface) 30%, rgba(255,255,255,0)),
      linear-gradient(270deg, var(--surface) 30%, rgba(255,255,255,0)) 100% 0,
      linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,0)),
      linear-gradient(270deg, rgba(0,0,0,.10), rgba(0,0,0,0)) 100% 0;
    background-repeat: no-repeat;
    background-size: 48px 100%, 48px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
  }
  .compare tbody tr:hover { background: transparent; }
  .compare tbody tr.reco, .compare tbody tr.reco:hover { background: var(--blue-tint); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
