/* Firmenwebsite der CodeWorkers GmbH (codeworkers.com) — die Gestaltung aller Seiten in public/. Die Sprache der Apps:
   neutral-50 als Grund, weiße Karten, das Grün aus packages/native-ui/tailwind.config.js, DM Sans; die App-Screens als
   Bilder in Telefonrahmen. Spätere Regeln verfeinern frühere; die Telefonbreite steht am Ende. */

/* DM Sans, die Schrift der Apps (packages/native-ui/assets/fonts): die Seite lädt nichts von fremden Servern. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/DMSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/DMSans-Medium.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/DMSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/DMSans-Bold.ttf") format("truetype"); }

:root {
  --bg: #f6f7fa;
  --surface: #ffffff;
  --text: #2c2c32;
  --text-2: #5f6068;
  --text-3: #6e6f77;
  --line: #e4e5eb;
  --line-soft: #edeef3;
  --green-50: #f8fcf0;
  --green-100: #f2fde0;
  --green-200: #e2f7c2;
  --green-300: #c7ea8f;
  --green-500: #94c843;
  --green-600: #7bb026;
  --green-700: #63921a;
  --green-800: #507712;
  --header-green: #88bc3c; /* der Kopf der App-Screens */
  --yellow-100: #fffaeb;
  --yellow-200: #fcefc7;
  --yellow-800: #a27c1a;
  --yellow-900: #7c5e10;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 22, 30, 0.05), 0 8px 24px rgba(20, 22, 30, 0.06);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
.sprite { position: absolute; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(100% - 64px, var(--wrap)); } }

/* Zeichen: die Wolke als sechste App-Kachel */

.tile {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 22.5%;
  background: linear-gradient(160deg, #a6d65a 0%, #7bb026 45%, #507712 100%);
  flex-shrink: 0;
}
.tile svg { width: 66%; height: auto; }

/* Kopfzeile */

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.nav a:hover { background: var(--bg); color: var(--text); }
@media (max-width: 639px) { .nav-sections { display: none; } }

/* Einstieg */

.hero { padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; }
.hero-text { display: grid; gap: 20px; align-content: center; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.hero h1 span { color: var(--green-700); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 31em; }

/* Die fünf App-Kacheln wie auf einem Homescreen */
.homescreen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 470px; margin-top: 8px; list-style: none; padding: 0; }
.homescreen a { position: relative; display: grid; justify-items: center; gap: 8px; text-decoration: none; text-align: center; }
.homescreen img { width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 22.5%; box-shadow: 0 1px 2px rgba(20, 22, 30, 0.1), 0 4px 12px rgba(20, 22, 30, 0.1); }
.homescreen span { font-size: 12px; line-height: 1.25; font-weight: 500; color: var(--text-2); }
.homescreen a:hover span { color: var(--text); text-decoration: underline; }
@media (max-width: 599px) { .homescreen span { max-width: 7.5ch; } }
.homescreen .soon::after {
  content: "bald";
  position: absolute;
  top: -6px;
  right: calc(50% - 40px);
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--yellow-200);
  color: var(--yellow-900);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 2px var(--bg);
}

/* Die Bühne: grüne Fläche in der Farbe des App-Kopfs, die Telefone wachsen von unten herein */
.stage {
  position: relative;
  margin: 0 -16px;
  height: 440px;
  border-radius: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(170deg, #9fcf55 0%, var(--header-green) 40%, var(--green-700) 100%);
  overflow: hidden;
}
.phones { position: absolute; inset: 40px 0 0; display: flex; justify-content: center; align-items: flex-start; }
.phone {
  --s: 0.56;
  flex-shrink: 0;
  padding: calc(13px * var(--s));
  background: #16161a;
  border-radius: calc(60px * var(--s));
  box-shadow: 0 30px 60px rgba(25, 38, 2, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.screen { position: relative; width: calc(390px * var(--s)); height: calc(844px * var(--s)); border-radius: calc(48px * var(--s)); overflow: hidden; background: var(--bg); }
/* The screens are prerendered 390 × 844 images of screens/*.html (gen-website-screens), so they fill the frame exactly. */
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone.side { --s: 0.46; margin-top: 44px; }
.phone.left { margin-right: -64px; }
.phone.right { margin-left: -64px; }
.phone.center { position: relative; z-index: 2; }

@media (min-width: 720px) and (max-width: 959px) { .stage { margin: 0; height: 520px; border-radius: 28px 28px 0 0; } }

@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: end; }
  .hero-text { padding-bottom: 72px; }
  .stage { margin: 0; height: 600px; border-radius: 32px 32px 0 0; }
  .phones { inset: 56px 0 0; }
  .phone { --s: 0.68; }
  .phone.side { --s: 0.56; margin-top: 64px; }
  .phone.left { margin-right: -72px; }
  .phone.right { margin-left: -72px; }
}

/* Abschnitte */

.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
/* A section that follows another without a band of its own between them */
.section.flush { padding-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 40em; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--green-800); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; }
.section-intro { color: var(--text-2); }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Die Clouds */

.products { display: grid; gap: 16px; }
.product { position: relative; display: grid; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.product:focus-within { box-shadow: 0 0 0 3px var(--green-300), var(--shadow); }
.product:hover { box-shadow: 0 2px 4px rgba(20, 22, 30, 0.06), 0 16px 40px rgba(20, 22, 30, 0.1); transform: translateY(-2px); }
.product-body { display: grid; gap: 14px; align-content: start; padding: 24px; }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-title img { width: 56px; height: 56px; border-radius: 22.5%; flex-shrink: 0; }
.product-title h3 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.product-title p { font-size: 15px; color: var(--text-3); }
.product-desc { color: var(--text-2); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pills li { padding: 3px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 500; color: var(--text-2); }
.pills .live { background: var(--green-100); color: var(--green-800); }
.product-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; color: var(--green-800); text-decoration: none; }
/* The card is one link: the domain link stretches over the whole card, above the screen preview. */
.product-link::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.product-link::after { content: "→"; transition: transform 0.2s; }
.product:hover .product-link::after { transform: translateX(3px); }

/* Ein Blick in die App: der obere Teil eines Screens ragt aus der Karte */
.peek { position: relative; height: 250px; margin: 0 24px; overflow: hidden; display: flex; justify-content: center; }
.peek .phone { --s: 0.5; position: absolute; top: 0; box-shadow: 0 16px 40px rgba(20, 22, 30, 0.18); }
.product.big { background: linear-gradient(180deg, var(--surface) 55%, var(--green-50) 100%); }

@media (min-width: 760px) {
  .products { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .product.big { grid-column: span 3; }
  .product.small { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .product.big { grid-template-columns: 1fr 230px; min-height: 380px; }
  .product.big .product-body { padding: 32px 0 32px 32px; }
  .peek { height: auto; margin: 32px 24px 0 0; }
  .peek .phone { --s: 0.5; }
}

/* Auf einen Blick */

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact { padding: 18px 16px; display: grid; gap: 4px; align-content: start; hyphens: auto; overflow-wrap: break-word; min-width: 0; }
.fact strong { font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: var(--green-800); }
.fact span { font-size: 15px; color: var(--text-2); }
.fact small { font-size: 13px; color: var(--text-3); }
.partner { grid-column: 1 / -1; display: grid; gap: 20px; padding: 24px; align-items: center; }
.partner-logos { display: flex; align-items: center; gap: 22px; }
.partner-logos .zdrk { height: 84px; width: auto; }
.partner-logos .ffc { height: 56px; width: auto; border-radius: 6px; }
.partner h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.partner p { color: var(--text-2); font-size: 16px; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .fact { padding: 24px; }
  .fact strong { font-size: 48px; }
  .partner { grid-template-columns: auto 1fr; gap: 36px; padding: 28px 32px; }
}

/* Über uns */

.about { display: grid; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; min-height: 260px; max-height: 420px; object-fit: cover; object-position: 50% 30%; }
.about-text { display: grid; gap: 16px; padding: 24px; align-content: center; }
.about-text p { color: var(--text-2); }
.people { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; }
.people li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.people li + li { border-top: 1px solid var(--line-soft); }
.people strong { display: block; font-size: 16px; line-height: 1.3; }
.people span { font-size: 14px; color: var(--text-3); }
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1.1fr; }
  .about-photo img { max-height: none; }
  .about-text { padding: 40px 48px; }
}

/* Kontakt */

.contact { display: grid; gap: 16px; }
.rows { list-style: none; margin: 0; padding: 6px 0; }
.rows li { display: flex; gap: 14px; padding: 12px 20px; align-items: flex-start; }
.rows li + li { border-top: 1px solid var(--line-soft); }
.row-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green-50); color: var(--green-700); flex-shrink: 0; }
.row-icon svg { width: 20px; height: 20px; }
.row-label { display: block; font-size: 13px; color: var(--text-3); }
.row-value { display: block; font-size: 16px; line-height: 1.45; }
.row-value a { text-decoration: none; color: var(--green-800); font-weight: 600; }
.row-value a:hover { text-decoration: underline; }
.map { display: grid; justify-items: center; align-content: center; gap: 12px; padding: 28px 24px; text-align: center; }
.map svg { width: 150px; height: auto; }
.map strong { font-size: 18px; }
.map span { font-size: 14px; color: var(--text-3); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.7fr 1fr; gap: 20px; } }

/* Fußzeile */

.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 24px 0; font-size: 15px; color: var(--text-2); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand .tile { width: 28px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); text-decoration: underline; }

/* Impressum: gruppierte Zeilen wie der Bereich Rechtliches in den Einstellungen der Apps */

.legal { padding: 40px 0 72px; }
.legal-col { max-width: 720px; margin: 0 auto; display: grid; gap: 28px; }
.legal-col h1 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; overflow-wrap: break-word; }
.legal-col > * { min-width: 0; }
.group { display: grid; gap: 8px; }
.group-title { padding: 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.group .rows li { padding: 14px 20px; }
.legal-text { padding: 16px 20px; color: var(--text); }
/* Kurze und lange Texte der rechtlichen Seiten; eine kurze Seite füllt den Bildschirm, damit die Fußzeile unten steht */
.legal { min-height: calc(100svh - 150px); }
.legal-lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 34em; }
.legal-back {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--green-800); color: #fff; font-weight: 600; text-decoration: none;
}
.legal-back:hover { background: #3d5c10; }
.prose { padding: 8px 28px 28px; }
.prose h2 { margin-top: 26px; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.prose p, .prose li { margin-top: 10px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.prose ul, .prose ol { margin: 0; padding-left: 1.25em; }
.prose ol { padding-left: 1.6em; }
.prose li::marker { color: var(--green-700); }
.prose a { color: var(--green-800); font-weight: 600; overflow-wrap: anywhere; }
.legal-date { font-size: 15px; color: var(--text-3); }
@media (max-width: 599px) { .prose { padding: 4px 20px 22px; } .prose p, .prose li { font-size: 16.5px; } }

/* Einstieg: eine Stufe größer, der Text mittig neben der Bühne, größere Telefone */
.lede { color: #4f5058; }
.homescreen { max-width: 500px; gap: 10px; }
.homescreen span { font-size: 13px; color: var(--text); }
@media (min-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-grid { align-items: center; gap: 56px; }
  .hero-text { align-self: center; padding-bottom: 24px; }
  .hero h1 { font-size: clamp(46px, 4.9vw, 66px); }
  .stage { align-self: end; height: 630px; }
  .phones { inset: 54px 0 0; }
  .phone { --s: 0.72; }
  .phone.side { --s: 0.58; margin-top: 80px; }
  .phone.left { margin-right: -80px; }
  .phone.right { margin-left: -80px; }
}

/* Abschnitte: ein Rhythmus für alle */
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section-intro { max-width: 34em; }

/* Die kommenden Clouds sagen in einem Satz, was sie werden */
.product.small .product-body { height: 100%; }
.product.small .product-desc { font-size: 15px; }
.product .product-link { margin-top: auto; padding-top: 4px; }
.product-body { grid-template-rows: auto auto auto 1fr; }
.product.small .product-body { grid-template-rows: auto auto auto 1fr; }

/* Between the phone and the wide layout three small cards in a row leave a name no room: two per row, the last full width */
@media (min-width: 760px) and (max-width: 1079px) {
  .product.small { grid-column: span 3; }
  .product.small:last-child { grid-column: 1 / -1; }
}

/* A country or a name in a fact's small line is never split */
.fact small { hyphens: manual; }

/* Der Server-Fakt als Text statt als Zahl */
.fact strong.word { font-size: 30px; line-height: 1.2; padding: 6px 0 4px; }
@media (min-width: 900px) { .fact strong.word { font-size: 34px; padding: 8px 0 6px; } }

/* Über uns: zwei Absätze */
.about-text p + p { margin-top: -6px; }

/* Überschriften: eine Stufe ruhiger, etwas weniger eng */
.hero h1 { letter-spacing: -0.028em; }
.section h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.022em; }
@media (min-width: 960px) { .hero h1 { font-size: clamp(44px, 4.3vw, 60px); } }

/* Die Bühne: etwas niedriger, mobil deutlich kürzer */
.stage { height: 370px; }
@media (min-width: 720px) and (max-width: 959px) { .stage { height: 480px; } }
@media (min-width: 960px) {
  .stage { height: 600px; }
}

/* Abschnitte: 84 px am Desktop, 60 px mobil, wenig Abstand zwischen Überschrift und Inhalt */
.section { padding: 60px 0; }
.section-head { margin-bottom: 28px; }
@media (min-width: 960px) { .section { padding: 84px 0; } }

/* Lesbare Nebentexte */
.product.small .product-desc, .fact small { font-size: 15px; }
.row-label { font-size: 14px; }

/* Die Karten der Clouds: der Status vorn, die Geräte als eine leise Zeile */
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.devices { font-size: 14px; color: var(--text-3); }
.pills .dev { background: var(--yellow-100); color: var(--yellow-900); }
@media (min-width: 1080px) and (max-width: 1199px) { .product.big { grid-template-columns: 1fr 210px; } }

/* Zahlen und Partner als ein Feld mit Trennlinien statt vier schwebender Kacheln */
.facts { gap: 0; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: 0 1px 2px rgba(20, 22, 30, 0.04); }
.facts .fact { background: transparent; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
.facts .fact:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.facts .fact strong.word { font-size: 24px; line-height: 1.2; padding: 10px 0 4px; }
.facts .partner { background: var(--green-50); box-shadow: none; border-radius: 0; }
.partner p + p { margin-top: 6px; }
@media (min-width: 900px) {
  .facts .fact { padding: 28px 26px; border-bottom: 0; }
  .facts .fact:nth-child(odd) { border-right: 0; }
  .facts .fact:nth-child(-n + 3) { border-right: 1px solid var(--line-soft); }
  .facts .fact strong.word { font-size: 28px; padding: 12px 0 6px; }
  .facts .partner { border-top: 1px solid var(--line-soft); padding: 28px 32px; }
}

/* Über uns: das ganze Foto statt eines Ausschnitts; Namen ohne Initialen */
.about-photo { margin: 0; display: grid; align-content: start; background: var(--surface); }
.about-photo img { height: auto; min-height: 0; max-height: none; aspect-ratio: 1400 / 1217; object-fit: cover; }
.people { border: 0; border-radius: 0; margin-top: 4px; display: grid; gap: 10px; }
.people li { padding: 0; }
.people li + li { border-top: 0; }
.people strong { font-size: 17px; }
.people span { font-size: 15px; }
@media (min-width: 900px) {
  .about { align-items: center; }
  .about-photo { padding: 0; }
}

/* Kontakt: ruhigere Flächen, die Karte mobil klein neben dem Ort */
.rows, .map { box-shadow: 0 1px 2px rgba(20, 22, 30, 0.04); border: 1px solid var(--line-soft); }
.rows a, .footer nav a, .nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 899px) {
  .map { grid-template-columns: 92px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 16px; padding: 18px 20px; }
  .map svg { width: 92px; }
}

/* Mobil bleibt „Kontakt“ in der Kopfzeile */
@media (max-width: 639px) {
  .nav-sections { display: flex; }
  .nav-sections a:not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .product-link::after { transition: none; }
  .product:hover { transform: none; }
}

body { font-size: 18px; }

/* Heller grüner Grund hinter Kopfzeile und Einstieg: auf dem Seitengrund, so passt er zu jeder Höhe der Kopfzeile */
body { background: linear-gradient(180deg, var(--green-50) 0, #f3f9e8 520px, var(--bg) 900px) no-repeat, var(--bg); }
.topbar { background: transparent; border-bottom-color: transparent; }

/* Lesegrößen: Fließtext 18 px, Beschreibungen 16 px, Status 14–15 px */
.lede { font-size: clamp(18px, 1.5vw, 21px); }
.product-desc, .product.small .product-desc, .about-text p, .partner p, .section-intro { font-size: 16px; }
.pills li { font-size: 14px; }
.homescreen { max-width: 560px; }
.homescreen span { font-size: 14px; }
.row-value { font-size: 17px; }

/* Mobil die ganze Navigation in einer zweiten Zeile */
@media (max-width: 639px) {
  .topbar-row { flex-wrap: wrap; row-gap: 0; min-height: 0; padding: 12px 0 4px; }
  .nav-sections { width: 100%; justify-content: space-between; margin: 0 -12px; }
  .nav-sections a:not(:last-child) { display: inline-flex; }
}
@media (max-width: 959px) { .section { padding: 64px 0; } }

:root {
  --text-2: #54565f;
  --text-3: #63656e;
  --green-800: #496e13;
  --shadow: 0 2px 4px rgb(25 30 40 / 3%), 0 8px 24px rgb(25 30 40 / 4%);
}

/* Umbrüche dürfen Platz beanspruchen, statt hinter einer Kartenkante zu verschwinden. */
.hero-grid > *, .product-body, .product-title > div, .about-text,
.rows li > div, .map > div, .partner > div { min-width: 0; }
.hero h1, .section h2, .product-title h3, .product-desc, .fact,
.about-text, .row-value, .map span, .partner p { overflow-wrap: anywhere; }
.section[id], main { scroll-margin-top: 24px; }
a:focus-visible { outline: 3px solid var(--green-800); outline-offset: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 20;
  padding: 12px 18px; border-radius: 8px; background: white; color: var(--green-800);
}
.skip-link:focus { top: 12px; }

/* Der Einstieg behält seine ruhige Zweiteilung. */
.hero { overflow: visible; }
.hero-text { gap: 22px; }
.hero h1 { line-height: 1.08; letter-spacing: -.027em; }
.lede { color: var(--text-2); line-height: 1.6; }
.homescreen { gap: 10px; width: 100%; max-width: 510px; margin: 8px 0 0; }
.homescreen a { gap: 10px; border-radius: 12px; }
.homescreen .app-icon { position: relative; display: block; width: min(100%, 64px); max-width: none; }
.homescreen .app-icon img { width: 100%; height: auto; }
.homescreen .app-name { font-size: 14px; line-height: 1.35; color: var(--text); max-width: none; }
.homescreen .soon::after { content: none; }
.homescreen .soon-badge {
  position: absolute; right: -3px; top: -7px; max-width: none;
  padding: 2px 6px; border-radius: 6px; background: var(--yellow-200);
  color: var(--yellow-900); font-size: 11px; font-weight: 700; line-height: 1.4;
  box-shadow: 0 0 0 2px var(--bg);
}
.homescreen a:hover .soon-badge { color: var(--yellow-900); text-decoration: none; }
.stage { height: 360px; }
.section-head { gap: 10px; }
.section-intro { max-width: 38em; }
.eyebrow { font-size: 15px; }

/* Karten: Text in normalem Fluss; nur die dekorativen Telefon-Ausschnitte werden beschnitten. */
.product { overflow: visible; }
.product:hover { transform: none; }
.product-body, .product.small .product-body {
  display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  padding: 26px; height: 100%;
}
.product-title { gap: 12px; align-items: flex-start; }
.product-title img { width: 52px; height: 52px; }
.product-title h3 { line-height: 1.25; }
.product-title p { margin-top: 2px; font-size: 16px; line-height: 1.4; }
.product-desc { font-size: 17px; line-height: 1.6; }
.product.small .product-desc { font-size: 16px; }
.status-line { gap: 6px 10px; }
.pills { align-items: flex-start; align-self: flex-start; }
.pills li { align-self: flex-start; font-size: 14px; line-height: 1.4; padding: 4px 10px; }
.devices { font-size: 15px; line-height: 1.5; }
.product .product-link { min-height: 44px; padding-top: 6px; align-self: flex-start; line-height: 1.4; }
.product-link::before { border-radius: var(--radius); }
.product-link:focus-visible { outline: none; }
.product:focus-within { outline: 3px solid var(--green-800); outline-offset: 4px; box-shadow: var(--shadow); }
.peek { height: 240px; margin: 0 20px; }
.peek .phone { --s: .5; }

/* Die Fakten bleiben eine zusammengehörige Fläche, mit gleichwertig lesbaren Erklärungen. */
.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { gap: 6px; padding: 20px 16px; }
.fact span, .fact small { font-size: 16px; line-height: 1.5; }
.fact strong { font-size: 42px; }
.facts .fact strong.word { font-size: 24px; line-height: 1.25; padding: 4px 0; }
.partner { gap: 22px; padding: 26px; }
.partner h3 { margin-bottom: 6px; line-height: 1.4; }
.partner p { font-size: 16px; line-height: 1.65; }
.partner p + p { margin-top: 10px; }
.partner-logos { gap: 22px; }
.partner-logos .zdrk { height: 78px; }
.partner-logos .ffc { height: 52px; }

/* Das gesamte Foto und die einfachen Namenszeilen bleiben erhalten, ohne Bildunterschrift. */
.about { overflow: visible; grid-template-columns: minmax(0, 1fr); }
.about-photo { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.about-photo img { aspect-ratio: auto; object-fit: contain; }
.about-text { padding: 28px; gap: 18px; }
.about-text p { line-height: 1.65; }
.about-text .eyebrow { font-size: 15px; }
.people { gap: 14px; }
.people strong { font-size: 17px; line-height: 1.5; }
.people span { display: block; font-size: 16px; line-height: 1.5; }

/* Telefon, E-Mail und Anschrift behalten ausreichend Platz und gut sichtbare Linkziele. */
.rows li { padding: 14px 20px; }
.row-label { font-size: 15px; line-height: 1.5; margin-bottom: 2px; }
.row-value { font-size: 17px; line-height: 1.5; }
.row-value a { overflow-wrap: anywhere; }
.row-icon { color: var(--green-800); }
.map span { font-size: 15px; line-height: 1.5; }
.footer-row { padding-block: 22px; }
.footer nav { flex-wrap: wrap; align-items: center; }

/* Startseite (body.b6): Grün folgt der tatsächlichen Einstiegshöhe; lesbare Texte statt mehr Außenabstand. */
body.b6 { background: var(--bg); font-size: 18px; }
.b6 .topbar { background: var(--green-50); }
.b6 .hero { background: linear-gradient(180deg, var(--green-50), #f3f9e8 60%, var(--bg)); }
.b6 .lede { font-size: clamp(19px, 1.5vw, 21px); }
.b6 .product-desc, .b6 .product.small .product-desc,
.b6 .product-title p, .b6 .partner p, .b6 .section-intro { font-size: 17px; }
.b6 .about-text p { font-size: 18px; }
.b6 .about-text .eyebrow { font-size: 15px; }
.b6 .homescreen .soon-badge { box-shadow: 0 0 0 2px #f3f9e8; }
.b6 .hero-text { gap: 24px; }

@media (max-width: 639px) {
  .nav a { font-size: 15px; }
  .homescreen { gap: 8px; }
  .homescreen .app-icon { max-width: 58px; }
  .homescreen .app-name { max-width: 7.5ch; }
  .b6 .topbar-row { padding: 12px 0 4px; }
  .b6 .nav-sections { width: 100%; margin: 0; flex-wrap: wrap; gap: 0 8px; }
  .b6 .nav-sections a { padding-inline: 0; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 34px; }
  .homescreen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
  .homescreen .app-name { max-width: none; }
  .product-body, .product.small .product-body, .about-text, .partner { padding: 22px; }
  .fact { padding-inline: 14px; }
  .rows li { padding-inline: 16px; gap: 12px; }
  .map { grid-template-columns: 72px minmax(0, 1fr); padding-inline: 18px; }
  .map svg { width: 72px; }
}

@media (min-width: 720px) and (max-width: 959px) {
  .hero-grid { gap: 40px; }
  .hero-text { max-width: 660px; }
  .stage { height: 460px; }
  .stage .phone.center { --s: .66; }
  .stage .phone.side { --s: .54; }
}

@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts .fact { padding: 26px 24px; }
  .fact strong { font-size: 46px; }
  .facts .fact strong.word { font-size: 27px; padding-top: 9px; }
  .partner { grid-template-columns: auto minmax(0, 1fr); }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .hero-text { padding-bottom: 12px; }
  .hero h1 { font-size: clamp(44px, 4.2vw, 60px); }
  .stage { height: 580px; align-self: center; }
  .phones { top: 50px; }
}

@media (min-width: 600px) and (max-width: 759px), (min-width: 1080px) {
  .product.big { grid-template-columns: minmax(0, 1fr) 208px; gap: 20px; min-height: 390px; }
  .product.big .product-body { padding: 28px 0 28px 28px; }
  .product.big .peek { height: auto; min-height: 300px; margin: 28px 20px 0 0; }
  .product.big .peek .phone { --s: .45; }
  .product.small .product-body { padding: 26px; }
}

@media (min-width: 1200px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .about-photo { border-radius: var(--radius) 0 0 var(--radius); }
  .about-text { padding: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .product-link::after { transition: none; }
}

/* Telefon: eine Kopfzeile, die Kacheln ohne umbrechende Namen, die Zahlen als Liste, kompakte kommende Clouds */
@media (max-width: 639px) {
  /* Kopfzeile in einer Zeile: das Logo und „Kontakt“, der Rest der Seite liegt ohnehin darunter */
  .b6 .topbar-row { flex-wrap: nowrap; min-height: 64px; padding: 0; }
  .b6 .nav-sections { width: auto; margin: 0; flex-wrap: nowrap; gap: 0; }
  .b6 .nav-sections a:not(:last-child) { display: none; }
  .b6 .nav-sections a:last-child {
    min-height: 40px; padding: 0 16px; border: 1px solid var(--green-300); border-radius: 999px;
    background: var(--surface); color: var(--green-800); font-weight: 600;
  }

  /* Einstieg */
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 42px); line-height: 1.06; }
  .b6 .lede { font-size: 18px; line-height: 1.55; }
  .b6 .hero-text { gap: 20px; }

  /* Die Kacheln wie ein Dock: Namen nur für Screenreader, die „bald“-Schilder bleiben */
  .homescreen { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 380px; margin-top: 4px; }
  .homescreen .app-icon { width: min(100%, 60px); max-width: none; }
  .homescreen .app-name {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }

  /* Abschnitte etwas dichter */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }

  /* Die kommenden Clouds: Status und Link teilen sich eine Zeile, solange beide hineinpassen */
  .product.small .product-body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 12px; padding: 22px; }
  .product.small .product-title, .product.small .product-desc { flex: 1 1 100%; }
  .product.small .pills { flex: 0 0 auto; align-self: center; }
  .product.small .product-link { flex: 0 0 auto; margin: 0 0 0 auto; padding-top: 0; min-height: 40px; align-self: center; font-size: 17px; }

  .map span { line-height: 1.45; }
}

@media (max-width: 599px) {
  /* Die Zahlen als Liste: Zahl links, Bezeichnung und Erklärung rechts */
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts .fact {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start;
    padding: 18px 20px; border-right: 0; border-bottom: 1px solid var(--line-soft);
  }
  .facts .fact:nth-child(odd) { border-right: 0; }
  .facts .fact strong { grid-row: 1 / span 2; font-size: 36px; line-height: 1; margin-top: -1px; }
  .facts .fact span, .facts .fact small { grid-column: 2; }
  .facts .fact span { color: var(--text); font-weight: 600; line-height: 1.4; }
  .facts .fact small { line-height: 1.5; }
  /* The server fact has no number: its words take the label's place and a server glyph the number's column. */
  .facts .fact strong.word { grid-row: auto; grid-column: 2; padding: 0; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--text); }
  .facts .fact:has(strong.word)::before {
    content: ""; grid-column: 1; grid-row: 1 / span 2; width: 34px; height: 34px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23496e13' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E") left top / contain no-repeat;
  }
  .facts .partner { padding: 22px 20px; gap: 18px; }
  .partner-logos .zdrk { height: 64px; }
  .partner-logos .ffc { height: 44px; }

  /* Über uns und Kontakt */
  .about-text { padding: 24px 22px; }
  .rows li { padding: 14px 18px; }
}
