/* ============================================================
   style.css – KI-Partner
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --navy:        #2b3440;
  --navy-mid:    #465364;
  --accent:      #6b8ca3;
  --accent-dark: #57738a;
  --white:       #FFFFFF;
  --gray-light:  #f3f5f7;
  --gray-mid:    #667085;
  --gray-dark:   #1f2731;
  --text:        #252d38;
  --text-muted:  #667085;
  --surface:     #ffffff;
  --surface-alt: #eef1f4;
  --border:      rgba(37, 45, 56, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1),  0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);

  --transition: 0.28s ease;
  --container:  1200px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(107, 140, 163, 0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(71, 85, 105, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfdfd 0%, #f5f7f9 100%);
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
a        { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover  { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4rem 0; }

.bg-light { background: var(--gray-light); }
.bg-navy  { background: var(--navy); }
.text-accent { color: var(--accent); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(43, 52, 64, 0.22);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(43, 52, 64, 0.20);
}
.btn--ghost:hover {
  background: rgba(43, 52, 64, 0.06);
  color: var(--navy);
  border-color: rgba(43, 52, 64, 0.42);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--gray-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--sm  { padding: 0.5rem 1.2rem;  font-size: 0.875rem; }
.btn--lg  { padding: 0.9rem 2.2rem;  font-size: 1.05rem; }

/* Focus visible for keyboard nav */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Section Headers ───────────────────────────────────────── */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section__eyebrow--light { color: var(--accent); }

.section__title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section__title--light { color: var(--white); }

.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.75;
}
.section__subtitle--light { color: rgba(255, 255, 255, 0.72); }

/* ── Why Section ───────────────────────────────────────────── */
.why {
  background: linear-gradient(180deg, #f9fbfc 0%, #f2f5f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.why__kpi {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(107, 140, 163, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(37, 45, 56, 0.07);
  padding: 1.35rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why__kpi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy));
  opacity: 0.85;
}

.why__kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37, 45, 56, 0.12);
  border-color: rgba(107, 140, 163, 0.4);
}

.why__kpi-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(107, 140, 163, 0.12);
  border-radius: 50%;
  margin-bottom: 0.15rem;
}

.why__kpi-icon svg {
  width: 22px;
  height: 22px;
}

.why__kpi-value {
  display: block;
  color: var(--navy);
  font-family: var(--font-display, inherit);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0.1rem 0 0.15rem;
}

.why__kpi-of {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-mid);
  margin: 0 0.15rem;
  letter-spacing: 0;
}

.why__kpi-label {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.why__kpi-split {
  display: block;
  color: var(--gray-mid);
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: auto;
}

.why__boosters {
  margin: 2.5rem auto 0;
  text-align: center;
}

.why__boosters-title {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.why__boosters-title span {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}

.why__boosters-title span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: linear-gradient(90deg, rgba(107, 140, 163, 0) 0%, rgba(107, 140, 163, 0.45) 50%, rgba(107, 140, 163, 0) 100%);
  border-radius: 4px;
}

.why__boosters-lead {
  color: var(--gray-mid);
  font-size: 1rem;
  margin: 0 auto 1.75rem;
  max-width: 540px;
}

.why__boosters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why__booster {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem 1.5rem;
  box-shadow: 0 6px 18px rgba(37, 45, 56, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
  overflow: hidden;
}

.why__booster::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #9FB7C8);
  opacity: 0.85;
}

.why__booster:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 45, 56, 0.12);
  border-color: rgba(107, 140, 163, 0.45);
}

.why__booster-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 140, 163, 0.18), rgba(107, 140, 163, 0.06));
  color: var(--accent);
}

.why__booster-icon svg {
  width: 26px;
  height: 26px;
}

.why__booster-title {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.why__booster-text {
  color: var(--gray-mid);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 860px) {
  .why__boosters-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.why__kpis-note {
  margin: -0.6rem 0 1.5rem;
  font-size: 0.78rem;
  color: var(--gray-mid);
  text-align: right;
}

.why__kpis-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Quellen ───────────────────────────────────────────────── */
.sources {
  background: #f4f6f8;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.sources__title {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.sources__intro {
  color: var(--gray-mid);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.sources__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: disc;
  padding-left: 1.15rem;
  color: var(--gray-mid);
  font-size: 0.85rem;
  line-height: 1.55;
}

.sources__list strong {
  color: var(--navy);
}

.sources__list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.why__cta {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #3a4f63 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 14px 34px rgba(37, 45, 56, 0.18);
}

.why__cta-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.why__cta-text strong {
  color: var(--white);
  font-weight: 700;
}

.why__cta .btn {
  flex-shrink: 0;
}

.why__signals {
  margin-top: 2rem;
}

.why__signals-title {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 0.9rem;
  text-align: center;
}

.why__signals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why__signal {
  background: var(--white);
  border: 1px solid rgba(107, 140, 163, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 6px 18px rgba(37, 45, 56, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.why__signal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 45, 56, 0.1);
}

.why__signal-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(107, 140, 163, 0.12);
  border-radius: 10px;
}

.why__signal-icon svg {
  width: 20px;
  height: 20px;
}

.why__signal-title {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.15rem 0 0.1rem;
}

.why__signal-text {
  color: var(--gray-mid);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

/* ── Reveal Animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 840px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  border: 1px solid rgba(0, 0, 0, .07);
  display: none;
}
.cookie-banner.is-visible { display: block; }

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__content p {
  flex: 1;
  min-width: 220px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Header / Navigation ───────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.nav__logo img { height: 44px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover {
  background: var(--gray-light);
  color: var(--navy);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(107, 140, 163, 0.12), transparent 30%),
    radial-gradient(circle at 15% 80%, rgba(71, 85, 105, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(245,247,249,0.95) 100%);
}

.hero__bg-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#neural-canvas {
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition-delay: 0.08s;
}

.hero__headline {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  transition-delay: 0.18s;
}

.hero__subline {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--gray-mid);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  transition-delay: 0.28s;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  transition-delay: 0.38s;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  border-radius: 2px;
  animation: scroll-pulse 2s ease infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; height: 26px; }
  50%       { opacity: 1;   height: 36px; }
}

/* ── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(90deg, #2b3440 0%, #313b48 100%);
  padding: 1.1rem 0;
}
.trust-bar__items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.trust-bar__item {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.trust-bar__icon { color: var(--accent); }

/* ── Cards (Leistungen) ────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.card__icon { width: 56px; height: 56px; margin-bottom: 1.5rem; }
.card__icon svg { width: 100%; height: 100%; }

.card__title {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.card__list li {
  font-size: 0.875rem;
  color: var(--gray-mid);
  padding-left: 1.25rem;
  position: relative;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Process (Vorgehen) ────────────────────────────────────── */
.process {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(107, 140, 163, 0.08));
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.75rem 0;
}
.process__step:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.process__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #eef2f5;
}

.process__body { padding: 0.5rem 0; }

.process__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.process__text {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Über uns ──────────────────────────────────────────────── */
.ueber-uns__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.ueber-uns__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.ueber-uns__content .section__eyebrow,
.ueber-uns__content .section__title { text-align: left; }

.ueber-uns__content p {
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.ueber-uns__facts {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.ueber-uns__facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ueber-uns__facts strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.ueber-uns__facts span {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-top: 0.3rem;
}

/* ── Blog ──────────────────────────────────────────────────── */
.blog__carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.blog__viewport {
  --cards-per-view: 3;
  overflow: hidden;
  width: 100%;
}

.blog__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.34s ease;
  will-change: transform;
}

.blog__card {
  flex: 0 0 calc((100% - (var(--cards-per-view) - 1) * 1rem) / var(--cards-per-view));
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(107, 140, 163, 0.22);
  padding: 1.35rem;
  box-shadow: 0 8px 22px rgba(37, 45, 56, 0.08);
  min-width: 0;
}

.blog__card--featured {
  background: linear-gradient(160deg, #eef7ff 0%, #f8fbff 55%, #ffffff 100%);
  border-color: rgba(63, 119, 167, 0.34);
  box-shadow: 0 12px 26px rgba(37, 89, 137, 0.16);
}

.blog__card--featured .blog__meta {
  color: #2f6490;
  font-weight: 600;
}

.blog__card--featured h3 {
  color: #1f4f79;
}

.blog__card-media {
  display: block;
  margin: -1.35rem -1.35rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, #2b3440 0%, #465364 100%);
}

.blog__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog__hero {
  margin: 1.5rem 0 2rem;
}

.blog__hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(37, 45, 56, 0.12);
  display: block;
}

.blog__hero figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-mid);
  text-align: center;
  font-style: italic;
}

.blog__meta {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 0.75rem;
}

.blog__card h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.blog__card p {
  color: var(--gray-mid);
  font-size: 0.88rem;
  line-height: 1.62;
  margin-bottom: 0.95rem;
}

.blog__nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(43, 52, 64, 0.24);
  background: #ffffff;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.blog__nav:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.blog__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Kontakt ───────────────────────────────────────────────── */
.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.kontakt__form-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.kontakt__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.32); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.form-group--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-group--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-group--check label {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}
.form-group--check label a { color: var(--accent); }

.form-message {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(0, 180, 216, 0.18);
  color: #67e8f9;
  border: 1px solid rgba(0, 180, 216, 0.35);
}
.form-message.error {
  display: block;
  background: rgba(220, 50, 50, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(220, 50, 50, 0.35);
}

.kontakt__quick-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kontakt__quick-actions .btn {
  margin: 0;
}

.kontakt__whatsapp-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.kontakt__whatsapp-mobile:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.42);
}

.kontakt__whatsapp-mobile svg {
  width: 20px;
  height: 20px;
  fill: #25d366;
}

/* ── Booking (Cal.com) ─────────────────────────────────────── */
.kontakt__booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.kontakt__booking-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1.25;
  padding: 0.85rem 1.2rem;
}

.kontakt__booking-meta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  transform: translateY(-2px);
}

.kontakt__booking-btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
  position: relative;
}

.kontakt__booking-btn.is-loading::after {
  content: '';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: kontakt-booking-spin 0.7s linear infinite;
}

@keyframes kontakt-booking-spin {
  to { transform: rotate(360deg); }
}

.kontakt__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontakt__calendly-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kontakt__calendly-card h3 { color: var(--white); font-size: 1.1rem; }
.kontakt__calendly-card p  { color: rgba(255, 255, 255, 0.68); font-size: 0.93rem; line-height: 1.65; }

.kontakt__note {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

.kontakt__info p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
  margin-bottom: 0.5rem;
}
.kontakt__info a { color: var(--accent); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #232b35 0%, #1f2731 100%);
  color: rgba(255, 255, 255, 0.58);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__brand img   { margin-bottom: 1rem; }
.footer__brand p     { font-size: 0.875rem; line-height: 1.65; }

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__legal ul {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--white); }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Impressum / Datenschutz pages ─────────────────────────── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.legal-page p, .legal-page li {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-page ul { list-style: disc; padding-left: 1.5rem; }
.legal-page a { color: var(--accent); }

/* ── EV Tool (Ladelosung) ─────────────────────────────────── */
.evtool-page {
  max-width: 980px;
}

.evtool {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.evtool__card {
  background: var(--white);
  border: 1px solid rgba(107, 140, 163, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(37, 45, 56, 0.08);
}

.evtool__card h2 {
  margin-top: 0;
}

.evtool__toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.8rem;
}

.evtool__inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.evtool__inline-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--gray-mid);
}

.evtool__inline-grid input {
  border: 1px solid rgba(37, 45, 56, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  background: #fff;
  color: var(--text);
}

.evtool__hint {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.evtool__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
}

.evtool__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.evtool__table th,
.evtool__table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
  color: var(--text);
}

.evtool__table th {
  background: #f5f8fb;
  color: var(--navy);
  font-weight: 700;
}

.evtool__actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.evtool__action-btn {
  min-width: 80px;
}

.evtool__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.evtool__status.is-open {
  color: #7a5f00;
  background: #fff4c2;
}

.evtool__status.is-billed {
  color: #1f5d2a;
  background: #dff7e4;
}

.evtool__preview {
  width: 100%;
  min-height: 500px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.evtool__dialog {
  border: 1px solid rgba(107, 140, 163, 0.3);
  border-radius: var(--radius-lg);
  width: min(760px, 94vw);
  padding: 0;
}

.evtool__dialog::backdrop {
  background: rgba(17, 24, 39, 0.45);
}

.evtool__dialog-form {
  padding: 1.25rem;
}

.evtool__dialog-form h3 {
  margin: 0 0 0.8rem;
  color: var(--navy);
}

.evtool__dialog-form h4 {
  margin: 1rem 0 0.5rem;
  color: var(--navy);
}

.evtool__dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.evtool__dialog-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--gray-mid);
}

.evtool__dialog-form input,
.evtool__dialog-form textarea {
  border: 1px solid rgba(37, 45, 56, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  background: #fff;
  color: var(--text);
}

.evtool__dialog-form textarea {
  resize: vertical;
}

.evtool__span-2 {
  grid-column: span 2;
}

.evtool__dialog-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.evtool__example {
  margin-top: 1rem;
  border: 1px solid rgba(37, 45, 56, 0.12);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 0.7rem 0.85rem;
}

.evtool__example summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.evtool__example pre {
  margin-top: 0.7rem;
  background: #1f2731;
  color: #dbe7f1;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow: auto;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ueber-uns__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ueber-uns__photo {
    aspect-ratio: 4 / 3;
    max-height: 280px;
    object-position: center 20%;
    border-radius: var(--radius-lg);
  }
  .kontakt__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  .why__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why__signals-grid {
    grid-template-columns: 1fr;
  }

  .blog__viewport {
    --cards-per-view: 2;
  }

  .evtool__dialog-grid {
    grid-template-columns: 1fr;
  }

  .evtool__inline-grid {
    grid-template-columns: 1fr;
  }

  .evtool__span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .section { padding: 2.75rem 0; }

  .why__kpis { grid-template-columns: 1fr; }
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 0.2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(0, 0, 0, .06);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: 0.75rem 0.75rem; }
  .nav__links .btn { margin-top: 0.5rem; }
  .nav__burger { display: flex; }

  .hero__content { padding-top: 3rem; padding-bottom: 4rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  .process::before { display: none; }
  .process__number { box-shadow: none; }

  .blog__carousel {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .blog__viewport {
    --cards-per-view: 1;
  }

  .blog__nav {
    width: 100%;
    border-radius: var(--radius-sm);
    height: 2.2rem;
  }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__legal ul { gap: 1rem; }

  .kontakt__quick-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kontakt__quick-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .kontakt__whatsapp-mobile {
    display: inline-flex;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .cards { grid-template-columns: 1fr; }
  .trust-bar__items { gap: 0.75rem 1.25rem; }
  .ueber-uns__facts { gap: 1.5rem; }
  .cookie-banner { bottom: 0.75rem; border-radius: var(--radius-md); }
  .cookie-banner__content { flex-direction: column; gap: 1rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ── Landingpage-Komponenten (Hessentag) ───────────────────── */
.card__meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 39, 49, 0.08);
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-weight: 500;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: steps;
}

.steps__item {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(31, 39, 49, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 2px 12px rgba(31, 39, 49, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.steps__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31, 39, 49, 0.08);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.steps__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.6rem;
}

.steps__text {
  color: var(--gray-mid);
  line-height: 1.65;
  margin: 0;
  font-size: 0.96rem;
}

.kontakt__grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

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