/* ==========================================================================
   WetTron Landingpage
   Layout: Fixe blaue Kopf- und Fußleiste, scrollender Mittelbereich
   Farbsystem: RAL 2011 Tieforange / RAL 5010 Enzianblau (Markenidentität)
   ========================================================================== */

:root {
  --brand-orange:      #e26e0e;
  --brand-orange-soft: #ef8326;
  --brand-blue:        #004f7c;
  --brand-blue-deep:   #013c5e;
  --brand-blue-ink:    #002438;

  --paper:        #f6f4ef;
  --paper-soft:   #ede8de;
  --ink:          #14222d;
  --ink-muted:    #4f5b66;
  --line:         rgba(0, 79, 124, 0.18);
  --line-strong:  rgba(0, 79, 124, 0.32);

  --shadow:       0 18px 44px rgba(0, 38, 61, 0.18);

  /* Höhen der fixen Bänder */
  --header-height: 92px;
  --footer-height: 64px;

  /* Lesbare Zeilenlänge für Fließtext (dokumentweit einheitlich) */
  --measure: 72ch;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: "Bahnschrift", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-wrap: break-word; /* lange Wörter/E-Mails brechen statt überzulaufen */
}

img { display: block; max-width: 100%; height: auto; } /* skaliert proportional, nie breiter als Container */
a { color: var(--brand-orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
/* Überschriften nie mitten im Wort brechen (auf Mobil trennt stattdessen hyphens:auto sauber) */
h1, h2, h3 { overflow-wrap: normal; }

/* ==========================================================================
   App-Layout: 3 Zeilen (Header fix, Scroll-Mittelbereich, Footer fix)
   ========================================================================== */

.app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr); /* Spalte darf schmaler als ihr Inhalt werden */
  height: 100vh;
  height: 100dvh; /* dynamische Viewport-Höhe für Mobile-Browser */
  overflow: hidden;
}

/* Grid-/Flex-Items dürfen unter ihre Inhaltsbreite schrumpfen – sonst zieht ein
   breites Bild oder langer Inhalt die Spalte über die Viewport-Breite hinaus
   (Default min-width:auto), und .app { overflow:hidden } schneidet rechts ab. */
.app > *,
.hero-grid > *,
.two-col > *,
.knowledge-grid > *,
.validation-grid > *,
.contact-grid > *,
.team-grid > *,
.calc-layout > * { min-width: 0; }

/* ----- Fixes Kopfband ----- */

.site-header {
  position: relative;
  background:
    radial-gradient(circle at 88% -20%, rgba(226, 110, 14, 0.16), transparent 55%),
    linear-gradient(180deg, var(--brand-blue-deep) 0%, var(--brand-blue) 100%);
  color: #fff;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--brand-orange) 0%,
    var(--brand-orange) 38%,
    rgba(226, 110, 14, 0.0) 100%);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
}

.brand-name {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-orange);
  line-height: 1;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  gap: 22px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  color: #fff;
  border-bottom-color: var(--brand-orange);
  text-decoration: none;
}

/* Sprachumschalter (runde Flagge zeigt die jeweils andere Sprache) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-bottom: none !important;
}
.lang-switch img {
  /* Feste Icon-Groesse. Die Flaggen-PNG ist bereits quadratisch UND rund
     freigestellt – daher KEIN aspect-ratio / object-fit noetig. Diese
     Kombination loeste in aelteren Firefox/Safari(WebKit)-Versionen einen
     Render-Bug aus: nur der weisse Rand-Ring erschien, das Flaggenbild
     blieb leer ("heller Schatten"). max-width:none ueberschreibt die
     globale img-Regel (max-width:100%), die im Flex-Kontext zu einer
     zirkulaeren Groessenaufloesung fuehren kann. */
  width: 64px;
  height: 64px;
  max-width: none;
  flex: none;
  display: block;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s, transform 0.2s;
}
.lang-switch:hover img {
  border-color: var(--brand-orange);
  transform: scale(1.08);
}

/* ----- Scrollender Mittelbereich ----- */

.scroll-area {
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--paper);
  scroll-behavior: smooth;
}

.scroll-area::-webkit-scrollbar {
  width: 10px;
}
.scroll-area::-webkit-scrollbar-track {
  background: rgba(0, 79, 124, 0.06);
}
.scroll-area::-webkit-scrollbar-thumb {
  background: rgba(0, 79, 124, 0.35);
  border-radius: 5px;
}
.scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 79, 124, 0.55);
}

/* ----- Fixes Fußband ----- */

.site-footer {
  position: relative;
  background: linear-gradient(180deg,
    var(--brand-blue) 0%,
    var(--brand-blue-deep) 15%,
    var(--brand-blue-deep) 100%);
  color: #fff;
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(226, 110, 14, 0.0) 0%,
    var(--brand-orange) 62%,
    var(--brand-orange) 100%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-claim {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-label {
  color: var(--brand-orange);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-claim strong {
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.footer-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 14px;
}

/* ==========================================================================
   Inhalts-Sektionen im Scroll-Bereich
   ========================================================================== */

.section {
  width: 100%;
  padding: 56px 32px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, #ffffff 0%, #f0ece2 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section h2 {
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); /* flüssig: 1.6rem mobil … 2.1rem Desktop */
  line-height: 1.1;
  color: var(--brand-blue-ink);
  font-weight: 700;
  margin-bottom: 18px;
}

.section h3 {
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--brand-blue-ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.section p { font-size: 1rem; color: var(--ink); }
.section p + p { margin-top: 12px; }

/* ---------- HERO ---------- */

.hero {
  background:
    radial-gradient(circle at 88% -10%, rgba(226, 110, 14, 0.16), transparent 55%),
    linear-gradient(180deg, var(--brand-blue-deep) 0%, var(--brand-blue) 100%);
  color: #fff;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero .kicker { color: var(--brand-orange-soft); margin-bottom: 14px; }

.hero h1 {
  max-width: 14ch;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); /* flüssig: 2rem mobil … 3rem Desktop */
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #fff;
}

.hero .lead {
  max-width: 52ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.5;
  font-size: 1.05rem;
}

.brand-inline { color: var(--brand-orange); font-weight: 700; }

/* Markenname WetTron nie trennen – als Ganzes in die nächste Zeile umbrechen
   (sonst trennt hyphens:auto auf Mobil z. B. "Wet-Tron"). */
.nobr,
.brand-inline { -webkit-hyphens: none; hyphens: none; white-space: nowrap; }

.claim-box {
  margin-top: 22px;
  max-width: 48ch;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.10);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 6px 6px 0;
}

.claim-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
  color: #fff;
}

.claim-box p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  font-size: 0.96rem;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--brand-orange);
  color: #fff;
}
.btn-primary:hover {
  background: #f0822a;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.hero-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.40));
}

/* ---------- Impact-Strip ---------- */

.impact-section {
  background: var(--brand-blue);
  color: #fff;
  padding: 36px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-strip {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.impact-strip > div {
  padding: 8px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.impact-strip > div:first-child {
  border-left: none;
  padding-left: 0;
}

.impact-number {
  display: block;
  margin-bottom: 6px;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-orange-soft);
  line-height: 1;
}

.impact-strip p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
  font-size: 0.95rem;
}

.impact-source {
  display: inline-block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-style: italic;
}

/* ---------- Benefits / Checklist ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.checklist,
.bullet-list {
  margin-top: 14px;
}

.checklist li,
.bullet-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
  color: var(--ink);
}

.checklist li + li,
.bullet-list li + li {
  margin-top: 10px;
}

.checklist li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(226, 110, 14, 0.14);
}

.media-frame {
  background: linear-gradient(180deg, #f8fafc, #eaf0f5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.media-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.media-label {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0, 79, 124, 0.10);
  border: 1px solid rgba(0, 79, 124, 0.16);
}

/* ---------- Technische Daten Tabelle ---------- */

.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.tech-table th,
.tech-table td {
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.4;
}

.tech-table th {
  width: 40%;
  color: var(--brand-blue-ink);
  font-weight: 700;
  padding-right: 14px;
}

.tech-table td {
  color: var(--ink);
}

.tech-table tr:last-child th,
.tech-table tr:last-child td {
  border-bottom: none;
}

/* ---------- Evidence / Studien-Karten ---------- */

.evidence-card {
  background: linear-gradient(180deg, rgba(226, 110, 14, 0.06), #fff);
  border: 1px solid rgba(226, 110, 14, 0.32);
  border-radius: 14px;
  padding: 24px 28px;
}

.evidence-card strong { color: var(--brand-orange); font-weight: 700; }

/* ---------- Anwendungsbereiche Cards ---------- */

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.use-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.use-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 38, 61, 0.10);
  border-color: var(--line-strong);
}

.use-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.use-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.use-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(226, 110, 14, 0.12);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 700;
}

/* ---------- Kontakt-Sektion ---------- */

.contact-section {
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #fff;
  padding: 56px 32px;
}

.contact-section h2 { color: #fff; }
.contact-section .kicker { color: var(--brand-orange-soft); }

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 24px 28px;
}

.contact-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 14px;
}

.contact-card dt:first-of-type { margin-top: 0; }

.contact-card dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  color: #fff;
}

.contact-card dd a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,0.4); }
.contact-card dd a:hover { border-bottom-color: var(--brand-orange); text-decoration: none; }

.contact-section .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* ---------- Wissen / Netzwasser ---------- */

.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr;   /* Text oben, breite Wirkprinzip-Grafik darunter in voller Breite */
  gap: 28px;
  margin-top: 14px;
}

.knowledge-grid figure.media-frame {
  margin: 0;
}

/* ----- Sektionen mit vollbreiter Grafik: Fließtext auf lesbare Breite begrenzen ----- */
/* Bild nutzt die volle Inhaltsbreite, der Fließtext bleibt linksbündig auf
   dokumentweit einheitlicher Lesebreite (kein Zentrieren – wirkt ruhiger).
   Gilt für die einspaltigen Bild-Sektionen Wissen + Validierung. */
.knowledge-grid > div,
.validation-grid > div {
  max-width: var(--measure);
}

.knowledge-grid p + p { margin-top: 12px; }

/* ---------- Warum WetTron ---------- */

.reasoning-block {
  max-width: var(--measure);
  margin-top: 14px;
}

.reasoning-block p + p { margin-top: 14px; }

/* Liste innerhalb des Fließtexts (z. B. Schlauchliste): Abstand nach unten,
   damit der Folgeabsatz nicht direkt an der Liste klebt */
.reasoning-block .bullet-list { margin-bottom: 20px; }

.reasoning-block strong {
  color: var(--brand-blue-ink);
  font-weight: 700;
}

/* ---------- Validierungsversuche ---------- */

.validation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 14px;
}

.validation-figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.validation-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.validation-caption {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.validation-caption strong {
  color: var(--brand-blue-ink);
  font-weight: 700;
}

/* ---------- Video-Einbettung ---------- */
/* Selbst gehostetes HTML5-Video, kein externer Dienst. preload="none" + Poster
   im Markup: der Browser lädt nur das Standbild, das Video erst beim Abspielen. */
.video-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0 0;
}

.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #000;
}

.video-caption {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.video-caption strong {
  color: var(--brand-blue-ink);
  font-weight: 700;
}

.video-copyright {
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--ink-muted);
  opacity: 0.8;
}

/* ---------- Team / Über uns ---------- */

.team-intro {
  max-width: var(--measure);
  margin-top: 14px;
}

.team-intro p + p { margin-top: 14px; }
.team-intro em {
  color: var(--brand-orange);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 6px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 38, 61, 0.10);
  border-color: var(--line-strong);
}

.team-photo {
  flex: 0 0 auto;
  width: 120px;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.team-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: var(--brand-blue-ink);
}

.team-card .role {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.team-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.team-card p + p { margin-top: 10px; }

.team-closing {
  margin-top: 32px;
  padding: 22px 26px;
  border-left: 4px solid var(--brand-orange);
  background: rgba(0, 79, 124, 0.05);
  border-radius: 0 8px 8px 0;
}

.team-closing p {
  font-style: italic;
  color: var(--brand-blue-ink);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Impressum ---------- */

.impressum-block h3 {
  margin-top: 26px;
  font-size: 1.05rem;
  color: var(--brand-blue-ink);
}

.impressum-block h3:first-child { margin-top: 0; }

.impressum-block p {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.impressum-block a { color: var(--brand-blue); }
.impressum-block a:hover { color: var(--brand-orange); }

/* ---------- Schlauchrechner (Werkzeug) ---------- */

.calc-intro {
  max-width: var(--measure);
  margin-top: 18px;
  padding: 18px 22px;
  background: rgba(0, 79, 124, 0.05);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 8px 8px 0;
}

.calc-intro p { font-size: 1rem; line-height: 1.55; color: var(--ink); }
.calc-intro p + p { margin-top: 12px; }
.calc-intro strong { color: var(--brand-blue-ink); font-weight: 700; }

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
  margin-top: 18px;
}

.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 10px 24px rgba(0, 38, 61, 0.06);
}

.calc-field { margin-bottom: 16px; }
.calc-field:last-child { margin-bottom: 0; }

.calc-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-blue-ink);
  margin-bottom: 6px;
}

.calc-select,
.calc-input {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(226, 110, 14, 0.16);
}

.calc-actions { margin-top: 20px; }

.calc-result {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(0, 79, 124, 0.06);
  border-left: 4px solid var(--brand-orange);
}

.calc-result-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.calc-result-value {
  display: block;
  margin-top: 4px;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue-ink);
  line-height: 1.1;
  min-height: 1.1em;
}

/* Begleitspalte mit Bedienschritten */
.calc-aside {
  background: linear-gradient(180deg, rgba(0, 79, 124, 0.05), #fff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
}

.calc-aside h3 { margin-bottom: 12px; }

.calc-steps {
  counter-reset: calc-step;
  list-style: none;
  margin-top: 4px;
  padding-left: 0;
}

.calc-steps li {
  position: relative;
  counter-increment: calc-step;
  padding-left: 40px;
  min-height: 28px;
  line-height: 1.5;
  color: var(--ink);
}

.calc-steps li + li { margin-top: 12px; }

.calc-steps li::before {
  content: counter(calc-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calc-hint {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Diagramm-Galerie der Messreihen */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 18px;
}

.chart-figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.chart-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.chart-caption {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.calc-copyright {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .header-inner { padding: 12px 18px; gap: 14px; flex-wrap: wrap; }
  .footer-inner { padding: 12px 18px; flex-wrap: wrap; }

  /* Auto-Hide der fixen Baender (JS: assets/js/header.js).
     Negatives margin schiebt das Band hoch/runter UND gibt die Grid-Zeile
     frei (echter Platzgewinn im Scrollbereich); .app { overflow:hidden }
     schneidet das Herausgeschobene sauber ab. --hh/--fh werden per JS aus
     der gemessenen Bandhoehe gesetzt (Fallback = dokumentierte Richtwerte). */
  .site-header { transition: margin-top 0.3s ease; }
  .site-footer { transition: margin-bottom 0.3s ease; }
  .site-header.tucked { margin-top: calc(-1 * var(--hh, 92px)); }
  .site-footer.tucked { margin-bottom: calc(-1 * var(--fh, 64px)); }

  @media (prefers-reduced-motion: reduce) {
    .site-header, .site-footer { transition: none; }
  }

  /* Navigation bleibt vollständig erreichbar: bricht mehrzeilig um statt zu
     scrollen (Wischen geht am Desktop nicht – alle Links müssen sichtbar sein) */
  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 4px;
  }
  .main-nav a { white-space: nowrap; padding: 6px 0; }

  .section { padding: 40px 18px; }
  .hero { padding-left: 18px; padding-right: 18px; } /* sonst klebt Hero-Text am Rand */
  .impact-section { padding: 28px 18px; }
  .contact-section { padding: 40px 18px; }

  .hero-grid,
  .two-col,
  .use-grid,
  .contact-grid,
  .impact-strip,
  .knowledge-grid,
  .team-grid,
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .impact-strip > div {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 18px 0 0;
  }
  .impact-strip > div:first-child {
    border-top: none;
    padding-top: 0;
  }

  .hero h1 { max-width: none; }

  /* Lange deutsche Komposita in der schmalen Spalte sauber trennen (lang="de") */
  .scroll-area p,
  .scroll-area li,
  .scroll-area h1,
  .scroll-area h2,
  .scroll-area h3,
  .validation-caption {
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .brand-sub { display: none; }
  .brand-name { font-size: 1.5rem; }
  .brand-mark { width: 44px; height: 44px; }
}

/* ==========================================================================
   Firmen-Dachseite 4D Fire & Rescue Concepts (Ergaenzungen zum WetTron-CSS)
   ========================================================================== */

/* Hero-Bildmarke (freigestellte Vier-Dreieck-Marke statt Produktfoto) */
.hero-mark { display: flex; align-items: center; justify-content: center; }
.hero-mark img { max-height: 340px; width: auto; }

/* Wortbildmarke in der Unternehmen-Sektion mittig im hellen Rahmen */
.brand-figure { display: flex; align-items: center; justify-content: center; }
.brand-figure img { width: 100%; }

/* Die vier D: vierspaltige Leistungskarten (nutzt .use-card / .use-icon) */
.dfield-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.dfield-sub {
  display: block;
  margin: -4px 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  font-weight: 700;
}

@media (max-width: 900px) {
  .dfield-grid { grid-template-columns: 1fr; }
}

/* Hero-Marke mit den vier Dimensionen des Einsatzerfolgs (Begriffe auf den Dreiecken) */
.hero-mark { flex-direction: column; gap: 14px; }
.hero-mark svg { width: 100%; max-width: 526px; height: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.40)); }
.hero-dims {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.hero-dims-4d {
  color: var(--brand-orange);
  font-size: 2.6em;
  letter-spacing: 0.02em;
  vertical-align: baseline;
}
