/* ============================================================
   arouri-klimaservice – style.css
   AK-001 Basis | @font-face wird durch AK-007 ergänzt
   ============================================================ */

/* FONT-FACE: lokal einbinden nach AK-007 – kein Google Fonts CDN */
/* @font-face { font-family: 'Syne'; src: url('/assets/fonts/Syne-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; } */
/* @font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/SourceSans3-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; } */
/* @font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/SourceSans3-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; } */
/* @font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/SourceSans3-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; } */
/* @font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/SourceSans3-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; } */


/* ── CI-VARIABLEN ─────────────────────────────────────────── */
:root {
  --bg:         #F4F6F8;
  --white:      #FFFFFF;
  --ink:        #12182B;
  --ink-light:  #4A5568;
  --navy:       #0A1628;
  --navy2:      #0D2B52;
  --navy3:      #0E3A6B;
  --blue:       #005F9E;
  --blue-mid:   #0077C2;
  --blue-light: #D6EAF8;
  --ice:        #EBF5FB;
  --accent:     #00A8CC;
  --ice-light:  #90E0EF;
  --border:     #DDE3EA;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --max-w:      900px;
}


/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ── TYPOGRAFIE (Fallback bis AK-007) ─────────────────────── */
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Syne', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.15;
}


/* ── HEADER / NAV ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
nav a {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-light);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
nav a:hover { color: var(--blue); background: var(--ice); text-decoration: none; }
nav a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.4rem 1rem !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; text-decoration: none !important; color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--blue); }


/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.35)),
    url('/assets/images/hero.webp') center / cover no-repeat,
    linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, var(--navy3) 100%);
  color: var(--white);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,168,204,0.2);
  border: 1px solid rgba(0,168,204,0.4);
  color: #90E0EF;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.hero h1 span {
  color: var(--ice-light);
  display: block;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  flex: 1;
  min-width: 180px;
  backdrop-filter: blur(8px);
}
.hero-card-num {
  font-family: 'Syne', 'Segoe UI', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ice-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-card-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.hero-manometer {
  position: absolute;
  top: 310px;
  right: 2rem;

  height: 140px;
  width: auto;
  opacity: 0.30;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: #0096B8; transform: translateY(-1px); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-1px); color: var(--white); }
.btn-blue-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-blue-outline:hover { background: var(--blue); color: var(--white); }

/* Weisser Button mit dunkelblauer Schrift + hellblauer Umrandung (fuer Hero-Bereich) */
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--blue-light);
  font-weight: 700;
}
.btn-white:hover { background: var(--ice); border-color: var(--blue); color: var(--navy); }


/* ── INTRO STRIP ──────────────────────────────────────────── */
.intro-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.intro-item {
  padding: 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.intro-item:last-child { border-right: none; }
.intro-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.intro-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.intro-item p {
  font-size: 0.875rem;
  color: var(--ink-light);
}


/* ── SECTIONS ─────────────────────────────────────────────── */
.section {
  padding: 4.5rem 1.5rem;
}
/* BAUSTANDARD: section-inner immer ohne inline max-width verwenden.
   Breitenbegrenzung innerhalb via: <div style="max-width: Xpx;"> */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.section-cta {
  margin-top: 2rem;
  text-align: center;
}


/* ── ABLAUF STEPS ─────────────────────────────────────────── */
.ablauf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ablauf-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Syne', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ablauf-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.ablauf-step p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.5;
}


/* ── LEISTUNGEN CARDS (Homepage-Überblick) ────────────────── */
.leistungen-uebersicht {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.leistung-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.leistung-card.inactive {
  background: var(--ice);
  border-color: var(--blue-light);
  opacity: 0.75;
}
.leistung-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.leistung-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.leistung-card p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.leistung-card .card-note {
  font-size: 0.8rem;
  color: var(--ink-light);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Leistungslisten */
.leistung-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.leistung-list li {
  font-size: 0.9rem;
  color: var(--ink-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.leistung-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}


/* ── STANDORT ─────────────────────────────────────────────── */
.standort-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.standort-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.standort-text { flex: 1; }
.standort-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.standort-text span {
  font-size: 0.875rem;
  color: var(--ink-light);
}
.standort-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.standort-link:hover { text-decoration: underline; }


/* ── PAGE HERO (Unterseiten) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  padding: 3rem 0;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(0,168,204,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 5% 50%, rgba(0,95,158,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--ice-light);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.page-hero .breadcrumb a {
  color: rgba(144,224,239,0.7);
}
.page-hero .breadcrumb a:hover {
  color: var(--ice-light);
  text-decoration: underline;
}
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.page-title-accent {
  color: var(--ice-light);
}
.page-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  font-weight: 300;
}


/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Syne', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.footer-addr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}


/* ── UTILITY ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }


/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; }
  .hero-inner { padding: 3.5rem 1rem 2.5rem; }
  .hero-cards { display: none; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-item { border-right: none; border-bottom: 1px solid var(--border); }
  .intro-item:last-child { border-bottom: none; }

  .ablauf-steps { grid-template-columns: 1fr; }
  .ablauf-step { flex-direction: row; gap: 1rem; }

  .leistungen-uebersicht { grid-template-columns: 1fr; }

  .standort-box { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .section { padding: 2.5rem 1rem; }
  .page-hero { padding: 2.5rem 1rem 2rem; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero-manometer {
    right: 170px;
    bottom: 256px;
    height: 90px;
    opacity: 0.28;
    transform: translateY(0);
  }
}


/* Manometer auf Mobile komplett ausblenden */
@media (max-width: 768px) {
  .hero-manometer {
    display: none;
  }
}


@media (max-width: 480px) {
  .header-inner { padding: 0 1rem; }
  .hero-inner { padding: 3rem 1rem 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

/* ── FORMULAR-KOMPONENTEN (AK-003) ───────────────────────────── */

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hinweis-Box */
.hinweis-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--blue-light);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.hinweis-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.hinweis-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.hinweis-text p {
  font-size: 0.875rem;
  color: var(--ink-light);
  margin: 0;
}

/* HSN/TSN-Hilfe */
.hsn-hilfe {
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hsn-hilfe-toggle {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  text-align: left;
  transition: background 0.15s;
}
.hsn-hilfe-toggle:hover { background: var(--ice); }
.hsn-hilfe-icon { font-size: 1rem; }
.hsn-arrow {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--ink-light);
}
.hsn-hilfe-body {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--ice);
  border-top: 1px solid var(--border);
}
.hsn-hilfe-body p {
  font-size: 0.875rem;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
}
.hsn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}
.hsn-list li {
  font-size: 0.875rem;
  color: var(--ink);
}
.hsn-note {
  font-size: 0.8rem !important;
  color: var(--ink-light) !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

/* Formular Wrapper */
.form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.form-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-light);
}

/* Fieldset */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.form-legend {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: block;
  width: 100%;
}

/* Formularzeilen */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-group:last-child { margin-bottom: 0; }

/* Labels */
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.form-required { color: var(--blue); }
.form-optional {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-light);
}
.form-hint {
  font-size: 0.75rem;
  color: var(--ink-light);
}

/* Inputs */
.form-input {
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,95,158,0.1);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: #e53e3e;
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2rem; }
.form-textarea { resize: vertical; min-height: 100px; }

/* Checkbox */
.form-group-checkbox { margin: 1rem 0 1.5rem; }
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form-checkbox {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-checkbox-text {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.form-checkbox-text a { color: var(--blue); }

/* Fehlermeldung */
.form-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #991B1B;
  margin-bottom: 1rem;
}
.form-error-icon { flex-shrink: 0; }

/* Submit-Bereich */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-submit {
  min-width: 220px;
  justify-content: center;
  position: relative;
}
.form-required-note {
  font-size: 0.8rem;
  color: var(--ink-light);
}

/* Lade-Spinner */
.form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Erfolgszustand */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #065F46;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.form-success-text {
  font-size: 0.95rem;
  color: var(--ink-light);
  max-width: 480px;
  margin: 0 auto 0.75rem;
}
.form-success-note {
  font-size: 0.875rem;
  color: var(--ink-light);
}

/* Allgemeine Anfrage (sekundär, TR-005) */
.allg-anfrage-hint {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.allg-anfrage-text {
  font-size: 0.85rem;
  color: var(--ink-light);
}

/* Responsive Formular */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .form-wrapper { padding: 1.25rem; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .btn-submit { min-width: auto; }
}

/* EU/VAG Info in HSN-Hilfe */
.hsn-eu-info {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.hsn-eu-info strong {
  font-size: 0.875rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}
.hsn-eu-info p {
  font-size: 0.825rem !important;
  color: var(--ink-light) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.5;
}
.hsn-eu-info em { font-style: italic; }

/* Symptom-Hilfe */
.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0;
}
.symptom-help-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.symptom-help-btn:hover { background: var(--ice); }
.symptom-help {
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.symptom-help-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-size: 0.825rem;
}
.symptom-example {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.symptom-example:last-of-type { border-bottom: none; margin-bottom: 0.5rem; }
.symptom-example strong { font-size: 0.825rem; color: var(--ink); display: block; margin-bottom: 0.25rem; }
.symptom-example p { font-size: 0.825rem; color: var(--ink-light); margin: 0; font-style: italic; }
.symptom-help-note { font-size: 0.78rem; color: var(--ink-light); margin-top: 0.5rem; }

/* ── FIX: Fehler-Banner standardmäßig unsichtbar ─────────── */
.form-error[hidden] {
  display: none !important;
}
