/* ================================================
   GRK GEREKE — EDITORIAL DESIGN SYSTEM
   IAB / Paketstationen — Seiten-Stylesheet
   ================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

:root {
  /* Farben */
  --navy: #0d1b2e;
  --navy-2: #1a2d45;
  --blue: #2c4f8a;
  --blue-mid: #4a7bc8;
  --blue-muted: #6b8ebf;
  --blue-pale: #dce8f5;
  --gray-900: #0d1b2e;
  --gray-700: #2d3d52;
  --gray-500: #5a6a7e;
  --gray-400: #8494a8;
  --gray-200: #dde4ec;
  --gray-100: #eef2f7;
  --off-white: #f5f7fa;
  --white: #ffffff;

  --primary: #4a7bc8;
  --primary-dark: #143370;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --bg-secondary: #f8fafc;
  --border-light: rgba(0, 0, 0, 0.06);

  /* Spacing */
  --s-6: 64px; --s-7: 96px; --s-8: 128px;

  /* Typography */
  --font: 'Urbanist', 'Inter', -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 48px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 900px) { .container { padding: 0 24px; } }

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, .h1 {
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: var(--navy);
}
h2, .h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--navy);
}
h3, .h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--navy);
}
h4, .h4 { font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--gray-900); }

p { line-height: 1.90; color: var(--gray-700); }
p + p { margin-top: 1.4em; }

.section-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -0.028em;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.12;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.80;
  max-width: 620px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header--left { text-align: left; }
.section-header--left .section-subtitle { margin: 0; }

.grk-sec-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}

/* Section rhythm */
.grk-section-lg { padding: var(--s-8) 0; }
.grk-section-md { padding: var(--s-7) 0; }
.grk-section-sm { padding: var(--s-6) 0; }

/* ================================================
   HEADER — transparent on hero, solid on scroll
   ================================================ */

.grk-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
  box-shadow: none;
}
.grk-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: padding 0.3s ease;
}
.grk-header .grk-logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.grk-header.grk-solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(13,27,46,0.09);
}
.grk-header.grk-solid .grk-header-inner { padding-top: 14px; padding-bottom: 14px; }
.grk-header.grk-solid .grk-logo img { filter: none; opacity: 1; }

.grk-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.grk-nav > li { position: relative; }
.grk-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.94);
  transition: color 0.2s ease;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(8,18,44,0.35);
}
.grk-nav a:hover { color: #ffffff; }
.grk-header.grk-solid .grk-nav a { text-shadow: none; }
.grk-header.grk-solid .grk-nav a { color: var(--gray-700); }
.grk-header.grk-solid .grk-nav a:hover { color: var(--blue-mid); }

.grk-nav .nav-cta a {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 2px;
  font-weight: 500;
}
.grk-header.grk-solid .grk-nav .nav-cta a {
  background: #3d6cbd;
  border-color: #3d6cbd;
  color: #ffffff;
}
.grk-header.grk-solid .grk-nav .nav-cta a:hover { background: #2e5aaa; }

@media (max-width: 1024px) {
  .grk-nav { display: none; }
  .grk-header-inner { padding: 16px 24px; }
  .grk-header .grk-logo img { height: 28px; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .grk-nav { gap: 20px; }
  .grk-nav a { font-size: 13px; }
}

/* ================================================
   HERO V3 — same photo & layer system as homepage
   ================================================ */

.grk-hero-v3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('/assets/hero-station.jpg?v=20260829');
  background-size: cover;
  /* X wirkt auf hohen Fenstern, Y auf breiten — beide so gesetzt,
     dass die Stationsreihe in jedem Format im Bild bleibt. */
  background-position: 66% 62%;
}
.grk-hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,18,44,0.68) 0%,
    rgba(8,18,44,0.44) 35%,
    rgba(8,18,44,0.18) 55%,
    rgba(8,18,44,0.06) 75%
  );
  z-index: 1;
  pointer-events: none;
}
.grk-hero-v3::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,18,44,0.55) 0%, transparent 16%),
    linear-gradient(rgba(10,20,50,0.18), rgba(10,20,50,0.18)),
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 40%,
      rgba(8,18,44,0.08) 70%,
      rgba(8,18,44,0.18) 100%
    );
  z-index: 1;
  pointer-events: none;
}
.grk-hero-v3-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 200px var(--gutter) 120px;
}
.grk-hero-v3-content { max-width: 520px; }

.grk-hero-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 60px;
  display: block;
}
.grk-hero-v3 h1 {
  color: #ffffff;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 300;
  letter-spacing: -0.034em;
  line-height: 1.09;
  margin-bottom: 48px;
}
.grk-hero-desc {
  font-size: 14px;
  line-height: 2.0;
  color: rgba(255,255,255,0.82);
  margin-bottom: 64px;
  max-width: 460px;
}
.grk-hero-desc strong { color: #ffffff; font-weight: 500; }
.grk-hero-desc small {
  display: block;
  margin-top: 20px;
  opacity: 0.62;
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
.grk-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 80px; }

.grk-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.grk-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.80);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.grk-trust-item::before {
  content: '';
  display: flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.5 4.5l-7 7-3-3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .grk-hero-v3-inner { padding: 150px 24px 80px; }
  .grk-hero-v3-content { max-width: 100%; }
  .grk-hero-sub { margin-bottom: 40px; letter-spacing: 0.20em; }
  .grk-hero-v3 h1 { font-size: clamp(36px, 8vw, 52px); margin-bottom: 32px; }
  .grk-hero-desc { margin-bottom: 44px; max-width: 100%; }
  .grk-hero-btns { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 52px; }
  .grk-hero-trust { gap: 18px; padding-top: 28px; }
}

/* ================================================
   BUTTONS
   ================================================ */

.grk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}
.grk-btn-primary { background: #3d6cbd; color: rgba(255,255,255,0.95); border-color: #3d6cbd; }
.grk-btn-primary:hover { background: #2e5aaa; border-color: #2e5aaa; color: white; }
.grk-btn-outline { background: transparent; color: rgba(255,255,255,0.62); border-color: rgba(255,255,255,0.16); }
.grk-btn-outline:hover { border-color: rgba(255,255,255,0.42); color: rgba(255,255,255,0.85); }
.grk-btn-outline-dark { background: transparent; color: var(--blue); border-color: rgba(44,79,138,0.28); }
.grk-btn-outline-dark:hover { border-color: var(--blue-mid); color: var(--blue-mid); }

/* ================================================
   DISCLAIMER RIBBON
   ================================================ */

.grk-notice {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.grk-notice p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.7;
  text-align: center;
}
.grk-notice strong { color: var(--gray-700); font-weight: 600; }

/* ================================================
   STAT STRIPS
   ================================================ */

.grk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.grk-stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grk-stats.cols-6 { grid-template-columns: repeat(6, 1fr); }
.grk-stat {
  background: var(--white);
  padding: 28px 24px;
  text-align: center;
}
.grk-stat .num {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.1;
}
.grk-stat .num em { font-style: normal; color: var(--blue-mid); }
.grk-stat .lbl { font-size: 12.5px; color: var(--gray-500); line-height: 1.5; display: block; }
@media (max-width: 900px) {
  .grk-stats, .grk-stats.cols-4, .grk-stats.cols-6 { grid-template-columns: repeat(2, 1fr); }
}

.grk-source {
  font-size: 11.5px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 16px;
}

/* ================================================
   MECHANIK — nummerierte Hebel-Karten
   ================================================ */

.grk-lever-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 900px) { .grk-lever-grid { grid-template-columns: 1fr; } }
.grk-lever {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  transition: background-color 0.25s ease;
}
.grk-lever::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue-mid);
}
.grk-lever:hover { background: var(--off-white); }
.grk-lever .num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-mid);
  display: block;
  margin-bottom: 18px;
}
.grk-lever h3 { margin-bottom: 6px; font-size: 20px; }
.grk-lever .law { font-size: 13px; color: var(--gray-400); margin-bottom: 16px; display: block; }
.grk-lever p { font-size: 14.5px; line-height: 1.8; color: var(--gray-500); }
.grk-lever .pct {
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 14px;
}
.grk-lever .pct small { font-size: 15px; color: var(--gray-400); font-weight: 400; letter-spacing: 0; }

/* Voraussetzungen / Checklisten */
.grk-check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.grk-check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}
.grk-check-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5l-7 7-3-3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.grk-check-list li strong { color: var(--navy); font-weight: 500; }

.grk-warn-list li::before {
  background: var(--gray-400);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.6' r='0.9' fill='white'/%3E%3C/svg%3E");
}

.grk-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .grk-2col { grid-template-columns: 1fr; gap: 40px; } }

/* ================================================
   BEISPIELRECHNUNG — Tabelle
   ================================================ */

.grk-calc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,27,46,0.06);
}
.grk-calc-card table { width: 100%; border-collapse: collapse; }
.grk-calc-card th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 16px 28px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}
.grk-calc-card td {
  padding: 13px 28px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.grk-calc-card td:last-child { text-align: right; font-weight: 500; color: var(--navy); white-space: nowrap; }
.grk-calc-card tr.sub td { color: var(--gray-500); font-size: 13.5px; }
.grk-calc-card tr.total td {
  background: var(--navy);
  color: #ffffff;
  font-weight: 500;
  font-size: 15.5px;
  border-bottom: none;
}
.grk-calc-card tr.total td:last-child { color: #ffffff; }
.grk-calc-card tr.plus td:last-child { color: var(--blue-mid); }
/* Vergleichstabellen mit Text statt Zahlen: letzte Spalte normal umbrechen */
.grk-calc-card.grk-tbl-text td:last-child {
  text-align: left;
  white-space: normal;
  font-weight: 400;
  color: var(--gray-700);
}

/* ================================================
   PRODUCT CARDS — Modelle
   ================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background-color 0.25s ease;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue-mid);
}
.product-card.featured::before { background: var(--navy); }
.product-card:hover { background: var(--off-white); }
.product-card h3 { font-size: 21px; font-weight: 500; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.015em; }
.product-card .gen { font-size: 12.5px; color: var(--gray-400); margin-bottom: 14px; display: block; }
.product-price { font-size: 15px; color: var(--blue-mid); font-weight: 500; margin-bottom: 20px; }
.product-card.featured .product-price { color: var(--navy); }
.product-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  border: 1px solid rgba(74,123,200,0.45);
  border-radius: 2px;
  padding: 4px 8px;
}
.product-features {
  list-style: none;
  margin: 0 0 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
  flex: 1;
}
.product-features li {
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.product-features li span { color: var(--gray-500); }
.product-features li strong { color: var(--navy); font-weight: 500; text-align: right; }
.product-cta {
  display: block;
  text-align: center;
  padding: 13px 20px;
  background: var(--blue-mid);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14.5px;
  margin-top: auto;
  transition: background-color 0.2s ease;
  border: 1px solid var(--blue-mid);
}
.product-cta:hover { background: var(--navy-2); border-color: var(--navy-2); color: white; }
.product-card.featured .product-cta { background: var(--navy); border-color: var(--navy); }
.product-card.featured .product-cta:hover { background: var(--navy-2); }

/* ================================================
   STEPS — Ablauf
   ================================================ */

.grk-steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.grk-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
}
.grk-step:last-child { border-bottom: none; }
.grk-step .num {
  font-size: 26px;
  font-weight: 300;
  color: var(--blue-mid);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.grk-step h3 { font-size: 18px; margin-bottom: 6px; }
.grk-step p { font-size: 14.5px; line-height: 1.8; color: var(--gray-500); }

/* ================================================
   FRISTEN-TIMELINE
   ================================================ */

.grk-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 56px;
}
.grk-timeline::before {
  content: '';
  position: absolute;
  top: 7px; left: 10px; right: 10px;
  height: 2px;
  background: var(--gray-200);
}
.grk-tl-item { position: relative; padding-top: 36px; }
.grk-tl-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-mid);
}
.grk-tl-item.deadline::before { background: var(--navy); border-color: var(--navy); }
.grk-tl-item .tl-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
}
.grk-tl-item.deadline .tl-tag { color: var(--navy); }
.grk-tl-item .yr {
  display: block;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.grk-tl-item h3 { font-size: 16px; margin-bottom: 8px; }
.grk-tl-item p { font-size: 13.5px; line-height: 1.75; color: var(--gray-500); }
@media (max-width: 900px) {
  .grk-timeline { grid-template-columns: 1fr; gap: 32px; }
  .grk-timeline::before { top: 10px; bottom: 10px; left: 7px; right: auto; width: 2px; height: auto; }
  .grk-tl-item { padding-top: 0; padding-left: 38px; }
}

/* ================================================
   EINWÄNDE / KLARTEXT
   ================================================ */

.grk-objections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 800px) { .grk-objections { grid-template-columns: 1fr; } }
.grk-objection {
  background: var(--white);
  padding: 38px 36px;
  transition: background-color 0.25s ease;
}
.grk-objection:hover { background: var(--off-white); }
.grk-objection .q-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
}
.grk-objection h3 { font-size: 17.5px; line-height: 1.45; margin-bottom: 12px; font-weight: 500; }
.grk-objection p { font-size: 14px; line-height: 1.8; color: var(--gray-500); }
@media (max-width: 640px) { .grk-objection { padding: 30px 24px; } }

/* ================================================
   FAQ — editorial accordion
   ================================================ */

.faq-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--gray-100);
  padding: 4px;
  border-radius: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.faq-tab {
  padding: 9px 18px;
  background: transparent;
  color: var(--gray-500);
  border: none;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-family: var(--font);
  letter-spacing: 0.01em;
}
.faq-tab:hover { color: var(--navy); }
.faq-tab.active { background: white; color: var(--navy); box-shadow: 0 1px 3px rgba(13,27,46,0.05); }

.faq-category { display: none; }
.faq-category.active { display: block; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-compact {
  background: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}
.faq-compact:hover, .faq-compact.active { background: var(--off-white); }
.faq-compact-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 500;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
}
.faq-compact-q span {
  font-size: 16px;
  color: var(--blue-mid);
  flex-shrink: 0;
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-compact.active .faq-compact-q span { transform: rotate(45deg); }
.faq-compact-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.75;
  border-top: 0px solid var(--gray-200);
}
.faq-compact.active .faq-compact-a { padding: 4px 20px 18px; border-top-width: 1px; }

/* ================================================
   CTA BAND — navy
   ================================================ */

.grk-cta-band { background: var(--navy); }
.grk-cta-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter);
  text-align: center;
}
.grk-cta-band h2 { color: #ffffff; font-weight: 300; margin-bottom: 16px; }
.grk-cta-band p {
  color: rgba(255,255,255,0.60);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.grk-cta-band .grk-btn-gold {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  border-radius: 4px;
  padding: 14px 32px;
  font-size: 14px;
}
.grk-cta-band .grk-btn-gold:hover { background: var(--blue-pale); border-color: var(--blue-pale); color: var(--navy); }
.grk-cta-band .grk-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 4px;
  padding: 14px 32px;
  font-size: 14px;
}
.grk-cta-band .grk-btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #ffffff; }
.grk-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   KONTAKTFORMULAR — identisch zur Homepage
   ================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 968px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-section {
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.contact-form-section h2 { font-size: 32px; margin-bottom: 8px; color: var(--navy); }
.contact-form-section .form-intro { font-size: 14.5px; color: var(--gray-500); margin-bottom: 32px; line-height: 1.8; }
@media (max-width: 968px) { .contact-form-section { padding: 32px 24px; } }

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
  color: var(--text-primary);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(74, 123, 200, 0.1), 0 4px 12px rgba(74, 123, 200, 0.15);
  transform: translateY(-2px);
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover { border-color: #cbd5e1; background-color: #fafafa; }
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234A7BC8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.checkbox-group input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.checkbox-group label { font-size: 13px; color: var(--text-secondary); line-height: 1.5; cursor: pointer; }
.checkbox-group a { color: var(--primary); text-decoration: none; }
.checkbox-group a:hover { text-decoration: underline; }

.submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: #3d6cbd;
  color: rgba(255,255,255,0.95);
  border: 1px solid #3d6cbd;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.submit-btn:hover { background: #2e5aaa; border-color: #2e5aaa; color: #ffffff; }
.submit-btn:active { background: #27509a; }

.form-success {
  display: none;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 16px;
  color: #059669;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  line-height: 1.6;
}
.form-success.visible { display: block; }

/* Kontakt-Infokarte */
.info-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}
.info-card + .info-card { margin-top: 24px; }
.info-card h3 { font-size: 20px; margin-bottom: 16px; color: var(--navy); }
.info-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.8; }
.contact-item { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-item-value { font-size: 16px; font-weight: 600; color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; }
a.contact-item-value:hover { color: var(--primary); }

/* ================================================
   RECHTLICHER HINWEIS — Block
   ================================================ */

.grk-legal {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  padding: 56px 0;
}
.grk-legal h3 { font-size: 15px; margin-bottom: 16px; color: var(--gray-700); }
.grk-legal p { font-size: 12.5px; color: var(--gray-500); line-height: 1.85; }
.grk-legal p + p { margin-top: 12px; }

/* ================================================
   FOOTER — identischer Aufbau zur Homepage
   ================================================ */

.grk-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 44px 0 0;
  border-top: 1px solid #e2e8f0;
}
.grk-footer .grk-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grk-footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
}
.grk-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.grk-footer-brand img { max-height: 34px; }
.grk-footer-tagline {
  font-family: 'Playfair Display', 'Didot', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.grk-footer-cta { display: flex; flex-direction: row; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.grk-footer-cta p { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.grk-footer-cta-btns { display: flex; flex-direction: row; gap: 12px; flex-wrap: wrap; }
.grk-footer-review-row { flex-basis: 100%; display: flex; justify-content: flex-end; margin-top: 2px; }
@media (max-width: 1024px) { .grk-footer-review-row { justify-content: flex-start; } }
.grk-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.grk-footer-btn.primary { background: var(--primary); color: white; }
.grk-footer-btn.primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74,123,200,0.3); }
.grk-footer-btn.secondary { background: white; color: var(--text-primary); border-color: #e2e8f0; }
.grk-footer-btn.secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.grk-footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 30px 0 34px; }
.grk-footer-col { display: flex; flex-direction: column; gap: 14px; }
.grk-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.grk-footer-col-title.mt { margin-top: 18px; }
.grk-footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.grk-footer-links li a {
  color: #64748b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: inline-block;
}
.grk-footer-links li a:hover { color: var(--primary); transform: translateX(4px); }
.grk-contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.grk-contact-list li { display: flex; flex-direction: column; gap: 2px; }
.grk-contact-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.grk-contact-list a { color: #64748b; text-decoration: none; font-size: 13.5px; font-weight: 600; transition: color 0.2s ease; }
.grk-contact-list a:hover { color: var(--primary); }
.grk-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.grk-social a {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  transition: all 0.3s ease;
  text-decoration: none;
}
.grk-social a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(74,123,200,0.3);
}
.grk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 18px;
  border-top: 1px solid #e2e8f0;
}
.grk-footer-bottom p { font-size: 13px; color: #94a3b8; font-weight: 500; }
.grk-footer-legal { display: flex; align-items: center; gap: 16px; }
.grk-footer-legal a { font-size: 13px; color: #64748b; text-decoration: none; font-weight: 500; transition: color 0.2s ease; }
.grk-footer-legal a:hover { color: var(--primary); }
.grk-footer-legal span { color: #cbd5e1; font-size: 12px; }
@media (max-width:1024px){ .grk-footer-top{grid-template-columns:1fr;} .grk-footer-cta{justify-content:flex-start;} .grk-footer-nav{grid-template-columns:repeat(2,1fr);gap:32px;} }
@media (max-width:640px){ .grk-footer-nav{grid-template-columns:1fr;} .grk-footer-bottom{flex-direction:column;gap:12px;text-align:center;} .grk-footer-cta-btns{flex-direction:column;} .grk-footer-btn{justify-content:center;} }

/* ================================================
   ANIMATIONS
   ================================================ */

.grk-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.grk-fade.grk-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .grk-fade { opacity: 1; transform: none; transition: none; }
}

/* ================================================
   MOTION — Einstieg, Stagger & Mikrointeraktionen
   ================================================ */

@keyframes grkRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes grkHeaderIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .grk-header { animation: grkHeaderIn 0.7s ease-out both; }

  .grk-hero-v3-content > *,
  .grk-subhero-inner > * {
    animation: grkRise 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .grk-hero-v3-content > *:nth-child(1), .grk-subhero-inner > *:nth-child(1) { animation-delay: 0.10s; }
  .grk-hero-v3-content > *:nth-child(2), .grk-subhero-inner > *:nth-child(2) { animation-delay: 0.22s; }
  .grk-hero-v3-content > *:nth-child(3), .grk-subhero-inner > *:nth-child(3) { animation-delay: 0.34s; }
  .grk-hero-v3-content > *:nth-child(4), .grk-subhero-inner > *:nth-child(4) { animation-delay: 0.46s; }
  .grk-hero-v3-content > *:nth-child(5), .grk-subhero-inner > *:nth-child(5) { animation-delay: 0.58s; }
}

/* Gestaffelte Reveals (Kinder von Grids/Tabellen) */
.grk-stagger-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease,
    background-color 0.25s ease;
}
.grk-fade.grk-stagger-group { opacity: 1; transform: none; }
.grk-stagger-group.grk-visible > *,
.grk-visible .grk-stagger-group > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .grk-stagger-group > * { opacity: 1; transform: none; transition: none; }
}

/* Karten: dezentes Anheben */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .grk-lever:hover, .product-card:hover,
  .grk-stagger-group.grk-visible > .grk-lever:hover,
  .grk-visible .grk-stagger-group > .grk-lever:hover,
  .grk-stagger-group.grk-visible > .product-card:hover,
  .grk-visible .grk-stagger-group > .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(13, 27, 46, 0.10);
  }
}

/* Navigation: Unterstrich-Animation */
.grk-nav li:not(.nav-cta) a { position: relative; }
.grk-nav li:not(.nav-cta) a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.grk-nav li:not(.nav-cta) a:hover::after { transform: scaleX(1); }

/* Buttons & Footer-Links: Mikrointeraktionen */
@media (prefers-reduced-motion: no-preference) {
  .grk-btn, .grk-footer-btn, .nav-cta a {
    transition:
      background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
      transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease;
  }
  .grk-btn:hover, .grk-footer-btn:hover, .nav-cta a:hover { transform: translateY(-2px); }
  .grk-btn:active, .grk-footer-btn:active, .nav-cta a:active { transform: translateY(0); }
  .grk-footer-links a { display: inline-block; transition: color 0.2s ease, transform 0.25s ease; }
  .grk-footer-links a:hover { transform: translateX(3px); }
  .grk-social a:hover { transform: translateY(-3px); }
}

/* Kurz-Definition (Featured-Snippet-Block) */
.grk-definition {
  max-width: 860px;
  margin: 0 auto 72px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 30px 36px;
}
@media (max-width: 640px) { .grk-definition { padding: 24px 22px; } }
.grk-definition .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
}
.grk-definition p { font-size: 15.5px; line-height: 1.85; color: var(--gray-700); }
.grk-definition p strong { color: var(--navy); font-weight: 600; }

/* ================================================
   VORAUSSETZUNGEN V2 — Karten + Hinweisband
   ================================================ */

.grk-req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 1000px) { .grk-req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grk-req-grid { grid-template-columns: 1fr; } }
.grk-req {
  background: var(--white);
  padding: 34px 30px;
  position: relative;
  transition: background-color 0.25s ease;
}
.grk-req::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue-mid);
}
.grk-req:hover { background: var(--off-white); }
.grk-req .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  display: block;
  margin-bottom: 16px;
}
.grk-req .key {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: block;
  margin-bottom: 10px;
}
.grk-req p { font-size: 13.5px; line-height: 1.75; color: var(--gray-500); }

.grk-know {
  margin-top: 20px;
  background: var(--navy);
  border-radius: 8px;
  padding: 48px;
  color: #fff;
}
@media (max-width: 640px) { .grk-know { padding: 32px 24px; } }
.grk-know-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.grk-know-head h3 { color: #fff; font-size: 21px; font-weight: 400; }
.grk-know-head span { font-size: 12.5px; color: rgba(255,255,255,0.42); }
.grk-know-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
@media (max-width: 1000px) { .grk-know-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grk-know-grid { grid-template-columns: 1fr; gap: 24px; } }
.grk-know-item { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; }
.grk-know-item .num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-muted);
  display: block;
  margin-bottom: 10px;
}
.grk-know-item h4 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 8px; line-height: 1.45; }
.grk-know-item p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.55); }

/* ================================================
   MARKT-PANEL — Warum Paketstationen
   ================================================ */

.grk-market-panel {
  background: var(--navy);
  border-radius: 12px;
  padding: 64px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 968px) { .grk-market-panel { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; } }
.grk-market-panel .grk-sec-label { color: var(--blue-muted); }
.grk-market-panel h3 {
  color: #fff;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin-bottom: 20px;
}
.grk-market-panel h3 strong { font-weight: 400; color: #8fb4e8; }
.grk-market-panel > div > p { font-size: 14.5px; line-height: 1.9; color: rgba(255,255,255,0.58); }

.grk-market-bar-wrap { margin-top: 32px; }
.grk-market-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.grk-market-bar-label strong { color: #fff; font-weight: 500; font-size: 13px; }
.grk-market-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.grk-market-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-mid), #8fb4e8);
  transition: width 3s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}
.grk-market-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 560px) { .grk-market-stats { grid-template-columns: 1fr; } }
.grk-market-stats .st {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 26px 24px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.grk-market-stats .st:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.grk-market-stats .num {
  display: block;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.1;
}
.grk-market-stats .num em { font-style: normal; color: #8fb4e8; }
.grk-market-stats .lbl { font-size: 12.5px; color: rgba(255,255,255,0.5); line-height: 1.55; display: block; }

/* Warum-Karten */
.grk-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}
@media (max-width: 1000px) { .grk-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grk-why-grid { grid-template-columns: 1fr; } }
.grk-why {
  background: var(--white);
  padding: 34px 30px;
  position: relative;
  transition: background-color 0.25s ease;
}
.grk-why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue-mid);
}
.grk-why:hover { background: var(--off-white); }
.grk-why .ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}
.grk-why h3 { font-size: 16.5px; font-weight: 500; margin-bottom: 8px; }
.grk-why p { font-size: 13.5px; line-height: 1.75; color: var(--gray-500); }

/* ================================================
   WERBEEINNAHMEN-PANEL
   ================================================ */

.grk-ad-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  box-shadow: 0 2px 16px rgba(13,27,46,0.05);
}
@media (max-width: 968px) { .grk-ad-panel { grid-template-columns: 1fr; padding: 36px 26px; gap: 40px; } }
.grk-ad-flow { margin-top: 30px; display: flex; flex-direction: column; }
.grk-ad-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 12px 0;
  position: relative;
  align-items: start;
}
.grk-ad-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 42px;
  bottom: -6px;
  width: 1px;
  background: var(--gray-200);
}
.grk-ad-step .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.grk-ad-step h4 { font-size: 14.5px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.grk-ad-step p { font-size: 13px; line-height: 1.7; color: var(--gray-500); }

.grk-ad-highlight {
  background: var(--navy);
  border-radius: 10px;
  padding: 34px 30px;
  color: #fff;
  margin-bottom: 14px;
}
.grk-ad-highlight .num {
  display: block;
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #8fb4e8;
}
.grk-ad-highlight .lbl { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.grk-ad-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 560px) { .grk-ad-tiles { grid-template-columns: 1fr; } }
.grk-ad-tiles .t {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
}
.grk-ad-tiles .num {
  display: block;
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.grk-ad-tiles .lbl { font-size: 11.5px; color: var(--gray-500); line-height: 1.5; display: block; }

/* ================================================
   KONTAKT-SEITE
   ================================================ */

.grk-kontakt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .grk-kontakt-cards { grid-template-columns: 1fr; } }
.grk-kontakt-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 30px 28px;
  text-decoration: none;
  display: block;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.grk-kontakt-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 16px 40px rgba(13,27,46,0.09);
  transform: translateY(-4px);
}
.grk-kontakt-card .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.grk-kontakt-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.grk-kontakt-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 10px; }
.grk-kontakt-card .val { font-size: 15px; font-weight: 600; color: var(--blue); }

.grk-form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.grk-form-progress i {
  height: 3px;
  flex: 1;
  border-radius: 99px;
  background: var(--gray-200);
  transition: background-color 0.4s ease;
}
.grk-form-progress i.on { background: var(--blue-mid); }

.grk-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 560px) { .grk-choice-grid { grid-template-columns: 1fr; } }
.grk-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.grk-choice input { position: absolute; opacity: 0; pointer-events: none; }
.grk-choice .box {
  display: block;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  background: white;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.4;
  min-width: 0;
}
.grk-choice .box small { display: block; font-weight: 400; font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.grk-choice:hover .box { border-color: #cbd5e1; }
.grk-choice input:checked + .box {
  border-color: var(--blue-mid);
  background: var(--blue-pale);
  color: var(--navy);
  box-shadow: 0 0 0 4px rgba(74, 123, 200, 0.10);
}
.grk-choice input:focus-visible + .box { outline: 2px solid var(--blue-mid); outline-offset: 2px; }

.grk-form-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
}
.grk-form-note svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-mid); }

@media (prefers-reduced-motion: no-preference) {
  .grk-form-anim .form-group,
  .grk-form-anim .form-row,
  .grk-form-anim .grk-choice-grid,
  .grk-form-anim .checkbox-group,
  .grk-form-anim .submit-btn {
    animation: grkRise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .grk-form-anim > *:nth-child(1) { animation-delay: 0.05s; }
  .grk-form-anim > *:nth-child(2) { animation-delay: 0.12s; }
  .grk-form-anim > *:nth-child(3) { animation-delay: 0.19s; }
  .grk-form-anim > *:nth-child(4) { animation-delay: 0.26s; }
  .grk-form-anim > *:nth-child(5) { animation-delay: 0.33s; }
  .grk-form-anim > *:nth-child(6) { animation-delay: 0.40s; }
  .grk-form-anim > *:nth-child(7) { animation-delay: 0.47s; }
  .grk-form-anim > *:nth-child(8) { animation-delay: 0.54s; }
  .grk-form-anim > *:nth-child(9) { animation-delay: 0.61s; }
}

/* ================================================
   RECHNER-MODAL
   ================================================ */

.grk-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.grk-modal.open { display: block; }
.grk-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 46, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.grk-modal-panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, calc(100vw - 32px));
  height: min(760px, calc(100vh - 48px));
  background: #f0f4fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(6, 13, 24, 0.45);
  display: flex;
  flex-direction: column;
}
@media (prefers-reduced-motion: no-preference) {
  .grk-modal.open .grk-modal-backdrop { animation: grkModalFade 0.3s ease both; }
  .grk-modal.open .grk-modal-panel { animation: grkModalIn 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
}
@keyframes grkModalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grkModalIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(0.975); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.grk-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 22px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.grk-modal-actions { display: flex; align-items: center; gap: 8px; }
.grk-modal-btn {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.grk-modal-btn:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.grk-modal-doc .grk-modal-panel {
  width: min(980px, calc(100vw - 32px));
  height: calc(100vh - 48px);
}
.grk-modal iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #f0f4fa;
}
.grk-modal iframe[hidden] { display: none; }
.grk-pdfview {
  flex: 1;
  overflow: auto;
  padding: 24px;
  background: #3a4657;
}
.grk-pdfview[hidden] { display: none; }
.grk-pdf-page {
  display: block;
  margin: 0 auto 18px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  max-width: 100%;
  height: auto;
}
.grk-pdf-status {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: center;
  padding: 48px 24px;
}
.grk-pdf-status a { color: #9ec2ee; }

/* Foto-Galerie: echte Stationen */
.grk-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(240px, 30vw, 400px);
  gap: 14px;
}
.grk-gallery figure {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
}
.grk-gallery .w2 { grid-column: span 2; }
.grk-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .grk-gallery figure:hover img { transform: scale(1.04); }
}
.grk-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 18px 14px;
  background: linear-gradient(transparent, rgba(13,27,46,0.78));
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .grk-gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .grk-gallery .w2 { grid-column: span 1; }
}

/* ================================================
   ANTRAG-MODAL (Kunden- & Projektdatenerfassung)
   ================================================ */

.grk-am { position: fixed; inset: 0; z-index: 10000; display: none; }
.grk-am.open { display: block; }
.grk-am-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 46, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.grk-am-panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(6, 13, 24, 0.45);
}
@media (prefers-reduced-motion: no-preference) {
  .grk-am.open .grk-am-backdrop { animation: grkModalFade 0.3s ease both; }
  .grk-am.open .grk-am-panel { animation: grkModalIn 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
}
.grk-am-head {
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.grk-am-head h3 { color: #fff; font-size: 17px; font-weight: 500; line-height: 1.3; }
.grk-am-head .sub { font-size: 12px; color: rgba(255,255,255,0.55); display: block; margin-top: 3px; font-weight: 400; }
.grk-am-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.grk-am-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.grk-am-body { overflow: auto; padding: 26px 28px 10px; }
@media (max-width: 560px) { .grk-am-body { padding: 20px 16px 8px; } }
.grk-am-section { margin-bottom: 28px; }
.grk-am-section > h4 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}
.grk-am .form-group { margin-bottom: 12px; }
.grk-am .form-group label { font-size: 12.5px; margin-bottom: 5px; }
.grk-am .form-group input,
.grk-am .form-group select,
.grk-am .form-group textarea { padding: 10px 12px; border-width: 1px; border-radius: 8px; font-size: 14px; }
.grk-am .form-group textarea { min-height: 72px; }
.grk-am-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grk-am-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grk-am-row, .grk-am-row3 { grid-template-columns: 1fr; gap: 0; } }
.grk-am-qty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 560px) { .grk-am-qty { grid-template-columns: repeat(2, 1fr); } }
.grk-am-qty .q {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.grk-am-qty .q.hot { border-color: var(--blue-mid); background: var(--blue-pale); }
.grk-am-qty .q strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.grk-am-qty .q small { display: block; font-size: 10.5px; color: var(--gray-400); margin-bottom: 8px; }
.grk-am-qty input {
  width: 100%;
  text-align: center;
  padding: 8px 4px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
}
.grk-am-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 10px;
  cursor: pointer;
  line-height: 1.55;
}
.grk-am-check input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; margin-top: 1px; cursor: pointer; }
.grk-am-check a { color: var(--primary); }
.grk-am-radio { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.grk-am-radio label { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--gray-700); cursor: pointer; }
.grk-am-radio input { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }
.grk-am-hint { font-size: 11.5px; color: var(--gray-400); line-height: 1.6; margin-top: 6px; }
.grk-am-foot {
  padding: 16px 28px 22px;
  border-top: 1px solid var(--gray-100);
  background: var(--off-white);
  flex-shrink: 0;
}
.grk-am-foot .submit-btn { margin-top: 0; }
.grk-am-error { display: none; color: #b4232a; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.grk-am-error.on { display: block; }
.grk-am-success { display: none; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25); border-radius: 10px; padding: 12px 14px; color: #059669; font-size: 13px; font-weight: 500; margin-top: 12px; line-height: 1.6; }
.grk-am-success.on { display: block; }
.grk-am-ds { border: 1px solid var(--gray-200); border-radius: 8px; background: var(--off-white); }
.grk-am-ds summary { cursor: pointer; padding: 11px 14px; font-size: 13px; font-weight: 600; color: var(--navy); }
.grk-am-ds > div { padding: 2px 14px 14px; font-size: 12.5px; color: var(--gray-500); line-height: 1.7; }
.grk-am-ds > div p + p { margin-top: 8px; }
.grk-am-ds > div strong { color: var(--gray-700); font-weight: 600; }

/* ================================================
   NAVIGATION FÜR TABLET UND HANDY
   Ergänzt von nav-mobile.js. Unter 1025 px ist die
   normale Menüleiste ausgeblendet (Regel weiter oben) —
   hier übernehmen Knopf und Panel.
   ================================================ */

.grk-navbtn { display: none; }

@media (max-width: 1024px) {
  .grk-navbtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .grk-navbtn span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #ffffff;
    transition: transform .28s ease, opacity .2s ease, background-color .3s ease;
  }
  .grk-header.grk-solid .grk-navbtn span { background: #0F1F3D; }
  .grk-navbtn.open span { background: #ffffff; }
  .grk-navbtn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .grk-navbtn.open span:nth-child(2) { opacity: 0; }
  .grk-navbtn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.grk-navpanel {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: linear-gradient(160deg, #0F1F3D 0%, #16305c 100%);
  padding: 96px 28px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease;
  -webkit-overflow-scrolling: touch;
}
.grk-navpanel.open { opacity: 1; transform: none; }
.grk-navpanel[hidden] { display: none; }

.grk-navpanel ul { list-style: none; margin: 0; padding: 0; }
.grk-navpanel li { border-bottom: 1px solid rgba(255,255,255,.10); }
.grk-navpanel a {
  display: block;
  padding: 17px 2px;
  color: #ffffff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .01em;
}
.grk-navpanel a:hover,
.grk-navpanel a:focus-visible { color: #7FB0E8; }
.grk-navpanel a.current { color: #7FB0E8; }
.grk-navpanel a.cta {
  margin-top: 22px;
  background: #2563B0;
  border-radius: 7px;
  text-align: center;
  font-weight: 600;
  padding: 15px 18px;
}
.grk-navpanel li:has(a.cta) { border-bottom: 0; }
.grk-navpanel-foot {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.grk-navpanel-foot a {
  color: #b9c8dd;
  text-decoration: none;
  font-size: 14.5px;
  padding: 3px 0;
}
.grk-navpanel-foot a:hover { color: #ffffff; }

/* Seite im Hintergrund nicht mitscrollen lassen */
html.grk-navopen, html.grk-navopen body { overflow: hidden; }

@media (min-width: 1025px) {
  .grk-navpanel { display: none !important; }
}

/* Investitionsrechner: eigenständiges Werkzeug mit eigenem Styling (ivr-*).
   Die Seite bekommt Kopf- und Fußbereich der Website; der Inhalt braucht
   Abstand zur festen Kopfzeile. */
.ivr-page { padding-top: 86px; }
@media (max-width: 1024px) { .ivr-page { padding-top: 74px; } }

/* Eingebettet im Wissensbereich: dort bringt die umgebende Seite bereits
   Kopf- und Fußbereich mit — der Rechner zeigt nur sich selbst. */
.grk-eingebettet .grk-header,
.grk-eingebettet .grk-footer,
.grk-eingebettet .grk-skiplink,
.grk-eingebettet .grk-navpanel,
.grk-eingebettet .grk-navbtn { display: none !important; }
.grk-eingebettet .ivr-page { padding-top: 0 !important; }
.grk-eingebettet body { background: transparent !important; }

/* Sprungmarke: nur sichtbar, wenn sie per Tastatur angesteuert wird.
   Erspart Screenreader- und Tastaturnutzern das Durchlaufen des Menüs. */
.grk-skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: #0F1F3D;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0 0 6px 0;
}
/* Der Link trägt die Versteck-Angabe zusätzlich direkt am Element, damit er
   auch dann nicht im Weg steht, wenn dieses Stylesheet (noch) nicht geladen ist.
   Deshalb hier !important — sonst gewinnt die Angabe am Element. */
.grk-skiplink:focus {
  left: 0 !important;
  outline: 3px solid #7FB0E8;
  outline-offset: 2px;
}

/* ================================================
   KENNZEICHNUNG KI-GENERIERTER BILDER
   Offizielles Icon der EU-Kommission („AI GENERATED“),
   Art. 50 KI-Verordnung.

   Position, Größe und Farben stehen bewusst direkt am Element
   im HTML — so sitzt die Kennzeichnung auch dann richtig, wenn
   dieses Stylesheet fehlt, noch lädt oder veraltet aus dem
   Zwischenspeicher kommt. Hier stehen nur die Verbesserungen,
   die die Angaben am Element gezielt übersteuern müssen.
   ================================================ */

.grk-ki-label {
  /* Der Bildbereich der Startseite ist höher als der Bildschirm. Läge das
     Label nur am unteren Bildrand, erschiene es erst nach dem Scrollen.
     min() nimmt den jeweils früher erreichten Punkt: unterer Bildrand
     oder unterer Fensterrand. Bei gesetztem top gewinnt top gegen bottom. */
  top: min(calc(100vh - 46px), calc(100% - 38px));
  opacity: .82;
  transition: opacity .25s ease;
}
.grk-ki-label:hover { opacity: 1; }
.grk-ki-label:hover .grk-ki-text { color: #ffffff; }
/* Tastaturbedienung: sichtbarer Rahmen, ohne die Optik im Normalfall zu ändern */
.grk-ki-label:focus-visible {
  outline: 2px solid #7FB0E8;
  outline-offset: 4px;
  border-radius: 4px;
  opacity: 1;
}

@media (max-width: 640px) {
  .grk-ki-label { right: 12px !important; top: min(calc(100vh - 40px), calc(100% - 34px)); gap: 6px !important; }
  .grk-ki-label img { height: 19px !important; }
  .grk-ki-label .grk-ki-text { display: none !important; }
}

/* Rechen-Karten mit breiten Tabellen (z. B. Szenarienvergleich im Fallbeispiel):
   auf schmalen Bildschirmen innerhalb der Karte wischbar statt abgeschnitten.
   Tabellen, die hineinpassen, verändern sich dadurch nicht. */
@media (max-width: 640px) {
  .grk-calc-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Erklärvideo-Vorschau: dezentes Anheben wie bei den Karten.
   Gilt nur für Auslöser, die die Videovorschau enthalten — reine
   Textlinks zum Video (z. B. im Fußbereich) bleiben unverändert. */
a[data-video-open] {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
a[data-video-open] > span:first-of-type {
  transition: background-color 0.35s ease;
}
a[data-video-open] > span:first-of-type > span {
  transition: transform 0.35s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a[data-video-open]:has(video):hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(13, 27, 46, 0.16);
  }
  a[data-video-open]:has(video):hover > span:first-of-type {
    background-color: rgba(13, 27, 46, 0.14) !important;
  }
  a[data-video-open]:has(video):hover > span:first-of-type > span {
    transform: scale(1.09);
  }
}

/* WhatsApp-Knopf im Fußbereich: Markenfarbe von WhatsApp,
   gleiche Form und gleiches Hover-Verhalten wie die Nachbar-Knöpfe. */
.grk-footer-btn.whatsapp {
  background: #25D366;
  color: #ffffff;
  border: none;
}
.grk-footer-btn.whatsapp:hover {
  background: #1DA851;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ================================================
   MOBIL-KORREKTUREN (Audit 08/2026)
   ================================================ */

/* Lange Wörter, Adressen und Bezeichnungen brechen um, statt die Seite
   seitlich aufzuschieben (betraf u. a. Listen der Datenschutzerklärung). */
body { overflow-wrap: break-word; }

/* Drei-spaltige Ausführung des dunklen Info-Panels (z. B. „Ihre Rechte“ in den
   Antragsrichtlinien). Ersetzt den früheren Inline-Stil, der die
   Mobil-Regeln übersteuert hat. */
.grk-know-grid.grk-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grk-know-grid.grk-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grk-know-grid.grk-cols-3 { grid-template-columns: 1fr; } }

/* Breite Tabellen (Rückkaufswert-Vergleich, Prüfschema) auf schmalen
   Bildschirmen innerhalb ihres Rahmens wischbar statt seitensprengend. */
@media (max-width: 640px) {
  .grk-vv-tbl-wrap, .grk-tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* iPhone-Safari zoomt beim Antippen von Eingabefeldern unter 16 px Schrift
   in die Seite hinein. Auf schmalen Bildschirmen deshalb einheitlich 16 px —
   !important, weil die Formular-Klassen spezifischer sind. */
@media (max-width: 640px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select, textarea { font-size: 16px !important; }
}

/* Raster-Karten dürfen unter die Breite ihres längsten Wortes schrumpfen
   (betraf „Beitragsrückgewähr“ im Vertragsarten-Raster) — das Wort bricht
   dann dank overflow-wrap um, statt die Seite aufzuschieben. */
.grk-vv-grid > * { min-width: 0; }
