/* GAEB Pro — gaeb-pro.de
   Gestaltungslinie „Blaupause & Baustellendokument":
   Navy-Blueprint mit feinem Raster, Inhalte auf Papierbögen,
   Orange als Kran-Akzent, Monospace für OZ und GAEB-Kürzel. */

/* ---------- Schriften (selbst gehostet, DSGVO-sauber) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Token ---------- */
:root {
  --navy-950: #0b1c2c;
  --navy-900: #0e2236;
  --navy-800: #14304a;
  --navy-700: #1e4668;
  --ink: #16344e;
  --ink-soft: #3d5a75;
  --paper: #f7f9fb;
  --paper-warm: #edf2f7;
  --card: #ffffff;
  --line: #d4dde6;
  --orange: #e0791a;
  --orange-bright: #f7a82d;
  --orange-deep: #c2660f;
  --grid-line: rgba(255, 255, 255, 0.05);
  --grid-major: rgba(255, 255, 255, 0.075);
  --sans: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(14, 34, 54, 0.06), 0 12px 32px -12px rgba(14, 34, 54, 0.18);
  --shadow-sheet: 0 2px 6px rgba(11, 28, 44, 0.25), 0 32px 64px -24px rgba(11, 28, 44, 0.55);
  --maxw: 1120px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.blueprint {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(var(--grid-major) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--grid-major) 1.5px, transparent 1.5px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 256px 256px, 256px 256px, 64px 64px, 64px 64px;
}

/* ---------- Header ---------- */
header.site {
  position: relative;
  z-index: 5;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: rgba(255, 255, 255, 0.82); }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { color: #fff; overflow: hidden; position: relative; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 104px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange-bright);
}
.hero .lede {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34em;
  margin: 0 0 34px;
  font-weight: 400;
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(224, 121, 26, 0.65);
}
.badge-store svg { flex: none; }
.cta-note {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

/* Hero-Einstiegsanimation */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .rise-1 { animation-delay: 0.05s; }
  .rise-2 { animation-delay: 0.15s; }
  .rise-3 { animation-delay: 0.25s; }
  .rise-4 { animation-delay: 0.35s; }
  .rise-5 { animation-delay: 0.3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- LV-Blatt (Hero-Visual, reines CSS) ---------- */
.lv-stage { position: relative; }
.lv-sheet {
  background: var(--card);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sheet);
  transform: rotate(-1.6deg);
  overflow: hidden;
  position: relative;
}
.lv-sheet::before {           /* Eselsohr */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  background: linear-gradient(225deg, var(--navy-900) 50%, #c7d4e1 50.5%);
}
.lv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 2px solid var(--ink);
}
.lv-title { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.lv-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-right: 30px;
}
.lv-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lv-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--paper-warm);
  white-space: nowrap;
}
.lv-table td:first-child { padding-left: 18px; }
.lv-table td:last-child { padding-right: 18px; }
.lv-table .oz { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.lv-table .txt { white-space: normal; min-width: 9em; font-weight: 500; }
.lv-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.lv-table .unit { color: var(--ink-soft); font-size: 12.5px; }
.lv-row-alert { position: relative; background: rgba(224, 121, 26, 0.07); }
.lv-row-alert::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: rgba(224, 121, 26, 0.6);
}
.lv-row-alert .missing {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--orange-deep);
}
.lv-sum td {
  border-bottom: none;
  border-top: 2px solid var(--ink);
  font-weight: 800;
  padding-top: 13px;
  padding-bottom: 16px;
}
.lv-sum .num { font-size: 14px; }
.lv-chip {
  position: absolute;
  bottom: -18px;
  left: 26px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(11, 28, 44, 0.6);
  transform: rotate(-1.6deg);
}
.lv-chip b { color: var(--orange-bright); font-weight: 500; }
.icon-float {
  position: absolute;
  top: -26px;
  right: -14px;
  width: 92px;
  height: 92px;
  border-radius: 22.37%;
  box-shadow: 0 16px 40px -10px rgba(11, 28, 44, 0.7);
  transform: rotate(2.5deg);
}

/* ---------- Formatband ---------- */
.tape {
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}
.tape span { padding: 0 14px; opacity: 0.92; }

/* ---------- Abschnitte ---------- */
section.block { padding: 88px 0; }
.block-head { max-width: 640px; margin-bottom: 52px; }
.block h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.block .sub { font-size: 18px; color: var(--ink-soft); margin: 0; }

/* Funktionen */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(14, 34, 54, 0.06), 0 20px 44px -16px rgba(14, 34, 54, 0.26);
}
.feature .no {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.feature h3 { font-size: 18.5px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ---------- Preis ---------- */
.pricing { background: var(--paper-warm); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 18px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.price-card.featured { border: 2px solid var(--orange); }
.price-card .plan { font-weight: 700; font-size: 17px; }
.price-card .price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 2px;
  font-variant-numeric: tabular-nums;
}
.price-card .per { color: var(--ink-soft); font-size: 14.5px; }
.save-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}
.price-note .fine { font-family: var(--mono); font-size: 12px; display: block; margin-top: 8px; }

/* ---------- Footer ---------- */
footer.site {
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 40px;
  font-size: 14.5px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot-col p { margin: 10px 0 0; max-width: 30em; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: rgba(255, 255, 255, 0.75); }
.foot-links a:hover { color: #fff; }
.foot-legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Rechtsseiten ---------- */
.doc-hero { color: #fff; padding-bottom: 64px; }
.doc-hero .eyebrow { margin-top: 40px; }
.doc-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.doc-sheet {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  padding: 48px 52px;
  margin: -36px auto 88px;
  max-width: 820px;
  position: relative;
}
.doc-sheet h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.doc-sheet h2:first-child { margin-top: 0; }
.doc-sheet h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.doc-sheet p, .doc-sheet li { font-size: 16px; line-height: 1.7; color: #2b455c; }
.doc-sheet .addr { line-height: 1.7; font-style: normal; }
.doc-sheet .stand {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-warm);
}

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  /* minmax(0, …): 1fr allein schrumpft nie unter die Min-Content-Breite
     der LV-Tabelle → Seite würde horizontal überlaufen. */
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; padding-bottom: 88px; }
  .lv-stage { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .doc-sheet { padding: 32px 24px; margin-top: -24px; }
  /* Schmale Screens: nur OZ · Text · EP zeigen (Menge und GP ausblenden);
     table-layout: fixed zwingt die Tabelle in die Blattbreite. */
  .lv-table { font-size: 12px; table-layout: fixed; }
  .lv-table td { padding: 9px 6px; white-space: normal; }
  .lv-table td:nth-child(3), .lv-table td:nth-child(5) { display: none; }
  .lv-table tr:first-child td:nth-child(1) { width: 58px; }
  .lv-table tr:first-child td:nth-child(4) { width: 88px; }
  .lv-table .txt { min-width: 0; }
  .lv-sheet { transform: rotate(-1deg); }
  .icon-float { width: 72px; height: 72px; top: -20px; right: -6px; }
  section.block { padding: 64px 0; }
}
