/* bonusScan Relaunch – gemeinsames Design-System für die 6 Produktseiten
   (Stadtgutschein/CityCard, Kundenbindung, Sachbezug, Referenzen, Blog, FAQ).
   Selbst gehostete Schriften (Barlow, Inter) – keine externe Font-CDN-Einbindung. */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/barlow-800.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}

:root {
  --navy: #11306e;
  --blue: #2a4689;
  --blue-mid: #86a9d9;
  --blue-pale: #a6c4e8;
  --yellow: #dddb00;
  --coral: #ff6b57;
  --coral-soft: #ffe4df;
  --mint: #1fbf98;
  --mint-soft: #dff7ee;
  --lilac: #8b6fe8;
  --lilac-soft: #eae3fc;
  --sun: #ffb92e;
  --sun-soft: #fff1d6;
  --ink: #0f1420;
  --ink-soft: #4b5568;
  --ink-faint: #7c8798;
  --line: #e7eaf3;
  --paper: #ffffff;
  --tint: #f6f8fc;
  --tint-2: #eef2fa;
  --navy-gradient: linear-gradient(150deg, #0c2657 0%, #11306e 45%, #1b3e82 100%);
  --shadow-card: 0 1px 2px rgba(17, 48, 110, 0.06), 0 12px 32px -16px rgba(17, 48, 110, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bs {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.bs h1, .bs h2, .bs h3, .bs h4 {
  font-family: "Barlow", sans-serif;
  color: var(--navy);
  margin: 0 0 .5em;
}
.bs h1 { font-weight: 800; font-size: 56px; line-height: 1.04; letter-spacing: -0.02em; }
.bs h2 { font-weight: 700; font-size: 36px; line-height: 1.12; letter-spacing: -0.02em; }
.bs h3 { font-weight: 600; font-size: 24px; line-height: 1.3; }
.bs p { margin: 0 0 1em; }
.bs .lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }

.bs .eyebrow {
  display: inline-block;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 14px;
}
.bs .eyebrow.on-dark { color: var(--blue-mid); }
.bs .eyebrow.tone-blue { color: var(--blue); }

.bs .wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.bs .section { padding: 88px 0; }
.bs .section-tint { background: var(--tint); }
.bs .section-dark { background: var(--navy-gradient); color: #dbe4f6; }
.bs .section-dark h2, .bs .section-dark h3 { color: #fff; }
.bs .section-dark .lead { color: #c6d4ee; }
.bs .section-head { max-width: 720px; margin: 0 0 48px; }
.bs .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.bs .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.bs .btn:hover { transform: translateY(-1px); }
.bs .btn-primary { background: var(--yellow); color: var(--navy); }
.bs .btn-primary:hover { box-shadow: 0 10px 24px -8px rgba(221, 219, 0, .55); }
.bs .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.bs .btn-outline:hover { border-color: #fff; }
.bs .btn-navy { background: var(--navy); color: #fff; }
.bs .btn-navy:hover { box-shadow: 0 10px 24px -8px rgba(17, 48, 110, .45); }
.bs .btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.bs .btn-ghost:hover { border-color: var(--blue-mid); }
.bs .btn-sm { padding: 10px 18px; font-size: 14px; }
.bs .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

/* Header / Nav */
.bs .site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
}
.bs .site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.bs .site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.bs .site-header .logo img { height: 34px; width: auto; }
.bs .nav { display: flex; align-items: center; gap: 32px; }
.bs .nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.bs .nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.bs .nav-links a:hover, .bs .nav-links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--coral); }
.bs .nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 1;
}
.bs .nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.bs .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bs .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bs .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Suche */
.bs .search-toggle {
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: -4px;
  display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0;
}
.bs .search-toggle svg { width: 20px; height: 20px; }
.bs .search-toggle:hover { color: var(--coral); }
.bs .search-panel {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -18px rgba(17, 48, 110, .3);
  z-index: 39; padding: 22px 0;
}
.bs .search-panel[hidden] { display: none; }
.bs .search-form { display: flex; align-items: center; gap: 12px; }
.bs .search-form-icon { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; }
.bs .search-form input[type="text"] {
  flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-family: "Inter", sans-serif; font-size: 16px; color: var(--ink); background: var(--tint);
}
.bs .search-form input[type="text"]:focus { outline: 2px solid var(--blue-mid); border-color: var(--blue-mid); background: #fff; }
.bs .search-close { background: none; border: none; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-faint); padding: 10px; flex-shrink: 0; }
.bs .search-close:hover { color: var(--navy); }
.bs .search-results { margin-top: 14px; max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.bs a.search-result { display: block; padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none; color: inherit; }
.bs a.search-result:hover { background: var(--tint); }
.bs .search-result-cat { font-family: "Barlow", sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--coral); }
.bs .search-result h4 { margin: 2px 0 2px; font-family: "Barlow", sans-serif; font-weight: 600; color: var(--navy); font-size: 16px; }
.bs .search-result p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.bs .search-empty, .bs .search-hint { color: var(--ink-faint); font-size: 14px; padding: 8px 4px; margin: 0; }

/* Stat bar */
.bs .stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.bs .section-dark .stats-bar, .bs .stats-bar.on-dark { border-color: rgba(255,255,255,.16); }
.bs .stat { text-align: center; }
.bs .stat-num { font-family: "Barlow", sans-serif; font-weight: 700; font-size: 32px; color: var(--navy); }
.bs .section-dark .stat-num, .bs .stat.on-dark .stat-num { color: #fff; }
.bs .stat-label { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }
.bs .section-dark .stat-label, .bs .stat.on-dark .stat-label { color: #c6d4ee; }

/* Grids & cards */
.bs .grid { display: grid; gap: 24px; }
.bs .grid-2 { grid-template-columns: repeat(2, 1fr); }
.bs .grid-3 { grid-template-columns: repeat(3, 1fr); }
.bs .grid-4 { grid-template-columns: repeat(4, 1fr); }

.bs .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-card);
}
.bs .card h3 { font-size: 19px; margin-bottom: 8px; }
.bs .card p:last-child { margin-bottom: 0; }
.bs .card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.bs .accent-coral .card-icon, .bs .icon-coral { background: var(--coral-soft); color: var(--coral); }
.bs .accent-mint .card-icon, .bs .icon-mint { background: var(--mint-soft); color: var(--mint); }
.bs .accent-lilac .card-icon, .bs .icon-lilac { background: var(--lilac-soft); color: var(--lilac); }
.bs .accent-sun .card-icon, .bs .icon-sun { background: var(--sun-soft); color: #b8790a; }

.bs .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  background: var(--sun-soft); color: #9a6600; margin-left: 8px; vertical-align: middle;
}
.bs .pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--tint-2); color: var(--navy); font-weight: 500; font-size: 14px;
  border: 1px solid var(--line);
}
.bs .pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Numbered steps */
.bs .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.bs .step { position: relative; padding-left: 4px; }
.bs .step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Barlow", sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.bs .section-dark .step-num { background: #fff; color: var(--navy); }

/* Illustration placeholders (flache, geometrische Illustration statt Foto) */
.bs .illu {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tint-2), var(--blue-pale) 140%);
}
.bs .illu svg { width: 72%; height: 72%; }
.bs .illu img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); }
.bs .illu iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.bs a.illu { text-decoration: none; transition: box-shadow .15s ease; }
.bs a.illu:hover { box-shadow: 0 16px 36px -16px rgba(17, 48, 110, .4); }
.bs a.illu:hover .tile-play span { transform: scale(1.08); }
.bs .illu .tile-play span { transition: transform .15s ease; }

/* Contact block */
.bs .contact-block { background: #fff; padding: 88px 0; }
.bs .contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.bs .contact-cta-row { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.bs .contact-cta-row img { height: 26px; }
.bs .contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  border: 1px solid var(--line); padding: 32px;
}
.bs .contact-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: "Barlow", sans-serif; font-weight: 700; font-size: 20px; flex-shrink: 0;
  object-fit: cover;
}
.bs .contact-person { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.bs .contact-name { font-family: "Barlow", sans-serif; font-weight: 700; color: var(--navy); font-size: 17px; }
.bs .contact-role { color: var(--ink-faint); font-size: 14px; }
.bs .contact-lines { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; font-size: 15px; }
.bs .contact-lines a { text-decoration: none; color: var(--ink); }
.bs .contact-lines a:hover { color: var(--navy); }
.bs .contact-social { display: flex; gap: 10px; margin-top: 18px; }
.bs .social-btn {
  width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: "Barlow", sans-serif; font-weight: 700; font-size: 13px;
}
.bs .social-btn:hover { background: var(--blue); }

/* Footer */
.bs .site-footer { background: var(--navy); color: #c6d1ea; padding: 64px 0 28px; }
.bs .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.bs .footer-grid img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.bs .footer-col h4 { font-family: "Barlow", sans-serif; font-weight: 700; color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.bs .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bs .footer-col a { color: #c6d1ea; text-decoration: none; font-size: 15px; }
.bs .footer-col a:hover { color: #fff; }
.bs .footer-col p { margin: 0 0 4px; font-size: 15px; }
.bs .footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: 13px; color: #94a3c8;
}
.bs .footer-bottom a { color: #94a3c8; text-decoration: none; }
.bs .footer-bottom a:hover { color: #fff; }
.bs .footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* FAQ accordion */
.bs .faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.bs .faq-q {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer; padding: 20px 22px; font-family: "Barlow", sans-serif;
  font-weight: 600; font-size: 17px; color: var(--navy);
}
.bs .faq-num {
  width: 32px; height: 32px; min-width: 32px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.bs .faq-q .chev { margin-left: auto; transition: transform .2s ease; color: var(--ink-faint); }
.bs .faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.bs .faq-a { padding: 0 22px 22px 70px; color: var(--ink-soft); }
.bs .faq-item summary { list-style: none; }
.bs .faq-item summary::-webkit-details-marker { display: none; }

/* Table */
.bs .bs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.bs .bs-table th, .bs .bs-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bs .bs-table th { font-family: "Barlow", sans-serif; color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; background: var(--tint); }
.bs .bs-table tr:last-child td { border-bottom: none; }

/* Calculator */
.bs .calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 40px; }
.bs .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.bs .calc-field { margin-bottom: 28px; }
.bs .calc-field label { display: flex; justify-content: space-between; font-family: "Barlow", sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.bs .calc-field output { color: var(--coral); }
.bs .calc-field input[type="range"] {
  width: 100%; accent-color: var(--coral); height: 6px;
}
.bs .calc-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bs .calc-result { background: var(--tint); border-radius: var(--radius-sm); padding: 20px; }
.bs .calc-result .num { font-family: "Barlow", sans-serif; font-weight: 700; font-size: 28px; color: var(--navy); display: block; }
.bs .calc-result .lbl { font-size: 13px; color: var(--ink-faint); }
.bs .calc-disclaimer { font-size: 13px; color: var(--ink-faint); margin-top: 20px; }

/* Hero-Visual: Phone-Mockup + Karte dahinter */
.bs .hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.bs .hero-visual-card {
  position: absolute; width: 58%; max-width: 280px; aspect-ratio: 1.586 / 1;
  left: 2%; top: 50%; transform: translateY(-46%) rotate(-11deg);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.35)); z-index: 1;
}
.bs .hero-visual-card svg { width: 100%; height: 100%; display: block; border-radius: 14px; }
.bs .hero-visual-phone {
  position: relative; width: 58%; max-width: 280px; margin-left: 18%;
  transform: rotate(7deg);
  filter: drop-shadow(0 22px 32px rgba(0,0,0,.4)); z-index: 2;
}

/* Hero layout */
.bs .hero { padding: 72px 0 56px; }
.bs .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.bs .hero.on-dark { background: var(--navy-gradient); color: #dbe4f6; }
.bs .hero.on-dark h1 { color: #fff; }
.bs .hero.on-dark .lead { color: #c6d4ee; }

/* Formulare (Kontaktformular) */
.bs .form-field { margin-bottom: 20px; }
.bs .form-field label { display: block; font-family: "Barlow", sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.bs .form-field input[type="text"], .bs .form-field input[type="email"], .bs .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif; font-size: 15px; color: var(--ink); background: #fff;
}
.bs .form-field input:focus, .bs .form-field textarea:focus { outline: 2px solid var(--blue-mid); outline-offset: 1px; border-color: var(--blue-mid); }
.bs .form-field textarea { resize: vertical; min-height: 120px; }
.bs .form-hint { font-size: 13px; color: var(--ink-faint); margin-top: -8px; margin-bottom: 20px; }
.bs abbr.required { color: var(--coral); text-decoration: none; }
.bs .form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bs input[type="submit"].btn { appearance: none; }

/* Notice banner (Blog Platzhalter-Hinweis) */
.bs .notice {
  display: flex; gap: 14px; align-items: flex-start; background: var(--sun-soft);
  border: 1px solid #f3d99a; border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 40px;
  font-size: 14px; color: #7a5a00;
}

/* Rechtstexte (Impressum, AGB, Datenschutz) */
.bs .legal-content { max-width: 820px; }
.bs .legal-content h1 { font-size: 40px; margin-bottom: .6em; }
.bs .legal-content h2 { font-size: 26px; margin-top: 2em; }
.bs .legal-content h3 { font-size: 19px; margin-top: 1.6em; }
.bs .legal-content p, .bs .legal-content li { color: var(--ink-soft); }
.bs .legal-content ul, .bs .legal-content ol { padding-left: 22px; margin: 0 0 1em; }
.bs .legal-content li { margin-bottom: 6px; }
.bs .legal-content a { color: var(--navy); text-decoration: underline; }
.bs .legal-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.bs .legal-content td, .bs .legal-content th { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.bs .legal-content .hr { border-top: 1px solid var(--line); margin: 2em 0; }
.bs .legal-content strong { color: var(--navy); }
.bs .legal-content blockquote {
  margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--coral);
  background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: "Barlow", sans-serif; font-weight: 600; color: var(--navy); font-size: 19px;
}
.bs .legal-content img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.bs .legal-content section, .bs .legal-content .avia_textblock { display: contents; }
.bs .legal-content .avia-image-container { display: none; }

/* Klickbare Kacheln (News/Blog/Case Studies/Videos) */
.bs .tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bs .tile-grid.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.bs a.tile {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease;
}
.bs a.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -16px rgba(17, 48, 110, .28); }
.bs .tile-media { aspect-ratio: 16/9; background: var(--tint-2); overflow: hidden; position: relative; }
.bs .tile-media iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.bs .tile-media[data-yt] { cursor: pointer; }
.bs .tile-media img { width: 100%; height: 100%; object-fit: cover; }
.bs .tile-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bs .tile-meta { font-size: 13px; color: var(--ink-faint); }
.bs .tile-body h3 { margin: 0; font-size: 19px; }
.bs .tile-body p { margin: 0; color: var(--ink-soft); font-size: 15px; flex: 1; }
.bs .tile-readmore { font-family: "Barlow", sans-serif; font-weight: 700; color: var(--coral); font-size: 14px; margin-top: 4px; }
.bs .tile-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.bs .tile-play span {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(17, 48, 110, .85);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.bs .view-all { text-align: center; margin-top: 28px; }
.bs .section-intro { max-width: 680px; margin: 0 0 32px; }

/* Referenzen: Legende/Filter + Kacheln */
.bs .ref-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.bs .ref-filter {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 14px; color: var(--ink-soft);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.bs .ref-filter:hover { border-color: var(--blue-mid); }
.bs .ref-filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.bs .ref-filter-icon { font-size: 16px; line-height: 1; }
.bs .ref-legend-hint { font-size: 13px; color: var(--ink-faint); margin: 0 0 32px; }

.bs .ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bs .ref-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; box-shadow: var(--shadow-card);
}
.bs .ref-card-icons { display: flex; gap: 6px; margin-bottom: 12px; }
.bs .ref-card-icons span {
  width: 26px; height: 26px; border-radius: 7px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.bs .ref-card h4 { font-family: "Barlow", sans-serif; font-weight: 700; color: var(--navy); font-size: 14px; margin: 0 0 4px; }
.bs .ref-card p { margin: 0; font-size: 12px; color: var(--ink-faint); }
.bs .ref-card.ref-hidden { display: none; }

/* Utilities */
.bs .center { text-align: center; }
.bs .mt-0 { margin-top: 0; }
.bs .muted { color: var(--ink-faint); }
.bs .skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.bs .skip-link:focus { left: 12px; top: 12px; }

@media (max-width: 980px) {
  .bs h1 { font-size: 40px; }
  .bs h2 { font-size: 28px; }
  .bs .hero-grid, .bs .calc-grid, .bs .contact-grid { grid-template-columns: 1fr; }
  .bs .hero-visual { min-height: 320px; margin-top: 24px; }
  .bs .grid-3, .bs .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bs .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .bs .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .bs .stats-bar { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .bs .footer-grid { grid-template-columns: 1fr; }
  .bs .nav-links { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column;
    padding: 24px; gap: 4px; transform: translateX(100%); transition: transform .2s ease; overflow-y: auto;
    box-shadow: -8px 0 32px rgba(17,48,110,.18); }
  .bs .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .bs .nav-links.open { transform: translateX(0); }
  .bs .nav-toggle { display: block; }
  .bs .nav-cta { display: none; }
  .bs .nav-cta-login { display: inline-flex; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .bs h1 { font-size: 32px; }
  .bs .section { padding: 56px 0; }
  .bs .grid-2, .bs .grid-3, .bs .grid-4 { grid-template-columns: 1fr; }
  .bs .tile-grid { grid-template-columns: 1fr; }
  .bs .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .bs .steps { grid-template-columns: 1fr; }
  .bs .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .bs .calc { padding: 24px; }
  .bs .calc-results { grid-template-columns: 1fr; }
  .bs .faq-a { padding-left: 22px; }
}
