/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --white: #ffffff;
  --paper: #fafafa;
  --gray-bg: #f4f4f6;
  --gray-line: #e5e5ea;
  --gray-mute: #a8a8b0;
  --gray-text: #5a5a64;
  --black: #0d0d0f;

  --red: #c8102e;
  --red-bright: #e6253d;
  --red-dark: #8b0a18;
  --red-darker: #5e0710;
  --red-tint: #fff2f3;
  --red-shadow: rgba(139, 10, 24, 0.22);

  --display: 'Bricolage Grotesque', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-lg: 10px;

  --raised:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 -2px 0 var(--red-darker) inset,
    0 2px 0 var(--red-darker),
    0 6px 14px var(--red-shadow);
  --raised-hover:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 -2px 0 var(--red-darker) inset,
    0 3px 0 var(--red-darker),
    0 8px 18px var(--red-shadow);
  --raised-active:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 -1px 0 var(--red-darker) inset,
    0 0 0 var(--red-darker),
    0 2px 8px var(--red-shadow);
}

/* ============================================================
   Reset & Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}
a { color: var(--red); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-dark); }
img, svg { display: block; max-width: 100%; }

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

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 10px; }
h4 { font-size: 17px; margin-bottom: 8px; }

p { color: var(--gray-text); margin-bottom: 12px; }
p.lead { font-size: 18px; line-height: 1.65; color: var(--black); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 50%, var(--red-dark) 100%);
  box-shadow: var(--raised);
  text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
}
.btn-primary:hover {
  color: var(--white);
  box-shadow: var(--raised-hover);
  transform: translateY(-1px);
}
.btn-primary:active {
  box-shadow: var(--raised-active);
  transform: translateY(2px);
}
.btn-ghost {
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
  padding: 12px 26px;
  box-shadow: 3px 3px 0 var(--black);
}
.btn-ghost:hover { color: var(--black); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--black); }
.btn-ghost:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black); }

.btn-arrow::after {
  content: "→";
  font-size: 18px;
  transition: transform .15s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   Header / Navigation
   ============================================================ */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
  z-index: 100;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--black);
}
.logo:hover { color: var(--black); }
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(180deg, var(--red-bright), var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 800;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 0 var(--red-darker),
    0 2px 0 var(--red-darker),
    0 4px 8px var(--red-shadow);
  position: relative;
  font-size: 18px;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 2px;
  border-bottom-style: dashed;
}
.logo-text { line-height: 1; }
.logo-text small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-mute);
  margin-top: 2px;
  text-transform: uppercase;
}

nav.main-nav { display: flex; gap: 28px; align-items: center; }
nav.main-nav a {
  color: var(--black);
  font-weight: 500;
  font-size: 14px;
  position: relative;
}
nav.main-nav a.btn-primary {
  color: var(--white);
}
nav.main-nav a.btn-primary:hover {
  color: var(--white);
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--red);
  transition: width .2s;
}
nav.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--black);
  padding: 4px 8px;
}

@media (max-width: 880px) {
  nav.main-nav { display: none; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-line);
  }
  .nav-toggle { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 110px;
  background: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-tint), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--red-tint), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.hero-center {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-center .eyebrow {
  padding-left: 0;
  padding: 0 0 0 0;
}
.hero-center .eyebrow::before { display: none; }
.hero-center .eyebrow {
  position: relative;
  padding: 6px 18px;
  background: var(--red-tint);
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(44px, 7vw, 88px);
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: var(--red);
  opacity: 0.15;
  z-index: -1;
}
.hero p.lead {
  margin: 0 auto 40px;
  max-width: 640px;
  font-size: 19px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero { padding: 64px 0 80px; }
}

/* ============================================================
   Datenqualität — Stats-Karte (vormals Hero-Visual)
   ============================================================ */
.dq-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.hero-stack {
  position: absolute;
  inset: 0;
}
.stack-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--black);
}
.stack-card-3 {
  background: var(--white);
  transform: rotate(-3deg) translate(-10px, 14px);
  box-shadow: 0 4px 0 rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}
.stack-card-2 {
  background: var(--white);
  transform: rotate(2deg) translate(7px, 6px);
  box-shadow: 0 4px 0 rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
}
.stack-card-1 {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 28px;
  background: var(--white);
  box-shadow:
    8px 8px 0 var(--red),
    8px 8px 0 1px var(--red-dark);
  z-index: 2;
}
.stack-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 16px;
}
.stack-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-line);
}
.stack-stat:last-of-type { border-bottom: none; }
.stack-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.03em;
  text-shadow:
    1px 1px 0 var(--red-dark),
    2px 2px 0 var(--red-dark),
    3px 3px 6px rgba(139, 10, 24, 0.18);
  min-width: 110px;
}
.stack-label {
  font-family: var(--display);
  font-size: 18px;
  color: var(--black);
  font-weight: 600;
  flex: 1;
}
.stack-bottom {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--body);
  font-size: 11px;
  color: var(--gray-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stack-tick {
  color: var(--red);
  font-size: 14px;
}

@media (max-width: 480px) {
  .stack-num { font-size: 36px; min-width: 90px; }
  .stack-label { font-size: 16px; }
  .stack-card-1 { padding: 28px 24px 22px; }
}

/* ============================================================
   Datenqualität — Sektion
   ============================================================ */
section.datenqualitaet {
  padding: 110px 0;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
section.datenqualitaet::before {
  content: "";
  position: absolute;
  top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red), transparent 65%);
  opacity: 0.18;
  pointer-events: none;
}
section.datenqualitaet h2 { color: var(--white); margin-bottom: 20px; }
section.datenqualitaet p { color: rgba(255,255,255,0.75); }
section.datenqualitaet p.lead { color: var(--white); }
section.datenqualitaet .eyebrow {
  color: var(--red-bright);
}
section.datenqualitaet .eyebrow::before {
  background: var(--red-bright);
}

.dq-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.dq-content h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}
.dq-content .lead {
  font-size: 18px;
  margin-bottom: 24px;
}
.dq-content .body {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.dq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.dq-tags .dq-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  border-radius: 4px;
}
.dq-tags .dq-tag.accent {
  background: var(--red);
  border-color: var(--red-dark);
  box-shadow: 0 2px 0 var(--red-dark);
}

@media (max-width: 880px) {
  .dq-grid { grid-template-columns: 1fr; gap: 56px; }
  section.datenqualitaet { padding: 72px 0; }
}

/* ============================================================
   USPs
   ============================================================ */
section.usp {
  padding: 80px 0;
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
}
.usp-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  border: 1px solid var(--gray-line);
  transition: transform .2s, box-shadow .2s;
}
.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.usp-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 800;
  color: var(--gray-line);
  line-height: 1;
}
.usp-icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--red-bright), var(--red), var(--red-dark));
  color: var(--white);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 0 var(--red-darker),
    0 3px 0 var(--red-darker),
    0 6px 14px var(--red-shadow);
  font-size: 28px;
  font-weight: 700;
}
.usp-card h3 { margin-bottom: 12px; }
.usp-card p { font-size: 15px; line-height: 1.65; color: var(--gray-text); }

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

/* ============================================================
   Selektion (Leistungsdarstellung)
   ============================================================ */
section.selektion {
  padding: 100px 0;
  background: var(--white);
}
.kf-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.sel-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.sel-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  border: 1px solid var(--gray-line);
  align-items: start;
}
.sel-num {
  font-family: var(--display);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  text-shadow:
    1px 1px 0 var(--red-dark),
    2px 2px 0 var(--red-dark),
    3px 3px 8px rgba(139, 10, 24, 0.2);
}
.sel-content h3 { margin-bottom: 12px; }
.sel-content > p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--gray-text);
}
.sel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sel-tags .tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--red);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  border-radius: var(--radius);
}
.sel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.sel-item {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--red);
  padding: 14px 16px;
  border-radius: var(--radius);
}
.sel-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--black);
}
.sel-item small {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.5;
}

.cta-bar {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--red), transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}
.cta-bar > * { position: relative; z-index: 1; }
.cta-bar h3 { color: var(--white); }
.cta-bar p { color: rgba(255,255,255,0.7); }

@media (max-width: 720px) {
  .sel-block { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .sel-num { font-size: 56px; }
}

/* ============================================================
   Process
   ============================================================ */
section.process {
  padding: 100px 0;
  background: var(--gray-bg);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 30px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step {
  background: var(--white);
  padding: 24px 20px;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  border: 1px solid var(--gray-line);
}
.process-step .step-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red-bright), var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  margin: 0 auto 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 0 var(--red-darker),
    0 3px 0 var(--red-darker),
    0 6px 14px var(--red-shadow);
  position: relative;
  z-index: 2;
}
.process-step h4 { text-align: center; margin-bottom: 10px; }
.process-step p { font-size: 13px; text-align: center; line-height: 1.6; margin: 0; }

@media (max-width: 880px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
section.faq {
  padding: 100px 0;
  background: var(--white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.faq-item {
  border-bottom: 1px solid var(--gray-line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--black);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 400;
  color: var(--red);
  transition: transform .2s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--red); }
.faq-item p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-text);
}

@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Kontakt
   ============================================================ */
section.kontakt {
  padding: 100px 0;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
section.kontakt::before {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red), transparent 65%);
  opacity: 0.25;
  pointer-events: none;
}
section.kontakt h2 { color: var(--white); }
section.kontakt p { color: rgba(255,255,255,0.7); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.kontakt-info ul {
  list-style: none;
  margin-top: 28px;
}
.kontakt-info li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.kontakt-info li small {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.kontakt-info li strong {
  color: var(--white);
  font-weight: 500;
}
.kontakt-info .icon {
  width: 36px; height: 36px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
  font-size: 16px;
  box-shadow: inset 0 -2px 0 var(--red-darker);
}

.kontakt-form {
  background: var(--white);
  color: var(--black);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--red);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-text);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 14px;
  background: var(--white);
  color: var(--black);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-meta {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h5 {
  color: var(--white);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { color: rgba(255,255,255,0.6); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Legal Pages (Impressum, Datenschutz, AGB)
   ============================================================ */
.legal-page {
  padding: 60px 0 100px;
  background: var(--white);
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content .breadcrumb {
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--gray-mute);
}
.legal-content .breadcrumb a { color: var(--gray-text); }
.legal-content h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.legal-content .subtitle {
  color: var(--gray-text);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--red);
}
.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--black);
  padding-top: 8px;
}
.legal-content h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0;
}
.legal-content p { margin-bottom: 14px; line-height: 1.7; color: var(--gray-text); font-size: 15px; }
.legal-content p strong { color: var(--black); }
.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--gray-text);
}
.legal-content li { margin-bottom: 6px; line-height: 1.7; font-size: 15px; }
.legal-content .legal-box {
  background: var(--gray-bg);
  border-left: 3px solid var(--red);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-content .legal-box p:last-child { margin-bottom: 0; }
.legal-content .legal-box.warn {
  background: var(--red-tint);
  border-left-color: var(--red);
}
.legal-content .legal-box.warn p { color: var(--red-darker); }
.legal-content .legal-box.warn strong { color: var(--red-dark); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-content table th,
.legal-content table td {
  padding: 10px 12px;
  border: 1px solid var(--gray-line);
  text-align: left;
  vertical-align: top;
}
.legal-content table th {
  background: var(--gray-bg);
  font-weight: 700;
  color: var(--black);
  font-size: 13px;
}
.legal-content .last-update {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
  font-size: 13px;
  color: var(--gray-mute);
}

/* ============================================================
   KONFIGURATOR-SEITE
   ============================================================ */
.kf-page {
  padding: 56px 0 100px;
  background: var(--white);
  min-height: 80vh;
}

.kf-page-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}
.kf-page-head h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 12px 0 18px;
}
.kf-page-head h1 .accent {
  color: var(--red);
  font-style: italic;
  position: relative;
}
.kf-page-head h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--red);
  opacity: 0.15;
  z-index: -1;
}
.kf-page-head .eyebrow {
  margin: 0 auto 8px;
  display: inline-block;
}

/* ---------- Schritt-Indikator ---------- */
.kf-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 48px;
  max-width: 720px;
  position: relative;
}
.kf-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--gray-line);
  position: relative;
  color: var(--gray-mute);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color .2s, border-color .2s;
}
.kf-step .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-line);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  flex-shrink: 0;
  transition: background .2s;
}
.kf-step.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.kf-step.active .num {
  background: var(--red);
  box-shadow: 0 2px 0 var(--red-darker);
}
.kf-step.completed {
  color: var(--black);
  border-bottom-color: var(--red);
}
.kf-step.completed .num {
  background: var(--red);
  box-shadow: 0 2px 0 var(--red-darker);
}
.kf-step.completed .num::before {
  content: "✓";
  font-size: 14px;
}
.kf-step.completed .num span,
.kf-step.completed .num {
  font-size: 0;
}
.kf-step.completed .num::before {
  font-size: 14px;
  font-family: var(--body);
}

@media (max-width: 720px) {
  .kf-steps { gap: 4px; }
  .kf-step .label { display: none; }
  .kf-step { justify-content: center; padding: 10px 8px; }
}

/* ---------- Hauptlayout ---------- */
.kf-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 980px) {
  .kf-layout { grid-template-columns: 1fr; }
}

/* ---------- Karte ---------- */
.kf-mapwrap {
  position: relative;
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-line);
}
.kf-mapbar {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 500;
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  width: 320px;
  max-width: calc(100% - 28px);
}
.kf-mapbar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--black);
  outline: none;
  min-width: 0;
}
.kf-mapbar input::placeholder { color: var(--gray-mute); }
.kf-mapbar-actions { display: flex; gap: 4px; }

.btn-mini {
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--body);
  color: var(--black);
  cursor: pointer;
  transition: background .15s;
}
.btn-mini:hover { background: var(--gray-line); }
.btn-mini.ghost {
  background: transparent;
  color: var(--gray-text);
}
.btn-mini.ghost:hover {
  color: var(--red);
  background: var(--red-tint);
  border-color: var(--red);
}

#map {
  width: 100%;
  height: 70vh;
  min-height: 520px;
  background: var(--white);
  outline: none;
}
.leaflet-container { background: var(--white); font-family: var(--body); }
.leaflet-control-attribution {
  background: rgba(255,255,255,0.85) !important;
  font-size: 10px !important;
  color: var(--gray-text) !important;
}
.leaflet-control-attribution a { color: var(--gray-text); }
.kf-tooltip {
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  white-space: nowrap;
}
.kf-tooltip::before { display: none; }

.kf-search-results {
  position: absolute;
  top: 64px; left: 14px;
  width: 320px;
  max-width: calc(100% - 28px);
  z-index: 500;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.kf-search-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--gray-line);
  font-family: var(--body);
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}
.kf-search-item:last-child { border-bottom: none; }
.kf-search-item:hover { background: var(--red-tint); color: var(--red-dark); }
.kf-search-item mark {
  background: var(--red-tint);
  color: var(--red-dark);
  font-weight: 700;
  padding: 0;
}
.kf-search-item .badge {
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kf-search-empty {
  padding: 14px;
  font-size: 13px;
  color: var(--gray-text);
  text-align: center;
}

.kf-map-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  z-index: 400;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--gray-text);
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--gray-line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.kf-map-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  z-index: 400;
  padding: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--red-darker);
  line-height: 1.6;
}
.kf-map-error code {
  background: var(--red-tint);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--red-dark);
}

.kf-map-legend {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 500;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 8px 12px;
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.kf-map-legend span { display: flex; align-items: center; gap: 5px; }
.kf-map-legend i {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 2px;
  border: 1px solid var(--gray-line);
}
.kf-map-legend .dot-default  { background: var(--white); border-color: #bdbdc4; }
.kf-map-legend .dot-hover    { background: var(--red-tint); border-color: var(--red); }
.kf-map-legend .dot-selected { background: var(--red); border-color: var(--red-dark); }

@media (max-width: 720px) {
  .kf-map-legend { font-size: 10px; gap: 8px; padding: 6px 10px; }
  .kf-mapbar { width: calc(100% - 28px); }
}

/* ---------- Warenkorb (Cart) ---------- */
.kf-cart {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow: hidden;
}
.kf-cart-head {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--gray-line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.kf-cart-head h3 {
  margin: 0;
  font-size: 18px;
  font-family: var(--display);
}
.kf-cart-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--red);
  text-transform: uppercase;
  background: var(--red-tint);
  padding: 4px 10px;
  border-radius: 100px;
}
.kf-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  min-height: 200px;
}
.kf-cart-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--gray-text);
}
.kf-cart-empty .empty-icon {
  font-size: 36px;
  color: var(--gray-line);
  margin-bottom: 12px;
}
.kf-cart-empty p {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--black);
  font-weight: 600;
}
.kf-cart-empty small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-mute);
}

.kf-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kf-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 22px;
  border-bottom: 1px solid var(--gray-line);
  transition: background .12s;
}
.kf-cart-item:hover { background: var(--gray-bg); }
.kf-cart-item:last-child { border-bottom: none; }
.kf-cart-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}
.kf-cart-remove {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gray-line);
  background: var(--white);
  color: var(--gray-mute);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
}
.kf-cart-remove:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.kf-cart-actions {
  padding: 14px 22px;
  border-top: 1px solid var(--gray-line);
  background: var(--gray-bg);
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .kf-cart {
    position: relative;
    top: auto;
    max-height: 480px;
  }
}

/* ---------- Filter ---------- */
.kf-filter {
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 32px;
  border: 1px solid var(--gray-line);
}
.kf-filter-head {
  margin-bottom: 24px;
}
.kf-filter-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 6px 0 8px;
}
.kf-filter-head p {
  font-size: 14px;
  margin: 0;
}
.kf-filter-title {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin: 18px 0 12px;
}
.kf-filter-title:first-of-type { margin-top: 0; }

.kf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.chip {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 9px 16px;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: all .15s;
  position: relative;
}
.chip:hover {
  border-color: var(--red);
  color: var(--red);
}
.chip.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-dark);
  box-shadow: 0 2px 0 var(--red-darker);
}
.chip.active::before {
  content: "✓ ";
  font-weight: 700;
  margin-right: 2px;
}

/* ---------- Anfrage-Sektion ---------- */
.kf-anfrage {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.kf-anfrage::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--red), transparent 65%);
  opacity: 0.25;
  pointer-events: none;
}
.kf-anfrage-head {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
  max-width: 600px;
}
.kf-anfrage-head h2 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 6px 0 12px;
}
.kf-anfrage-head p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.kf-anfrage .kontakt-form {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--black);
}

.form-summary {
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--red);
  padding: 16px 18px;
  border-radius: var(--radius);
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.6;
}
.form-summary strong { color: var(--black); display: block; margin-bottom: 8px; }
.form-summary .sum-line { padding: 3px 0; color: var(--gray-text); }
.form-summary .sum-line strong { display: inline; margin-right: 6px; color: var(--black); }
.form-summary em { font-style: normal; color: var(--gray-mute); }

@media (max-width: 720px) {
  .kf-anfrage { padding: 32px 24px; }
  .kf-filter { padding: 28px 22px; }
}

/* Submit-Button disabled state */
#submitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

/* ============================================================
   KONFIGURATOR — Erweiterungen für Karte mit Hintergrund + Geocoding
   ============================================================ */

/* Such-Sektionen (Gemeinden / Adressen) */
.kf-search-section {
  padding: 10px 14px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mute);
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kf-search-section + .kf-search-section { margin-top: 4px; }
.loading-mini {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.loading-mini::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border: 2px solid var(--red-tint);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Such-Item Badges */
.kf-search-item .badge {
  background: var(--gray-line);
  color: var(--gray-text);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.kf-search-item .badge.gemeinde {
  background: var(--red-tint);
  color: var(--red-dark);
}
.kf-search-item .badge.address {
  background: var(--black);
  color: var(--white);
}
.kf-search-item .badge.selected {
  background: var(--red);
  color: var(--white);
}
.kf-search-item .name {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
}

/* Temporärer Marker (Geocoding-Treffer) */
.kf-temp-marker {
  animation: pulse-marker 1.4s ease-in-out infinite;
}
@keyframes pulse-marker {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(200, 16, 46, 0.7)); }
  50%      { filter: drop-shadow(0 0 8px rgba(200, 16, 46, 1)); }
}
.kf-tooltip-info {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--red);
  font-size: 11px;
  padding: 6px 10px;
  line-height: 1.4;
}
.kf-tooltip-info strong { color: var(--red); }
.kf-tooltip-info small { color: var(--gray-text); }

/* Legend an die neuen Layer angepasst */
.kf-map-legend .dot-default  { background: rgba(255,255,255,0.4); border-color: #7a7a82; }

/* ============================================================
   Flug-Animation: Gemeinde fliegt in den Warenkorb
   ============================================================ */
.kf-fly-dot {
  position: fixed;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  background: linear-gradient(180deg, var(--red-bright), var(--red), var(--red-dark));
  border-radius: 50%;
  border: 3px solid var(--white);
  pointer-events: none;
  z-index: 10000;
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 6px 20px rgba(200, 16, 46, 0.55),
    0 0 0 3px rgba(200, 16, 46, 0.18);
  transition:
    left 1.2s cubic-bezier(0.55, -0.1, 0.45, 1.25),
    top 1.2s cubic-bezier(0.55, -0.1, 0.45, 1.25),
    transform 1.2s ease-out,
    opacity 1.2s ease-out;
  transform: translate(0, 0) scale(1);
}
.kf-fly-dot::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid var(--red);
  opacity: 0.4;
  animation: ring-out 0.9s ease-out forwards;
}
@keyframes ring-out {
  0%   { transform: scale(0.3); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Counter pulsiert beim Eintreffen */
.kf-count-bounce {
  animation: count-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes count-bounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.4); background: var(--red); color: var(--white); }
  60%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* ============================================================
   Form-Erweiterungen: AGB-Checkbox, Honeypot, Status, Loading
   ============================================================ */

/* Honeypot: für Bots sichtbar, für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Checkboxen einheitlich gestalten */
.form-group.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.form-group.form-check input[type="checkbox"] {
  width: auto;
  margin: 4px 0 0 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--red);
}
.form-group.form-check label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--gray-text);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
}
.form-group.form-check label a {
  color: var(--red);
  font-weight: 600;
}

/* Submit-Button Loading-State */
.btn .btn-label { transition: opacity .15s; }
.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn.is-loading .btn-label {
  opacity: 0;
}
.btn.is-loading::before {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading::after { display: none; }
.btn { position: relative; }

/* Status-Box (Erfolg/Fehler nach Submit) */
.form-status {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid var(--gray-line);
}
.form-status.success {
  background: #f0fdf4;
  border-color: #86efac;
  color: #14532d;
}
.form-status.success::before {
  content: "✓ ";
  font-weight: 700;
  color: #16a34a;
}
.form-status.error {
  background: var(--red-tint);
  border-color: var(--red);
  color: var(--red-darker);
}
.form-status.error::before {
  content: "✕ ";
  font-weight: 700;
  color: var(--red);
}
.form-status strong { display: block; margin-bottom: 4px; }

/* ============================================================
   Unverbindlichkeits-Hinweis vor Submit
   ============================================================ */
.form-unverbindlich {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.55;
  color: #14532d;
}
.form-unverbindlich strong { color: #14532d; }
.unverb-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #16a34a;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: inset 0 -2px 0 #15803d, 0 2px 6px rgba(22, 163, 74, 0.3);
}

/* ============================================================
   Toast-Notification (Tipp-Hinweise)
   ============================================================ */
.kf-toast {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 9000;
  transform: translateX(-50%) translateY(-30px);
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(0.4, 0, 0.2, 1),
              transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.kf-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.kf-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  flex-shrink: 0;
  animation: toast-bounce 1s ease-in-out infinite;
}
@keyframes toast-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
@media (max-width: 720px) {
  .kf-toast { top: 78px; font-size: 13px; padding: 12px 18px; }
}

/* ============================================================
   Filter-Sektion: Pulse beim ersten Item-Add
   ============================================================ */
.kf-filter {
  transition: box-shadow .3s ease, border-color .3s ease;
}
.kf-filter.kf-pulse {
  animation: filter-glow 1.4s ease-out 3;
  border-color: var(--red);
}
@keyframes filter-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
  35% {
    box-shadow: 0 0 0 12px rgba(200, 16, 46, 0.12),
                0 0 0 2px rgba(200, 16, 46, 0.4);
  }
}

/* ============================================================
   Schritt-Indikator: aktive Schritte sanft pulsieren
   ============================================================ */
.kf-step.active .num {
  animation: step-pulse 1.8s ease-in-out infinite;
}
@keyframes step-pulse {
  0%, 100% {
    box-shadow: 0 2px 0 var(--red-darker),
                0 0 0 0 rgba(200, 16, 46, 0.4);
  }
  50% {
    box-shadow: 0 2px 0 var(--red-darker),
                0 0 0 8px rgba(200, 16, 46, 0);
  }
}
