/*
Theme Name: ecantore.de
Theme URI: https://ecantore.de
Author: Renkens Orgel- und Kirchenelektronik GmbH
Description: Offizielles WordPress-Theme für ecantore.de – Selbstspieleinrichtung für Kirchenorgeln
Version: 1.0.1
Text Domain: ecwebtheme-ec-de
*/

/* Schriften lokal ausgeliefert — keine Verbindung zu Google (DSGVO). */
@import url('assets/fonts/fonts.css');

:root {
  --primary: #a72b2a;
  --primary-dark: #8b2221;
  --primary-light: #F5EEEE;
  --primary-muted: #D4A5A4;
  --accent: #c8891a;
  --text: #1a1a1a;
  --text-muted: #5a6272;
  --bg: #ffffff;
  --bg-soft: #FAFAFA;
  --bg-tint: #F5EEEE;
  --bg-dark: #14080a;
  --bg-dark2: #1e0f0f;
  --border: #E8E8E8;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(167,43,42,.10);
  --shadow-lg: 0 16px 48px rgba(167,43,42,.16);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.14);
  --container: 1200px;

  /* ── Markenfamilie: ORGEL · KLANG · go ───────────────────────────
     Dachmarke ist --primary (#a72b2a). Die drei Produktfarben sind
     Flächen-, Icon- und Elementfarben — nicht für Fließtext.
     --klang-text ist die dunklere Textvariante: #8a745d erreicht auf
     Weiß nur 4,43:1, für kleinen Text braucht es 4,5:1.          */
  --orgel: #660604;
  --klang: #8a745d;
  --klang-text: #7e6a55;
  --go: #113b72;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ========== NAV ========== */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; color: var(--text);
  transition: background .15s, color .15s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { background: var(--bg-tint); color: var(--primary); }
.nav-links .has-dropdown:hover .dropdown,
.nav-links .menu-item-has-children:hover .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition-delay: 0s;
}
.dropdown,
.sub-menu {
  position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 8px;
  min-width: 220px; box-shadow: var(--shadow-lg);
  list-style: none;
  /* Padding-Bridge: deckt den Spalt zwischen Menüpunkt und Dropdown */
  padding-top: 14px; margin-top: 0;
  /* Verzögertes Ausblenden: 200ms Toleranz beim Mauswechsel */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s, visibility .15s;
  transition-delay: .2s;
}
.dropdown a,
.sub-menu a {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  font-size: .88rem; font-weight: 500; color: var(--text);
}
.dropdown a:hover,
.sub-menu a:hover { background: var(--bg-tint); color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang-switcher { display: flex; gap: 2px; }
.lang-switcher a,
.lang-switcher span {
  display: inline-block; padding: 4px 8px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; border-radius: var(--radius);
  color: var(--text-muted); text-decoration: none;
  border: 1.5px solid transparent;
  transition: color .15s, border-color .15s;
}
.lang-switcher a:hover { color: var(--primary); border-color: var(--primary-muted); }
.lang-switcher .current-lang,
.lang-switcher span[aria-current] { color: var(--primary); border-color: var(--primary-muted); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 99px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #F5EEEE; transform: translateY(-2px); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: var(--bg-dark2); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ========== TAGS ========== */
.tag {
  display: inline-block; background: var(--primary-light);
  color: var(--primary); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
}
.tag-dark { background: rgba(255,255,255,.12); color: #f5c5c4; }

/* ========== PAGE HERO (subpages) ========== */
.page-hero {
  background: linear-gradient(135deg, #fdfcfc 0%, #f5eeee 60%, #fff8f8 100%);
  padding: 80px 0 64px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15;
  margin-bottom: 16px; color: var(--text);
}
.page-hero h1 em { color: var(--primary); font-style: normal; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 28px; }

/* ========== SECTIONS ========== */
.section { padding: 72px 0; }   /* zwei Sections stossen aneinander: 144px Zwischenraum */
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse at 20% 50%, rgba(167,43,42,.2) 0%, transparent 60%);
  color: #f5f0f0;
}

.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 900; line-height: 1.2; margin-bottom: 14px;
  text-wrap: balance;
}
.section-header h2 em { color: var(--primary); font-style: normal; }
/* Zentrierter Flattersatz wirkt unruhig, sobald er mehrere Zeilen hat.
   text-wrap: balance gleicht die Zeilenlaengen aus — der Browser sucht den
   Umbruch, bei dem alle Zeilen aehnlich lang werden, statt jede Zeile bis
   zum Anschlag zu fuellen.                                              */
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin: 0 auto;
                    text-wrap: balance; }
.section--dark .section-header p { color: #c8b0b0; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #6b1a1a 100%);
  border-radius: 24px; padding: 64px 48px; text-align: center; color: white;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 12px; }
.cta-banner p { font-size: 1.05rem; opacity: .85; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== FAQ ========== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 700; text-align: left; color: var(--text); gap: 16px;
}
.faq-icon { font-size: 1.3rem; color: var(--primary); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 20px; font-size: .95rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ========== FOOTER ========== */
.site-footer { background: var(--bg-dark); color: #c8b8b8; padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo { font-size: 1.3rem; font-weight: 900; color: white; margin-bottom: 12px; letter-spacing: -.02em; }
.footer-logo span { color: var(--primary-muted); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 260px; margin-bottom: 16px; }
.footer-brand address { font-style: normal; font-size: .82rem; line-height: 1.7; color: #a89090; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #f0e0e0; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .88rem; color: #a89090; transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: #6b5555; flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #6b5555; }
.footer-legal a:hover { color: #a89090; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 56px 0 40px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px; gap: 2px; z-index: 199;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a { width: 100%; }
  .hamburger { display: block; }
  .nav-right { display: none; }

  /* Mobile: Untermenüs als Einschub (kein Hover, kein absolute) */
  .nav-links.open .sub-menu,
  .nav-links.open .dropdown {
    display: none;
    position: static !important;
    box-shadow: none; border: none; border-radius: 0;
    background: #fff;
    width: 100%;
    padding: 4px 0 4px 14px;
    margin-top: 0; min-width: unset;
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-links.open .submenu-open > .sub-menu,
  .nav-links.open .submenu-open > .dropdown {
    display: block;
  }
  .nav-links.open .sub-menu a,
  .nav-links.open .dropdown a {
    background: #fff;
    width: 100%;
    display: block;
  }
  .nav-links.open .sub-menu li,
  .nav-links.open .dropdown li {
    width: 100%;
  }
  .nav-links.open .menu-item-has-children > a::after,
  .nav-links.open .has-dropdown > a::after {
    content: ' ▸'; font-size: .75em; opacity: .4;
  }
  .nav-links.open .submenu-open > a::after { content: ' ▾'; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════════════════════════
   MARKENFAMILIE — Badges und Icons
   Zugehörigkeit einer Komponente zu einer oder mehreren Lösungen.
   Siehe www/KONZEPT_markenwelt.md
   ══════════════════════════════════════════════════════════════════ */

.brand-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.brand-badges > .label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Gefüllte Fläche in der Markenfarbe, Schrift weiß.
   Typografie wie der Sperrsatz — "ecantore" aufrecht, der Produktname
   direkt dahinter, kursiv.                                          */
.brand-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding: 3px 12px;
  border-radius: 999px;
  color: #fff;
  font-family: 'Times New Roman', Times, serif;
  font-size: .88rem;
  line-height: 1.5;
  white-space: nowrap;
}
.brand-badge .bb-pre  { font-weight: 400; }
.brand-badge .bb-name { font-weight: 700; font-style: italic; }
.brand-badge svg { width: 14px; height: 14px; flex-shrink: 0; margin-right: 5px; }

.brand-badge.is-orgel { background: var(--orgel); }
/* KLANG nutzt als Fläche die dunklere Variante: Weiß auf #8a745d käme
   nur auf 4,43:1, auf #7e6a55 dagegen auf 5,15:1. Optisch derselbe Ton. */
.brand-badge.is-klang { background: var(--klang-text); }
.brand-badge.is-go    { background: var(--go); }
.brand-badge.is-all   { background: var(--primary); }

/* Als Link bedienbar */
a.brand-badge { transition: opacity .15s ease; }
a.brand-badge:hover,
a.brand-badge:focus-visible { opacity: .85; }
a.brand-badge:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ── Icons ─────────────────────────────────────────────────────────
   Die SVGs tragen fill="currentColor" — die Farbe kommt aus dem CSS.
   Invertierte Darstellung entsteht durch Tauschen von Grund und
   Vordergrund, eigene Dateien dafür sind nicht nötig.            */
.brand-icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.brand-icon svg { width: 100%; height: 100%; display: block; }

.brand-icon.is-orgel { color: var(--orgel); }
.brand-icon.is-klang { color: var(--klang); }
.brand-icon.is-go    { color: var(--go); }

/* Auf farbigem Grund: Icon weiß */
.on-brand .brand-icon { color: #fff; }

.brand-icon.sm { width: 40px; height: 40px; }
.brand-icon.lg { width: 96px; height: 96px; }

/* ── Markenflächen ────────────────────────────────────────────────
   Für Hero- und Abschnittsflächen der Überseiten.               */
.brand-surface { color: #fff; }
.brand-surface.is-orgel { background: var(--orgel); }
.brand-surface.is-klang { background: var(--klang); }
.brand-surface.is-go    { background: var(--go); }

/* Markenfarbe als Textfarbe — KLANG nutzt die dunklere Variante */
.brand-text.is-orgel { color: var(--orgel); }
.brand-text.is-klang { color: var(--klang-text); }
.brand-text.is-go    { color: var(--go); }

/* ── Wortmarke und Produktnamen ────────────────────────────────────
   Serif wie im Markenentwurf. Times New Roman statt Bell MT, weil
   Bell MT keine Webschrift ist und auf den meisten Geraeten fehlt.
   Konsistent mit .hero-brand auf der Startseite.
   Regel: "ecantore" immer in ecantore-Rot, der Produktname in seiner
   Markenfarbe. ORGEL/KLANG in Versalien, go klein und kursiv.      */
.brand-wordmark {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--primary);
}
.brand-name {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.05;
}
.brand-name.is-orgel { color: var(--orgel); }
.brand-name.is-klang { color: var(--klang-text); }
.brand-name.is-go {
  color: var(--go);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
/* In "goAPP" ist das APP wie ORGEL und KLANG gesetzt: fett, mit
   Versalabstand — nur das "go" bleibt der leichte kursive Schnitt. */
.brand-name .bn-app,
.brand-badge .bb-name .bn-app { font-weight: 700; font-style: italic; letter-spacing: .02em; }
/* "APP" steht auf der Groesse von ORGEL und KLANG, nur "go" ist kleiner. */
.brand-name .bn-go, .brand-badge .bb-name .bn-go { font-size: .74em; font-weight: 400; }

/* Fließtext-Variante: "ecantoreKLANG" mitten im Satz.
   Nur die Schrift wird übernommen, die Farbe erbt der Text — sonst wäre
   der Fließtext zu bunt. Für farbige Nennung zusätzlich .brand-text. */
.brand-inline {
  font-family: 'Times New Roman', Times, serif;
  white-space: nowrap;
  color: var(--primary);          /* "ecantore" immer in ecantore-Rot */
}
.brand-inline i { font-style: italic; font-weight: 700; letter-spacing: .02em; }
.brand-inline i.is-orgel { color: var(--orgel); }
.brand-inline i.is-klang { color: var(--klang-text); }
.brand-inline i.is-go    { color: var(--go); font-weight: 400; letter-spacing: 0; }
.brand-inline i.is-go b  { font-weight: 700; font-style: italic; letter-spacing: .02em; }

/* Sperrsatz: "ecantoreORGEL" — der Produktname schliesst ohne Abstand an
   die Wortmarke an, groesser und kursiv. go bleibt klein.
   Die Groesse steuert der Container ueber font-size, alles darin skaliert. */
.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
  /* Feste Zeilenbox: "go" ist kleiner gesetzt als ORGEL und KLANG.
     Ohne diese Höhe wäre die goAPP-Zeile niedriger und alles darunter
     würde gegenüber den Nachbarkarten nach oben rutschen.          */
  min-height: 1.9em;
  align-content: baseline;
}
.brand-lockup .brand-wordmark { font-size: 1em; line-height: 1.1; }
.brand-lockup .brand-name     { font-size: 1.75em; }
.brand-lockup .brand-name.is-go { font-size: 1.75em; }
.brand-lockup sup { font-size: .4em; vertical-align: super; }

/* ══════════════════════════════════════════════════════════════════
   LÖSUNGSSEITEN — gemeinsames Layout für ORGEL · KLANG · go
   Die Seite setzt auf dem Wrapper ihre Markenfarben:
     --lp        Flächen- und Akzentfarbe
     --lp-text   Textvariante (bei KLANG dunkler wegen Kontrast)
     --lp-shade  RGB-Tripel für den Hero-Verlauf, z. B. "60,4,3"
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.lp-hero { position: relative; overflow: hidden; background: var(--lp); }
.lp-hero-img { position: absolute; inset: 0; }
.lp-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
/* Heller Schleier statt dunklem: nur so sind die Markenfarben im
   Sperrsatz lesbar — der Markenton als Grund würde sie verschlucken.
   Nach rechts läuft er auf, damit das Motiv sichtbar bleibt.        */
.lp-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.89) 30%,
    rgba(255,255,255,.42) 64%,
    rgba(255,255,255,.06) 100%);
}
.lp-hero-inner { position: relative; z-index: 2; padding: 96px 0 88px; max-width: 620px; color: var(--text); }

/* Im Hero traegt der Sperrsatz die Seite: "ecantore" deutlich groesser,
   der Produktname noch einmal darueber. Beides skaliert ueber die
   font-size des Containers.                                          */
.lp-hero .lp-lockup { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 22px; }
.lp-hero .brand-lockup .brand-name { font-size: 1.23em; }
.lp-hero .brand-lockup .brand-name.is-go { font-size: 1.23em; }
/* ecantore trägt die Dachmarkenfarbe, der Produktname seine eigene */
.lp-hero .brand-wordmark { color: var(--primary); }
.lp-hero .brand-name     { color: var(--lp-text); }
.lp-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 16px; line-height: 1.25; color: var(--text); }
.lp-hero p { font-size: 1.06rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 30px; max-width: 30em; }
.lp-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* Buttons im Hero in der Markenfarbe */
.lp-hero .btn-primary { background: var(--lp); color: #fff; }
.lp-hero .btn-primary:hover { background: var(--lp-text); }
.lp-hero .btn-outline { border-color: var(--lp); color: var(--lp-text); background: rgba(255,255,255,.72); }
.lp-hero .btn-outline:hover { background: #fff; }

/* ── Problemabschnitt ── */
.lp-problem { max-width: 760px; margin: 0 auto; text-align: center; }
.lp-problem h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 900; margin-bottom: 18px; }
.lp-problem h2 em { color: var(--lp-text); font-style: normal; }
.lp-problem p { font-size: 1.06rem; color: var(--text-muted); line-height: 1.7; }

/* ── Drei Schritte ── */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lp-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative;
}
.lp-step-no {
  position: absolute; top: 22px; right: 24px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.4rem; line-height: 1; color: var(--lp); opacity: .16;
}
.lp-step-ico { width: 34px; height: 34px; color: var(--lp-text); margin-bottom: 16px; display: block; }
.lp-step-ico svg { width: 100%; height: 100%; display: block; }
.lp-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.lp-step p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.lp-note { text-align: center; margin-top: 30px; font-size: .88rem; color: var(--text-muted); }
.lp-note strong { color: var(--lp-text); }

/* ── Einsatzfälle / Varianten ── */
.lp-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lp-case {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--lp);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 26px;
}
.lp-case h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 7px; }
.lp-case p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.lp-case .pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-tint); color: var(--lp-text);
}
.lp-cases-foot {
  margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap;
  align-items: center; justify-content: center; text-align: center;
}
.lp-link {
  font-weight: 700; font-size: .95rem; color: var(--lp-text);
  border-bottom: 2px solid var(--primary-muted); padding-bottom: 2px;
}
.lp-link:hover { border-color: var(--lp); }
.lp-hint { font-size: .92rem; color: var(--text-muted); }

/* Etwas mehr Breite, wo der Erklaertext laenger ist als eine Zeile */
.section-header.lp-header-breit p { max-width: 720px; }

/* ── Bausteine ── */
.lp-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-prods.is-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.lp-prods.is-1 { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
.lp-prod {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.lp-prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lp-prod-img { height: 150px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 14px; }
.lp-prod-img img { max-height: 100%; width: auto; object-fit: contain; }
.lp-prod-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.lp-prod h3 { font-size: 1rem; font-weight: 800; }
.lp-prod p { font-size: .88rem; color: var(--text-muted); line-height: 1.55; flex: 1; }

/* ── Argumente ── */
.lp-args { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.lp-arg { display: flex; gap: 16px; align-items: flex-start; }
.lp-arg .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lp); flex-shrink: 0; margin-top: 8px; }
.lp-arg h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.lp-arg p { font-size: .93rem; color: var(--text-muted); line-height: 1.6; }

/* Auf farbigem oder dunklem Grund traegt die Marke Weiss — sonst
   verschwindet der Produktname in der Hintergrundfarbe. Genau das
   passierte im go-Banner: blaues goAPP auf blauem Grund.          */
.cta-banner .brand-inline,   .cta-banner .brand-inline i,
.section--dark .brand-inline, .section--dark .brand-inline i,
.lp-hero .brand-inline,      .lp-hero .brand-inline i { color: #fff; }

/* ── CTA-Banner in einer Markenfarbe ──────────────────────────────
   Der weisse Button traegt sonst Dachmarken-Rot — das beisst sich in
   einem blauen oder braunen Banner. Hier nimmt er die Bannerfarbe auf. */
.cta-banner.is-go    { background: linear-gradient(135deg, var(--go) 0%, #0a2247 100%); }
.cta-banner.is-orgel { background: linear-gradient(135deg, var(--orgel) 0%, #3c0403 100%); }
.cta-banner.is-klang { background: linear-gradient(135deg, var(--klang) 0%, #5b4b3c 100%); }
.cta-banner.is-go .btn-white    { color: var(--go); }
.cta-banner.is-orgel .btn-white { color: var(--orgel); }
.cta-banner.is-klang .btn-white { color: var(--klang-text); }

/* ── Vertrauenszahlen ── */
.lp-trust { display: flex; gap: 56px; flex-wrap: wrap; justify-content: center; text-align: center; }
.lp-trust .zahl {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.8rem; line-height: 1; color: var(--lp-text); margin-bottom: 6px;
}
.lp-trust .txt { font-size: .92rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .lp-steps, .lp-cases, .lp-args { grid-template-columns: 1fr; }
  .lp-prods, .lp-prods.is-2 { grid-template-columns: repeat(2, 1fr); }
  .lp-prods.is-1 { grid-template-columns: 1fr; }
  .lp-hero-inner { padding: 68px 0 60px; }
  .lp-hero::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.86) 58%,
      rgba(255,255,255,.45) 100%);
  }
}
@media (max-width: 560px) {
  .lp-prods, .lp-prods.is-2, .lp-prods.is-1 { grid-template-columns: 1fr; }
  .lp-trust { gap: 30px; }
}

/* ── USP-Block auf den Lösungsseiten ───────────────────────────────
   Schlagwort plus ein Satz. Bewusst ruhig: kein Kasten, kein Schatten,
   nur ein farbiger Strich als Anker — sonst konkurrieren die Kacheln
   mit Hero und Produktkarten.                                      */
.lp-usps { display: flex; flex-direction: column; gap: 34px; }
.lp-usp { max-width: 62%; }
.lp-usp:nth-child(even) { margin-left: auto; text-align: right; }

/* Schlagwort in der Markenschrift — verbindet den Abschnitt optisch
   mit dem Sperrsatz im Hero. Der Strich sitzt auf der Textseite. */
.lp-usp .t {
  display: block;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  line-height: 1.18;
  color: var(--lp-text);
  margin-bottom: 6px;
  text-wrap: balance;
}
.lp-usp .d { display: block; font-size: .95rem; color: var(--text-muted); line-height: 1.6; }

.lp-usp:nth-child(odd)  .t { border-left: 3px solid var(--lp); padding-left: 15px; }
.lp-usp:nth-child(odd)  .d { padding-left: 18px; }
.lp-usp:nth-child(even) .t { border-right: 3px solid var(--lp); padding-right: 15px; }
.lp-usp:nth-child(even) .d { padding-right: 18px; }

/* Kompakte Typenzeile (nur ORGEL) */
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-chip {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-size: .89rem; background: #fff;
}
.lp-chip b { font-weight: 700; }
.lp-chip span { color: var(--text-muted); }

@media (max-width: 760px) {
  .lp-usp { max-width: 100%; }
  .lp-usp:nth-child(even) { margin-left: 0; text-align: left; }
  .lp-usp:nth-child(even) .t { border-right: 0; padding-right: 0; border-left: 3px solid var(--lp); padding-left: 15px; }
  .lp-usp:nth-child(even) .d { padding-right: 0; padding-left: 18px; }
}

/* ── Fachbegriff mit Sprechblase ───────────────────────────────────
   Bewusst ein <button>: die Blase muss sich auch per Tastatur und auf
   dem Touchscreen oeffnen lassen — ein reines :hover auf <abbr> waere
   dort tot. Ausgabe kommt aus ec_term() in functions.php.          */
.ec-term {
  position: relative; display: inline;
  font: inherit; color: inherit; background: none; padding: 0;
  border: 0; cursor: help;
  -webkit-tap-highlight-color: transparent;
}
/* Markierung: ein kleines i im Textfluss, als echtes <sup>. Der Browser
   rechnet Hochstellung und Vorschubbreite selbst — bei einem ::after
   mussten Hoehe und Abstand von Hand nachgestellt werden. Schriftart wie
   der umgebende Text, aufrecht.                                        */
.ec-term-mark {
  font-weight: 700; font-style: normal;
  padding: 0 .1em;
  color: var(--text-muted); opacity: .9;
  transition: color .15s ease, opacity .15s ease;
}
.ec-term:hover .ec-term-mark,
.ec-term:focus .ec-term-mark { color: var(--lp, var(--primary)); opacity: 1; }
.ec-term:focus-visible      { outline: 2px solid var(--lp, var(--primary)); outline-offset: 2px; border-radius: 2px; }

.ec-term-pop {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  width: max-content; max-width: min(300px, 78vw);
  background: #1e1e1e; color: #fff; text-align: left;
  font-size: .82rem; font-weight: 400; line-height: 1.5; letter-spacing: 0;
  padding: 11px 13px; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; z-index: 40;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.ec-term-pop b { display: block; font-weight: 700; margin-bottom: 3px; }
/* Spitze zum Begriff hin */
.ec-term-pop::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  margin-left: -6px; border: 6px solid transparent; border-top-color: #1e1e1e;
}
.ec-term:hover .ec-term-pop,
.ec-term:focus .ec-term-pop,
.ec-term:focus-visible .ec-term-pop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .ec-term-pop { transition: none; transform: translateX(-50%); }
}
/* Touch und schmale Schirme: Die Blase mittig ueber dem Begriff wuerde
   seitlich aus dem Bild laufen, sobald der Begriff am Zeilenrand steht.
   Sie legt sich deshalb als schmales Panel an den unteren Bildschirmrand
   — immer vollstaendig sichtbar, egal wo im Text der Begriff steht.
   Geoeffnet wird per Antippen: der <button> bekommt Fokus, ein Tap
   daneben schliesst sie wieder.                                      */
@media (max-width: 600px) {
  .ec-term-pop {
    position: fixed; left: 12px; right: 12px; bottom: 16px; top: auto;
    width: auto; max-width: none; transform: translateY(6px);
    font-size: .88rem; padding: 14px 16px; border-radius: 12px;
  }
  .ec-term-pop::after { display: none; }   /* Spitze ergibt hier keinen Sinn */
  .ec-term:hover .ec-term-pop,
  .ec-term:focus .ec-term-pop,
  .ec-term:focus-visible .ec-term-pop { transform: translateY(0); }
}

/* ── Blick in die App: Screenshots nebeneinander ───────────────────
   Der Geraeterahmen ist gezeichnet, kein Bild — so passt er sich der
   Markenfarbe an und kostet keinen zusaetzlichen Download.         */
.app-blicke { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 900px; margin: 0 auto; }
.app-blick { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.app-blick-img {
  border: 8px solid #1e1e1e; border-radius: 22px; overflow: hidden;
  background: #1e1e1e; box-shadow: var(--shadow-lg);
  transition: transform .2s ease;
}
.app-blick:hover .app-blick-img { transform: translateY(-4px); }
.app-blick-img img { width: 100%; height: auto; display: block; }
.app-blick figcaption { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.app-blick figcaption strong { font-size: 1rem; font-weight: 800; color: var(--lp, var(--primary)); }
.app-blick figcaption span { font-size: .89rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 900px) {
  /* Drei hochkante Screenshots nebeneinander werden hier zu schmal —
     lieber seitlich scrollen als unlesbar schrumpfen.               */
  .app-blicke {
    grid-template-columns: repeat(3, 74vw); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 12px; max-width: none;
    margin-inline: calc(50% - 50vw); padding-inline: 6vw;
  }
  .app-blick { scroll-snap-align: center; }
}

/* ── Umbruch an Sinngrenzen ────────────────────────────────────────
   CSS kann nicht wissen, wo ein Satz endet — der Browser bricht dort,
   wo die Zeile voll ist. Wird jeder Teilsatz zu einem inline-block,
   haelt er zusammen und der Umbruch faellt bevorzugt auf Komma oder
   Satzende. Passt ein Block allein nicht in die Zeile, bricht er
   normal weiter, es geht also nichts verloren.
   Verwendung:  <p class="sinnumbruch"><span>…,</span> <span>…</span></p>
   Das Leerzeichen zwischen den Spans ist noetig, sonst kleben sie. */
.sinnumbruch > span { display: inline-block; }

/* ── Video-Einbettung ──────────────────────────────────────────────
   Lag bis zum 19.08.2026 nur im <style> der alten Startseite. Da die
   Videos jetzt auf mehreren Seiten stehen, gehoert es hierher.
   Der Rahmen haelt 16:9 ueber padding-bottom, damit die Seite beim
   Laden nicht springt. Die borlabs-Regel ist noetig, weil der
   Content-Blocker sonst nicht die volle Flaeche einnimmt.          */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-frame {
  position: relative; padding-bottom: 56.25%; min-height: 200px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #000; box-shadow: var(--shadow);
}
.video-frame iframe,
.video-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-frame .borlabs-cookie-content-blocker,
.video-frame [class*="borlabs"] {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  display: flex; align-items: center; justify-content: center;
}
/* Titel und Beschreibung unter dem Rahmen */
.video-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* Hochkant gefilmte Aufnahmen: schmalere Reihe, sonst wuerden drei
   Handyvideos nebeneinander die halbe Seitenhoehe einnehmen. */
.video-karten.is-hochreihe { max-width: 780px; margin: 34px auto 0; gap: 22px; }
@media (max-width: 860px) { .video-karten.is-hochreihe { grid-template-columns: repeat(2, 1fr); max-width: 460px; } }
.video-karte { display: flex; flex-direction: column; gap: 14px; }
.video-karte h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.video-karte p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 860px) {
  .video-grid, .video-karten { grid-template-columns: 1fr; }
}

/* Selbst ausgeliefertes Video im 16:9-Rahmen */
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Zwei der Aufnahmen sind hochkant mit dem Handy gefilmt (478x850).
   Im 16:9-Rahmen staenden sie zwischen breiten schwarzen Balken. */
.video-frame.is-hoch { padding-bottom: 125%; background: var(--bg-soft); }
.video-frame.is-hoch video { object-fit: contain; background: #000; }

/* NDR-Beitrag: Video und Einordnung nebeneinander */
.ndr-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.ndr-split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin: 10px 0 14px; }
.ndr-split h2 em { color: var(--primary); font-style: normal; }
.ndr-split p { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
@media (max-width: 860px) { .ndr-split { grid-template-columns: 1fr; gap: 26px; } }

/* ── Referenzen: statische Übersichtskarte ─────────────────────────
   Steht vor der interaktiven Karte, weil die ohne Cookie-Zustimmung
   nicht laedt — ohne dieses Bild bliebe die Seite leer.            */
.ref-karte { max-width: 820px; margin: 0 auto; }
.ref-karte img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.ref-karte-quelle {
  font-size: .74rem; color: var(--text-muted); text-align: right;
  margin-top: 6px; opacity: .8;
}
.ref-zahlen {
  display: flex; gap: 56px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px; text-align: center;
}
.ref-zahlen .zahl {
  display: block; font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 900;
  color: var(--primary); line-height: 1; font-variant-numeric: tabular-nums;
}
.ref-zahlen .txt { display: block; font-size: .88rem; color: var(--text-muted); margin-top: 6px; }
@media (max-width: 560px) { .ref-zahlen { gap: 28px; } }
