/* ZEITMA Website – Stil angelehnt an apple.com
   Layout: schlanke, durchscheinende Menüleiste; zentrierte große Überschriften; abwechselnd weiße und hellgraue Flächen;
   abgerundete Kacheln; ein dunkler Abschnitt für Sicherheit. Markenfarben aus dem App-Symbol (Navy + Cyan) sparsam als Akzent.
   Wiederkehrendes Motiv: die Tagesleiste aus dem Dashboard (grün = Arbeit, orange = Pause, blau gestrichelt = geplant).
   Schriften: nur Systemschriften (auf Apple-Geräten SF Pro) – keine externen Server, DSGVO-freundlich. */
:root {
  --weiss: #ffffff;
  --grau: #f5f5f7;
  --kachel: #ffffff;
  --text: #1d1d1f;
  --text-neben: #6e6e73;
  --linie: #d2d2d7;
  --link: #0071e3;
  --navy: #12346b;
  --cyan: #39a9e0;
  --dunkel: #000000;
  --dunkel-kachel: #1d1d1f;
  --auf-dunkel: #f5f5f7;
  --auf-dunkel-neben: #a1a1a6;
  --arbeit: #2fa35a;
  --pause: #f0920f;
  --geplant: #2563eb;
  --geplant-flaeche: #e1ebff;
  --leiste-raster: #ececf0;
  --menue: rgba(251, 251, 253, 0.8);
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --zahl: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --breite: 1024px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --weiss: #000000; --grau: #101012; --kachel: #1c1c1e; --text: #f5f5f7; --text-neben: #a1a1a6; --linie: #38383d;
    --link: #2997ff; --geplant-flaeche: #1b2c52; --leiste-raster: #2a2a2e; --menue: rgba(22, 22, 23, 0.8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --weiss: #000000; --grau: #101012; --kachel: #1c1c1e; --text: #f5f5f7; --text-neben: #a1a1a6; --linie: #38383d;
  --link: #2997ff; --geplant-flaeche: #1b2c52; --leiste-raster: #2a2a2e; --menue: rgba(22, 22, 23, 0.8); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--weiss); color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
.innen { max-width: var(--breite); margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }

/* Einblenden beim Laden (Ruhezustand ist sichtbar) */
@keyframes auf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.auf { animation: auf 0.9s cubic-bezier(.2,.7,.2,1) both; }
.auf.s2 { animation-delay: 0.12s; } .auf.s3 { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .auf { animation: none; } }

/* ---------- Menüleiste ---------- */
.menue { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--menue); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--linie) 60%, transparent); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--weiss); }
.menue .innen { display: flex; align-items: center; gap: 28px; height: 48px; font-size: 13px; letter-spacing: -0.01em; }
.marke { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.marke:hover { text-decoration: none; }
.marke img { width: 24px; height: 24px; border-radius: 6px; }
.menue nav { display: flex; gap: 26px; margin-left: auto; }
.menue nav a { color: color-mix(in srgb, var(--text) 80%, transparent); }
.menue nav a:hover { color: var(--text); text-decoration: none; }
.pille { display: inline-block; background: var(--link); color: #fff; border-radius: 980px; padding: 4px 12px; font-size: 12px; font-weight: 500; }
.pille:hover { text-decoration: none; filter: brightness(1.08); }
@media (max-width: 760px) { .menue nav { display: none; } .menue .pille { margin-left: auto; } }

/* ---------- Bühne (Hero) ---------- */
.buehne { background: var(--grau); text-align: center; overflow: hidden; }
.buehne .innen { padding-block: 64px 0; display: grid; justify-items: center; gap: 0; }
.buehne .symbol { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 8px 24px rgba(18, 52, 107, 0.25); }
.buehne h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1.05; font-weight: 700; margin-top: 22px; letter-spacing: -0.03em; }
.buehne .unter { font-size: clamp(22px, 3.2vw, 32px); line-height: 1.2; font-weight: 600; margin-top: 10px; letter-spacing: -0.02em; }
.buehne .unter span { background: linear-gradient(90deg, var(--navy), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.buehne .text { font-size: 19px; color: var(--text-neben); max-width: 36em; margin-top: 16px; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 22px; font-size: 19px; }
.links a::after, .mehr::after { content: " ›"; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 12px; padding: 8px 18px 8px 14px; min-width: 172px; text-align: left; border: 1px solid #000; }
:root[data-theme="dark"] .store { border-color: #5a5a5f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store { border-color: #5a5a5f; } }
.store:hover { text-decoration: none; opacity: 0.85; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10px; line-height: 1.2; letter-spacing: 0; }
.store strong { display: block; font-size: 18px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.buehne .handys { margin-top: 52px; display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
@media (max-width: 640px) { .buehne .handys .zweit { display: none; } }

/* ---------- Handy ---------- */
.handy { width: 290px; max-width: 100%; aspect-ratio: 290 / 540; background: #1d1d1f; border-radius: 48px 48px 0 0; padding: 11px 11px 0; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 40px 80px rgba(0, 0, 0, 0.18); position: relative; text-align: left; }
.handy::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.handy.zweit { width: 250px; aspect-ratio: 250 / 470; }
.schirm { height: 100%; border-radius: 38px 38px 0 0; background: linear-gradient(180deg, #edf3fb 0%, #dce9f8 100%); color: #1d1d1f; padding: 52px 16px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; font-size: 12.5px; letter-spacing: -0.01em; }
.schirm .gruss { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.schirm .gruss small { display: block; font-size: 12px; font-weight: 500; color: #6e6e73; }
.ring-karte { background: rgba(255, 255, 255, 0.85); border-radius: 24px; padding: 16px; display: grid; justify-items: center; gap: 10px; }
.ring { width: 146px; height: 146px; border-radius: 50%; background: conic-gradient(var(--arbeit) 0 62%, #dfe7f1 62% 100%); display: grid; place-items: center; }
.ring > div { width: 122px; height: 122px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.ring strong { font-family: var(--zahl); font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.ring small { color: #6e6e73; font-size: 10.5px; }
.objekt { font-weight: 600; font-size: 13.5px; text-align: center; }
.objekt small { display: block; font-weight: 400; font-size: 11.5px; color: #6e6e73; }
.knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.knoepfe span { border-radius: 12px; padding: 9px; text-align: center; font-weight: 600; font-size: 12.5px; }
.knoepfe .p { background: #fdebd1; color: #9a5a05; }
.knoepfe .a { background: var(--navy); color: #fff; }
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.kacheln span { background: rgba(255, 255, 255, 0.85); border-radius: 14px; padding: 8px 2px 7px; display: grid; justify-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; color: #3a3a3c; }
.kacheln i { width: 24px; height: 24px; border-radius: 7px; display: block; }
/* zweites Handy: Kursliste */
.kurs { background: rgba(255, 255, 255, 0.85); border-radius: 18px; overflow: hidden; }
.kurs div { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; padding: 9px 10px; border-bottom: 1px solid #e5e5ea; }
.kurs div:last-child { border-bottom: 0; }
.kurs i { height: 32px; border-radius: 7px; display: block; }
.kurs b { font-size: 12px; font-weight: 600; display: block; }
.kurs small { font-size: 10.5px; color: #6e6e73; }
.kurs small.rot { color: #d70015; }
.etikett { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #6e6e73; font-weight: 600; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: 100px; }
.abschnitt.grau { background: var(--grau); }
.titel { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: 56px; }
.titel .vor { font-size: 17px; font-weight: 600; color: var(--text-neben); }
.titel h2 { font-size: clamp(36px, 5.6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.028em; max-width: 15em; }
.titel p { font-size: 19px; color: var(--text-neben); max-width: 34em; }

/* Tagesleiste */
.leiste-rahmen { background: var(--kachel); border-radius: 28px; overflow-x: auto; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.leiste { min-width: 640px; padding: 26px 30px 28px; display: grid; gap: 14px; }
.leiste-kopf, .leiste-zeile { display: grid; grid-template-columns: 170px 1fr 70px; align-items: center; gap: 16px; }
.leiste-kopf { font-size: 12px; color: var(--text-neben); }
.uhr { display: flex; justify-content: space-between; font-family: var(--zahl); font-size: 11px; }
.person { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; min-width: 0; }
.person i { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-style: normal; font-size: 11px; font-weight: 600; display: grid; place-items: center; flex: none; }
.spur { position: relative; height: 28px; border-radius: 7px; background: var(--leiste-raster); }
.spur b { position: absolute; top: 2px; height: 24px; border-radius: 5px; }
.spur .g { border: 1.5px dashed var(--geplant); background: var(--geplant-flaeche); }
.spur .w { background: var(--arbeit); top: 6px; height: 16px; }
.spur .p { background: repeating-linear-gradient(135deg, var(--pause) 0 5px, #f8c67e 5px 10px); top: 6px; height: 16px; }
.spur .jetzt { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #c2410c; border-radius: 1px; }
.netto { font-family: var(--zahl); font-variant-numeric: tabular-nums; text-align: right; font-size: 13px; }
.legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 22px; font-size: 14px; color: var(--text-neben); }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende i { width: 22px; height: 11px; border-radius: 3px; display: inline-block; }

/* Kachel-Raster (wie apple.com) */
.kacheln-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .kacheln-raster { grid-template-columns: 1fr; } }
.k { background: var(--kachel); border-radius: 28px; padding: 40px 36px 38px; display: grid; gap: 10px; align-content: start; min-height: 260px; }
.abschnitt:not(.grau):not(.dunkel) .k { background: var(--grau); }
.k.breit { grid-column: 1 / -1; }
.k .vor { font-size: 14px; font-weight: 600; color: var(--text-neben); }
.k h3 { font-size: clamp(26px, 3vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.k p { color: var(--text-neben); font-size: 17px; max-width: 30em; }
.k .gross { font-size: clamp(48px, 7vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(90deg, var(--navy), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .k .gross { background: linear-gradient(90deg, #6fa8ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .k .gross { background: linear-gradient(90deg, #6fa8ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { border: 1px solid var(--linie); border-radius: 980px; padding: 5px 13px; font-size: 14px; color: var(--text); }

/* Kleine Funktionen */
.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 44px 32px; margin-top: 64px; }
.mini div { display: grid; gap: 8px; align-content: start; }
.mini svg { width: 32px; height: 32px; color: var(--link); }
.mini strong { font-size: 19px; font-weight: 600; }
.mini span { color: var(--text-neben); font-size: 16px; }

/* Dunkler Abschnitt */
.dunkel { background: var(--dunkel); color: var(--auf-dunkel); }
.dunkel .titel .vor, .dunkel .titel p { color: var(--auf-dunkel-neben); }
.abschnitt.dunkel .k { background: var(--dunkel-kachel); }
.dunkel .k p { color: var(--auf-dunkel-neben); }
.dunkel .k .vor { color: var(--cyan); }
.dunkel .k h3 { color: var(--auf-dunkel); }

/* Kontakt */
.kontakt { text-align: center; display: grid; justify-items: center; gap: 16px; }
.kontakt h2 { font-size: clamp(36px, 5.6vw, 56px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.07; }
.kontakt p { font-size: 19px; color: var(--text-neben); max-width: 32em; }
.daten { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 8px; font-size: 19px; }
.daten span { color: var(--text-neben); }

/* Fuß */
.fuss { background: var(--grau); font-size: 12px; color: var(--text-neben); letter-spacing: -0.01em; }
.fuss .innen { padding-block: 22px 28px; display: grid; gap: 12px; }
.fuss .oben { border-bottom: 1px solid var(--linie); padding-bottom: 12px; }
.fuss .unten { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.fuss a { color: var(--text); }

/* Rechtstexte */
.recht { padding-block: 56px 90px; }
.recht .innen { max-width: 760px; }
.recht h1 { font-size: clamp(36px, 5.6vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 30px; }
.recht h2 { font-size: 22px; margin: 36px 0 10px; }
.recht p, .recht li { margin-bottom: 10px; }
.recht .neben { color: var(--text-neben); font-size: 15px; }
.recht address { font-style: normal; }

/* Echte Bildschirme im Handy-Rahmen */
.handy img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 38px 38px 0 0; }
.handy.klein { width: 240px; aspect-ratio: 600 / 1301; border-radius: 40px; padding: 9px; }
.handy.klein::before { top: 18px; width: 70px; height: 20px; }
.handy.klein img { border-radius: 32px; }
.buehne .handy { aspect-ratio: 290 / 560; }
.buehne .handy.zweit { aspect-ratio: 250 / 480; }

/* Galerie zum Wischen */
.galerie { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(22px, calc((100vw - var(--breite)) / 2 + 22px)) 28px; scrollbar-width: thin; }
.galerie:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.galerie figure { margin: 0; flex: none; width: 240px; scroll-snap-align: center; display: grid; gap: 16px; align-content: start; }
.galerie figcaption { font-size: 15px; color: var(--text-neben); }
.galerie figcaption strong { display: block; color: var(--text); font-size: 17px; font-weight: 600; margin-bottom: 2px; }
:root[data-theme="dark"] .buehne .unter span { background-image: linear-gradient(90deg, #6fa8ff, var(--cyan)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .buehne .unter span { background-image: linear-gradient(90deg, #6fa8ff, var(--cyan)); } }
