/* Workbow Landingpage. Grundlage: Claude-Design-Entwurf 24.10.2026, angeglichen an die echte App
   (mobile/.../dashboard_screen.dart, app_theme.dart) und das Web-Portal (DESIGN.md).
   Farben und Schrift nach assets/branding/style-prompt.md. Schrift liegt lokal (fonts/), damit keine Verbindung zu Google entsteht. */
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FBFAF8;
  --flaeche: #FFFFFF;
  --flaeche-grau: #F5F2EE;     /* Portal: surface-sunken */
  --rahmen: #E7E1D8;
  --linie: #EFEAE3;
  --text: #1C1917;
  --text-2: #57534E;
  --text-3: #78716C;
  --akzent: #F26B1D;
  --akzent-2: #FFB020;
  --akzent-text: #C04E0C;      /* #C9520D aus dem Stil-Prompt liegt mit 4,47:1 knapp unter AA, hier minimal dunkler */
  --akzent-dunkel: #A8460B;
  --pfirsich: #FDF1E7;         /* Portal: nav-active-bg, Avatar-Chips */
  --amber-flaeche: #FFF6E5;
  --amber-rahmen: #F2B23C;
  --amber-titel: #6B4405;
  --gruen: #1F9254;
  --bogen-spur: #F2E4D2;
  --radius: 16px;              /* Karten in App und Portal */
  --radius-knopf: 14px;        /* Primärknöpfe der App-Unteransichten */
  --rand: 24px;
  --schatten: 0 12px 28px rgba(28, 25, 23, 0.10);
  --ease-aus: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #FFE2C2; color: var(--text); }
a { color: var(--akzent-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--akzent-2); outline-offset: 3px; border-radius: 6px; }
svg { flex: none; }
.innen { max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }
.ring { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; }
.bow { color: #FFC53D; }

/* ---------- Kopfbereich: Sonnenaufgang wie der App-Kopf, unten ein flacher Bogen als Horizont ---------- */
.hero { position: relative; color: #FFFFFF; padding-bottom: 72px; overflow-x: clip; }
.hero-himmel {
  position: absolute; left: -10%; right: -10%; top: 0; bottom: 0; z-index: -1;
  background: linear-gradient(180deg, #7A2E06 0%, #8D3607 45%, #A8460B 100%);
  border-radius: 0 0 50% 50% / 0 0 120px 120px;
  /* Sonnenrand unter dem Bogen: Auslauf wie in der App, endet nie in Weiß */
  box-shadow: 0 6px 0 #D4601A, 0 12px 0 rgba(255, 176, 32, 0.55);
}
.leiste { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 84px; }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.marke .ring { width: 30px; height: 30px; }
.tel-pille {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 999px;
  color: #FFFFFF; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.tel-pille svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


.hero-raster { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 8fr); gap: 48px; align-items: center; padding-top: 20px; }
.hero-text h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.hero-text p { margin-top: 26px; max-width: 34em; font-size: 19px; color: #FFF1DC; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

/* Knöpfe: Höhe 52, Radius 14, Verb-Beschriftung wie in der App */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-knopf); background: var(--akzent-text); color: #FFFFFF;
  font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-decoration: none;
  transition: background-color 160ms ease, transform 160ms var(--ease-aus), box-shadow 160ms ease;
}
.knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.knopf:active { transform: scale(0.97); }
.knopf-hell { background: #FFFFFF; color: var(--akzent-text); box-shadow: 0 10px 24px rgba(28, 25, 23, 0.28); }
.knopf-rahmen { background: var(--flaeche); color: var(--akzent-text); box-shadow: inset 0 0 0 1.5px var(--akzent-text); }
.link-hell { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-decoration: none; min-height: 44px; }
.link-hell svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-aus); }

/* ---------- Handy mit der App-Startseite (Maße der App, um ca. 0,8 verkleinert) ---------- */
.handy { justify-self: center; width: 300px; padding: 10px; border-radius: 46px; background: #1C1917; box-shadow: var(--schatten), 0 34px 70px rgba(28, 25, 23, 0.30); margin-bottom: -150px; }
.handy-bild { height: 572px; border-radius: 37px; overflow: hidden; background: var(--bg); color: var(--text); display: flex; flex-direction: column; font-feature-settings: "tnum"; }
.app-kopf { background: linear-gradient(180deg, #7A2E06 0%, #8D3607 60%, #A8460B 100%); color: #FFFFFF; padding: 22px 20px 6px; }
.app-kopf-zeile { display: flex; align-items: center; justify-content: space-between; }
.app-marke { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.app-marke .ring { width: 19px; height: 19px; }
.app-avatar { position: relative; width: 37px; height: 37px; border-radius: 50%; background: #FFFFFF; color: var(--akzent-text); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.app-avatar i { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid #F5D9BE; }
.app-uhr { margin-top: 14px; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.app-datum-zeile { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 13px; font-weight: 600; color: #FFF1DC; }
.app-laeuft { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #FFFFFF; color: var(--text); font-size: 11px; font-weight: 600; box-shadow: 0 3px 10px rgba(28, 25, 23, 0.18); }
.app-laeuft b { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); }
.app-auslauf { height: 26px; background: linear-gradient(180deg, #A8460B 0%, #D4601A 40%, rgba(255, 176, 32, 0.4) 72%, rgba(251, 250, 248, 0) 100%); }
.app-inhalt { flex: 1; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
.app-baustelle { align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-top: -10px; background: #FFFFFF; border: 1.5px solid var(--rahmen); border-radius: 13px; }
.app-baustelle svg { width: 18px; height: 18px; fill: none; stroke: var(--akzent-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app-baustelle strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.app-baustelle span { display: block; font-size: 11.5px; color: var(--text-2); }
.app-bogen { position: relative; width: 236px; height: 236px; margin-top: 14px; }
.app-bogen > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-kreis {
  position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #FFFFFF; border: 2px solid #F3E7D9; box-shadow: 0 10px 22px rgba(28, 25, 23, 0.10);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.app-zeit { font-size: 35px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.app-zeit-label { margin-top: 5px; font-size: 10.5px; font-weight: 500; color: var(--text-2); }
.app-feierabend { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--text); color: #FFFFFF; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.app-feierabend i { width: 9px; height: 9px; border-radius: 2px; background: #FFFFFF; }
.bogen-label { position: absolute; bottom: 30px; font-size: 10.5px; font-weight: 600; color: var(--text-2); }
.bogen-label.links { left: 6px; }
.bogen-label.rechts { right: 6px; }
.app-rest { margin-top: 0; font-size: 11.5px; font-weight: 500; color: var(--text-2); }
.app-tabs { display: flex; justify-content: space-around; height: 58px; padding: 0 10px; align-items: center; background: #FFFFFF; border-top: 1px solid var(--linie); }
.app-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 500; color: var(--text-2); }
.app-tabs span.aktiv { color: var(--akzent-text); font-weight: 600; }
.app-tabs svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 104px 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt-grau { background: var(--flaeche-grau); border-top: 0 !important; }
.abschnitt-grau + .abschnitt { border-top: 0; }
.erster-abschnitt { padding-top: 200px; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }

.schmerz { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.schmerz li { position: relative; padding-left: 28px; font-size: 18px; color: var(--text-2); }
.schmerz li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 3px; border-radius: 2px; background: var(--akzent); }
.kernsatz { margin: 56px auto 0; max-width: 34em; text-align: center; font-size: 22px; font-weight: 600; text-wrap: balance; }

/* Zwei Ausgangslagen nebeneinander: Zettel und App, die nicht passt */
.problem-titel { max-width: 18em; }
.probleme { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 44px; }
.problem h3 { font-size: 21px; }

/* Gezeichnete Standort-Abfrage einer fremden App (Android-Dialog nachempfunden, ohne Hersteller) */
.abfrage { position: relative; width: min(100%, 420px); margin-top: 34px; padding: 26px; border-radius: 22px; background: #E6E3DE; }
.abfrage-karte { display: grid; justify-items: center; gap: 8px; padding: 22px 20px 12px; border-radius: 20px; background: #FFFFFF; text-align: center; box-shadow: var(--schatten); }
.abfrage-karte > svg { width: 26px; height: 26px; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.abfrage-karte strong { font-size: 16px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.abfrage-karte > span { font-size: 13px; color: var(--text-2); }
.abfrage-knoepfe { align-self: stretch; display: grid; gap: 2px; margin-top: 8px; }
.abfrage-knoepfe span { padding: 9px; border-radius: 999px; background: var(--flaeche-grau); font-size: 13px; font-weight: 600; color: var(--text-2); }
.abfrage-band { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: #FFFFFF; border: 1.5px solid #EBC3BE; font-size: 13.5px; font-weight: 600; color: #8C1D18; }
.abfrage-band svg { width: 18px; height: 18px; fill: none; stroke: #B3261E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Gezeichneter Stundenzettel: Papier, leicht schief, die drei Probleme sichtbar */
.zettel {
  width: min(100%, 420px); margin-top: 34px; padding: 24px 24px 20px; background: #FFFFFF;
  border: 1.5px solid var(--rahmen); border-radius: 6px; box-shadow: var(--schatten);
  transform: rotate(-2.2deg); color: var(--text-2);
}
.zettel-kopf { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--text); color: var(--text); }
.zettel-kopf strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.zettel-kopf span { font-size: 14px; font-weight: 600; color: var(--text-3); }
.zettel-tabelle { display: grid; grid-template-columns: 44px 1.25fr 1fr 1.2fr; font-size: 15px; font-feature-settings: "tnum"; }
.zettel-tabelle span { padding: 9px 4px; border-bottom: 1px solid var(--linie); display: flex; align-items: center; gap: 6px; }
.zettel-tabelle .th { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: 0.04em; }
.zettel-tabelle s { text-decoration-color: #B3261E; text-decoration-thickness: 2px; color: var(--text-3); }
.zettel-tabelle em { font-style: normal; font-weight: 600; color: #8A5A05; }
.zettel-tabelle .leer { color: #A8A29E; }
.zettel-tabelle .krakel svg { width: 54px; height: 16px; fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; }
.zettel-fuss { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.zettel-fuss span { flex: 1; border-bottom: 1px dashed #A8A29E; height: 14px; }

/* Drei Schritte mit Bildplätzen (später echte Screenshots der Demo-Firma, gleiche Größe) */
.schritte { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.schritt { display: grid; gap: 24px; align-content: start; }
.schritt-text { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 8px; align-items: center; }
.schritt-text p { grid-column: 2; font-size: 16px; color: var(--text-2); }
.nummer { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #FFFFFF; background: var(--akzent-text); font-feature-settings: "tnum"; }

.bildplatz {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1.5px solid var(--rahmen); background: var(--flaeche);
  overflow: hidden; font-feature-settings: "tnum"; user-select: none;
}
.bildplatz svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Schritt 1: App vor dem Start */
.bildplatz-app { background: var(--bg); display: flex; flex-direction: column; align-items: center; padding: 18px 22px 14px; gap: 12px; }
.mini-baustelle { align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #FFFFFF; border: 1.5px solid var(--rahmen); border-radius: 13px; }
.mini-baustelle svg { width: 18px; height: 18px; color: var(--akzent-text); }
.mini-baustelle strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.mini-baustelle span { display: block; font-size: 11.5px; color: var(--text-2); }
.mini-start {
  flex: 1; aspect-ratio: 1; max-height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(150deg, #F26B1D, #E8611C); color: #FFFFFF; font-size: 21px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 12px 26px rgba(28, 25, 23, 0.16);
}
.mini-start .sonnen-icon { width: 26px; height: 26px; }
.mini-hinweis { font-size: 11.5px; font-weight: 500; color: var(--text-2); }
/* Schritt 2 und 3: Portal mit Seitenleiste */
.bildplatz-portal { display: grid; grid-template-columns: 31% 1fr; font-size: 11px; }
.mini-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid #EDE9E4; color: var(--text-2); font-weight: 500; }
.mini-logo { display: flex; align-items: center; gap: 5px; padding: 0 6px 10px; color: var(--akzent); font-size: 12px; font-weight: 600; letter-spacing: -0.02em; }
.mini-logo > span { color: var(--text); }
.bow-hell { color: var(--akzent); }
.mini-logo .ring { width: 18px; height: 18px; }
.mini-nav > span:not(.mini-logo) { padding: 5px 7px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-nav .an { background: var(--pfirsich); color: var(--akzent-dunkel); font-weight: 600; }
.mini-nav b { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 4px; margin-left: 2px; border-radius: 999px; background: var(--akzent-text); color: #FFFFFF; font-size: 9.5px; }
.mini-portal { padding: 14px 14px 12px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini-titel { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mini-sub { color: var(--text-2); margin-bottom: 4px; }
.mini-karte { background: #FFFFFF; border: 1px solid #EDE9E4; border-radius: 10px; padding: 6px 9px; }
.mini-karte-kopf { font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid var(--linie); margin-bottom: 2px; }
.mini-person { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.mini-person i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--pfirsich); color: var(--akzent-dunkel); font-size: 8px; font-weight: 600; display: grid; place-items: center; }
.mini-person em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--akzent-text); }
.mini-monat { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; background: #FFFFFF; border: 1px solid #EDE9E4; border-radius: 10px; font-weight: 600; }
.mini-monat span { color: var(--text-3); font-size: 14px; line-height: 1; }
.mini-knopf { align-self: flex-start; padding: 7px 12px; border-radius: 8px; background: var(--akzent-text); color: #FFFFFF; font-weight: 600; }
.mini-datei { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: var(--pfirsich); color: var(--text); font-weight: 500; }
.mini-datei svg { width: 14px; height: 14px; color: var(--akzent-text); }

/* Merkmale: Liste statt Kartenreihe, damit sich der Abschnitt von den Schritten abhebt */
.zwei-spalten.anders { align-items: start; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.merkmale { list-style: none; display: grid; }
.merkmale li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--rahmen); }
.merkmale li:first-child { border-top: 0; padding-top: 0; }
.merkmale p { margin-top: 6px; font-size: 16px; color: var(--text-2); }
.merkmal-icon { width: 56px; height: 56px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid var(--rahmen); display: grid; place-items: center; }
.merkmal-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--akzent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pilot: Hinweisfläche Amber wie im Info-Chip der App */
.pilot { background: var(--amber-flaeche); border: 1.5px solid var(--amber-rahmen); border-radius: var(--radius); padding: 48px; }
.pilot-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.pilot h2 { margin-top: 18px; font-size: clamp(26px, 2.6vw, 34px); }
.pilot p { color: var(--text-2); }
.pilot-raster > div > p { margin-top: 18px; }
.pilot h3 { color: var(--amber-titel); margin-top: 30px; }
.pilot-raster > div:last-child h3 { margin-top: 0; }
.pille-amber { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: #FFE9BF; color: var(--amber-titel); font-size: 13px; font-weight: 600; }
.pille-amber svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.haken { list-style: none; display: grid; gap: 12px; margin-top: 14px; font-size: 16px; }
.haken li { display: flex; gap: 12px; }
.pilot .plattform { margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--text); }
.haken svg { width: 22px; height: 22px; fill: none; stroke: var(--akzent-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.zeitleiste { list-style: none; counter-reset: schritt; position: relative; display: grid; gap: 28px; margin-top: 22px; padding-left: 50px; }
.zeitleiste::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #F26B1D, #FFB020); }
.zeitleiste li { position: relative; counter-increment: schritt; }
.zeitleiste li::before {
  content: counter(schritt); position: absolute; left: -50px; top: -3px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--akzent-text); color: #FFFFFF; font-size: 14px; font-weight: 600; display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--amber-flaeche);
}
.zeitleiste strong { font-size: 18px; font-weight: 600; }
.zeitleiste p { margin-top: 4px; font-size: 16px; }
.pilot-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--amber-rahmen); }

/* Person und Kontakt */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 48px; background: var(--flaeche); border: 1.5px solid var(--rahmen); border-radius: var(--radius); }
.person h2 { font-size: clamp(24px, 2.4vw, 30px); }
.person-wer { display: flex; gap: 28px; align-items: flex-start; }
.person-wer p { margin-top: 14px; color: var(--text-2); }
.avatar-gross { flex: none; width: 120px; height: 120px; border-radius: 50%; background: var(--pfirsich); border: 2px solid #F5D9BE; color: var(--akzent-dunkel); font-size: 40px; font-weight: 600; display: grid; place-items: center; }
.person-kontakt { display: grid; gap: 10px; align-content: start; }
.person-kontakt h2 { margin-bottom: 10px; }
.kontakt-zeile { display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-height: 44px; font-size: 22px; font-weight: 600; color: var(--text); text-decoration: none; font-feature-settings: "tnum"; }
.kontakt-zeile svg { width: 22px; height: 22px; fill: none; stroke: var(--akzent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hinweis { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* Fußzeile */
.fuss { border-top: 1px solid var(--linie); padding: 28px 0 40px; font-size: 15px; color: var(--text-2); }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.fuss-marke { display: inline-flex; align-items: center; gap: 10px; }
.fuss-marke .ring { width: 20px; height: 20px; color: var(--text); }
.fuss nav { display: flex; gap: 24px; }
.fuss a { color: var(--text-2); }

/* ---------- Bewegung: ein Moment beim Laden (Handy steigt auf, Bogen füllt sich), sonst nur Rückmeldung ---------- */
@media (hover: hover) and (pointer: fine) {
  .tel-pille:hover { background: rgba(255, 255, 255, 0.12); border-color: #FFFFFF; }
  .knopf:hover { background: var(--akzent-dunkel); }
  .knopf-hell:hover { background: #FFF1DC; color: var(--akzent-dunkel); }
  .knopf-rahmen:hover { background: var(--pfirsich); color: var(--akzent-dunkel); }
  .link-hell:hover { color: #FFF1DC; }
  .link-hell:hover svg { transform: translateY(3px); }
  .kontakt-zeile:hover { color: var(--akzent-text); text-decoration: underline; text-decoration-thickness: 1.5px; }
  .fuss a:hover { color: var(--akzent-text); }
}
.handy { animation: handy-auf 650ms var(--ease-aus) 100ms both; }
@keyframes handy-auf { from { opacity: 0; transform: translateY(28px); } }
/* Ablauf am Handy (Skript am Ende von index.html): START sichtbar -> Knopf wird angetippt -> Schicht-Ansicht
   ploppt auf -> Uhr, Stunden und Bogen laufen. Ohne Skript oder bei "weniger Bewegung" steht nur der Endstand da */
.bogen-fortschritt { stroke-dasharray: 100 100; }
.js .bogen-fortschritt { stroke-dashoffset: 100; }
.app-bereit { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; }
.app-start {
  position: relative; width: 172px; height: 172px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(150deg, #F26B1D, #E8611C); color: #FFFFFF; font-size: 21px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 13px 27px rgba(28, 25, 23, 0.16); transition: transform 140ms var(--ease-aus);
}
.sonnen-icon { fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round; }
.app-start .sonnen-icon { width: 37px; height: 37px; }
/* Fingertipp: heller Kreis, der beim Drücken kleiner wird und als Welle ausläuft */
.tipp { position: absolute; left: 50%; top: 56%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); opacity: 0; }
.js .handy:not(.laeuft) .app-bereit { opacity: 1; visibility: visible; }
.js .handy:not(.laeuft) .app-bogen > svg,
.js .handy:not(.laeuft) .app-kreis,
.js .handy:not(.laeuft) .bogen-label { opacity: 0; transform: scale(0.9); }
.js .handy:not(.laeuft) .app-kreis { transform: translate(-50%, -50%) scale(0.9); }
.js .handy:not(.laeuft) .app-laeuft { opacity: 0; transform: scale(0.7); }
.js .handy.tippt .app-start { transform: scale(0.94); }
.js .handy.tippt .tipp { animation: tipp 420ms var(--ease-aus) both; }
@keyframes tipp { 0% { opacity: 0; transform: scale(1.4); } 35% { opacity: 1; transform: scale(0.9); } 100% { opacity: 0; transform: scale(2.6); } }
.js .handy .app-bereit { transition: opacity 220ms ease, visibility 0s linear 220ms; }
.js .handy .app-bogen > svg, .js .handy .app-kreis, .js .handy .bogen-label, .js .handy .app-laeuft {
  transition: opacity 360ms ease 140ms, transform 520ms cubic-bezier(0.34, 1.4, 0.64, 1) 140ms;
}
/* Läuft-Punkt pulsiert wie der Live-Punkt im Portal-Cockpit */
.app-laeuft b::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: puls 1.8s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(31, 146, 84, 0.45); } 100% { box-shadow: 0 0 0 7px rgba(31, 146, 84, 0); } }

/* ---------- Rechtstexte (impressum.html, datenschutz.html): schmaler Kopf, gerade Kante ---------- */
.kopf { background: linear-gradient(180deg, #7A2E06 0%, #A8460B 100%); color: #FFFFFF; }
.kopf.schmal .leiste { height: 84px; }
.kopf .marke .ring, .kopf .marke svg { width: 30px; height: 30px; }
.recht { padding: 48px var(--rand) 72px; max-width: 808px; }
.recht h1 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 22px; }
.recht h2 { font-size: 20px; margin: 30px 0 8px; }
.recht p, .recht li { color: var(--text-2); }
.recht ul { padding-left: 22px; display: grid; gap: 4px; }
.recht .stand { color: var(--text-3); font-size: 14px; margin-top: 30px; }
footer:not(.fuss) { border-top: 1px solid var(--linie); padding: 28px 0 40px; color: var(--text-2); font-size: 15px; }
footer:not(.fuss) .innen { display: flex; flex-wrap: wrap; gap: 14px 24px; }
footer:not(.fuss) a { color: var(--text-2); }

/* ---------- Schmale Fenster: alles untereinander ---------- */
@media (max-width: 960px) {
  .hero-raster, .zwei-spalten, .zwei-spalten.anders, .pilot-raster, .person, .probleme { grid-template-columns: minmax(0, 1fr); }
  .hero-raster { gap: 44px; }
  .handy { margin-bottom: -120px; }
  .erster-abschnitt { padding-top: 168px; }
  .schritte { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pilot-raster, .person { gap: 40px; }
}
@media (max-width: 560px) {
  :root { --rand: 16px; }
  body { font-size: 16px; }
  .tel-pille { padding: 0 14px; font-size: 0; gap: 0; }
  .tel-pille svg { width: 20px; height: 20px; }
  .tel-pille::after { content: "Anrufen"; font-size: 15px; margin-left: 8px; }
  .hero-text p { font-size: 17px; }
  .hero-himmel { border-radius: 0 0 50% 50% / 0 0 48px 48px; }
  .abschnitt { padding: 72px 0; }
  .erster-abschnitt { padding-top: 160px; }
  .pilot, .person { padding: 26px 20px; }
  .person-wer { flex-direction: column; gap: 18px; }
  .avatar-gross { width: 88px; height: 88px; font-size: 30px; }
  .kontakt-zeile { font-size: 19px; }
  .knopf { width: 100%; }
  .hero-aktionen .knopf { width: auto; }
  .zettel { transform: rotate(-1.5deg); padding: 20px 16px 16px; }
  .zettel-tabelle { font-size: 14px; grid-template-columns: 34px 1.3fr 1fr 1.1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .handy, .app-laeuft b::after { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
