/* app-for-teams Produktseite. Keine externen Quellen, Systemschrift. */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #13212b;
  --muted: #3a4751;
  --brand: #84188a;
  --brand-dark: #5e1063;
  --brand-soft: #f3e8f3;
  --accent: #e8a33d;
  --accent-soft: #fbefd9;
  --line: #d6d3c9;
  --deep: #2e0a33;
  --deep-ink: #f3f1ea;
  --deep-muted: #dccfdd;
  --focus: #b4580b;
  --radius: 14px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Kopfzeile */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 720; font-size: 1.1rem;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 560; }
.nav a:hover { color: var(--brand); text-decoration: underline; }
@media (min-width: 1000px) { .nav { display: block; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: .55em 1.15em;
  border-radius: 999px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff;
  font-weight: 650; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-light { background: var(--deep-ink); border-color: var(--deep-ink); color: var(--deep); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--deep); }

/* Einstieg */
.hero { padding: 48px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 88px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}
.eyebrow {
  display: inline-block; font-size: .9rem; font-weight: 650; color: var(--brand-dark);
  background: var(--brand-soft); padding: .3em .8em; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { max-width: 420px; margin: 0 auto; width: 100%; }

/* Abschnitte */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.audience { display: grid; gap: 16px; }
@media (min-width: 720px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.audience article {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.audience p { margin: 0; color: var(--muted); }

.features { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  /* Zehn Karten in drei Spalten: die letzte nicht allein links stehen lassen. */
  .features li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
.features li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
}
.features p { margin: 0; color: var(--muted); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; margin-bottom: 8px; flex: none;
}
.icon svg { width: 24px; height: 24px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 20px 20px 20px 20px; border-left: 4px solid var(--accent); background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; }
.steps li::before {
  content: counter(s); display: block; font-weight: 750; font-size: 1.4rem; color: var(--brand-dark); margin-bottom: 4px;
}
.steps p { margin: 0; color: var(--muted); }

/* Datenschutz-Block */
.trust { background: var(--deep); color: var(--deep-ink); }
.trust h2, .trust h3 { color: #fff; }
.trust .section-head p, .trust p { color: var(--deep-muted); }
.trust-grid { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-grid li { border-top: 1px solid #2f5157; padding-top: 18px; }
.trust-grid p { margin: 0; }
.trust a { color: #fff; }
.trust :focus-visible { outline-color: var(--accent); }

/* Kontakt */
.contact { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card address { font-style: normal; }
.card dl { margin: 0; display: grid; gap: 4px 16px; grid-template-columns: auto 1fr; }
.card dt { font-weight: 650; }
.card dd { margin: 0; }

/* Rechtstexte */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .35em; }
.legal .stand { color: var(--muted); font-size: .95rem; margin-top: 2.5em; }

/* Fusszeile */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0; font-size: .97rem; }
.site-footer .wrap { display: grid; gap: 16px; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--brand); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* statt Inline-Styles (CSP style-src 'self') */
.abstand-oben-gross { margin-top: 24px; }
.abstand-oben { margin-top: 12px; }

/* ---- Verkaufsseite 10.11.2026 ---- */
.header-actions { display: flex; align-items: center; gap: 14px; }
.link-anmelden { color: var(--ink); font-weight: 600; text-decoration: none; display: none; }
.link-anmelden:hover { color: var(--brand); text-decoration: underline; }
@media (min-width: 520px) { .link-anmelden { display: inline; } }
.btn-klein { min-height: 40px; padding: .4em 1em; font-size: .97rem; }
.btn-gross { min-height: 52px; padding: .7em 1.5em; font-size: 1.08rem; }
.btn-ghost-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-hell:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.hero h1 { max-width: 14em; }
.hero-art img { width: 100%; max-width: 330px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(46,10,51,.22)); }
.haken { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-weight: 560; }
.haken li { display: inline-flex; align-items: center; gap: 8px; }
.haken li::before, .liste li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

.schmerz { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .schmerz { grid-template-columns: repeat(3, 1fr); } }
.schmerz li { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.schmerz p { margin: 0; color: var(--muted); }

.vorteil { display: grid; gap: 24px; align-items: center; margin-bottom: 72px; }
.vorteil:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .vorteil { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .vorteil.umgekehrt .film { order: 2; }
}
.film { border-radius: var(--radius); overflow: hidden; background: var(--deep); box-shadow: 0 18px 40px rgba(46,10,51,.18); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Fokus nach innen: .film schneidet mit overflow:hidden alles ab, was ueber
   den Rand ragt, der allgemeine Rahmen (outline-offset 3px) war unsichtbar
   (Abnahme 11.11.2026, Webseite 3.3). */
.film video:focus-visible, .film video:focus, .film video:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; }
.vorteil h3, .vorteil h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.nummer { font-size: .9rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5em; }
.vorteil .text > p { color: var(--muted); }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.liste li { display: flex; gap: 10px; align-items: flex-start; }
.liste li::before { margin-top: .25em; }

.galerie {
  list-style: none; margin: 0; padding: 4px 16px 20px; display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
}
@media (min-width: 720px) { .galerie { padding: 4px 32px 20px; scroll-padding: 0 32px; } }
@media (min-width: 1184px) { .galerie { padding-left: calc((100vw - var(--max)) / 2 + 32px); } }
.galerie li { flex: 0 0 auto; width: 210px; scroll-snap-align: start; text-align: center; }
@media (min-width: 720px) { .galerie li { width: 240px; } }
.galerie img { width: 100%; filter: drop-shadow(0 12px 22px rgba(46,10,51,.16)); }
.galerie span { display: block; margin-top: 10px; font-weight: 620; color: var(--muted); }

.steps-drei { margin-bottom: 32px; }
@media (min-width: 900px) { .steps-drei { grid-template-columns: repeat(3, 1fr); } }

.schmal { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.schluss { background: var(--deep); color: var(--deep-ink); text-align: center; }
.schluss h2 { color: #fff; }
.schluss p { color: var(--deep-muted); font-size: 1.15rem; }
.schluss .klein { font-size: 1rem; margin-top: 24px; }
.schluss a:not(.btn) { color: #fff; }
.schluss :focus-visible { outline-color: var(--accent); }
.zentriert { justify-content: center; }
/* Einrasten am selben Rand wie das Polster, sonst springt die Galerie beim Laden um 80 px nach links. */
@media (min-width: 1184px) { .galerie { scroll-padding-left: calc((100vw - var(--max)) / 2 + 32px); } }

/* ---- Absender-Leiste 26.11.2026: gemeinsames Projekt dimension21 und boovis ----
   Das dimension21-Logo gibt es nur als JPG mit weißem Grund (dimension21.de,
   kein SVG). multiply lässt das Weiß im Seitenhintergrund aufgehen, statt
   einen weißen Kasten zu zeigen. Höhe statt Breite festlegen, die Breite folgt
   dem Seitenverhältnis: so wird kein Logo verzerrt. */
.absender { padding: 0 0 48px; }
@media (min-width: 900px) { .absender { margin-top: -24px; padding-bottom: 64px; } }
.absender .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 32px; border-top: 1px solid var(--line); padding-top: 28px;
}
.absender-titel { margin: 0; font-weight: 650; color: var(--muted); font-size: 1rem; }
.absender-logos { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.absender-logos a { display: inline-block; border-radius: 6px; }
.absender-logos img { height: 54px; width: auto; mix-blend-mode: multiply; }
/* Schmale Handys: nebeneinander passen beide Logos nur winzig, und boovis
   rutschte allein in die zweite Zeile (Prüfung 390 px). Untereinander
   bleiben sie groß genug, um die Unterzeilen zu lesen. */
@media (max-width: 519px) {
  .absender-titel { width: 100%; text-align: center; }
  .absender-logos { flex-direction: column; gap: 10px; }
  .absender-logos img { height: 50px; }
}
.absender-und { font-weight: 650; color: var(--muted); }

/* ---- Zielgruppen 30.11.2026: Startseite fragt "Wofür?", Unterseiten je Gruppe ----
   Die Kacheln sind echte Links auf eigene Seiten (/sportverein/ usw.), kein
   Umschalten per Skript: der Vertrieb läuft über Empfehlungen, und ein Link,
   den man weiterschickt, muss genau die passende Seite öffnen. Die CSP
   erlaubt ohnehin nur Skripte von hier, und es braucht keins. */
.wahl-titel { font-size: 1.15rem; margin: 32px 0 14px; }
.wahl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .wahl { grid-template-columns: repeat(3, 1fr); } }
.wahl a {
  display: flex; flex-direction: column; height: 100%; gap: 6px; padding: 20px 22px;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.wahl a:hover { border-color: var(--brand); background: var(--brand-soft); }
.wahl a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wahl strong { font-size: 1.15rem; color: var(--brand-dark); }
.wahl span { color: var(--muted); }
.wahl span.weiter { margin-top: auto; padding-top: 8px; font-weight: 650; color: var(--brand); }
.wahl-hinweis { margin: 14px 0 0; color: var(--muted); }
/* Startseite ohne Handybild: die Auswahl ist der Inhalt des Kopfbereichs. */
.hero-einspaltig .wrap { display: block; }
.hero-einspaltig h1 { max-width: 18em; }
.nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; }
/* Haken und Grenzen offen nennen (Schreibstil 7.3): ruhiger Kasten statt Kleingedrucktem. */
.grenze { margin-top: 28px; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.grenze p { margin: 0; color: var(--ink); }
.zwei-spalten { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 1fr 1fr; gap: 56px; } }
.zwei-spalten img { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(46,10,51,.16)); }
/* Fünf Punkte passten nicht nebeneinander: "Business-Netzwerke" brach in zwei Zeilen (Prüfung 1280 px). */
.nav a { white-space: nowrap; }
.nav ul { gap: 18px; }
