/* cybersicher.info — Basis-Stylesheet
   Design-Entscheidungen siehe DESIGN.md (Farben/Schrift/Abstände aus dem
   W&K-Marken-Skill abgeleitet bzw. mit Tino abgestimmt). */

/* Lokal eingebettete Variable-Font-Datei statt Google-Fonts-Live-Laden —
   vermeidet IP-Übertragung an Google beim Seitenaufruf (siehe DESIGN.md,
   Eintrag "Google Fonts lokal eingebettet"). Deckt alle genutzten
   Schriftschnitte (400–800) über eine einzige Variable-Font-Datei ab. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}

:root {
  --color-primary: #0460A9;   /* Hauptblau */
  --color-mid: #8AA3D5;       /* Mittelblau */
  --color-light: #BAC8E7;     /* Hellblau */
  --color-tint: #EAF1FA;      /* helle Flächenfüllung */
  --color-text: #1a1a1a;
  --color-text-secondary: #555555;
  --color-bg: #ffffff;
  --color-white: #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --size-h1: 56px;
  --size-h2: 32px;
  --size-h3: 22px;
  --size-body: 18px;
  --size-small: 15px;

  --section-spacing: 140px;
  --section-spacing-mobile: 72px;
  --container-width: 1120px;
  --radius: 12px;

  --shadow-sm: 0 2px 10px rgba(4, 96, 169, 0.08);
  --shadow-md: 0 16px 36px rgba(4, 96, 169, 0.14);
  --shadow-lg: 0 28px 64px rgba(4, 96, 169, 0.2);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--size-body);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-underline-offset: 3px; }

::selection { background: var(--color-primary); color: var(--color-white); }

html { scrollbar-color: var(--color-mid) var(--color-tint); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-tint); }
::-webkit-scrollbar-thumb { background: var(--color-mid); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 0; top: -60px; z-index: 100;
  background: var(--color-primary); color: var(--color-white);
  padding: 12px 20px; border-radius: 0 0 8px 0; text-decoration: none; font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.ai-disclosure { font-size: 13px; color: var(--color-text-secondary); margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--color-text);
  text-wrap: balance;
}

h1 { font-size: var(--size-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--size-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--size-h3); letter-spacing: -0.005em; }

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

.section {
  padding: var(--section-spacing) 0;
}

.section--tint {
  background: var(--color-tint);
}

.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rating-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.rating-badges .badge { color: var(--color-text); }

.rating-source {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.lede {
  font-size: 20px;
  color: var(--color-text-secondary);
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(4, 96, 169, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-light);
}

.btn-ghost:hover {
  background: var(--color-tint);
}

.btn-small { padding: 10px 18px; font-size: 14px; }

/* --- Header / Nav --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-light);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Absichtlich longhand statt "padding: 18px 0": .nav sitzt auf demselben
     Element wie .container (padding: 0 24px) — ein Shorthand hier würde
     dessen horizontales Padding auf 0 zurücksetzen (gleiche Spezifität,
     .nav steht später), wodurch Logo/Hamburger bündig am Viewport-Rand
     klebten, sitesweit auf allen Breiten. */
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-attribution {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 4px;
  margin: -13px -4px;
  font-size: 11px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.brand-attribution img {
  height: 15px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover { color: var(--color-primary); }

.nav-links-cta { display: none; }
.nav-links-cta a.btn,
.nav-links-cta a.btn:hover { color: var(--color-white); }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
}

/* --- Hero --- */

.hero {
  position: relative;
  padding: 90px 0 var(--section-spacing);
  overflow: hidden;
  background: var(--color-tint);
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy {
  min-width: 0;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero h1 {
  /* Eigener clamp() statt der gestuften --size-h1-Variable: verhindert,
     dass die Überschrift auf schmalen Phones (320-430px) den gesamten
     ersten Bildschirm dominiert, ohne die Desktop-Größe (56px, erreicht
     ab ca. 900px Breite) zu verändern. */
  font-size: clamp(32px, 8vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-secondary-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--color-white);
  border: 1px solid var(--color-light);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.trust-badge:hover,
.trust-badge:focus-visible {
  border-color: var(--color-mid);
  box-shadow: var(--shadow-md);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trust-badge-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-photo img {
  filter: drop-shadow(0 28px 50px rgba(4, 96, 169, 0.28));
}

.hero-trust-line {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* --- Interaktives Video --- */

.video-embed {
  max-width: 840px;
  margin: 0 auto;
}

.video-embed-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding-top: 56.25%;
  box-shadow: var(--shadow-md);
}

.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  /* Heller Verlauf statt fast Schwarz: das Foto selbst enthält keinen
     dunklen Hintergrund (dieselbe Datei wird im Hero unverändert auf
     hellem Grund gezeigt) — der frühere dunkle Eindruck kam ausschließlich
     von diesem CSS-Hintergrund plus reduzierter Bild-Deckkraft darunter,
     die zusammen das ganze Foto Richtung Schwarz abgedunkelt haben. */
  background: linear-gradient(135deg, #eef5fc, #d8e8f6);
}

.video-embed-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.video-embed-poster:hover img,
.video-embed-poster:focus-visible img {
  opacity: 0.9;
}

.video-embed-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.video-embed-poster:hover .video-embed-play-icon,
.video-embed-poster:focus-visible .video-embed-play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-embed-consent {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
}

/* --- Stat callout --- */

.stat-callout {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--color-white);
  border: 1px solid var(--color-light);
  border-radius: var(--radius);
  padding: 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.section--band {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--band h1,
.section--band h2 { color: var(--color-white); }

.section--band p { color: rgba(255, 255, 255, 0.85); }

.section--band .stat-callout {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.section--band .stat-number { color: var(--color-white); }
.section--band .stat-label { color: rgba(255, 255, 255, 0.9); }
.section--band .source-note { color: rgba(255, 255, 255, 0.82); }
.section--band .source-note a { color: rgba(255, 255, 255, 0.92); }

.stat {
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.source-note {
  font-size: var(--size-small);
  color: var(--color-text-secondary);
  margin-top: 12px;
  max-width: 680px;
}

/* --- Cards --- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 { margin-bottom: 10px; }

/* Blog-Übersicht: Artikelüberschriften sind aus SEO-Gründen H2 (statt H3),
   behalten aber optisch die H3-Größe der Karten bei. */
.card-grid h2 { font-size: var(--size-h3); letter-spacing: -0.005em; margin-bottom: 10px; }

.card-meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-tint);
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 14px;
}

.disclaimer {
  font-size: var(--size-small);
  color: var(--color-text-secondary);
  font-style: italic;
  margin-top: 24px;
  max-width: 680px;
}

/* --- Bausteine (Deckung) --- */

.baustein-list {
  display: grid;
  gap: 20px;
}

.baustein {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-light);
}

.baustein:last-child { border-bottom: none; }

.baustein h3 { margin-bottom: 8px; }

.baustein-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.baustein-group-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 32px 0 4px;
}

.baustein-group-label:first-child { margin-top: 0; }

.tip-box {
  background: var(--color-tint);
  border: 1px solid var(--color-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--color-text-secondary);
  max-width: 680px;
}

/* --- Warum Makler --- */

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reason-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.reason-icon svg { width: 24px; height: 24px; }

/* --- Über Tino --- */

.about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 24px 44px rgba(4, 96, 169, 0.22));
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--color-tint);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease;
}

a.badge:hover,
a.badge:focus-visible {
  background: var(--color-light);
}

.badge--cert {
  background: var(--color-primary);
  color: var(--color-white);
}

.cert-thumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
}

.cert-thumb img {
  width: 52px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--color-light);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-light);
}

.trust-logos img {
  height: 48px;
  width: auto;
}

/* --- Testimonials --- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  margin: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 16px;
}

.testimonial-card footer {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}

.testimonial-card footer span {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.testimonial-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  background: transparent;
  border: 1px dashed var(--color-light);
  box-shadow: none;
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* --- Kooperationen --- */

.coop-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.coop-logo img {
  height: 48px;
  width: auto;
}

.coop-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 64px;
  border: 1px dashed var(--color-light);
  border-radius: var(--radius);
  color: var(--color-text-secondary);
  font-size: 13px;
}

/* --- Ablauf --- */

.steps {
  max-width: 640px;
  margin: 0 auto;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 28px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
}

.step-number {
  counter-increment: step;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.step-number::before { content: counter(step); }

/* --- FAQ --- */

.faq-list {
  border-top: 1px solid var(--color-light);
  padding-top: 4px;
}

.faq-item {
  border-bottom: 1px solid var(--color-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  padding: 24px 40px 24px 0;
  position: relative;
  transition: color 0.15s ease;
}

.faq-question:hover { color: var(--color-primary); }

.faq-question::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background-color: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  color: var(--color-text-secondary);
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-inner p {
  padding-bottom: 24px;
  max-width: 680px;
  margin: 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* --- Kontakt --- */

.contact {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-inner { position: relative; }

.contact h2 { color: var(--color-white); }

.contact .lede { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; }

.contact .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.contact-alt {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
}

.contact-alt a { color: var(--color-white); }

/* --- Nach oben --- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 40;
}

.back-to-top::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.back-to-top.is-visible:hover { transform: translateY(-2px); }

/* --- Blog --- */

.article {
  max-width: 680px;
  margin: 0 auto;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 28px;
}

.article-byline img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-byline-name {
  font-weight: 700;
  font-size: 15px;
}

.article-meta {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
}

.article p { font-size: 17px; }

.article h2 { margin-top: 40px; }

.article ul { margin: 16px 0; padding-left: 22px; }
.article li { font-size: 17px; margin-bottom: 10px; }
.article li:last-child { margin-bottom: 0; }

.article .source-note { font-size: var(--size-small); }

.article-style-list { margin: 16px 0; padding-left: 22px; }
.article-style-list li { font-size: 17px; margin-bottom: 10px; }
.article-style-list li:last-child { margin-bottom: 0; }

.breadcrumb { padding: 20px 0 0; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: var(--size-small);
  color: var(--color-text-secondary);
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--color-light); }
.breadcrumb a { color: var(--color-text-secondary); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--color-primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: 600; }

.article-notice {
  background: var(--color-tint);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: var(--size-small);
}
.article-notice strong { color: var(--color-primary); }

.article-legal-disclaimer {
  font-size: var(--size-small);
  color: var(--color-text-secondary);
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--color-light);
}

.danke-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--color-light);
  padding: 48px 0;
  font-size: var(--size-small);
  color: var(--color-text-secondary);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  display: inline-block;
  padding: 12px 8px;
  margin: -12px -8px;
  color: var(--color-text-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--color-primary); }

/* --- Responsive --- */

@media (max-width: 900px) {
  :root {
    --size-h1: 38px;
    --size-h2: 26px;
    --section-spacing: var(--section-spacing-mobile);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }

  .nav-links-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--color-light);
  }
  .nav-links-cta a.btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .card-grid { grid-template-columns: 1fr; }
  .reason-list { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .trust-logos { gap: 20px; }
  .trust-logos img { height: 32px; }
  .coop-grid { gap: 24px; }
  .coop-logo img { height: 32px; }
  .coop-logo--placeholder { width: 130px; height: 52px; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo { max-width: 280px; margin: 32px auto 0; }

  /* Mobiler Header: 20px statt der 24px-Standardbreite von .container,
     wie angefordert (18-20px). */
  .site-header .container.nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Kompaktere vertikale Abstände im Hero und vor dem Video, damit
     Überschrift und erster CTA früher sichtbar werden. */
  .hero { padding: 40px 0 48px; }
  .trust-badge { margin-bottom: 20px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-trust-line { margin-top: 14px; }
  .section-head { margin-bottom: 32px; }

  /* Rechts Platz für den fixed "Nach oben"-Button lassen (44px + Abstand),
     damit er den Mindstamp-Datenschutzhinweis nicht überlagert, sobald
     dieser beim Scrollen an die untere Bildschirmkante gerät. */
  .video-embed-consent { padding-right: 56px; }

  .contact { padding: 40px 24px; }
  .footer-grid { flex-direction: column; }
}

/* Tablet: between the mobile single-column collapse above and the fluid
   desktop grids — avoids jumping straight from 3 columns to 1. */
@media (min-width: 701px) and (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-list { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
