/* Werbeseite campus-radar.de (app/site/landing.php). Eigenständig, ohne sl.css.
   Kontraste gemessen (WCAG AA), Werte im Kommentar an den Tokens. Auf farbigen Flächen ist die Textfarbe
   immer ausdrücklich gesetzt (nie Blau auf Blau). */
@font-face {
  font-family: siteTitle;
  src: url(../fonts/Exo-VariableFont_wght.ttf);
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #428bc0;      /* Markenblau: nur Flächen, Ringe, Schmuck (auf Weiß 3,7:1, kein Fließtext) */
  --blue-dark: #2a6496;  /* Links und Knöpfe: auf Weiß 6,2:1, auf --tint 5,7:1 */
  --navy: #17324d;       /* Überschriften, Fußzeile, Fokus */
  --text: #1f2d3d;
  --muted: #55626f;      /* auf Weiß 6,3:1, auf --tint 5,8:1 */
  --tint: #f2f6fa;
  --tint-strong: #e3eef7; /* Etiketten: --navy darauf 11,2:1 */
  --line: #c9d6e2;
  --white: #fff;
  --radius: 14px;
  --gap: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: siteTitle, system-ui, sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
a:focus-visible, .sshots:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.swrap { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
.snarrow { max-width: 46rem; }
.snarrow-p { max-width: 44rem; }

.sskip { position: absolute; left: -999rem; top: 0; background: var(--navy); color: var(--white); padding: .6rem 1rem; z-index: 20; }
.sskip:focus { left: .5rem; top: .5rem; color: var(--white); }

/* Kopfleiste */
.shead { background: var(--white); border-bottom: 1px solid var(--line); }
.shead-in { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; padding-top: .6rem; padding-bottom: .6rem; }
.sbrand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); font-family: siteTitle, system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; margin-right: auto; }
.snav { order: 3; width: 100%; }
/* Schmal: eine Zeile. Passt ab 360 px ganz, darunter lässt sich die Zeile seitlich wischen (Links bleiben per Tab erreichbar). */
.snav ul { list-style: none; margin: 0 -.3rem; padding: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.snav ul::-webkit-scrollbar { display: none; }
.snav a { display: inline-block; padding: .45rem .3rem; color: var(--text); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.snav a:focus-visible { outline-offset: -3px; }
.snav a:hover { color: var(--blue-dark); text-decoration: underline; }

/* Knöpfe */
.sbtn {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--blue-dark);
}
.sbtn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sbtn-small { padding: .4rem .75rem; font-size: .9rem; white-space: nowrap; }
.sbtn-light { background: var(--white); border-color: var(--white); color: var(--navy); }
.sbtn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--navy); }
.scta { margin: 1.5rem 0; }
.scta-hint, .sstore { color: var(--muted); font-size: .95rem; margin: .75rem 0 0; }
.sprice-short { color: var(--navy); font-weight: 600; margin: .75rem 0 0; }
.sstore { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.sstore-badge { display: inline-block; line-height: 0; }
.sstore-badge img { height: 60px; width: auto; }
/* Gleiche sichtbare Höhe: das Play-PNG trägt oben und unten je 7 px Rand (sichtbar 46 von 60 px), das
   Apple-Badge hat keinen. Freiraum rundum mindestens ein Viertel der Badge-Höhe (11,5 px): seitlich 16 px,
   gestapelt 8 px Lücke plus 7 px Rand im Play-PNG. Werte nur gemeinsam ändern. */
.sstore-badge-ios img { height: 46px; }
.sfoot-note + .sfoot-note { margin-top: .25rem; }

/* Hero mit Radar-Ringen als Echo der Marke */
.shero { position: relative; overflow: hidden; padding: 3rem 0 2.5rem; }
.shero::before {
  content: "";
  position: absolute;
  right: -24rem; top: -20rem;
  width: 44rem; height: 44rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 3.4rem, rgba(66, 139, 192, .13) 3.4rem calc(3.4rem + 2px));
  pointer-events: none;
}
.shero .swrap { position: relative; }
.sbadge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--tint-strong); color: var(--navy);
  font-size: .9rem; font-weight: 600;
  padding: .3rem .85rem; border-radius: 999px;
}
.sblip { width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(66, 139, 192, .6); animation: sblip 2.4s ease-out infinite; }
@keyframes sblip { to { box-shadow: 0 0 0 .6rem rgba(66, 139, 192, 0); } }
.shero h1 { max-width: 20ch; }
.slead { font-size: 1.2rem; max-width: 40rem; }
.shero-pic img { width: 100%; max-width: 22rem; margin: 1.5rem auto 0; }
.sfacts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; }
.sfacts li { background: var(--tint); color: var(--navy); font-weight: 600; border-left: 4px solid var(--brand); border-radius: 8px; padding: .8rem 1rem; }

/* Abschnitte */
.ssec { padding: 3.5rem 0; }
.ssec-tint { background: var(--tint); }
.ssplit { display: grid; gap: var(--gap); align-items: center; }
.ssplit-img { width: 100%; max-width: 30rem; margin: 0 auto; }
.smore { font-weight: 600; }

/* Funktionskarten */
.scards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: var(--gap); }
.scard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.scard img { margin-bottom: 1rem; }
.scard h3 { margin-bottom: .5rem; }
.scard p { margin: 0; }
.scard .scard-new { display: inline-block; background: var(--tint-strong); color: var(--navy); font-size: .85rem; font-weight: 600; padding: .15rem .65rem; border-radius: 999px; margin-bottom: .6rem; }
.ssoon { color: var(--muted); font-size: .85rem; margin: 1.5rem 0 0; }

/* Datenschutz-Stichpunkte mit Radar-Punkt */
.spoints { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; }
.spoints li { position: relative; padding-left: 1.75rem; font-weight: 600; color: var(--navy); }
.spoints li::before { content: ""; position: absolute; left: .2rem; top: .5rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(66, 139, 192, .25); }

/* Schritte */
.ssteps { list-style: none; counter-reset: sstep; margin: 2rem 0 0; padding: 0; display: grid; gap: var(--gap); }
.ssteps li { counter-increment: sstep; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.ssteps li::before {
  content: counter(sstep);
  display: flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--blue-dark); color: var(--white);
  font-family: siteTitle, system-ui, sans-serif; font-weight: 700;
  margin-bottom: .9rem;
}

/* App-Galerie: seitlich blättern, Rahmen als Gerät */
.sshots { list-style: none; margin: 2rem 0 0; padding: 0 0 1rem; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; }
.sshots li { flex: 0 0 11.5rem; scroll-snap-align: start; }
.sshots img { border: 5px solid var(--navy); border-radius: 22px; }

/* Preis */
.sprice { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: var(--white); color: var(--text); border: 1px solid var(--line); }
.sprice caption { caption-side: top; text-align: left; font-weight: 600; color: var(--navy); padding-bottom: .6rem; }
.sprice th, .sprice td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.sprice thead th { background: var(--navy); color: var(--white); font-size: .95rem; }
.sprice tbody th { font-weight: 400; }
.sprice td { font-weight: 700; color: var(--navy); white-space: nowrap; }
.stest { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.stest .scta { margin-bottom: 0; }

/* FAQ */
.sfaq details { border-bottom: 1px solid var(--line); }
.sfaq summary { cursor: pointer; padding: 1rem 0; color: var(--navy); }
.sfaq summary h3 { display: inline; margin: 0; font-size: 1.05rem; }
.sfaq details p { margin: 0 0 1.1rem; }

/* Schluss: dunkle Fläche, Textfarben ausdrücklich */
.sclose { background: var(--blue-dark); color: var(--white); text-align: center; }
.sclose h2, .sclose p, .sclose .scta-hint, .sclose .sstore { color: var(--white); }
.sclose a:not(.sbtn) { color: var(--white); }
.sclose .sstore { justify-content: center; }
.sclose a:focus-visible { outline-color: var(--white); }

/* Fußzeile */
.sfoot { background: var(--navy); color: var(--white); padding: 1.75rem 0; }
.sfoot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.sfoot a { color: var(--white); display: inline-block; padding: .35rem 0; }
.sfoot a:hover { color: var(--white); text-decoration-thickness: 2px; }
.sfoot a:focus-visible { outline-color: var(--white); }
.sfoot-note { margin: 1rem 0 0; font-size: .85rem; color: var(--white); }

/* Sehr schmal: Marke und Knopf bleiben in einer Zeile (Ziel bleibt über 24 px hoch). */
@media (max-width: 419px) {
  .sbrand { font-size: 1rem; gap: .4rem; }
  .sbrand img { width: 32px; height: 32px; }
  .sbtn-small { padding: .35rem .65rem; font-size: .85rem; }
}
@media (min-width: 720px) {
  .shero-pic img { max-width: none; margin-top: 2.5rem; }
  .sfacts { grid-template-columns: repeat(3, 1fr); }
  .ssplit { grid-template-columns: 1fr 1fr; }
  .scards { grid-template-columns: repeat(2, 1fr); }
  .ssteps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  html { scroll-padding-top: 5rem; }
  .shead { position: sticky; top: 0; z-index: 10; }
  .shead-in { flex-wrap: nowrap; gap: .25rem 1rem; }
  .snav ul { margin: 0; gap: 0 .25rem; overflow-x: visible; }
  .snav a:focus-visible { outline-offset: 2px; }
  .sbtn-small { padding: .4rem .85rem; }
  .sbrand { font-size: 1.2rem; }
  .snav { order: 0; width: auto; }
  .snav a { padding: .45rem .5rem; font-size: .95rem; }
  .shero::before { right: -14rem; top: -14rem; }
  .scards { grid-template-columns: repeat(3, 1fr); }
  .ssteps { grid-template-columns: repeat(4, 1fr); }
  .sshots { justify-content: space-between; overflow-x: visible; }
  .sshots li { flex-basis: 12.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sblip { animation: none; }
}
