/* Campus Ilmenau – Website. Farben kommen aus tokens.css (CI), Regeln aus dem CI-Handbuch:
   Grün/Blau nur als Flächen, Buttons neutral, Orange für Links, Symbole und Auswahl, Abstände im 4-pt-Raster.
   Aufbau vom Handy aus: Grundregeln gelten für schmale Bildschirme, @media (min-width) erweitert. */

/* Schrift selbst gehostet (kein Google-Server, DSGVO). Variable Schrift, eine Datei für alle Stärken. Lizenz: fonts/OFL.txt */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --gutter: 16px;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(14, 26, 46, .06), 0 8px 24px -12px rgba(14, 26, 46, .18);
  --night: #0E1A2E;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--textPrimary);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
@media (min-width: 600px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--buttonPrimary); color: var(--onButtonPrimary); padding: 8px 16px; border-radius: 12px; z-index: 30; }
.skip:focus { left: 16px; }
.icon { width: 24px; height: 24px; flex: none; }
.is-hidden { display: none !important; }

/* --- Typografie ------------------------------------------------------------------------------ */
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(36px, 8.5vw, 68px); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 6vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--textSecondary); max-width: 56ch; text-wrap: pretty; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.wordmark { font-weight: 800; letter-spacing: -.025em; font-size: 19px; color: var(--textPrimary); white-space: nowrap; }
.wordmark span { font-weight: 500; }
.wordmark.small { font-size: 16px; }

/* --- Kopfzeile ------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--background) 84%, transparent);
  backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border-bottom: 1px solid var(--separator); }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { border-radius: 9px; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--surfaceSecondary); cursor: pointer; display: grid; place-items: center; }
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease-out, top .2s ease-out; }
.menu-icon i:first-child { top: 2px; }
.menu-icon i:last-child { top: 8px; }
.open .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.open .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; gap: 8px; color: var(--textSecondary); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 12px; }
.nav a:hover { color: var(--textPrimary); background: var(--surfaceSecondary); }
.nav a[aria-current="page"] { color: var(--textPrimary); background: var(--surfaceSecondary); }
.lang { border: 1px solid var(--separator); }
.lang .icon { width: 18px; height: 18px; }
/* Menü aufgeklappt (Handy) */
.open .nav { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--background); border-bottom: 1px solid var(--separator);
  padding: 8px var(--gutter) 20px; box-shadow: 0 20px 30px -20px rgba(14, 26, 46, .35); max-height: calc(100dvh - 64px); overflow: auto; }
.open .nav a { font-size: 19px; padding: 14px 12px; }
.open .nav .lang { margin-top: 12px; justify-content: center; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
  .nav ul { display: flex; gap: 2px; }
}

/* --- Buttons und Store ----------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-weight: 700; font-size: 16px; padding: 12px 22px; border-radius: 14px; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--buttonPrimary); color: var(--onButtonPrimary); }
.btn.secondary { background: var(--buttonSecondary); color: var(--onButtonSecondary); }
.btn .icon { width: 20px; height: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; background: var(--buttonPrimary); color: var(--onButtonPrimary); padding: 8px 20px 8px 16px; border-radius: 14px; font-weight: 700; font-size: 18px; line-height: 1.1; cursor: default; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }

/* --- Abschnitte ------------------------------------------------------------------------------ */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section + .section { border-top: 1px solid var(--separator); }

/* Punkte mit Häkchen */
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; max-width: 54ch; }
.points li { display: flex; gap: 12px; align-items: flex-start; }
.points .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); stroke-width: 2.4; }

/* So geht's: nummerierte Schritte */
.steps { margin-top: 28px; padding: 20px; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--radius); max-width: 560px; }
.steps h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--textSecondary); margin-bottom: 12px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accentSoft); color: var(--accent); font-weight: 800; font-size: 14px; }
.hint { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; color: var(--textSecondary); max-width: 560px; }
.hint .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 1px; }

/* Text + App-Ansicht nebeneinander */
.row-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.copy { min-width: 0; }
.visual { display: flex; justify-content: center; min-width: 0; }
@media (min-width: 900px) {
  .row-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .flip .copy { order: 2; }
}

/* --- Bereichsseiten: Kopf mit den Bändern aus dem Logo ---------------------------------------- */
.area-hero { position: relative; overflow: hidden; background: var(--blue); color: var(--onBlue); padding: 40px 0 56px; }
.area-art { position: absolute; inset: 0; pointer-events: none; }
.area-art i { position: absolute; inset: 0; }
.area-art .band-g { background: var(--green); clip-path: polygon(0 78%, 100% 58%, 100% 100%, 0 100%); filter: drop-shadow(0 -8px 14px rgba(0,0,0,.2)); }
.area-art .band-b { background: color-mix(in srgb, var(--blue) 82%, #000); clip-path: polygon(0 88%, 100% 70%, 100% 100%, 0 100%); }
.area-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.area-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 16px; }
.ah-icon { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.ah-icon .icon { width: 20px; height: 20px; }
.area-hero h1 { margin-bottom: 16px; }
.area-hero .lead { color: color-mix(in srgb, var(--onBlue) 86%, transparent); }
.toc ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: var(--onBlue); text-decoration: none; font-weight: 700; font-size: 14px; }
.toc a:hover { background: rgba(255,255,255,.24); }
.area-visual { padding-bottom: 8px; }
@media (min-width: 900px) {
  .area-hero { padding: 72px 0 96px; }
  .area-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
  .area-art .band-g { clip-path: polygon(70% 0, 86% 0, 62% 100%, 46% 100%); }
  .area-art .band-b { clip-path: polygon(86% 0, 100% 0, 100% 0, 76% 100%, 62% 100%); background: color-mix(in srgb, var(--blue) 70%, #000); }
}

/* Weitere Bereiche als Karten */
.area-cards { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 700px) { .area-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; } }
.area-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform .2s ease-out, border-color .2s ease-out; }
.area-card:hover { transform: translateY(-2px); border-color: var(--textTertiary); }
.ac-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accentSoft); color: var(--accent); }
.ac-text { flex: 1; min-width: 0; }
.ac-text b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ac-text span { display: block; font-size: 15px; color: var(--textSecondary); line-height: 1.45; }
.ac-arrow { color: var(--textTertiary); width: 20px; height: 20px; }

/* --- FAQ ------------------------------------------------------------------------------------- */
.faq-in { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .faq-head { position: sticky; top: 104px; } }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--separator); border-radius: 16px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { color: var(--textTertiary); width: 20px; height: 20px; transition: transform .2s ease-out; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--textSecondary); font-size: 16px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--textPrimary); }

/* --- Fußzeile -------------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--separator); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--surface); }
.foot-in { display: grid; gap: 32px; }
.foot-brand p { margin: 12px 0 0; font-size: 15px; color: var(--textSecondary); max-width: 40ch; }
.foot-nav h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--textTertiary); margin-bottom: 8px; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-nav a { display: inline-block; padding: 6px 0; color: var(--textSecondary); text-decoration: none; font-weight: 700; font-size: 15px; }
.foot-nav a:hover { color: var(--textPrimary); }
.foot-legal { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--separator); font-size: 13px; color: var(--textTertiary); }
@media (min-width: 700px) { .foot-in { grid-template-columns: 2fr 1fr 1fr; } }

/* --- Rechtliches ----------------------------------------------------------------------------- */
.legal { padding-top: 56px; padding-bottom: 96px; max-width: 800px; }
.legal h1 { font-size: clamp(32px, 6vw, 44px); margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal code { font-size: .92em; background: var(--surfaceSecondary); padding: 1px 6px; border-radius: 6px; }
.legal-meta { color: var(--textSecondary); font-size: 15px; }
mark.todo { background: var(--warningSoft); color: var(--warning); font-weight: 700; padding: 1px 4px; border-radius: 4px; }
.placeholder { background: var(--warningSoft); color: var(--warning); border-radius: 12px; padding: 14px 18px; font-weight: 700; margin-bottom: 24px; }

/* =============================================================================================
   iPhone-Rahmen. Die Ansicht innen ist 390 × 844 pt groß und wird mit zoom verkleinert:
   Breite des Telefons = 390 × --z + 2 × Rahmen.
   ============================================================================================= */
.phone { --z: .64; --bezel: 9px; margin: 0; flex: none; width: calc(390px * var(--z) + 2 * var(--bezel)); }
@media (min-width: 380px) { .phone { --z: .7; } }
@media (min-width: 900px) { .phone { --z: .74; } }
@media (min-width: 1200px) { .phone { --z: .8; } }
.phone.small { --z: .6; }
.ph { position: relative; padding: var(--bezel); border-radius: calc(55px * var(--z) + var(--bezel)); background: #0B0F15;
  box-shadow: 0 40px 70px -30px rgba(14, 26, 46, .55), 0 0 0 1.5px #343a46 inset; }
.ph::after { content: ""; position: absolute; top: calc(var(--bezel) + 11px * var(--z)); left: 50%; width: calc(124px * var(--z)); height: calc(36px * var(--z)); transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 3; }
.a-screen { zoom: var(--z); width: 390px; height: 844px; position: relative; overflow: hidden; border-radius: 55px; background: var(--background);
  font: 400 15px/1.3 var(--app-font); color: var(--textPrimary); letter-spacing: -.01em; text-align: left; }
@media (prefers-color-scheme: dark) { .ph { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1.5px #4a5263 inset; } }
.phone figcaption { margin-top: 16px; text-align: center; font-size: 14px; font-weight: 700; color: var(--textSecondary); }

/* Statusleiste und Tabbar */
.a-status { height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 6px 34px 0 46px; position: relative; z-index: 2; }
.a-status b { font-size: 17px; font-weight: 600; }
.a-status span { display: flex; gap: 6px; align-items: center; }
.a-status svg { height: 12px; width: auto; fill: currentColor; }
.a-body { position: absolute; top: 54px; left: 0; right: 0; bottom: 0; padding: 0 16px; overflow: hidden; }
.a-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; display: flex; padding: 7px 4px 0; z-index: 4;
  background: color-mix(in srgb, var(--surface) 92%, transparent); border-top: .5px solid var(--separator); backdrop-filter: blur(20px); }
.a-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 500; color: var(--textTertiary); }
.a-tab svg { width: 28px; height: 28px; }
.a-tab.on { color: var(--accent); }

/* Bausteine der App */
.a-ic { width: 22px; height: 22px; }
.a-link { color: var(--accent); font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.a-card { background: var(--surface); border-radius: 18px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.a-chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; white-space: nowrap; letter-spacing: 0; }
.c-green { background: var(--green); color: var(--onGreen); }
.c-blue { background: var(--blue); color: var(--onBlue); }
.c-neutral { background: var(--surfaceSecondary); color: var(--textSecondary); }
.c-warn { background: var(--warningFill); color: var(--onWarningFill); }
.c-danger { background: var(--dangerSoft); color: var(--danger); }
.c-accent { background: var(--accentSoft); color: var(--accent); }
.a-round { width: 44px; height: 44px; border-radius: 50%; background: var(--surfaceSecondary); display: grid; place-items: center; flex: none; }
.a-round .a-ic { width: 24px; height: 24px; }
.a-bands { position: absolute; inset: 0; }
.a-bands i { position: absolute; inset: 0; }
.a-bands .bb { background: var(--blue); }
.a-bands .bg { background: var(--green); clip-path: polygon(80% 0, 100% 0, 100% 100%, 62% 100%); filter: drop-shadow(-4px 0 6px rgba(0,0,0,.25)); }

/* Heute */
.a-greet { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 4px 16px; }
.a-greet small { display: block; font-size: 14px; color: var(--textSecondary); }
.a-greet h3 { font: 800 34px/1.15 var(--font); letter-spacing: -.03em; margin-top: 2px; }
.a-sec { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--textSecondary); }
.a-hero { background: var(--surface); border-radius: 22px; overflow: hidden; margin-bottom: 22px; }
.a-hero-head { position: relative; padding: 16px 20px 18px; color: #fff; min-height: 112px; }
.a-hero-head > :not(.a-bands):not(.a-dusk) { position: relative; display: block; }
.a-hero-head small { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .9; }
.a-hero-head b { font: 800 25px/1.15 var(--font); letter-spacing: -.02em; margin: 4px 0 2px; max-width: 72%; }
.a-hero-head span { font-size: 15px; opacity: .9; }
.a-hero-head.night { background: var(--night); }
.a-dusk { position: absolute; inset: 0; overflow: hidden; }
.a-dusk i { position: absolute; right: -40px; top: 20px; width: 170px; height: 170px; border-radius: 50%; background: linear-gradient(#FF5C1A, #FFB121); box-shadow: 0 0 0 26px rgba(255,92,26,.14), 0 0 0 52px rgba(255,92,26,.07); }
.a-hrow { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-top: .5px solid var(--separator); }
.a-hrow b { font-size: 16px; font-weight: 600; }
.a-hrow > span { font-size: 16px; font-weight: 600; white-space: nowrap; }
.a-more { padding: 13px 20px 15px; border-top: .5px solid var(--separator); color: var(--accent); font-size: 17px; font-weight: 600; }
.a-next { padding: 4px 0; margin-bottom: 22px; }
.a-nrow { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.a-nrow + .a-nrow { border-top: .5px solid var(--separator); }
.a-ntime { width: 46px; font-size: 15px; font-weight: 600; }
.a-nrow .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.o { background: #FF5C1A; }
.dot.b { background: #2B497F; }
@media (prefers-color-scheme: dark) { .dot.b { background: #82AFF8; } }
.a-nrow b { display: block; font-size: 16px; font-weight: 600; }
.a-nrow div span { display: block; font-size: 13px; color: var(--textSecondary); }
.a-hscroll { display: flex; gap: 12px; margin: 0 -16px 22px; padding: 0 16px; overflow: hidden; }
.a-ecard { flex: none; width: 230px; background: var(--surface); border-radius: 18px; padding: 14px 16px; }
.a-ecard small { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.a-ecard b { display: block; font-size: 17px; font-weight: 600; margin: 4px 0 2px; }
.a-ecard span { font-size: 14px; color: var(--textSecondary); }
.a-promo { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 18px; }
.a-promo-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: var(--onBlue); display: grid; place-items: center; flex: none; }
.a-promo small { display: block; font-size: 12px; font-weight: 600; color: var(--accent); }
.a-promo b { display: block; font-size: 15px; font-weight: 600; margin: 1px 0; }
.a-promo div span { font-size: 13px; color: var(--textSecondary); }
.a-promo div { flex: 1; }
.a-x { color: var(--textTertiary); font-size: 14px; }

/* --- Bewegung reduzieren ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Große Titel und Kopfzeilen der App */
.a-lt { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 4px 12px; }
.a-lt h3 { font: 800 34px/1.15 var(--font); letter-spacing: -.03em; }
.a-ltsub { display: block; font-size: 15px; color: var(--textSecondary); margin-top: 2px; }
.a-lt-btns { display: flex; gap: 10px; align-items: center; padding-top: 2px; }
.a-round { position: relative; }
.a-round.filled { background: var(--buttonPrimary); color: var(--onButtonPrimary); }
.a-round.sm { width: 36px; height: 36px; }
.a-round.sm .a-ic { width: 20px; height: 20px; }
.a-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surfaceSecondary); }

/* Leisten: Mensa-Namen, Tage, Pills, Segmente */
.a-names { display: flex; gap: 18px; padding: 0 4px; border-bottom: .5px solid var(--separator); margin: 0 -16px 12px; padding-left: 20px; white-space: nowrap; overflow: hidden; }
.a-names span { font-size: 15px; font-weight: 600; color: var(--textTertiary); padding: 6px 0 9px; }
.a-names .on { color: var(--textPrimary); box-shadow: inset 0 -3px 0 var(--accent); }
.a-days { display: flex; gap: 8px; margin: 0 -16px 12px; padding: 0 16px; overflow: hidden; }
.a-day { flex: none; position: relative; width: 56px; height: 60px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.a-day.wide { width: auto; padding: 0 14px; }
.a-day small { font-size: 13px; color: var(--textSecondary); font-weight: 500; }
.a-day b { font-size: 21px; font-weight: 600; line-height: 1.1; }
.a-day b.w { font-size: 15px; }
.a-day.on { background: var(--buttonPrimary); color: var(--onButtonPrimary); }
.a-day.on small { color: inherit; opacity: .85; }
.a-ddot { position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.a-pills { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.a-pill { white-space: nowrap; font-size: 15px; font-weight: 600; padding: 7px 14px; border-radius: 99px; background: var(--surfaceSecondary); color: var(--textSecondary); }
.a-pill.on { background: var(--buttonPrimary); color: var(--onButtonPrimary); }
.a-pills .a-round { margin-left: auto; }
.a-seg { display: flex; background: var(--surfaceSecondary); border-radius: 10px; padding: 2px; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.a-seg span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 8px; color: var(--textSecondary); white-space: nowrap; }
.a-seg .on { background: var(--surface); color: var(--textPrimary); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.a-place { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; }
.a-place b { display: block; font-size: 18px; font-weight: 700; }
.a-place small { font-size: 13px; color: var(--textSecondary); }

/* Gericht-Karte */
.a-meal { padding: 14px 16px; margin-bottom: 10px; }
.a-meal > small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--textTertiary); margin-bottom: 3px; }
.a-mrow { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.a-mrow b { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.a-mrow > span { font-size: 16.5px; font-weight: 600; white-space: nowrap; }
.a-desc { margin: 3px 0 0; font-size: 14.5px; color: var(--textSecondary); }
.a-allerg { margin: 8px 0 0; font-size: 13px; color: var(--textTertiary); }

/* Thoska */
.a-tcard { position: relative; height: 214px; border-radius: 22px; overflow: hidden; color: #fff; padding: 20px 22px; margin: 4px 0 14px; box-shadow: 0 16px 30px -14px rgba(14,26,46,.55); }
.a-tcard .a-bands .bb { background: linear-gradient(140deg, #385FA2, #1D2F4F); }
.a-tcard .a-bands .bg { clip-path: polygon(70% 0, 84% 0, 58% 100%, 44% 100%); }
.a-tcard > :not(.a-bands) { position: relative; }
.a-tcard > img { position: absolute !important; right: 22px; top: 20px; width: 50px; }
.a-tname { display: block; font: 800 17px/1 var(--font); letter-spacing: .04em; }
.a-tcard small { display: block; margin-top: 64px; font-size: 14px; opacity: .85; }
.a-tcard b { display: block; font: 800 44px/1.05 var(--font); letter-spacing: -.03em; }
.a-list { padding: 2px 0; }
.a-lrow { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 15.5px; }
.a-lrow + .a-lrow { border-top: .5px solid var(--separator); }
.a-lrow span { color: var(--textSecondary); }
.a-lrow b { font-weight: 600; }
.a-foot { margin: 12px 4px; font-size: 13px; color: var(--textTertiary); }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; font-size: 17px; font-weight: 600; }
.a-btn.primary { background: var(--buttonPrimary); color: var(--onButtonPrimary); }
.a-btn.secondary { background: var(--buttonSecondary); color: var(--onButtonSecondary); }
.a-btn.sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.a-btn.bottom { position: absolute; left: 16px; right: 16px; bottom: 104px; }

/* Bibliothek */
.a-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--surfaceSecondary); color: var(--textTertiary); font-size: 16px; margin-bottom: 12px; }
.a-search .a-ic { width: 19px; height: 19px; }
.a-loan { padding: 14px 16px; margin-bottom: 10px; }
.a-loan b { display: block; font-size: 16px; font-weight: 600; }
.a-loan small { display: block; font-size: 13px; color: var(--textTertiary); margin-top: 2px; }
.a-loan .a-chip { flex: none; }
.a-tl { display: flex; align-items: center; gap: 4px; margin: 12px 0 10px; --tone: var(--textTertiary); }
.a-tl.t-danger { --tone: var(--danger); }
.a-tl.t-warn { --tone: #CA8900; }
.a-tl-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); opacity: .55; flex: none; }
.a-tl-line { flex: 1; height: 4px; border-radius: 4px; background: var(--surfaceSecondary); overflow: hidden; }
.a-tl-line i { display: block; height: 100%; background: var(--tone); border-radius: 4px; }
.a-tl-end { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--tone); flex: none; }
.a-tl-end.full { background: var(--tone); }
.a-lfoot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--textSecondary); min-height: 34px; }

/* Veranstaltungen */
.a-fchips { display: flex; gap: 8px; align-items: center; margin: 0 -16px 14px; padding: 0 16px; overflow: hidden; white-space: nowrap; }
.a-fchip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--separator); background: var(--surface); font-size: 15px; font-weight: 600; flex: none; }
.a-fchip .a-ic { width: 17px; height: 17px; }
.a-fchip em { font-style: normal; color: var(--textTertiary); font-weight: 500; }
.a-fchip.on { background: var(--buttonPrimary); color: var(--onButtonPrimary); border-color: transparent; }
.a-fchip.on .a-ic { color: inherit; }
.a-vsep { width: 1px; height: 22px; background: var(--separator); flex: none; }
.a-ghead { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 4px 8px; }
.a-ghead b { font-size: 15px; font-weight: 600; color: var(--textSecondary); }
.a-ghead span { font-size: 14px; color: var(--textTertiary); }
.a-event { display: flex; justify-content: space-between; gap: 10px; padding: 13px 14px 13px 16px; margin-bottom: 10px; }
.a-event small { display: block; font-size: 13.5px; font-weight: 600; color: var(--textSecondary); }
.a-event b { display: block; font-size: 17px; font-weight: 600; margin: 2px 0; line-height: 1.3; }
.a-event span { font-size: 14px; color: var(--textSecondary); }
.a-star { color: var(--textTertiary); flex: none; }
.a-star .a-ic { width: 26px; height: 26px; }
.a-star.on { color: var(--accent); }
.a-star.on svg { fill: currentColor; }

/* =============================================================================================
   Startseite
   ============================================================================================= */
.sec-head { max-width: 760px; margin-bottom: 32px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 48px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; }
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art i { position: absolute; inset: 0; display: block; }
.bands .b-green { background: var(--green); clip-path: polygon(0 62%, 100% 48%, 100% 100%, 0 100%); filter: drop-shadow(0 -8px 14px rgba(0,0,0,.16)); }
.bands .b-blue { background: var(--blue); clip-path: polygon(0 76%, 100% 62%, 100% 100%, 0 100%); }
.dusk { display: none; position: absolute; inset: 0; background: linear-gradient(#0E1A2E 30%, #1D2F4F); }
.dusk .sun { inset: auto; left: 50%; bottom: -160px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: linear-gradient(#FF5C1A, #FFB121);
  box-shadow: 0 0 0 60px rgba(255,92,26,.12), 0 0 0 140px rgba(255,92,26,.06); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { color: var(--textSecondary); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.note { font-size: 14px; color: var(--textTertiary); }
.note a { font-weight: 700; white-space: nowrap; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 470px; overflow: hidden; margin: 0 calc(-1 * var(--gutter)); }
.hp-back { display: none; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 0; }
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-phones { height: 640px; margin: 0; overflow: visible; }
  .bands .b-green { clip-path: polygon(72% 0, 88% 0, 58% 100%, 42% 100%); }
  .bands .b-blue { clip-path: polygon(88% 0, 100% 0, 100% 100%, 58% 100%); }
  .dusk .sun { left: auto; right: -6%; bottom: auto; top: 120px; margin: 0; width: 460px; height: 460px; }
}
@media (min-width: 1100px) {
  .hp-back { display: block; position: absolute; right: -22%; top: 70px; transform: rotate(6deg); opacity: .96; }
  .hp-back .phone { --z: .66; }
  .hp-front { position: relative; margin-right: 26%; }
}
@media (prefers-color-scheme: dark) {
  .bands { display: none; }
  .dusk { display: block; }
  .hero .kicker { color: #FFB121; }
}

/* Überblick */
.ov-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ov-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ov-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--separator); border-radius: 24px; color: inherit; text-decoration: none; transition: transform .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out; }
.ov-card:hover { transform: translateY(-3px); border-color: var(--textTertiary); box-shadow: var(--shadow); }
.ov-card h3 { font-size: 24px; letter-spacing: -.02em; }
.ov-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.ov-card li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.45; color: var(--textSecondary); }
.ov-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ov-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: var(--accent); }
.ov-more .icon { width: 18px; height: 18px; transition: transform .2s ease-out; }
.ov-card:hover .ov-more .icon { transform: translateX(3px); }

/* Heute: Tageszeiten */
.today { background: var(--surface); }
.phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 24px 0 16px; padding: 4px; background: var(--surfaceSecondary); border-radius: 16px; max-width: 560px; }
.phase-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; color: var(--textSecondary); min-height: 64px; }
.phase-btn .icon { width: 20px; height: 20px; }
.phase-btn span { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.phase-btn b { font-size: 12.5px; font-weight: 700; }
.phase-btn small { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--textTertiary); }
.phase-btn:hover { color: var(--textPrimary); }
.phase-btn[aria-pressed="true"] { background: var(--surface); color: var(--textPrimary); box-shadow: 0 1px 4px rgba(14,26,46,.14); }
.phase-btn[aria-pressed="true"] .icon { color: var(--accent); }
@media (min-width: 600px) { .phase-btn b { font-size: 14px; } .phase-btn small { font-size: 12px; } }
@media (max-width: 439px) {
  .phases { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); border-radius: 16px 0 0 16px; }
  .phases::-webkit-scrollbar { display: none; }
  .phase-btn { scroll-snap-align: start; }
}
.phase-panel { min-height: 5.2em; max-width: 560px; }
.phase-text { font-size: 17px; margin: 0; }
.phase-text strong { color: var(--textPrimary); }
.today .hint { margin-top: 24px; }

/* Bereiche */
.more-btn { margin-top: 28px; }
.more-btn .icon { width: 18px; height: 18px; }

/* Kacheln (Extras, Demnächst) */
.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--separator); border-radius: 24px; }
.tile h3 { margin: 16px 0 6px; }
.tile p { margin: 0; font-size: 15px; color: var(--textSecondary); }
.tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accentSoft); color: var(--accent); }
.soon { background: linear-gradient(180deg, var(--background), var(--surface)); }
.soon-tile { border-style: dashed; }
.soon-badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--surfaceSecondary); color: var(--textSecondary); }

/* Abschluss */
.final-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-in img { border-radius: 24px; margin-bottom: 24px; box-shadow: 0 18px 36px -12px rgba(255,92,26,.5); }
.final-in .lead { margin: 0 auto 28px; }
.final-in .badges { justify-content: center; }

/* Navigation, Listen, Sheets in der App */
.a-nav { height: 44px; display: flex; align-items: center; padding: 0 4px; }
.a-nav .a-link { font-size: 17px; }
.a-ghead2 { display: flex; align-items: center; gap: 8px; margin: 18px 4px 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--textSecondary); }
.a-ghead2.ic { text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 700; color: var(--textPrimary); }
.a-ghead2 .a-ic { width: 20px; height: 20px; color: var(--textTertiary); }
.a-pad { padding: 14px 16px; }
.a-inset .a-seg.in, .a-pad .a-seg.in { margin: 0; }
.a-inset .a-seg.in { margin: 12px 16px 4px; }
.a-lrow .t { color: var(--textPrimary); }
.a-lrow.hl { background: var(--accentSoft); }
.a-lrow small { display: block; font-size: 13px; color: var(--textSecondary); }
.a-lrow > div b { font-weight: 600; }
.a-chev { font-style: normal; color: var(--textTertiary); font-size: 20px; line-height: 1; }
.a-ptext { margin: 0 0 12px; font-size: 15px; color: var(--textSecondary); }
.a-toggle { width: 51px; height: 31px; border-radius: 99px; background: var(--surfaceSecondary); position: relative; flex: none; }
.a-toggle i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.a-toggle.on { background: var(--buttonPrimary); }
.a-toggle.on i { left: 22px; }
@media (prefers-color-scheme: dark) { .a-toggle.on i { background: var(--night); } }
.a-dim { position: absolute; inset: 0; background: rgba(14, 26, 46, .32); z-index: 5; }
.a-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--background); border-radius: 26px 26px 0 0; padding: 8px 16px 0; box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
.a-grab { display: block; width: 36px; height: 5px; border-radius: 99px; background: var(--separator); margin: 0 auto 8px; }
.a-sheet-head { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.a-sheet-head b { font-size: 17px; font-weight: 600; }
.a-link.b { font-weight: 600; }
.a-sheet .a-card + .a-foot { margin-top: 8px; }
.a-sheet-title { display: block; text-align: center; font-size: 22px; font-weight: 700; margin-top: 8px; }
.a-sheet-text { text-align: center; font-size: 16px; color: var(--textSecondary); margin: 6px 0 20px; }
.a-nfc { position: relative; height: 150px; display: grid; place-items: center; }
.a-nfc i { position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; animation: nfc 2.4s ease-out infinite; }
.a-nfc i:nth-child(2) { animation-delay: .8s; }
.a-nfc i:nth-child(3) { animation-delay: 1.6s; }
.a-nfc span { width: 76px; height: 76px; border-radius: 50%; background: var(--accentSoft); color: var(--accent); display: grid; place-items: center; }
.a-nfc .a-ic { width: 36px; height: 36px; }
@keyframes nfc { from { transform: scale(.7); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .a-nfc i { opacity: .3; } .a-nfc i:nth-child(2) { transform: scale(1.3); } .a-nfc i:nth-child(3) { transform: scale(1.6); } }

/* Gericht */
.a-screen.full .a-body { top: 0; padding: 0; }
.a-screen.full .a-status { color: #fff; }
.a-scroll { padding: 0 16px; }
.a-dhead { position: relative; height: 250px; margin: 0 -16px; padding: 64px 16px 0; color: #fff; }
.a-dhead > :not(.a-bands) { position: relative; }
.a-dhead .a-bands .bg { clip-path: polygon(0 62%, 100% 34%, 100% 58%, 0 86%); }
.a-round.glass { background: rgba(255,255,255,.88); color: #171B21; font-size: 26px; font-weight: 500; }
.a-dhead > .a-round { position: absolute !important; left: 16px; top: 62px; }
.a-dbtns { position: absolute !important; right: 16px; top: 62px; display: flex; gap: 10px; }
.a-dhead > small { position: absolute !important; left: 20px; top: 128px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.a-dcard { position: relative; margin-top: -88px; padding: 16px 18px 18px; }
.a-dcard h4 { margin: 0; font: 800 26px/1.15 var(--font); letter-spacing: -.02em; }
.a-price { padding: 14px 16px 2px; }
.a-price > small { font-size: 13px; color: var(--textTertiary); }
.a-price > b { display: block; font: 800 40px/1.1 var(--font); letter-spacing: -.03em; margin-bottom: 8px; }
.a-price .a-lrow { padding: 11px 0; border-top: .5px solid var(--separator); }

/* Öffnungszeiten */
.a-hours { padding: 13px 16px; }
.a-hours + .a-hours { border-top: .5px solid var(--separator); }
.a-hours b { display: block; font-size: 16.5px; font-weight: 600; }
.a-hours small { font-size: 13.5px; color: var(--textSecondary); }
.a-week { margin-top: 10px; padding: 10px 12px; background: var(--surfaceSecondary); border-radius: 12px; display: grid; gap: 4px; font-size: 14px; }
.a-week div { display: flex; justify-content: space-between; }
.a-week span { color: var(--textSecondary); }
.a-week b { font-size: 14px; display: inline; font-weight: 600; }

/* Thoska-Verlauf */
.a-cap { display: block; font-size: 13px; color: var(--textSecondary); }
.a-big { display: block; font: 800 32px/1.15 var(--font); letter-spacing: -.02em; }
.a-bars { display: flex; align-items: flex-end; gap: 5px; height: 120px; margin: 14px 0 10px; }
.a-bars i { flex: 1; background: var(--blue); border-radius: 4px 4px 2px 2px; }
.a-bars i.up { background: var(--green); }
.a-legend { display: flex; gap: 16px; font-size: 13px; color: var(--textSecondary); }
.a-legend span { display: flex; align-items: center; gap: 6px; }
.a-legend i { width: 10px; height: 10px; border-radius: 3px; }
.a-legend .lb { background: var(--blue); }
.a-legend .lg { background: var(--green); }

/* Teilen: Menü und Bild */
.share-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.share-menu { flex: none; width: 260px; align-self: center; margin-bottom: -4px; padding: 12px 6px 6px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--separator); box-shadow: var(--shadow); font-family: var(--app-font); }
.share-menu small { display: block; padding: 0 12px 8px; font-size: 12px; color: var(--textSecondary); }
.share-menu span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: .5px solid var(--separator); font-size: 16px; }
.share-menu .a-ic { width: 20px; height: 20px; }
.share-card { margin: 0; width: min(100%, 340px); flex: none; }
.sc { background: #fff; color: #171B21; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(14,26,46,.5); font-family: var(--app-font); font-size: 14px; }
.sc-head { position: relative; color: #fff; padding: 16px 20px 18px; }
.sc-head > :not(.a-bands) { position: relative; display: block; }
.sc-head .a-bands .bb { background: #2B497F; }
.sc-head .a-bands .bg { background: #72B54D; clip-path: polygon(82% 0, 100% 0, 100% 100%, 66% 100%); }
.sc-head small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .92; }
.sc-head b { font: 800 22px/1.2 var(--font); letter-spacing: -.02em; margin: 2px 0; }
.sc-head span { font-size: 13px; opacity: .9; max-width: 70%; }
.sc-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 20px; border-top: 1px solid #EAEDF1; }
.sc-row b { font-size: 15px; font-weight: 600; }
.sc-row span { display: block; font-size: 12.5px; color: #5E6064; }
.sc-row .c-green { background: #72B54D; color: #171B21; }
.sc-row .c-blue { background: #2B497F; color: #fff; }
.sc-foot { margin: 0; padding: 10px 20px; border-top: 1px solid #EAEDF1; font-size: 12px; color: #75777B; }
.sc-brand { display: flex; align-items: center; gap: 8px; padding: 12px 20px 14px; border-top: 1px solid #EAEDF1; }
.sc-brand img { width: 26px; }
.sc-brand b { font: 800 15px var(--font); letter-spacing: -.02em; flex: 1; }
.sc-brand span { font-size: 12.5px; font-weight: 600; color: #5E6064; }

/* Thoska: wo die Karte hin muss */
.nfc-spots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 480px; }
.nfc-spot { text-align: center; background: var(--surface); border: 1px solid var(--separator); border-radius: 24px; padding: 64px 12px 20px; overflow: hidden; }
.nfc-spot b { display: block; font-size: 18px; margin-top: 18px; }
.nfc-spot span { display: block; font-size: 14px; color: var(--textSecondary); line-height: 1.4; margin-top: 4px; }
.ns-phone { position: relative; width: 92px; height: 186px; margin: 0 auto; border-radius: 22px; background: #0B0F15; box-shadow: inset 0 0 0 4px #2a2f38; }
.android .ns-phone { border-radius: 14px; background: #2D3136; }
.ns-zone { position: absolute; left: 50%; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; border: 2px dashed var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.ios .ns-zone { top: -14px; }
.android .ns-zone { top: 62px; }
.ns-card { position: absolute; width: 96px; height: 62px; border-radius: 8px; background: linear-gradient(140deg, #385FA2, #1D2F4F); box-shadow: 0 10px 20px -6px rgba(0,0,0,.45); display: grid; place-items: center; }
.ns-card img { width: 24px; }
.ios .ns-card { left: 30px; top: -52px; transform: rotate(-12deg); animation: tap-top 3s ease-in-out infinite; }
.android .ns-card { left: 34px; top: 40px; transform: rotate(8deg); animation: tap-back 3s ease-in-out infinite; }
@keyframes tap-top { 0%, 100% { transform: translate(14px, -18px) rotate(-12deg); } 45%, 65% { transform: translate(0, 0) rotate(-12deg); } }
@keyframes tap-back { 0%, 100% { transform: translate(22px, 18px) rotate(8deg); opacity: .7; } 45%, 65% { transform: translate(0, 0) rotate(8deg); opacity: 1; } }

/* Bibliothek: Anmeldung, Rückfrage, Mitteilungen, Katalog, Titel, Merkliste */
.a-dim.light { background: rgba(14, 26, 46, .22); }
.a-sheet.full { top: 62px; padding-bottom: 20px; }
.a-h { margin: 14px 4px 6px; font: 800 30px/1.12 var(--font); letter-spacing: -.025em; }
.a-h.sm { font-size: 22px; margin: 4px 0 0; }
.a-ptext.big { font-size: 16.5px; margin: 0 4px 16px; line-height: 1.4; }
.a-label { display: block; margin: 12px 4px 6px; font-size: 14px; font-weight: 600; color: var(--textSecondary); }
.a-field { height: 50px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; border: 1px solid var(--separator); background: var(--surface); font-size: 17px; }
.a-field.ph { color: var(--textTertiary); }
.a-center-link { text-align: center; color: var(--accent); font-size: 17px; font-weight: 600; margin: 18px 0 0; }
.a-foot.center { text-align: center; }
.a-alert { position: absolute; z-index: 6; left: 50%; top: 340px; width: 270px; margin-left: -135px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 96%, transparent); text-align: center; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.a-alert b { display: block; padding: 18px 16px 2px; font-size: 17px; font-weight: 600; }
.a-alert p { margin: 0; padding: 0 16px 16px; font-size: 13.5px; line-height: 1.35; }
.a-alert-btns { display: flex; border-top: .5px solid var(--separator); }
.a-alert-btns span { flex: 1; padding: 11px; font-size: 17px; color: var(--accent); }
.a-alert-btns span + span { border-left: .5px solid var(--separator); }
.a-alert-btns .b { font-weight: 600; }
.a-note { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; }
.a-note + .a-note { border-top: .5px solid var(--separator); }
.a-note-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.a-note-ic .a-ic { width: 18px; height: 18px; }
.a-note div { flex: 1; }
.a-note b { font-size: 15.5px; font-weight: 600; }
.a-note p { margin: 2px 0 0; font-size: 14px; color: var(--textSecondary); line-height: 1.35; }
.a-note small { font-size: 13px; color: var(--textTertiary); }
.a-searchrow { display: flex; gap: 10px; margin-bottom: 12px; }
.a-searchrow .a-search { flex: 1; margin: 0; color: var(--textPrimary); }
.a-searchrow .a-search .a-ic { color: var(--textTertiary); }
.a-search span { flex: 1; }
.a-clear { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--textTertiary); color: var(--surface); font-size: 11px; display: grid; place-items: center; }
.a-round.sq { border-radius: 12px; }
.a-count { padding: 2px 4px 10px; }
.a-count b { display: block; font-size: 17px; font-weight: 700; }
.a-count small { font-size: 13px; color: var(--textSecondary); }
.a-hit { display: flex; gap: 14px; padding: 12px 14px; margin-bottom: 10px; }
.a-hit b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.a-hit small { display: block; font-size: 13px; color: var(--textSecondary); margin: 2px 0 7px; }
.a-cover { flex: none; width: 48px; height: 68px; border-radius: 5px; background: linear-gradient(160deg, hsl(var(--h) 60% 58%), hsl(var(--h) 55% 36%)); position: relative; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.a-cover i { position: absolute; left: 6px; right: 6px; top: 10px; height: 14px; border-top: 2px solid rgba(255,255,255,.7); border-bottom: 2px solid rgba(255,255,255,.35); }
.a-thead .a-cover { width: 96px; height: 136px; }
.a-thead .a-cover i { top: 22px; height: 24px; left: 10px; right: 10px; }
.a-nav.sp { justify-content: space-between; }
.a-pill-btns { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: var(--surfaceSecondary); }
.a-pill-btns span { width: 40px; height: 34px; display: grid; place-items: center; }
.a-pill-btns .on { color: var(--accent); }
.a-pill-btns .on svg { fill: currentColor; }
.a-thead { display: flex; gap: 16px; align-items: flex-end; padding: 8px 4px 10px; }
.a-cap.up { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.a-who { margin: 0 4px 12px; font-size: 16px; font-weight: 500; }
.a-who small { display: block; font-size: 14px; color: var(--textSecondary); }
.a-status-card { display: block; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.a-status-card b { display: block; font-size: 18px; font-weight: 700; }
.a-status-card span { font-size: 15px; }
.a-sigrow { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.a-sigrow code { font: 600 16px ui-monospace, "SF Mono", Menlo, monospace; }
.a-mini { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--surfaceSecondary); }
.a-ovh { overflow: hidden; }
.a-lrow2 { display: flex; gap: 12px; align-items: center; padding: 11px 14px; background: var(--surface); }
.a-lrow2 .a-cover { width: 44px; height: 62px; }
.a-lrow2 > div { flex: 1; min-width: 0; }
.a-lrow2 b { display: block; font-size: 16px; font-weight: 600; }
.a-lrow2 small { display: block; font-size: 13px; color: var(--textSecondary); margin: 1px 0 5px; }
.a-row-meta { display: flex; align-items: center; gap: 8px; }
.a-row-meta em { font-style: normal; font-size: 12px; color: var(--textTertiary); }
.a-ovh > * + * { border-top: .5px solid var(--separator); }
.a-swipe { position: relative; background: var(--danger); }
.a-swipe-row { transform: translateX(-96px); position: relative; z-index: 1; }
.a-swipe-act { position: absolute; right: 0; top: 0; bottom: 0; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; font-size: 13px; font-weight: 600; }

/* Veranstaltung im Detail */
.a-dhead.ev { height: 280px; }
.a-dhead.ev .a-bands .bb { background: linear-gradient(180deg, #2B497F, #0E1A2E); }
.a-dhead.ev .a-bands .bg { clip-path: polygon(58% 0, 74% 0, 50% 100%, 34% 100%); opacity: .9; }
.a-round.glass.on { color: var(--accent); }
.a-round.glass.on svg { fill: currentColor; }
.a-evtitle { position: absolute !important; left: 20px; right: 20px; bottom: 20px; }
.a-evtitle small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.a-evtitle h4 { margin: 4px 0 0; font: 800 32px/1.1 var(--font); letter-spacing: -.025em; }
.a-info { margin: 14px 0 14px; padding: 4px 0; }
.a-irow { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; }
.a-irow + .a-irow { border-top: .5px solid var(--separator); }
.a-irow > .a-ic { color: var(--textTertiary); margin-top: 1px; }
.a-irow b { display: block; font-size: 16px; font-weight: 600; }
.a-irow small { display: block; font-size: 14px; color: var(--textSecondary); }
.a-link.sm { display: block; font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.a-toast { position: absolute; z-index: 6; left: 50%; bottom: 108px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 99px; background: var(--buttonPrimary); color: var(--onButtonPrimary); font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.a-toast .a-ic { width: 18px; height: 18px; }
