@import url('../tokens.css');

@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
@media (min-width: 1200px) {
  .wrap { padding: 0 2rem; }
}

/* ═══════════════════════════════════════════
   Regeln / Striche – zentrales Designelement
   aus der Wortmarke (Salbei-Hauptregel +
   Sekundär-Flankenlinien)
   ═══════════════════════════════════════════ */

/* Einzelne Hauptregel (Salbei, 2px) */
.rule {
  display: block;
  width: var(--rule-max);
  height: var(--rule-width);
  background: var(--rule-primary);
  border: 0;
  margin: 0;
}

.rule--full { width: 100%; max-width: 14rem; }
.rule--wide { width: 100%; max-width: 100%; }
.rule--center { margin-left: auto; margin-right: auto; }
.rule--secondary { background: var(--rule-secondary); height: var(--rule-width-thin); }

/* Doppelregel wie unter WAHNER: Salbei + feine Sekundärlinie */
.rule-double {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--rule-gap);
  width: 100%;
  border: 0;
  margin: 0;
}
.rule-double::before,
.rule-double::after {
  content: "";
  display: block;
  height: var(--rule-width);
  background: var(--rule-primary);
}
/* Obere Linie (dicker): 98 % der Überschriftbreite */
.rule-double::before { width: 98%; }
/* Untere Linie (dünner): 85 % der Überschriftbreite */
.rule-double::after {
  width: 85%;
  height: var(--rule-width-thin);
  background: var(--rule-secondary);
  opacity: 0.85;
}
.rule-double--center { align-items: center; }
.rule-double--on-dark::before { background: var(--color-salbei-light); }
.rule-double--on-dark::after { background: var(--color-on-dark-muted); }

/* Flankenregel wie bei GmbH: ── Text ── */
.rule-flank {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
  margin: 0;
}
.rule-flank::before,
.rule-flank::after {
  content: "";
  flex: 1;
  height: var(--rule-width-thin);
  background: var(--rule-secondary);
  opacity: 0.85;
}
.rule-flank__text {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-logo-meta);
  white-space: nowrap;
}
.rule-flank--center { margin-left: auto; margin-right: auto; }
.rule-flank--on-dark::before,
.rule-flank--on-dark::after { background: var(--color-on-dark-muted); }
.rule-flank--on-dark .rule-flank__text { color: var(--color-on-dark); }

/* Überschrift mit Doppelregel darunter */
/* Überschrift mit Doppelregel darunter – Breite = Textbreite */
.heading-rule {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 0.12rem;
  margin-bottom: var(--space-md);
}
.heading-rule h1,
.heading-rule h2,
.heading-rule .claim { margin-bottom: 0; }
.heading-rule .rule-double {
  width: 100%; /* Bezug = Überschriftbreite */
}
.heading-rule--center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.heading-rule--center .rule-double { align-items: center; }

/* ═══════════════════════════════════════════
   Header
   ═══════════════════════════════════════════ */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-md);
}
.logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}
.logo img {
  height: var(--logo-height);
  width: auto;
  max-width: 280px;
  display: block;
}
.nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}
.nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
.nav a:not(.nav-cta):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--rule-primary);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > summary {
  list-style: none;
  background: none;
  border: none;
  padding: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  position: relative;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.7;
}
.nav-dropdown > summary:hover { color: var(--color-accent); }
.nav-dropdown[open] > summary { color: var(--color-accent); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  margin-top: 0;
  padding: 0.35rem 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(42, 52, 57, 0.12);
  z-index: 120;
}
/* Unsichtbare Brücke: Maus bleibt im Dropdown-Bereich */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover::after { display: none; }
.nav-dropdown-menu a:hover { background: #F4F7F5; }

/* Orientierungsleiste (Unterseiten + Zielgruppen) */
.audience-bar {
  border-top: 1px solid var(--color-border);
  background: #F7F9F8;
}
.audience-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  min-height: 2.5rem;
}
.audience-bar a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 0.55rem 0;
  margin-right: 1.35rem;
}
.audience-bar a:last-child { margin-right: 0; }
.audience-bar a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
.audience-bar a:hover::after,
.audience-bar a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rule-primary);
}
.audience-bar a.is-active {
  color: var(--color-accent);
  font-weight: 600;
}

/* Mockup-Vergleichshinweis (nur Varianten-Demos) */
.mock-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.55rem 1.5rem;
  background: #EEF2F0;
  border-bottom: 1px solid var(--color-border);
}
.mock-note a { font-weight: 600; }
.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--color-primary-dark); }
.nav-cta:hover::after { display: none; }

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}
.faq-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.faq-nav a:hover { border-color: var(--color-accent); text-decoration: none; color: var(--color-accent); }
.faq-group { scroll-margin-top: calc(var(--header-height) + 1rem); }
.faq-group + .faq-group { margin-top: var(--space-xl); }
.legal-placeholder {
  background: #F4F7F5;
  border-left: var(--rule-width) solid var(--rule-primary);
  padding: 1rem 1.25rem;
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-salbei);
}
.legal-page .heading-rule {
  margin-top: var(--space-lg);
}
.legal-page .heading-rule:first-child {
  margin-top: 0;
}
.legal-block {
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.7;
  max-width: none;
}
.legal-block + .legal-block { margin-top: 0.75rem; }
.legal-list {
  margin: 0.35rem 0 1.25rem 1.25rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.legal-list li { margin: 0.35rem 0; }
.legal-list a { color: var(--color-link); }
.legal-block a {
  color: var(--color-link);
}
.legal-page h2 {
  font-size: 1.15rem;
}

/* ═══════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════ */
.hero {
  background:
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  padding: var(--space-xl) 0;
}
/* Full-bleed Hero mit Bild (Startseite) – Text in lesbarer Panel-Karte */
.hero--media {
  position: relative;
  min-height: min(68vh, 560px);
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
  background: var(--color-graphit-dark);
  overflow: hidden;
}
.hero--media .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(42, 52, 57, 0.55) 0%,
      rgba(42, 52, 57, 0.2) 45%,
      rgba(42, 52, 57, 0.08) 100%
    );
}
.hero--media .wrap {
  position: relative;
  z-index: 2;
}
.hero-panel {
  max-width: 44rem;
  width: min(100%, 44rem);
  background: rgba(255, 255, 255, 0.96);
  padding: 1.75rem 1.75rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(42, 52, 57, 0.22);
  border-left: 3px solid var(--rule-primary);
}
.hero--media .hero-panel .claim { color: var(--color-accent); }
.hero--media .hero-panel .rule-double::before { background: var(--rule-primary); }
.hero--media .hero-panel .rule-double::after { background: var(--rule-secondary); }
.hero--media .hero-panel h1 {
  color: var(--color-primary);
  max-width: none;
}
.hero--media .hero-panel .hero-lead { color: var(--color-text-muted); }
.hero--media .hero-panel .btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.hero--media .hero-panel .btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.hero-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.65rem;
  z-index: 2;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Unterseiten: Split-Hero – gleiche Oberkante Text/Bild */
.hero--split {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}
.hero--split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}
.hero--split .hero-copy {
  min-width: 0;
  padding-top: 0;
}
.hero--split .hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
  width: 100%;
  align-self: start;
}
.hero--split .hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero--split .hero-visual--graphic {
  background: var(--color-surface);
}
.hero--split .hero-visual--graphic img {
  object-fit: contain;
  object-position: center;
  padding: 0.5rem;
}
.hero--split .hero-visual figcaption { display: none; }
.hero--split-flip .hero-copy { order: 2; }
.hero--split-flip .hero-visual { order: 1; }
@media (max-width: 767px) {
  .hero--split .wrap { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero--split-flip .hero-copy,
  .hero--split-flip .hero-visual { order: unset; }
  .hero--split .hero-visual { aspect-ratio: 16 / 10; }
  .hero-panel { padding: 1.35rem 1.25rem 1.5rem; }
}

/* Bildplatte in Zwei-Spalten / Sections */
.figure-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-border);
  height: 100%;
  min-height: 260px;
}
.figure-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
}
.figure-media figcaption {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0.65rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.figure-media--tall img { min-height: 320px; max-height: 480px; }
.band-media {
  position: relative;
  min-height: 220px;
  background: var(--color-graphit-dark) center/cover no-repeat;
}
.band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 52, 57, 0.45);
}

.claim {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0;
}
.hero .heading-rule {
  margin-bottom: var(--space-md);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  color: var(--color-primary);
  max-width: none;
  overflow-wrap: break-word;
  hyphens: auto;
  margin-bottom: var(--space-md);
}
.hero--split h1 {
  max-width: none;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); text-decoration: none; color: #fff; }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* ═══════════════════════════════════════════
   Sections
   ═══════════════════════════════════════════ */
.section { padding: var(--space-xl) 0; }
.section-alt { background: var(--color-surface); }
.section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.section .heading-rule h2 { margin-bottom: 0; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

/* Karten */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  position: relative;
}
.card::before,
.card::after { content: none; display: none; }
.card h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}
.card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* CTA-Band mit Flankenregel */
.cta-band {
  text-align: center;
  padding: var(--space-xl) 0;
}
.cta-band .rule-flank { margin-bottom: var(--space-md); }
.cta-band .lead-text { margin-left: auto; margin-right: auto; }

/* Insight-Band / Störer – volle Breite, argumentativer Inhaltsblock */
.insight-band {
  background: var(--color-primary-dark);
  color: var(--color-on-dark);
  padding: var(--space-xl) 0;
  border-top: var(--rule-width) solid var(--color-salbei);
  border-bottom: var(--rule-width) solid var(--color-salbei);
}
.insight-band__inner { max-width: var(--max-width); }
.insight-band .heading-rule h2,
.insight-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #fff;
  margin-bottom: 0;
}
.insight-band .heading-rule { margin-bottom: var(--space-md); }
.insight-band p {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 46rem;
  color: var(--color-on-dark-muted);
  margin: 0 0 var(--space-sm);
}
.insight-band__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 46rem;
  margin-bottom: var(--space-lg);
  color: var(--color-on-dark);
}
.insight-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-md);
}
.insight-band__item {
  border-left: 2px solid var(--color-salbei-light);
  padding: 0.15rem 0 0.15rem var(--space-sm);
}
.insight-band__item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-salbei-light);
  margin: 0 0 0.35rem;
}
.insight-band__item p {
  font-size: 0.9rem;
  color: var(--color-on-dark-muted);
  margin: 0;
  line-height: 1.5;
}
.insight-band__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  max-width: 46rem;
  color: var(--color-on-dark-muted);
}
.insight-band__list li {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 0.35rem;
}
.insight-band__list li::marker {
  color: var(--color-salbei-light);
}
.insight-band__outcome {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #fff;
  max-width: 52rem;
}
.insight-band__outcome strong { color: var(--color-salbei-light); font-weight: 600; }
.insight-band__outcome a {
  color: var(--color-salbei-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 181, 160, 0.45);
}
.insight-band__outcome a:hover {
  border-bottom-color: var(--color-salbei-light);
}
.insight-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: var(--space-sm);
  font-size: 0.95rem;
}
.insight-band__links a {
  color: var(--color-salbei-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 181, 160, 0.45);
}
.insight-band__links a:hover {
  border-bottom-color: var(--color-salbei-light);
}

/* 6-Phasen-Prozess (Banken) */
.process-phases {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
@media (max-width: 1024px) {
  .process-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .process-phases { grid-template-columns: 1fr; }
}
.process-phase {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.process-phase__num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}
.process-phase h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.process-phase p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}
.process-note {
  margin-top: var(--space-md);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

/* Kernleistungen / Säulen – plakative Zweispalter */
.kern-pair,
.saeule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}
@media (max-width: 800px) {
  .kern-pair,
  .saeule-grid { grid-template-columns: 1fr; }
}
.kern {
  border-top: 2px solid var(--color-accent);
  padding-top: var(--space-sm);
}
.kern h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.kern p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-size: 1.05rem;
}
.insight-band .kern { border-top-color: var(--color-salbei-light); }
.insight-band .kern h3 { color: #fff; }
.insight-band .kern p {
  color: var(--color-on-dark-muted);
  max-width: none;
  font-size: 1.05rem;
}
.kern__num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin: 0 0 0.35rem;
}
.insight-band .kern__num { color: var(--color-salbei-light); }
.kern-pair--4 .kern h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}
.value-row li {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  padding-top: 0.45rem;
  border-top: 2px solid var(--color-accent);
}
.saeule {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-md);
}
.saeule h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.saeule p,
.saeule ul {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.saeule ul {
  padding-left: 1.15rem;
  margin-top: 0.55rem;
}
.saeule li { margin-bottom: 0.4rem; }
.saeule li::marker { color: var(--color-accent); }
.result-callout {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  max-width: 46rem;
}
.result-callout strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}
.result-callout p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.5;
  margin: 0;
}

.business-case {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.business-case__item {
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.business-case__item h3 {
  font-size: 0.95rem;
  color: var(--color-accent);
  margin: 0 0 0.35rem;
}
.business-case__item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Transparency banner */
.transparency {
  background: #F2F5F3;
  border-top: var(--rule-width-thin) solid var(--rule-secondary);
  border-bottom: var(--rule-width-thin) solid var(--rule-secondary);
  padding: var(--space-sm) 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-on-dark);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.footer-brand img {
  height: var(--logo-height-footer);
  width: auto;
  max-width: 252px;
  display: block;
  margin-bottom: 0.75rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.site-footer a { color: var(--color-on-dark); }
.site-footer a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-sm);
  font-size: 0.75rem;
  opacity: 0.8;
}

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

/* FAQ / Leistungs-Akkordeon */
.faq-item,
.acc-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child,
.acc-item:first-child { border-top: 1px solid var(--color-border); }
.faq-q,
.acc-q {
  width: 100%;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  cursor: pointer;
  line-height: 1.35;
}
.faq-q::after,
.acc-q::after {
  content: "";
  margin-left: auto;
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.35rem;
  border-right: 2px solid var(--color-sekundaer);
  border-bottom: 2px solid var(--color-sekundaer);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq-item.open .faq-q::after,
.acc-item.open .acc-q::after {
  margin-top: 0.5rem;
  transform: rotate(-135deg);
}
.faq-a,
.acc-a { padding: 0 0 1.15rem; font-size: 0.9rem; color: var(--color-text-muted); display: none; }
.faq-item.open .faq-a,
.acc-item.open .acc-a { display: block; }

.acc-num {
  flex: 0 0 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-salbei);
}
.acc-q-text { flex: 1; min-width: 0; }
.acc-q-title { display: block; }
.acc-q-teaser {
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.faq-a p,
.acc-a p { margin: 0 0 0.75rem; }
.faq-a p:last-child,
.acc-a p:last-child { margin-bottom: 0; }
.acc-a ul {
  margin: 0;
  padding-left: 1.15rem;
}
.acc-a li { margin-bottom: 0.35rem; }
.acc-a li:last-child { margin-bottom: 0; }
.acc-note {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
}

/* Leistungs-Reiter */
.svc-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-md);
}
.svc-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.65rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.svc-tab:hover { color: var(--color-primary); }
.svc-tab[aria-selected="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}
.svc-panel { display: none; }
.svc-panel.is-active { display: block; }
.svc-hinweis {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-left: 2px solid var(--color-accent);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  max-width: 46rem;
}
.svc-hinweis strong { color: var(--color-primary); font-weight: 600; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.two-col > .col-main,
.two-col > .col-aside {
  min-width: 0;
}
.two-col > .col-aside > .contact-card:first-child,
.two-col > .col-aside.contact-card {
  margin-top: 0;
}
/* Text rechts, Nebeninhalt links (Desktop) */
.two-col--flip .col-main { order: 2; }
.two-col--flip .col-aside { order: 1; }
@media (max-width: 767px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--flip .col-main,
  .two-col--flip .col-aside { order: unset; }
}

.lead-text { max-width: 65ch; color: var(--color-text-muted); margin-bottom: var(--space-md); }
.stack-list { list-style: none; padding: 0; counter-reset: stack; }
.stack-list li {
  padding: 0.75rem 0;
  border-bottom: var(--rule-width-thin) solid #D5DCE2;
  font-size: 0.95rem;
  color: var(--color-text);
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}
.stack-list li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--rule-primary);
  align-self: start;
}
/* Prozess-/Schrittliste: nur Ziffern, keine Kreise */
.stack-list--numbered {
  grid-template-columns: unset;
}
.stack-list--numbered li {
  grid-template-columns: 1.5rem 1fr;
  counter-increment: stack;
}
.stack-list--numbered li::before {
  content: counter(stack) ".";
  width: auto;
  height: auto;
  margin-top: 0;
  border-radius: 0;
  background: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  align-self: baseline;
}
.stack-list li:last-child { border-bottom: none; }
.stack-list li strong { color: var(--color-primary); }

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  position: relative;
  height: fit-content;
}
.contact-card::before,
.contact-card::after { content: none; display: none; }
.contact-card h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}
.contact-card h3::before,
.contact-card h3::after { display: none; content: none; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.35rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  background: #fff;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .label-optional { font-weight: 400; color: var(--color-text-muted); }
.contact-form .field-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: -0.15rem 0 0.5rem;
}
.contact-form .field-hint--meta { margin-top: 0.35rem; margin-bottom: var(--space-sm); font-size: 0.75rem; }
.contact-form input[type="file"] {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.form-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: var(--space-sm); }
.placeholder-note {
  background: #F4F7F5;
  border-left: var(--rule-width) solid var(--rule-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-salbei);
  margin-bottom: var(--space-md);
}

@media (max-width: 767px) {
  .nav { display: none; }
  .hero { padding: var(--space-lg) 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 56px; max-width: 220px; }
}
