/* ReachConsole, öffentliche Website. Konzept «Abfrage». */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schrift/instrument-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("schrift/instrument-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("schrift/instrument-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("schrift/instrument-sans-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --grund: #F6F7F9;
  --flaeche: #FFFFFF;
  --baustein: #EEF0F3;
  --linie: #E2E5EA;
  --feldrahmen: #8D93A0;
  --leise: #5C6370;
  --tinte: #1B1E2B;
  --blau: #1A1FF2;
  --blau-dunkel: #1217B8;
  --blau-mittel: #C9CCFB;
  --blau-hell: #EDEEFE;

  --rand: clamp(16px, 4.4vw, 48px);
  --breite: 1184px;
  --abstand: clamp(64px, 7.5vw, 104px);
  --kopf-hoehe: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
  scrollbar-color: var(--feldrahmen) var(--grund);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--blau-mittel); color: var(--tinte); }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: var(--blau); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blau-dunkel); }

:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: 2px;
  border-radius: 8px;
}

.innen {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding-left: var(--rand);
  padding-right: var(--rand);
}

.sprunglink {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blau);
  color: var(--flaeche);
  font-weight: 600;
  text-decoration: none;
}
.sprunglink:focus { top: 12px; }
.sprunglink:hover, .sprunglink:focus { color: var(--flaeche); background: var(--blau-dunkel); }

/* Knöpfe */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}
.knopf-haupt { background: var(--blau); color: var(--flaeche); }
.knopf-haupt:hover { background: var(--blau-dunkel); color: var(--flaeche); }
.knopf-zweit { background: var(--flaeche); border-color: var(--feldrahmen); color: var(--tinte); }
.knopf-zweit:hover { border-color: var(--tinte); color: var(--tinte); }
.knopf-gross { min-height: 48px; padding: 0 20px; }

/* Status: Form und Wort */

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-aktiv { color: var(--blau); }
.status-aktiv::before { background: var(--blau); }
.status-entwurf { color: var(--leise); font-weight: 500; }
.status-entwurf::before { border: 1.5px solid var(--leise); }

/* Kopf */

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
}

.kopf-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  min-height: var(--kopf-hoehe);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  border-radius: 6px;
}
.logo-link img { display: block; height: 32px; width: auto; }

.menue-knopf { display: none; }

.navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
}

.navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2px;
}

.navigation ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--tinte);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease-out;
}
.navigation ul a:hover { background: var(--baustein); color: var(--tinte); }
.navigation ul a[aria-current="page"] { background: var(--blau-hell); color: var(--blau); font-weight: 600; }

.kopf-aktionen { display: flex; gap: 8px; padding: 8px 0; }

@media (max-width: 1140px) {
  .js .menue-knopf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--feldrahmen);
    border-radius: 8px;
    background: var(--flaeche);
    color: var(--tinte);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .menue-zeichen { display: grid; gap: 4px; width: 16px; }
  .menue-zeichen span { display: block; height: 1.5px; background: var(--tinte); border-radius: 1px; transition: transform 160ms ease-out, opacity 160ms ease-out; }
  .menue-knopf[aria-expanded="true"] .menue-zeichen span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-zeichen span:nth-child(2) { opacity: 0; }
  .menue-knopf[aria-expanded="true"] .menue-zeichen span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .navigation {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 8px 0 20px;
    border-top: 1px solid var(--linie);
  }
  .js .navigation { display: none; }
  .js .navigation.offen { display: flex; }
  .navigation ul { flex-direction: column; }
  .navigation ul a { width: 100%; padding: 0 8px; }
  .kopf-aktionen { padding: 0; }
  .kopf-aktionen .knopf { flex: 1 1 0; }
}

@media (max-width: 1140px) {
  /* Ohne JavaScript bleibt alles sichtbar und bricht um. */
  html:not(.js) .navigation ul { flex-direction: row; }
  html:not(.js) .navigation ul a { width: auto; }
}

@media (max-width: 480px) {
  :root { --kopf-hoehe: 64px; }
  .logo-link img { height: 26px; }
}

/* Abschnitte */

.abschnitt { padding-top: var(--abstand); padding-bottom: var(--abstand); }
.abschnitt + .abschnitt,
.einstieg + .abschnitt { border-top: 1px solid var(--linie); }

.abschnitt-kopf { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

h2 {
  font-size: clamp(28px, 2.2vw + 14px, 40px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lauftext {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--leise);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}

h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.etikett {
  color: var(--leise);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.zahl {
  font-size: 32px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Produktdarstellung: weisse Karte wie in der Anwendung */

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  min-width: 0;
}

.karte-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--linie);
}
.karte-kopf h3, .karte-titel { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0; }
.karte-inhalt { padding: 16px 20px 20px; }
.karte-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 20px 14px;
  border-top: 1px solid var(--linie);
}

.beispiel {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--linie);
  border-radius: 6px;
  color: var(--leise);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.baustein {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--baustein);
  font-weight: 600;
  white-space: nowrap;
}
.baustein-wert { background: var(--blau-hell); color: var(--blau); }

.buchstabe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--blau-hell);
  color: var(--blau);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.ziffern { font-variant-numeric: tabular-nums; }

/* Trichter «Wirkung der Regeln» */

.trichter { display: flex; flex-direction: column; gap: 14px; font-variant-numeric: tabular-nums; }

.trichter-zeile {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 12px;
}
.trichter-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.trichter-name b { color: var(--blau); font-weight: 700; }
.trichter-balken {
  display: block;
  height: 28px;
  width: var(--anteil, 100%);
  border-radius: 6px;
  background: var(--blau-mittel);
  animation: schwinden 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--verzug, 0ms);
}
.trichter-zahl { text-align: right; font-weight: 600; }
.trichter-ergebnis .trichter-name,
.trichter-ergebnis .trichter-zahl { color: var(--blau); font-weight: 600; }
.trichter-ergebnis .trichter-balken { background: var(--blau); }

@keyframes schwinden {
  from { width: 100%; }
  to { width: var(--anteil, 100%); }
}

@media (max-width: 560px) {
  .trichter { gap: 12px; }
  .trichter-zeile { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .trichter-balken { grid-column: 1 / -1; grid-row: 2; height: 20px; }
  .trichter-zahl { grid-row: 1; grid-column: 2; }
}

/* Einstieg */

.einstieg { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }

.einstieg-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px clamp(40px, 5vw, 80px);
}

h1 {
  font-size: clamp(38px, 3.4vw + 14px, 56px);
  line-height: 1.072;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.einstieg .lauftext { margin-top: 24px; max-width: 34em; }

.einstieg-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.stand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 28px;
  max-width: 34em;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  color: var(--leise);
  font-size: 14px;
  line-height: 20px;
}
.stand .status { flex: none; }

.feed-nummer { text-align: right; }
.feed-nummer .zahl { color: var(--blau); }

.kanal-liste { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 960px) {
  .einstieg-raster { grid-template-columns: minmax(0, 1fr); }
  .einstieg .lauftext { max-width: 38em; }
}

/* So funktioniert es: vier Schritte untereinander, rechts das Ergebnis */

.schritte { border-top: 1px solid var(--linie); counter-reset: schritt; }

.schritt {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 5vw, 80px);
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-bottom: 1px solid var(--linie);
}
.schritt:last-child { border-bottom: 0; padding-bottom: 0; }

.schritt-text h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 24px;
  line-height: 32px;
}
.schritt-nummer {
  color: var(--leise);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.schritt-text p { margin-top: 12px; max-width: 46ch; color: var(--leise); text-wrap: pretty; }
.schritt-text .schritt-merke {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--linie);
  color: var(--tinte);
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 860px) {
  .schritt { grid-template-columns: minmax(0, 1fr); }
}

/* Schritt 1: Quellen zum Bestand */

.quellen-zeilen { display: flex; flex-direction: column; }
.quelle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 1px solid var(--linie);
}
.quelle:first-child { padding-top: 0; }
.quelle-name { font-weight: 600; }
.quelle-art { color: var(--leise); font-size: 12px; line-height: 16px; }
.quelle-wert { text-align: right; font-variant-numeric: tabular-nums; }

.zusammen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--blau-hell);
}
.zusammen-text { color: var(--blau-dunkel); }
.zusammen .zahl { color: var(--blau); font-size: 28px; line-height: 32px; }

/* Schritt 2: Regeln als Bausteine */

.regel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 6px 0;
  border-bottom: 1px solid var(--linie);
}
.regel-bedingung { color: var(--leise); }
.regel-zahl { margin-left: auto; color: var(--leise); font-variant-numeric: tabular-nums; }
.regel-zahl strong { color: var(--tinte); font-weight: 600; }
.regel-neu {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--blau);
  font-weight: 600;
}
.regel-hand { display: flex; justify-content: space-between; gap: 12px; color: var(--leise); }
.regel-hand strong { color: var(--tinte); font-weight: 600; }

/* Schritt 3: Vorlage */

.vorlage-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5625fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: end;
}
.werbemittel-banner { aspect-ratio: 300 / 250; }
.banner-knopf {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--tinte);
  color: var(--flaeche);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.werbemittel-banner .angebot-unten { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.werbemittel-banner .angebot-preis { font-size: 16px; line-height: 22px; }



.werbemittel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--baustein);
  overflow: hidden;
}
.werbemittel-quadrat { aspect-ratio: 1 / 1; }
.werbemittel-hoch { aspect-ratio: 9 / 16; }
.stoerer {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--tinte);
  color: var(--flaeche);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.foto {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px dashed var(--feldrahmen);
  border-radius: 6px;
  color: var(--leise);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}
.foto svg { width: 58%; max-width: 160px; height: auto; }
.angebot-modell { font-size: 12px; line-height: 16px; font-weight: 600; }
.angebot-preis { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.werbemittel-hoch .angebot-preis { font-size: 16px; line-height: 22px; }
.format { margin-top: 8px; color: var(--leise); font-size: 12px; line-height: 16px; font-weight: 500; }

.felder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld-wert {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--feldrahmen);
  border-radius: 8px;
  background: var(--flaeche);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 440px) {
  .felder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .felder .feld:last-child { grid-column: 1 / -1; }
}

/* Schritt 4: Kanäle */

.kanal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid var(--linie);
}
.kanal:last-of-type { border-bottom: 0; }
.kanal-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.haken {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--blau);
}
.haken svg { display: block; }
.haken-aus { background: var(--flaeche); border: 1.5px solid var(--feldrahmen); }
.kanal-aus .kanal-name { color: var(--leise); font-weight: 500; }
.kanal-info { color: var(--leise); text-align: right; }
.kanal-link { color: var(--blau); font-weight: 600; }

/* Hinein und hinaus */

.fluss {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: stretch;
}
.fluss-teil { padding: 24px; }
.fluss-teil h3 { font-size: 16px; line-height: 24px; }
.fluss-teil .etikett { margin-top: 2px; }
.fluss-liste { margin-top: 16px; }
.fluss-liste li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--linie);
}
.fluss-liste li span:first-child { font-weight: 600; }
.fluss-liste .nebentext { color: var(--leise); text-align: right; font-size: 14px; line-height: 20px; }
.fluss-mitte { background: var(--grund); border-left: 1px solid var(--linie); border-right: 1px solid var(--linie); }
.fluss-pfeil {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--feldrahmen);
}
.fluss-pfeil svg { display: block; }
.fluss-fuss { padding: 14px 24px 16px; border-top: 1px solid var(--linie); color: var(--leise); }

.fluss-karte { overflow: hidden; }

@media (max-width: 960px) {
  .fluss { grid-template-columns: minmax(0, 1fr); }
  .fluss-pfeil { height: 36px; }
  .fluss-pfeil svg { transform: rotate(90deg); }
  .fluss-mitte { border-left: 0; border-right: 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
}

/* Für Agenturen, für Händler */

.zielgruppe {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 5vw, 80px);
  align-items: start;
}
.zielgruppe-umgekehrt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.zielgruppe-umgekehrt .zielgruppe-text { order: 2; }
.zielgruppe-umgekehrt .zielgruppe-bild { order: 1; }

.nutzen { margin-top: 32px; border-top: 1px solid var(--linie); }
.nutzen li { padding: 18px 0; border-bottom: 1px solid var(--linie); }
.nutzen h3 { font-size: 16px; line-height: 24px; }
.nutzen p { margin-top: 4px; color: var(--leise); text-wrap: pretty; }
.nutzen-zeile { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 20px; color: var(--leise); font-size: 14px; line-height: 20px; }

.zielgruppe-bild { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--kopf-hoehe) + 24px); }

@media (max-width: 960px) {
  .zielgruppe, .zielgruppe-umgekehrt { grid-template-columns: minmax(0, 1fr); }
  .zielgruppe-umgekehrt .zielgruppe-text, .zielgruppe-umgekehrt .zielgruppe-bild { order: 0; }
  .zielgruppe-bild { position: static; }
}

/* Mandanten */

.umschalter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--linie);
  border-radius: 8px;
  font-weight: 600;
}
.kuerzel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--blau-hell);
  color: var(--blau);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.kuerzel-neutral { background: var(--baustein); color: var(--tinte); }

.tabelle-rahmen { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tabelle th {
  padding: 9px 12px;
  background: var(--grund);
  border-bottom: 1px solid var(--linie);
  color: var(--leise);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.tabelle td { padding: 12px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle th:first-child, .tabelle td:first-child { padding-left: 20px; }
.tabelle th:last-child, .tabelle td:last-child { padding-right: 20px; }
.tabelle .rechts { text-align: right; }
.mandant { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.tabelle-gewaehlt td { background: var(--blau-hell); }

@media (max-width: 560px) {
  .spalte-schmal-weg { display: none; }
}

/* Zeitachse der Feeds */

.zeitachse { display: flex; flex-direction: column; gap: 14px; }
.zeit-zeile {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 6px 16px;
  align-items: center;
}
.zeit-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zeit-name strong { font-weight: 600; }
.zeit-spur { position: relative; height: 28px; border-radius: 6px; background: var(--grund); }
.zeit-balken {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--von);
  width: var(--dauer);
  border-radius: 6px;
  background: var(--blau-mittel);
}
.zeit-balken-aktion { background: var(--blau); }
.zeit-balken-entwurf { background: var(--flaeche); border: 1.5px dashed var(--feldrahmen); }
.zeit-skala {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 16px;
  color: var(--leise);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.zeit-skala-werte { position: relative; height: 16px; }
.zeit-skala-werte span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.zeit-skala-werte span:first-child { transform: none; }

@media (max-width: 480px) {
  .zeit-zeile, .zeit-skala { grid-template-columns: minmax(0, 1fr); }
  .zeit-skala > span:first-child { display: none; }
}

.id-kette { display: flex; flex-direction: column; }
.id-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  min-height: 48px;
  border-bottom: 1px solid var(--linie);
}
.id-zeile:last-child { border-bottom: 0; }
.id-wert {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--blau-hell);
  color: var(--blau);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Kontakt */

.kontakt-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(40px, 5vw, 80px);
  align-items: start;
}
.kontakt-adresse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.kontakt-adresse .knopf { white-space: normal; text-align: left; }
.kontakt-hinweis { margin-top: 16px; color: var(--leise); font-size: 14px; line-height: 20px; }
.angaben li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linie);
}
.angaben li:last-child { border-bottom: 0; }

@media (max-width: 860px) {
  .kontakt-raster { grid-template-columns: minmax(0, 1fr); }
}

/* Fuss */

.fuss { background: var(--flaeche); border-top: 1px solid var(--linie); }
.fuss-innen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.fuss-logo img { display: block; height: 28px; width: auto; }
.fuss-text { margin-top: 16px; max-width: 46ch; color: var(--leise); font-size: 14px; line-height: 20px; }
.fuss-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 4px; }
.fuss-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--tinte);
  font-weight: 500;
  text-decoration: none;
}
.fuss-links a:hover { background: var(--baustein); color: var(--tinte); }
.fuss-links a[aria-current="page"] { color: var(--blau); font-weight: 600; }

@media (max-width: 720px) {
  .fuss-innen { grid-template-columns: minmax(0, 1fr); }
  .fuss-links { margin-left: -10px; }
}

/* Rechtsseiten */

.recht { padding-top: clamp(48px, 7vw, 88px); padding-bottom: var(--abstand); }
.recht h1 { font-size: clamp(34px, 2.6vw + 14px, 48px); }
.recht-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(40px, 5vw, 80px);
  align-items: start;
  margin-top: 40px;
}
.platzhalter-hinweis {
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--blau-hell);
  color: var(--blau-dunkel);
}
.platzhalter-hinweis strong { font-weight: 600; }
.platzhalter-hinweis p + p { margin-top: 8px; }
.liste-angaben { margin-top: 0; }
.liste-angaben li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--linie);
}
.liste-angaben li:last-child { border-bottom: 0; }
.liste-angaben strong { font-weight: 600; }
.liste-angaben p { grid-column: 1 / -1; color: var(--leise); }

@media (max-width: 860px) {
  .recht-raster { grid-template-columns: minmax(0, 1fr); }
}

.recht-schmal { grid-template-columns: minmax(0, 760px); }
.impressum-liste div {
  display: grid;
  align-items: baseline;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--linie);
}
.impressum-liste div:last-child { border-bottom: 0; }
.impressum-liste dt { color: var(--leise); font-size: 14px; line-height: 24px; }
.impressum-liste dd { font-weight: 500; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .impressum-liste div { grid-template-columns: minmax(0, 1fr); }
}

.karte-titel .beispiel { margin-left: 8px; vertical-align: 2px; }

.stoerer { white-space: nowrap; }
.werbemittel-hoch { padding: 10px; }
.werbemittel-hoch .stoerer { padding: 3px 6px; font-size: 10px; line-height: 14px; letter-spacing: 0; }
.werbemittel-hoch .angebot-modell { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }



@media (max-width: 420px) {
  .tabelle th, .tabelle td { padding-left: 8px; padding-right: 8px; }
  .tabelle th:first-child, .tabelle td:first-child { padding-left: 16px; }
  .tabelle th:last-child, .tabelle td:last-child { padding-right: 16px; }
  .tabelle .kuerzel { display: none; }
}


/* Nachbesserung: fertige Werbemittel */

.werbemittel { justify-content: space-between; gap: 8px; }
.werbemittel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.haendler {
  overflow: hidden;
  color: var(--leise);
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.auto { display: block; width: 100%; height: auto; flex: none; }
.werbemittel-quadrat .auto { width: 92%; align-self: center; }
.werbemittel-banner .auto { width: 64%; align-self: center; }
.angebot-unten { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.angebot-rabatt {
  flex: none;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--flaeche);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.werbemittel-hoch .banner-knopf { display: inline-block; margin-top: 8px; }
.werbemittel-hoch .angebot-preis { font-size: 14px; line-height: 20px; white-space: nowrap; }

.ergebnis-zeile { color: var(--leise); }
.ergebnis-zahl { color: var(--blau); font-weight: 600; font-variant-numeric: tabular-nums; }
.kanal-zahl { color: var(--blau); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.kanal-aus .kanal-info { color: var(--leise); }

.regel-neu { gap: 6px; }

.angabe-nr {
  color: var(--leise);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Breite Spalten zwischen 861 und 1100 px sowie Handy: 1:1 und 9:16 nebeneinander, Banner darunter */
@media (max-width: 1100px) and (min-width: 861px), (max-width: 600px) {
  .vorlage-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 0.5625fr); }
  .vorlage-banner { grid-column: 1 / -1; max-width: 300px; }
}

@media (max-width: 480px) {
  .werbemittel-quadrat, .werbemittel-banner { padding: 10px; }
  .werbemittel-hoch { padding: 8px; }
  .werbemittel-hoch .angebot-modell { display: none; }
  .werbemittel-hoch .angebot-preis { font-size: 12px; line-height: 16px; }
  .werbemittel-hoch .banner-knopf { padding: 3px 6px; font-size: 10px; line-height: 14px; margin-top: 4px; }
  .werbemittel-hoch .stoerer { font-size: 9px; padding: 2px 5px; }
  .werbemittel-quadrat .angebot-preis { font-size: 16px; line-height: 22px; }
}

/* Kopf am Handy: feste Zeilenhöhe, nichts springt beim Öffnen */
@media (max-width: 1140px) {
  :root { --kopf-hoehe: 64px; }
  .kopf-innen { align-content: flex-start; }
  .logo-link { height: var(--kopf-hoehe); }
}

/* Karte im Einstieg: Zahl bleibt rechts in derselben Zeile */
.einstieg .karte-kopf { flex-wrap: nowrap; align-items: flex-start; }
@media (max-width: 480px) {
  .einstieg .karte-titel .beispiel { display: table; margin: 4px 0 0; }
}

.werbemittel-kopf { flex-wrap: wrap; row-gap: 4px; }
.angebot-preis { white-space: nowrap; }

@media (max-width: 400px) {
  .werbemittel-quadrat .haendler, .werbemittel-quadrat .angebot-rabatt { display: none; }
  .werbemittel-quadrat .stoerer { padding: 2px 6px; font-size: 10px; line-height: 14px; }
  .werbemittel-quadrat .angebot-modell { font-size: 11px; line-height: 14px; }
  .werbemittel-quadrat .angebot-preis { font-size: 14px; line-height: 18px; }
}

/* Fliesstext der Rechtsseiten */
.rechtstext { max-width: 68ch; margin-top: 32px; font-size: 17px; line-height: 28px; }
.rechtstext p { margin-top: 16px; text-wrap: pretty; }
.rechtstext p:first-child { margin-top: 0; color: var(--leise); font-size: 18px; }
.rechtstext h2 { margin-top: 48px; font-size: 22px; line-height: 30px; letter-spacing: -0.01em; }
.rechtstext address { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche); font-style: normal; }

/* ===== Startseite, Fassung «Ergebnis zuerst» ===== */

.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.einstieg-text { max-width: 820px; }
.einstieg-text .lauftext { max-width: 40em; }

.weg { margin-top: clamp(40px, 5vw, 64px); }
.weg-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 48px minmax(0, 1.9fr);
  align-items: center;
  gap: 16px 0;
  padding: 20px;
}
.weg-bestand .etikett, .weg-anzeigen .etikett { margin-bottom: 10px; }
.bestand-liste { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.bestand-zeile {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--linie);
}
.bestand-zeile strong { display: block; font-weight: 600; }
.bestand-preis { display: block; color: var(--leise); font-variant-numeric: tabular-nums; }
.bestand-foto {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--baustein);
}
.bestand-foto svg { width: 80%; height: auto; }
.weg-pfeil { display: flex; justify-content: center; color: var(--feldrahmen); }
.weg-pfeil svg { display: block; }

@media (max-width: 860px) {
  .weg-raster { grid-template-columns: minmax(0, 1fr); }
  .weg-pfeil svg { transform: rotate(90deg); }
  .weg-anzeigen .vorlage-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 0.5625fr); }
  .weg-anzeigen .vorlage-banner { grid-column: 1 / -1; max-width: 300px; }
}
@media (max-width: 480px) { .weg-raster { padding: 16px; } }

/* Tatsachenstreifen */
.fakten { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.fakten-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fakten-liste li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 24px 24px 24px 0;
  font-size: 15px;
  line-height: 22px;
}
.fakten-liste li + li { padding-left: 24px; border-left: 1px solid var(--linie); }
.fakten-liste strong { font-weight: 600; }
.fakten-liste span { color: var(--leise); font-size: 14px; line-height: 20px; }
@media (max-width: 960px) {
  .fakten-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fakten-liste li:nth-child(3) { padding-left: 0; border-left: 0; }
  .fakten-liste li:nth-child(n+3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 520px) {
  .fakten-liste { grid-template-columns: minmax(0, 1fr); }
  .fakten-liste li, .fakten-liste li + li { padding: 16px 0; border-left: 0; }
  .fakten-liste li + li { border-top: 1px solid var(--linie); }
}
.einstieg + .fakten + .abschnitt { border-top: 0; }

/* Das erreichen Sie */
.ergebnisse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.ergebnisse li { display: flex; flex-direction: column; gap: 8px; padding: 28px 0; border-top: 1px solid var(--linie); }
.ergebnisse h3 { font-size: 22px; line-height: 30px; }
.ergebnisse p { color: var(--leise); max-width: 46ch; }
.weiter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.weiter svg { transition: transform 160ms ease-out; }
.weiter:hover svg { transform: translateX(3px); }
@media (max-width: 760px) { .ergebnisse { grid-template-columns: minmax(0, 1fr); } }

/* Aufgaben */
.aufgaben { border-top: 1px solid var(--linie); }
.aufgabe {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--linie);
}
.aufgabe:last-child { border-bottom: 0; padding-bottom: 0; }
.aufgabe-umgekehrt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.aufgabe-umgekehrt .aufgabe-text { order: 2; }
.aufgabe-text h3 { font-size: clamp(24px, 1.2vw + 16px, 30px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.aufgabe-text > p { margin-top: 14px; color: var(--leise); font-size: 17px; line-height: 27px; text-wrap: pretty; }
@media (max-width: 860px) {
  .aufgabe, .aufgabe-umgekehrt { grid-template-columns: minmax(0, 1fr); }
  .aufgabe-umgekehrt .aufgabe-text { order: 0; }
}

.punkte { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.punkte li { position: relative; padding-left: 26px; text-wrap: pretty; }
.punkte li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--tinte);
  border-bottom: 2px solid var(--tinte);
  transform: rotate(-45deg);
}
.punkte-gross { margin-top: 28px; }

.trichter-teil { border-top: 1px solid var(--linie); }

.vorlage-einstellungen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: 20px; align-items: start; }
.einstellungen { display: flex; flex-direction: column; gap: 14px; }
.varianten, .formate { display: flex; flex-wrap: wrap; gap: 6px 16px; min-height: 36px; align-items: center; }
.varianten { gap: 6px; }
.vorschau-klein .etikett { margin-bottom: 6px; }
@media (max-width: 520px) {
  .vorlage-einstellungen { grid-template-columns: minmax(0, 1fr); }
  .vorschau-klein { max-width: 220px; }
}

.schluss { background: var(--flaeche); }
.schluss .karte { background: var(--grund); }

/* ===== Sprachwahl ===== */
.sprachen { display: flex; flex-wrap: wrap; gap: 0 4px; }
.sprachen a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--leise);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-decoration: none;
}
.sprachen a:hover { background: var(--baustein); color: var(--tinte); }
.sprachen a[aria-current="true"] { color: var(--tinte); font-weight: 600; background: var(--baustein); }

.sprach-leiste { border-bottom: 1px solid var(--linie); background: var(--grund); }
.sprach-leiste-innen { display: flex; justify-content: flex-end; padding-top: 4px; padding-bottom: 4px; }
.sprachen-menue { display: none; }

@media (max-width: 1140px) {
  .sprach-leiste { display: none; }
  .sprachen-menue { display: block; padding-top: 12px; border-top: 1px solid var(--linie); }
  .sprachen-menue .sprachen a { min-height: 44px; font-size: 15px; }
}
html:not(.js) .sprachen-menue { display: block; }
@media (min-width: 1141px) { html:not(.js) .sprachen-menue { display: none; } }

.fuss-spalten { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fuss-sprachen .sprachen a { min-height: 44px; }
@media (max-width: 720px) {
  .fuss-spalten { align-items: flex-start; }
  .fuss-sprachen { margin-left: -8px; }
}

/* ===== Preise ===== */
.preise-einstieg { padding-bottom: clamp(48px, 6vw, 80px); }
.waehrung {
  display: inline-flex;
  margin: clamp(32px, 4vw, 48px) 0 16px;
  padding: 2px;
  border: 0;
  border-radius: 8px;
  background: var(--baustein);
}
.waehrung input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.waehrung label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}
.waehrung input:checked + label { background: var(--flaeche); color: var(--blau); font-weight: 600; }
.waehrung input:focus-visible + label { outline: 2px solid var(--blau); outline-offset: 2px; }
body:has(#w-eur:checked) .w-chf { display: none; }
body:has(#w-chf:checked) .w-eur { display: none; }

.stufen-karte { margin-top: clamp(32px, 4vw, 48px); }
.waehrung + .stufen-karte { margin-top: 0; }
.stufen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stufe { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; }
.stufe + .stufe { border-left: 1px solid var(--linie); }
.stufe h2 { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.stufe-umfang { color: var(--leise); }
.stufe-preis { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.betrag { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stufe .knopf { align-self: flex-start; }
.stufe-gross {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--linie);
  background: var(--grund);
  border-radius: 0 0 10px 10px;
}
.stufe-gross span { color: var(--leise); margin-left: 8px; }
.stufe-gross-wert { font-weight: 600; }
.preise-hinweis { margin-top: 12px; color: var(--leise); font-size: 14px; line-height: 20px; }
@media (max-width: 860px) {
  .stufen { grid-template-columns: minmax(0, 1fr); }
  .stufe + .stufe { border-left: 0; border-top: 1px solid var(--linie); }
}

.preise-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.preise-raster > h2 { font-size: clamp(24px, 1.2vw + 16px, 30px); }
.preise-text { margin-top: 0; }
@media (max-width: 860px) { .preise-raster { grid-template-columns: minmax(0, 1fr); } }
.punkte-zweispaltig { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
@media (max-width: 640px) { .punkte-zweispaltig { grid-template-columns: minmax(0, 1fr); } }

.posten li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--linie);
}
.posten li:last-child { border-bottom: 0; }
.posten strong { display: block; font-weight: 600; }
.posten-text { display: block; color: var(--leise); font-size: 14px; line-height: 20px; }
.betrag-klein { flex: none; font-size: 20px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .posten li { flex-direction: column; } }

.fragen div { padding: 18px 0; border-top: 1px solid var(--linie); }
.fragen div:first-child { border-top: 0; padding-top: 0; }
.fragen dt { font-weight: 600; }
.fragen dd { margin-top: 4px; color: var(--leise); max-width: 62ch; }

.massgeblich { padding: 12px 16px; border-radius: 8px; background: var(--blau-hell); color: var(--blau-dunkel); font-size: 15px; line-height: 22px; }
.rechtstext p.massgeblich:first-child { color: var(--blau-dunkel); font-size: 15px; }
.rechtstext .massgeblich + p { color: var(--leise); font-size: 18px; }

/* Sprachwahl: etwas mehr Innenabstand */
.sprachen a { padding: 0 10px; }
.sprach-leiste-innen { padding-top: 6px; padding-bottom: 6px; }
.waehrung { padding: 3px; }

/* ===== Startseite: kompakter Teil «So funktioniert es» ===== */
.kompakt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.kompakt-liste { border-top: 1px solid var(--linie); }
.kompakt-liste li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--linie);
}
.kompakt-liste h3 { font-size: 18px; line-height: 26px; }
.kompakt-liste p { margin-top: 2px; color: var(--leise); }
.kompakt-liste .weiter { min-height: 26px; margin-top: 0; }
.kompakt-nr { color: var(--leise); font-weight: 600; font-size: 18px; line-height: 26px; font-variant-numeric: tabular-nums; }
.kompakt-bild { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.kompakt-bild .karte { align-self: stretch; }
@media (max-width: 960px) { .kompakt { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .kompakt-liste li { grid-template-columns: 24px minmax(0, 1fr); }
  .kompakt-liste .weiter { grid-column: 2; min-height: 44px; }
}

/* ===== Funktionen-Seite ===== */
.funktionen-einstieg { padding-bottom: clamp(40px, 5vw, 64px); }
.sprungliste { margin-top: 32px; }
.sprungliste ol { display: flex; flex-wrap: wrap; gap: 8px; }
.sprungliste a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--linie);
  border-radius: 8px;
  background: var(--flaeche);
  color: var(--tinte);
  font-weight: 600;
  text-decoration: none;
}
.sprungliste a:hover { border-color: var(--feldrahmen); color: var(--tinte); }
.sprungliste .kompakt-nr { font-size: 14px; line-height: 20px; }
.funktionen-liste { padding-top: 0; }
.einstieg + .funktionen-liste { border-top: 0; }
.aufgabe { scroll-margin-top: 24px; }
.funktionen .aufgabe-text h2 { font-size: clamp(26px, 1.4vw + 18px, 36px); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }

.aufgabe-detail {
  grid-column: 1 / -1;
  order: 3;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 12px clamp(32px, 5vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--linie);
}
.aufgabe-detail h3 { font-size: 16px; line-height: 24px; }
.aufgabe-detail ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.aufgabe-detail li { position: relative; padding-left: 18px; color: var(--leise); font-size: 15px; line-height: 23px; text-wrap: pretty; }
.aufgabe-detail li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 1px; background: var(--feldrahmen); }
@media (max-width: 860px) {
  .aufgabe-detail { grid-template-columns: minmax(0, 1fr); }
  .aufgabe-detail ul { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Kopf: breiter, Sprachwahl als Dropdown ===== */
/* Kopf wieder bündig mit dem Inhalt */
.navigation { gap: 4px 16px; }
.sprachwahl { position: relative; }
.sprachwahl summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--feldrahmen);
  border-radius: 8px;
  background: var(--flaeche);
  color: var(--tinte);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.sprachwahl summary::-webkit-details-marker { display: none; }
.sprachwahl summary:hover { border-color: var(--tinte); }
.sprachwahl[open] summary svg { transform: rotate(180deg); }
.sprachwahl-liste {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--linie);
  border-radius: 8px;
  background: var(--flaeche);
  box-shadow: 0 8px 24px #1B1E2B1F;
}
.sprachwahl-liste a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--tinte);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.sprachwahl-liste a:hover { background: var(--baustein); color: var(--tinte); }
.sprachwahl-liste a[aria-current="true"] { background: var(--blau-hell); color: var(--blau); font-weight: 600; }
@media (max-width: 1140px) {
  .sprachwahl { align-self: flex-start; }
  .sprachwahl-liste { left: 0; right: auto; }
}

/* Fuss mit Spalten */
.fuss-innen { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.fuss-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.fuss-spalte .etikett { margin-bottom: 6px; }
.fuss-spalte ul a, .fuss-sprachen a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--tinte);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.fuss-spalte ul a:hover, .fuss-sprachen a:hover { color: var(--blau); }
.fuss-spalte a[aria-current] { color: var(--blau); font-weight: 600; }
@media (max-width: 960px) {
  .fuss-innen { grid-template-columns: minmax(0, 1fr); }
  .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) { .fuss-spalte ul a, .fuss-sprachen a { min-height: 44px; } }

/* ===== Kanal-Seiten ===== */
.zurueck { margin-bottom: 16px; }
.zurueck a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.zurueck a::before { content: ""; width: 7px; height: 7px; margin: 0 10px 0 2px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.kanal-aufgabe { padding: 0 var(--rand); border-bottom: 0; }
.kanal-aufgabe .aufgabe-text h2, .kanal-seite .preise-raster > h2 { font-size: clamp(24px, 1.2vw + 16px, 30px); }
.kanal-bild { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: 20px; align-items: center; }
.kanal-bild .id-zeile { min-height: 44px; }
.vorschau-banner { max-width: 300px; }
.vorschau-banner-gross { margin: 0 auto; }
.zwei-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zwei-bilder .etikett { margin-bottom: 8px; }
.originalfoto { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 8px; background: var(--baustein); }
.originalfoto .auto { width: 82%; }
.wie-liste li { grid-template-columns: 32px minmax(0, 1fr); }
.wie-liste p { margin-top: 0; color: var(--tinte); }
.wie-liste + .weiter { margin-top: 16px; }
.ergebnisse-einspaltig { grid-template-columns: minmax(0, 1fr); }
.ergebnisse-einspaltig h2 { font-size: 22px; line-height: 30px; }
.kanal-links ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 16px; }
.nutzen-zeile { margin-top: 20px; color: var(--leise); }
@media (max-width: 860px) { .kanal-aufgabe { padding: 0 var(--rand); } }
@media (max-width: 520px) {
  .kanal-bild, .zwei-bilder { grid-template-columns: minmax(0, 1fr); }
  .kanal-bild .vorschau-klein { max-width: 220px; }
}

/* Einstiegsbild: zwischen 861 und 1100 px alle drei Formate in einer Reihe */
@media (min-width: 861px) and (max-width: 1100px) {
  .weg-anzeigen .vorlage-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 0.5625fr) minmax(0, 1.2fr); }
  .weg-anzeigen .vorlage-banner { grid-column: auto; max-width: none; }
  .weg-raster { grid-template-columns: minmax(0, 0.8fr) 40px minmax(0, 2fr); }
}
.aufgabe-detail ul { display: block; columns: 2; column-gap: 32px; }
.aufgabe-detail li { break-inside: avoid; margin-bottom: 12px; }
@media (max-width: 860px) { .aufgabe-detail ul { columns: 1; } }
@media (max-width: 1140px) {
  .sprachwahl-liste { position: static; margin-top: 6px; box-shadow: none; }
}

/* ===== Branchen-Seiten ===== */
.branche-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 20px; align-items: center; padding: 16px 20px 20px; }
.branche-raster .bestand-zeile { grid-template-columns: 64px minmax(0, 1fr); }
.branche-raster .bestand-zeile strong { font-size: 14px; line-height: 20px; }
.branche-raster .bestand-preis { font-size: 13px; line-height: 18px; }
.branche-anzeige .etikett { margin-bottom: 6px; }
.angebot-info { color: var(--leise); font-size: 11px; line-height: 15px; }
.angebot-info s { text-decoration-thickness: 1px; }
.branche-anzeige .werbemittel-quadrat .auto { width: 76%; }
.branche-anzeige .angebot-modell { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 560px) {
  .branche-raster { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .branche-anzeige { max-width: 240px; }
}
.programme-titel { margin-top: 28px; font-size: 16px; line-height: 24px; }
.programme { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.programme li { padding: 6px 12px; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche); font-weight: 500; }
.programme-nach { margin-top: 14px; color: var(--leise); }
.kanal-reihen, .branchen-reihen { border-top: 1px solid var(--linie); }
.kanal-reihen li, .branchen-reihen li { grid-template-columns: minmax(0, 1fr) auto; }
.branche-hinweis { margin-top: 16px; color: var(--leise); max-width: 62ch; }
.branchen-alle { margin-top: 24px; }
@media (max-width: 560px) {
  .kanal-reihen li, .branchen-reihen li { grid-template-columns: minmax(0, 1fr); }
  .kanal-reihen .weiter, .branchen-reihen .weiter { grid-column: 1; }
}
.fuss-spalten { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .fuss-innen { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sprachwahl nur im Fuss: klappt nach oben auf */
.fuss .sprachwahl { display: inline-block; }
.fuss .sprachwahl-liste,
.fuss .sprachwahl[open] .sprachwahl-liste {
  position: absolute;
  top: auto;
  bottom: calc(100% + 6px);
  left: 0;
  right: auto;
  margin: 0;
  box-shadow: 0 8px 24px #1B1E2B1F;
}
.fuss .sprachwahl[open] summary svg { transform: none; }
.fuss .sprachwahl summary svg { transform: rotate(180deg); }
.fuss .sprachwahl[open] summary svg { transform: rotate(0deg); }

.ergebnisse h2 { font-size: 22px; line-height: 30px; letter-spacing: -0.01em; }
@media (max-width: 1100px) and (min-width: 761px) { .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
.fuss-spalte a { overflow-wrap: anywhere; }

/* ===== Betreuung, FAQ, Demo, Laufzeit ===== */
.kontakt-adresse { align-items: center; gap: 12px 20px; }
.kontakt-oder { color: var(--leise); }
.kontakt-oder a, .kontakt-direkt a { font-weight: 600; }
.kontakt-direkt { margin-top: 12px; font-size: 18px; line-height: 28px; }
.schritte-liste h3 { font-size: 18px; line-height: 26px; }
.schritte-liste p { margin-top: 4px; color: var(--leise); }
.punkte-oben { margin-top: 0; }
.laufzeit {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--baustein);
  font-weight: 600;
}
.laufzeit + .preise-hinweis { margin-top: 8px; }

.faq-liste { border-top: 1px solid var(--linie); }
.faq-eintrag { border-bottom: 1px solid var(--linie); }
.faq-frage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 44px 12px 0;
  font-weight: 600;
  font-size: 17px;
  line-height: 25px;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}
.faq-frage::-webkit-details-marker { display: none; }
.faq-frage::before, .faq-frage::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--tinte);
  border-radius: 1px;
  transition: transform 160ms ease-out;
}
.faq-frage::after { transform: rotate(90deg); }
.faq-eintrag[open] .faq-frage::after { transform: rotate(0deg); }
.faq-frage:hover { color: var(--blau); }
.faq-antwort { padding: 0 44px 18px 0; color: var(--leise); max-width: 66ch; }
.faq-antwort a { font-weight: 600; }
.faq-gruppe { scroll-margin-top: 16px; }

.faq-gruppe { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }

/* ===== Enterprise-Karte, vier Stufen ===== */
.stufen-karte { overflow: hidden; }
.stufen { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linie); }
.stufe, .stufe + .stufe { border: 0; background: var(--flaeche); }
.stufe-enterprise { background: var(--grund); }
.stufe-liste { display: flex; flex-direction: column; gap: 6px; color: var(--tinte); font-size: 14px; line-height: 20px; }
.stufe-liste li { position: relative; padding-left: 16px; }
.stufe-liste li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 5px; height: 5px; border-radius: 1px; background: var(--feldrahmen); }
.betrag-anfrage { font-size: 28px; line-height: 40px; }
@media (max-width: 1199px) { .stufen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stufen { grid-template-columns: minmax(0, 1fr); } }

/* ===== Branchen-Icons ===== */
.bi { display: block; flex: none; color: var(--blau); }
.bi-feld { fill: var(--bi-feld, #EDEEFE); }
.bi-haupt { fill: currentColor; }
.bi-zweit { fill: var(--bi-zweit, #C9CCFB); }
.bi-strich { stroke: currentColor; }
.bi-rad { stroke: var(--bi-feld, #EDEEFE); stroke-width: 1.6; }
.bi-ring { stroke: var(--bi-feld, #EDEEFE); stroke-width: 1.2; }
.bi-klein { width: 22px; height: 22px; }
.bi-mittel { width: 40px; height: 40px; }
.bi-gross { width: 56px; height: 56px; margin-bottom: 20px; }
.mit-icon { position: relative; }
.ergebnisse li.mit-icon { padding-left: 56px; }
.ergebnisse li.mit-icon > .bi { position: absolute; left: 0; top: 30px; }
.branchen-reihen li.mit-icon { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
@media (max-width: 560px) {
  .branchen-reihen li.mit-icon { grid-template-columns: 40px minmax(0, 1fr); }
  .branchen-reihen li.mit-icon .weiter { grid-column: 2; }
}
/* Produktbilder der Branchen-Seiten: dieselben Formen als «Foto» in Tinte */
.branche-bild { --bi-feld: transparent; --bi-zweit: #E2E5EA; }
.branche-bild .bi { color: var(--tinte); }
.bestand-foto .bi-foto { width: 34px; height: 34px; }
.werbemittel .bi-anzeige { width: 58%; height: auto; aspect-ratio: 1 / 1; align-self: center; max-width: 120px; }

/* ===== Dropdowns in der Kopfzeile ===== */
.nav-gruppe { position: relative; }
.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--tinte);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover { background: var(--baustein); }
.nav-dropdown[data-aktiv] > summary { background: var(--blau-hell); color: var(--blau); font-weight: 600; }
.nav-pfeil { transition: transform 160ms ease-out; }
.nav-dropdown[open] .nav-pfeil { transform: rotate(180deg); }
.nav-liste {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 250px;
  padding: 6px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--flaeche);
  box-shadow: 0 8px 24px #1B1E2B1F;
}
.navigation .nav-liste a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.navigation .nav-liste a[aria-current="page"] { background: var(--blau-hell); color: var(--blau); font-weight: 600; }
.nav-liste .nav-alle { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--linie); }
.navigation .nav-liste .nav-alle a { font-weight: 600; color: var(--blau); }
@media (prefers-reduced-motion: reduce) { .nav-pfeil { transition: none; } }
@media (max-width: 1140px) {
  .nav-gruppe { width: 100%; }
  .nav-dropdown summary { width: 100%; justify-content: space-between; padding: 0 8px; }
  .nav-liste { position: static; min-width: 0; margin: 2px 0 8px; padding: 4px 0 4px 8px; border: 0; border-left: 1px solid var(--linie); border-radius: 0; box-shadow: none; }
  .navigation .nav-liste a { white-space: normal; }
}

.stufen .stufe-enterprise { background: var(--grund); }

.navigation .nav-liste { display: block; }

/* ===== Keine Trennlinie über dem ersten Element oder in lockeren Rastern (AGENTS.md, Gestaltung) ===== */
/* Lockere Raster: Abstand statt Linie */
.ergebnisse { row-gap: 12px; }
.ergebnisse li { border-top: 0; padding: 16px 0; }
.ergebnisse li.mit-icon > .bi { top: 14px; }
/* Listen mit vielen gleichartigen Zeilen: Linie nur ZWISCHEN den Zeilen */
.kompakt-liste, .kanal-reihen, .branchen-reihen, .faq-liste { border-top: 0; }
.kompakt-liste li { border-bottom: 0; }
.kompakt-liste li + li { border-top: 1px solid var(--linie); }
.kompakt-liste li:first-child { padding-top: 0; }
.faq-eintrag { border-bottom: 0; }
.faq-eintrag + .faq-eintrag { border-top: 1px solid var(--linie); }
.faq-eintrag:first-child .faq-frage { padding-top: 0; }
/* Funktionen: keine Linie zwischen Einleitung und erster Funktion */
.aufgaben { border-top: 0; }
.aufgaben .aufgabe:first-child { padding-top: 0; }
/* Bestandszeilen in den Produktbildern */
.bestand-liste { border-top: 0; }
.bestand-zeile { border-bottom: 0; }
.bestand-zeile + .bestand-zeile { border-top: 1px solid var(--linie); }
