/* Folien Prangenberg – Design System */
:root {
  /* Markengold für Flächen, Rahmen und Schatten – bleibt unverändert. */
  --color-primary: #d4941f;
  --color-primary-dark: #ad7819;
  --color-primary-light: #fdf8ee;
  --color-primary-rgb: 212, 148, 31;
  --color-accent: #d4941f;
  /* Hover hellt das Gold auf statt es abzudunkeln: die Schrift auf goldenen
     Flächen ist dunkel, ein dunklerer Hover würde den Kontrast zerstören
     (dunkle Schrift auf dem alten #ad7819 ergibt nur 3,8:1). */
  --color-accent-hover: #dfa53a;
  /* Markengold als Schriftfarbe auf hellem Grund. Das Flächen-Gold erreicht als
     Text nur 2,6:1, dieser Ton kommt auf 4,8:1 (WCAG AA). */
  --color-primary-ink: #986a16;
  /* Schriftfarbe auf goldenen Flächen: dunkel statt weiß ergibt 6,8:1 statt
     2,6:1 – so bleibt das Gold selbst unangetastet. */
  --color-on-primary: #1e293b;
  --color-text: #1e293b;
  /* Diese drei Werte sind minimal abgedunkelt, damit sie auf allen im Design
     verwendeten Hintergründen 4,5:1 erreichen (WCAG AA). Vorher: #64748b
     (4,34:1 auf #f1f5f9), #059669 (3,77:1) und #dc2626 (4,41:1). */
  --color-text-muted: #617187;
  --color-bg: #fafbfc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-success: #04805a;
  --color-error: #da2323;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(var(--color-primary-rgb), 0.14);
  --shadow-lg: 0 12px 40px rgba(var(--color-primary-rgb), 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --content-max: var(--max-width);
  --header-height: 84px;
  --promo-banner-height: 2.875rem;
  --site-top-gap: 0.5rem;
  --site-top-offset: calc(var(--promo-banner-height) + var(--site-top-gap) + var(--header-height));
  --sticky-cta-space: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  /* Höhe der aktuell sichtbaren Leiste am unteren Rand (Cookie-Banner, Sticky-CTA,
     mobile Preisleiste). Wird von main.js gesetzt, damit nichts verdeckt wird. */
  --bottom-bar-height: 0px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  /* Sprungziele und Fokus-Scrolls dürfen nicht unter der Sticky-Kopfzeile landen */
  scroll-padding-top: calc(var(--site-top-offset, 9.5rem) + 0.75rem);
  scroll-padding-bottom: calc(var(--bottom-bar-height) + 0.75rem);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
  /* Platz für die untere Leiste – nie Inhalt dahinter verstecken */
  padding-bottom: var(--bottom-bar-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Links mitten im Textfluss brauchen ein zweites Merkmal neben der Farbe, sonst
   sind sie bei Farbsehschwäche nicht als Link erkennbar (WCAG 1.4.1).
   :not([class]) trifft nur die reinen Textlinks – Buttons, Karten und
   Navigations-Elemente tragen immer eine Klasse und bleiben unverändert. */
main p a:not([class]),
main li a:not([class]),
main dd a:not([class]),
.site-footer p a:not([class]),
.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.875rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-ink);
  margin-bottom: 0.5rem;
}

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

section {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  section { padding: 5.5rem 0; }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Volle Content-Breite (1200px) auf Desktop – keine schmalen Sonderlimits */
  .pain-points__intro,
  .pain-accordion,
  .pain-cards,
  .steps__intro,
  .blog-hero p,
  .section-cta__note,
  .cookie-banner p,
  .final-cta__box,
  .service-switch__content p,
  .schaufenster-anfrage-page .contact-step,
  .topics-section__header p,
  .article-lead,
  .article-page__content p,
  .article-page__content ul,
  .article-page__content h2,
  .article-faq .pain-accordion {
    max-width: none;
  }
}

/* Sprunglink: erstes Element im Tab-Fokus, damit Tastaturnutzer nicht bei jedem
   Seitenaufruf erst durch Promo-Banner und Navigation tabben müssen.
   Sichtbar nur im Fokus – bleibt aber im Zugänglichkeitsbaum, statt per
   display:none ganz zu verschwinden. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-120%);
  padding: 0.75rem 1.25rem;
  background: var(--color-text);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom-right-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--color-white);
  outline-offset: -6px;
}

@media (prefers-reduced-motion: no-preference) {
  .skip-link {
    transition: transform 0.15s ease;
  }
}

/* Site top: promo banner + navbar als eine Einheit */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--site-top-gap);
  background: var(--color-white);
}

/* Promo ticker banner */
.promo-banner {
  height: var(--promo-banner-height);
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, #9a6414 50%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
  flex-shrink: 0;
}

.promo-banner__viewport {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.promo-banner__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
  animation: promo-marquee 55s linear infinite;
  will-change: transform;
}

.promo-banner__group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 5rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.promo-banner__group strong {
  font-weight: 800;
  color: #ffe9b3;
}

.promo-banner__divider {
  opacity: 0.4;
  padding: 0 0.25rem;
}

.promo-banner__code {
  padding: 0.2rem 0.65rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.promo-banner__code strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
}

.promo-banner__link,
.promo-banner__cta {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.promo-banner__link:hover,
.promo-banner__cta:hover {
  text-decoration: underline;
  color: #ffe9b3;
}

.promo-banner__fine {
  opacity: 0.85;
  font-size: 0.8125rem;
}

.promo-banner__cta {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

@keyframes promo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-banner__track {
    animation: none;
    margin: 0 auto;
  }

  .promo-banner__group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 1023px) {
  .promo-banner {
    height: auto;
    padding: 0.5rem 0;
  }

  .promo-banner__viewport {
    height: auto;
    align-items: stretch;
  }

  .promo-banner__track {
    animation: none;
    width: 100%;
    transform: none !important;
    flex-direction: column;
    will-change: auto;
  }

  .promo-banner__group[aria-hidden="true"] {
    display: none;
  }

  .promo-banner__group {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.6rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .promo-banner__divider {
    display: none;
  }
}

/* Auf Handys darf das Banner den Hero nicht nach unten drücken:
   kompaktere Schrift, weniger Zeilen, CTA-Pille entfällt (CTA gibt es im Hero
   und in der Sticky-Leiste). */
@media (max-width: 599px) {
  .promo-banner {
    padding: 0.3rem 0;
  }

  .promo-banner__group {
    gap: 0.1rem 0.45rem;
    padding: 0 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.35;
  }

  .promo-banner__cta {
    display: none;
  }
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  /* Bezugsrahmen für das mobile Menü-Panel */
  position: relative;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--color-text-muted);
  font-weight: 500;
}

.header-cta {
  font-size: 0.875rem;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

@media (min-width: 900px) {
  .site-nav {
    gap: 1.25rem;
  }
}

/* Hamburger-Umschalter: nur mobil sichtbar */
.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 1.125rem;
  height: 2px;
  margin-left: -0.5625rem;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bar:nth-child(1) {
  top: 1rem;
}

.nav-toggle__bar:nth-child(2) {
  top: 1.3125rem;
}

.nav-toggle__bar:nth-child(3) {
  top: 1.625rem;
}

/* Im geöffneten Zustand zum X zusammenklappen */
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) {
  transform: translateY(0.3125rem) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-0.3125rem) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar {
    transition: none;
  }
}

@media (max-width: 899px) {
  .site-header {
    height: auto;
    padding: 0.5rem 0;
  }

  .site-header .container {
    height: auto;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: block;
  }

  /* Navigation und CTA klappen unter der Kopfzeile auf. Vorher standen die
     Links rechts untereinander, sobald sie nicht mehr neben das Logo passten. */
  .site-header__right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    max-height: calc(100dvh - var(--site-top-offset, 9.5rem));
    overflow-y: auto;
  }

  .site-header__right.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    padding: 0.8rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav__link:last-child {
    border-bottom: none;
  }

  .header-cta {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
  }
}

/* Auf sehr flachen Displays kostet die Sticky-Kopfzeile zu viel Platz und kann
   am Seitenende Inhalte einklemmen: dort ließ sich der Impressum-Link nicht
   mehr unter der Kopfzeile hervorscrollen. */
@media (max-width: 899px) and (max-height: 600px) {
  .site-top {
    position: static;
  }
}

@media (max-width: 767px) {
  .site-top {
    gap: 0;
  }
  /* CTA und Langtitel bleiben sichtbar: beide stehen jetzt im Menü-Panel,
     das nur auf Wunsch aufklappt – dort ist Platz und keine Doppelung. */
}

.site-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--color-primary-ink);
}

/* Primary CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--color-accent);
  color: var(--color-on-primary) !important;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.4);
  text-decoration: none !important;
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .btn-cta {
    white-space: normal;
    text-align: center;
    /* Lange Komposita wie „Schaufensterbeschriftung“ sonst breiter als das Display */
    overflow-wrap: break-word;
    hyphens: auto;
    padding-inline: 1.25rem;
  }

  .header-cta,
  .sticky-cta-bar .btn-cta,
  .cookie-banner .btn-cta {
    white-space: nowrap;
  }
}

.btn-cta--secondary {
  background: var(--color-white);
  color: var(--color-primary-ink) !important;
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-cta--secondary:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

/* Sticky mobile CTA bar */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cta-bar.visible {
  display: block;
}

.sticky-cta-bar .btn-cta {
  width: 100%;
  padding: 1rem;
}

/* Nie zwei Leisten übereinander: solange das Cookie-Banner offen ist,
   hat es Vorrang – die CTA-Leiste erscheint danach. */
body:has(.cookie-banner.visible) .sticky-cta-bar {
  display: none !important;
}

@media (min-width: 768px) {
  .sticky-cta-bar { display: none !important; }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-white) 55%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.hero__badge--status::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
}

.hero__headline {
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.hero__headline em {
  font-style: normal;
  color: var(--color-primary-ink);
}

.hero__headline--impact {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.1;
}

.hero__promo-note {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.hero__promo-fine {
  opacity: 0.85;
  font-size: 0.875rem;
}

.hero__subline {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .hero__cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.hero__trust-line {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.hero__trust-line span::before {
  content: "✓ ";
  color: var(--color-success);
  font-weight: 700;
}

.hero__visual {
  position: relative;
}

.hero__image {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1672 / 941;
  background: var(--color-white);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Full-width hero banner (Startseite) */
.hero--banner {
  position: relative;
  padding: 0;
  min-height: calc(clamp(26rem, 72vh, 42rem) + 200px);
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  background: #0f172a;
  overflow: hidden;
}

.hero--slider {
  display: block;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  min-height: calc(clamp(26rem, 72vh, 42rem) + 200px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slider__nav {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.hero-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider__dot.is-active {
  background: var(--color-white);
  transform: scale(1.2);
}

.hero-slider__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero--banner .hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.hero--banner .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero--banner .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(15, 23, 42, 0.72) 38%,
    rgba(15, 23, 42, 0.35) 100%
  );
}

.hero--banner .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 3rem 3.75rem;
}

.hero--banner .hero__content {
  max-width: 42rem;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero--banner .hero__headline {
  margin-bottom: 0;
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero--banner .hero__headline em {
  color: #f5d78e;
}

.hero--banner .hero__subline {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  line-height: 1.65;
}

.hero--banner .hero__badge {
  margin-bottom: 0;
  align-self: flex-start;
  width: fit-content;
  max-width: min(100%, 28rem);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-decoration-break: clone;
}

.hero--banner .hero__badge--promo {
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
}

.hero--banner .hero__cta-group {
  margin-bottom: 0;
}

.hero--banner .hero__trust-line {
  color: rgba(255, 255, 255, 0.88);
  gap: 0.75rem 2rem;
}

.hero--banner .hero__promo-note {
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.hero--banner .hero__promo-fine {
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .hero--banner {
    min-height: calc(clamp(30rem, 78vh, 44rem) + 200px);
    align-items: center;
  }

  .hero-slider__track {
    min-height: calc(clamp(30rem, 78vh, 44rem) + 200px);
  }

  .hero-slide {
    align-items: center;
  }

  .hero--banner .hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.9) 0%,
      rgba(15, 23, 42, 0.62) 48%,
      rgba(15, 23, 42, 0.18) 100%
    );
  }

  .hero--banner .hero__inner {
    padding-block: 5rem;
  }

  .hero--banner .hero__content {
    gap: 2.25rem;
  }

  .hero--banner .hero__trust-line {
    gap: 1rem 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero--banner,
  .hero-slider__track {
    min-height: calc(100dvh - var(--site-top-offset, 9.5rem));
    min-height: calc(100svh - var(--site-top-offset, 9.5rem));
  }

  /* Untere Leiste (Cookie-Banner / Sticky-CTA) darf den Hero-CTA nicht verdecken */
  .hero--banner .hero__inner {
    padding-block: 1.75rem calc(2.75rem + var(--bottom-bar-height));
  }

  .hero--banner .hero__content {
    gap: 1.25rem;
  }

  .hero--banner .hero__headline,
  .hero--banner .hero__subline,
  .hero--banner .hero__promo-note {
    max-width: 100%;
  }

  .hero--banner .hero__headline {
    font-size: clamp(1.625rem, 7.5vw, 2.25rem);
  }

  .hero--banner .hero__subline {
    font-size: 1rem;
  }

  .hero--banner .hero__trust-line {
    gap: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .hero-slider__nav {
    bottom: calc(0.75rem + var(--bottom-bar-height));
    /* Mehr Abstand, damit sich die vergrößerten Tap-Flächen nicht überlappen */
    gap: 1rem;
  }

  /* Die Punkte sind nur 10 px groß – als Tap-Ziel unbrauchbar. Die Fläche wird
     unsichtbar auf 24 × 44 px vergrößert, die Optik bleibt unverändert. */
  .hero-slider__dot {
    position: relative;
  }

  .hero-slider__dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 2.75rem;
    transform: translate(-50%, -50%);
  }
}

/* Pain Points */
.pain-points {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.pain-points::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(var(--color-primary-rgb), 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.pain-points .container {
  position: relative;
}

.pain-points__intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3.5rem;
}

.pain-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pain-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .pain-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.pain-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.28);
  box-shadow: var(--shadow-md);
}

.pain-card__head {
  display: flex;
  align-items: center;
  min-height: calc(3 * 1.45 * 1em);
  padding: 1.15rem 1.25rem;
  background:
    linear-gradient(
      165deg,
      rgba(var(--color-primary-rgb), 0.16) 0%,
      rgba(var(--color-primary-rgb), 0.06) 48%,
      rgba(var(--color-primary-rgb), 0.02) 100%
    );
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.14);
}

.pain-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-ink);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pain-card__head {
    font-size: 1rem;
    padding: 1.2rem 1.35rem;
  }

  .pain-card__title {
    font-size: 1rem;
  }
}

.pain-card__body {
  display: flex;
  align-items: flex-start;
  padding: 1.1rem 1.25rem 1.25rem;
}

@media (min-width: 640px) {
  .pain-card__body {
    padding: 1.15rem 1.35rem 1.35rem;
  }
}

.pain-card__answer {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@supports not (grid-template-rows: subgrid) {
  .pain-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .pain-card__body {
    flex: 1;
  }
}

.pain-accordion {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pain-accordion__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pain-accordion__item[open] {
  border-color: rgba(var(--color-primary-rgb), 0.28);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-primary);
}

.pain-accordion__summary {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.pain-accordion__summary::-webkit-details-marker {
  display: none;
}

.pain-accordion__summary::marker {
  content: "";
}

.pain-accordion__title {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.45;
}

@media (min-width: 640px) {
  .pain-accordion__title {
    font-size: 1rem;
  }
}

.pain-accordion__chevron {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-ink);
  transition: transform 0.25s ease, background 0.2s ease;
}

.pain-accordion__chevron svg {
  width: 1rem;
  height: 1rem;
}

.pain-accordion__item[open] .pain-accordion__chevron {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: var(--color-white);
}

.pain-accordion__summary:hover .pain-accordion__chevron {
  background: rgba(var(--color-primary-rgb), 0.12);
}

.pain-accordion__item[open] .pain-accordion__summary:hover .pain-accordion__chevron {
  background: var(--color-primary-dark);
}

.pain-accordion__body {
  padding: 0 1.125rem 1.125rem;
  border-top: 1px solid var(--color-border);
  margin: 0 1.125rem 1.125rem;
  padding-top: 0.875rem;
}

.pain-accordion__answer {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .pain-accordion {
    gap: 0.75rem;
  }

  .pain-accordion__summary {
    padding: 1.125rem 1.35rem;
  }

  .pain-accordion__body {
    margin: 0 1.35rem 1.35rem;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Trust */
.trust {
  /* Dieses Band trägt weiße Schrift. Auf dem hellen Markengold käme die nur auf
     2,6:1, daher ist hier die Fläche selbst abgedunkelt (4,8:1) statt die
     Schrift umgestellt – so bleibt der Bandcharakter erhalten. */
  background: var(--color-primary-ink);
  color: var(--color-white);
}

.trust h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 2.5rem;
}

.trust .section-label {
  /* Deckend statt 70 % transparent: aufgeweicht käme das Weiß auf dem goldenen
     Band nur auf 3,2:1, deckend sind es 4,8:1. */
  color: var(--color-white);
  display: block;
  text-align: center;
}

.trust-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
}

.trust-item__number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.trust-item__number--stars {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.trust-item__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.trust-item__text {
  font-size: 0.9375rem;
  /* Siehe .trust .section-label: transparentes Weiß erreicht hier nur 3,7:1. */
  color: var(--color-white);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  /* Abdunkeln statt aufhellen: die aufgehellte Fläche ließ die weiße Schrift auf
     nur 3,9:1 fallen, abgedunkelt sind es 5,8:1. */
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item__link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.trust-item__link:hover {
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

/* Testimonials */
.testimonials {
  background: var(--color-bg);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.testimonials__intro {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.testimonial-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  background: var(--color-white);
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 2.25rem 2.5rem;
  }
}

.testimonial-card__rating {
  color: #f59e0b;
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.testimonial-card__quote {
  margin: 0;
}

.testimonial-card__quote p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0;
}

.testimonial-card__quote p::before {
  content: "\201E";
  color: var(--color-primary-ink);
  font-weight: 700;
}

.testimonial-card__author {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted, #64748b);
}

/* Steps */
.steps {
  background: var(--color-bg);
}

.steps__intro {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 3rem;
}

.steps-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  position: relative;
}

.step-card__number {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-on-primary);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card__title {
  margin-bottom: 0.5rem;
}

.step-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-white) 100%);
  text-align: center;
}

.final-cta__box {
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.final-cta h2 {
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

/* Service cross-sell (Milchglasfolie ↔ Schaufensterbeschriftung) */
.service-switch {
  padding: 3.5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.service-switch__card {
  display: grid;
  /* minmax(0, …) statt auto: sonst erzwingt „Schaufensterbeschriftung“ als
     unteilbares Wort eine Spalte breiter als das Display. */
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--color-primary-light);
  border: 2px solid rgba(var(--color-primary-rgb), 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .service-switch__card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
  }
}

.service-switch__content h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 0.625rem;
  overflow-wrap: break-word;
}

.service-switch__content p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  max-width: 36rem;
  overflow-wrap: break-word;
}

@media (max-width: 479px) {
  .service-switch__card {
    padding: 1.5rem 1.15rem;
  }
}

.service-switch__action {
  flex-shrink: 0;
  min-width: 0;
}

.service-switch__action .btn-cta {
  width: 100%;
}

@media (min-width: 768px) {
  .service-switch__action .btn-cta {
    width: auto;
    white-space: nowrap;
  }
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.875rem;
}

.site-footer .container {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer .container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--color-white);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 0.375rem;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

/* Section CTA (recurring) */
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.section-cta__note {
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 48rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner .btn-cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Mobil so flach wie möglich halten – das Banner liegt über dem Hero-CTA */
@media (max-width: 767px) {
  .cookie-banner {
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner .container {
    gap: 0.65rem;
  }

  .cookie-banner p {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  /* Buttons nebeneinander statt gestapelt: halbiert die Höhe des Banners */
  .cookie-banner__actions {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
  }

  .cookie-banner .btn-cta {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.5rem;
    font-size: 0.8125rem;
  }
}

/* Konfigurator: weniger Chrome oben, Cookie kompakter */
.page-konfigurator {
  --promo-banner-height: 0px;
  --site-top-gap: 0px;
}

.page-konfigurator .promo-banner {
  display: none;
}

.page-konfigurator .cookie-banner {
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.page-konfigurator .cookie-banner .container {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.page-konfigurator .cookie-banner p {
  font-size: 0.75rem;
}

.page-konfigurator .cookie-banner__actions {
  width: auto;
  flex-direction: row;
}

.page-konfigurator .cookie-banner .btn-cta {
  width: auto;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

.page-konfigurator .header-cta {
  display: none;
}

@media (max-width: 639px) {
  .page-konfigurator .konfigurator-header p:not(.konfigurator-header__promo) {
    display: none;
  }

  .page-konfigurator .konfigurator-header__promo {
    font-size: 0.8125rem;
    padding: 0.55rem 0.75rem;
  }

  .page-konfigurator .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
  }

  .page-konfigurator .cookie-banner__actions {
    width: 100%;
  }

  .page-konfigurator .cookie-banner .btn-cta {
    flex: 1;
  }
}

/* Blog / Themen */
.blog-hero {
  padding: 3rem 0 2rem;
  background: var(--color-primary-light);
}

.blog-hero h1 {
  margin-bottom: 0.5rem;
}

.blog-hero p {
  color: var(--color-text-muted);
  max-width: 36rem;
}

.blog-hero__media {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.blog-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.article-grid {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}

.topics-tiles__grid {
  padding-top: 0;
  padding-bottom: 4rem;
}

.topics-tiles--region {
  border-top: 1px solid var(--color-border);
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--color-primary-rgb), 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

.article-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.article-card__image {
  aspect-ratio: 16/9;
  background: var(--color-primary-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-ink);
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.article-card__date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.375rem;
}

.article-card__title {
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.article-card__excerpt {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.article-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-ink);
}

.article-card__cta::after {
  content: "→";
  transition: transform 0.15s;
}

.article-card:hover .article-card__cta::after {
  transform: translateX(3px);
}

.topics-section {
  padding-bottom: 1rem;
}

.topics-section + .topics-section {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.topics-section__header {
  padding-top: 2.5rem;
}

.topics-section__header h2 {
  margin-bottom: 0.5rem;
}

.topics-section__header p {
  color: var(--color-text-muted);
}

.topics-section__grid {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.topics-loading,
.topics-empty {
  padding: 3rem 0 4rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Article page */
.article-page {
  padding: 2.5rem 0 4.5rem;
}

.article-page:has(.article-hero) {
  padding-top: 0;
}

.article-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 8% 0%, rgba(var(--color-primary-rgb), 0.18) 0%, transparent 58%),
    linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-white) 72%);
  padding: 1.75rem 0 0;
  margin-bottom: 2.25rem;
  overflow: hidden;
}

.article-hero__inner {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2.25rem;
}

.article-hero__copy .breadcrumb {
  margin-bottom: 1rem;
}

.article-hero__copy h1 {
  margin: 0 0 0.75rem;
}

.article-hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-primary-light);
}

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

@media (min-width: 768px) {
  .article-hero {
    padding-top: 2.25rem;
    margin-bottom: 2.75rem;
  }

  .article-hero--has-image .article-hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 2.75rem;
    padding-bottom: 3.25rem;
  }
}

.article-page__header {
  margin: 0 0 2rem;
}

.article-page__meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.article-page__body {
  padding-bottom: 0;
}

.article-page__content {
  width: 100%;
}

.article-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.75rem;
}

.article-page__content p {
  max-width: none;
}

.article-page__content h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.375rem;
  max-width: none;
}

.article-page__content > h2:first-child {
  margin-top: 0;
}

.article-page__content ul {
  margin: 0 0 1rem 1.25rem;
}

.article-page__content li {
  margin-bottom: 0.375rem;
}

.article-split {
  display: grid;
  gap: 1rem;
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .article-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.article-callout {
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.article-callout__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.article-callout p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.975rem;
  line-height: 1.6;
}

.article-callout--problem {
  border-left: 4px solid #94a3b8;
  background: #f8fafc;
}

.article-callout--problem .article-callout__kicker {
  color: #64748b;
}

.article-callout--solution {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-light);
}

.article-callout--solution .article-callout__kicker {
  color: var(--color-primary-ink);
}

.article-cta-box {
  margin: 3rem 0 0;
  padding: 2.25rem 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.article-cta-box h3 {
  margin-bottom: 0.5rem;
}

.article-cta-box p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.article-cta-box--configurator {
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(var(--color-primary-rgb), 0.16) 0%, transparent 62%),
    var(--color-white);
  border-color: rgba(var(--color-primary-rgb), 0.28);
}

.article-cta-box--configurator .btn-cta {
  margin-bottom: 0;
}

.article-cta-box__note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.article-cta-box__fine {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  opacity: 0.9;
}

/* Article template blocks (Ratgeber) */
.article-app-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .article-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .article-app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-app-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 1.35rem 1.35rem 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.article-app-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-app-card--photo {
  padding: 0;
}

.article-app-card__index {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.28);
}

.article-app-card__image {
  aspect-ratio: 16/9;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-ink);
}

.article-app-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-app-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-app-card--photo .article-app-card__body {
  padding: 1rem 1.125rem 1.2rem;
}

.article-app-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.article-app-card__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.article-benefit-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .article-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-benefit-card__icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-benefit-card__icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.article-benefit-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
  padding-top: 0.15rem;
}

.article-inset {
  margin: 2rem 0;
  padding: 1.6rem 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
}

.article-inset--design {
  background: var(--color-primary-light);
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  box-shadow: var(--shadow-sm);
}

.article-inset__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-ink);
  margin-bottom: 0.4rem;
}

.article-inset--design h2 {
  margin-top: 0;
}

.article-regional {
  margin: 2.75rem 0 0;
  padding: 1.75rem 1.75rem 1.85rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-regional .section-label {
  margin-bottom: 0.35rem;
}

.article-regional h2 {
  margin-top: 0;
  font-size: 1.375rem;
}

.article-regional p {
  color: var(--color-text-muted);
}

.article-regional__links {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  font-size: 0.9375rem;
}

.article-faq {
  margin: 3rem 0 0;
  padding: 0;
}

.article-faq__intro {
  margin-bottom: 1.25rem;
}

.article-faq__intro h2 {
  margin-bottom: 0;
}

.article-faq .pain-accordion {
  max-width: none;
  margin: 0;
}

.article-related {
  margin-top: 3.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--color-border);
}

.article-related__header {
  margin-bottom: 1.25rem;
}

.article-related__header h2 {
  margin-bottom: 0;
  font-size: 1.375rem;
}

.article-related__links {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .article-related__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .article-related__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-related__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.article-related__media {
  aspect-ratio: 16 / 9;
  background: var(--color-primary-light);
  overflow: hidden;
}

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

.article-related__media--placeholder {
  background:
    linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.22) 0%, var(--color-primary-light) 100%);
}

.article-related__title {
  display: block;
  padding: 0.95rem 1.05rem 0.35rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-related__cta {
  display: inline-flex;
  padding: 0 1.05rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-ink);
}

.article-related__cta::after {
  content: " →";
}

.article-related__link:hover {
  border-color: rgba(var(--color-primary-rgb), 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--color-text);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-primary-ink);
}

/* Schaufenster subpages */
.schaufenster-subpage__intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.schaufenster-benefits {
  padding-top: 0;
}

.schaufenster-faq {
  padding-top: 0;
}

.related-links {
  padding: 2.5rem 0;
}

.related-links h2 {
  margin-bottom: 1.25rem;
}

.related-links__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .related-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-links__item {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-primary-ink);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.related-links__item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.related-links__item--highlight {
  background: var(--color-primary-light);
  border-color: rgba(var(--color-primary-rgb), 0.35);
  font-weight: 600;
}

.schaufenster-overview-links {
  background: var(--color-bg);
}

.schaufenster-anfrage-page .contact-step {
  max-width: 40rem;
  margin: 0 auto;
}

.footer-cross-sell {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-cross-sell a {
  display: inline;
  color: rgba(255, 255, 255, 0.75);
}

.footer-cross-sell a:hover {
  color: var(--color-white);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
