/* Hallmark · shape: Index-led, from draw 0bddd3 (Bento swapped: the work is one list, not many tiles) · genre: editorial · theme: brand (the studio's own white, black and orange from b036fa8, on the Hedgerow structure) · redesign: full
 * hero: Stage (Ledge swapped: the comparison is a portrait screen) · nav: edge-aligned, wordmark, five links, one outlined action · footer: statement · imagery: the product, 7 screenshots of the studio's own sites · signature: the old site wiped into the new one, under the visitor's finger · brand: Geist Serif over Geist, square logo mark, orange buttons
 * axes: light/high-contrast-serif/chromatic-orange · posture: restrained · job: hire, the enquiry after the work · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 44c · the hero fills 900px, the before/after screen runs to 854px · only the text block ends at 743px, centred on the comparison beside it */
/* Hallmark · waive 47b · one phone frame, the real before/after comparison inside · the owner chose this phone beside the head from the orange version */
/* Hallmark · answered F4 · the nav button and the hero button share one orange, as on the orange version the owner picked; every other action is outlined */
/* Hallmark · reworded the three plans to one offer, "Ihre Website" (899 €) · the owner set the new offer */
/* Hallmark · dropped #team and its two person rows · the owner removed the team section */
/* Hallmark · reworded "Kurzes Gespräch", "Kostenloser Entwurf", "Online, und wir bleiben da" from h3 to list items · 8 names steps as a section; the three stages now ride in the pricing head */
/* Hallmark · dropped #callbar · the owner removed the fixed call and WhatsApp bar on phones */
/* Hallmark · dropped #leistungen, "Kommt Ihnen das bekannt vor?" and its six rows · the owner cut the section; the extras follow the projects */
/* Hallmark · dropped #extras, .xpanel, .x-demo · the owner moved the four demos to features.html behind a "Weitere Features entdecken" link; motion.js still animates them there */
/* Hallmark · reworded "tel:+490000000000" to "tel:+4915774992803" and "https://wa.me/490000000000" to "https://wa.me/4915774992803" · the owner supplied the real number */
/* Hallmark · dropped tel:+490000000000, https://wa.me/490000000000 · placeholders replaced by the owner's real phone and WhatsApp links */
/* Hallmark · dismissed kept-figure 22:17 · a chat timestamp the demo writes at run time */
/* Hallmark · dismissed render · the file render misses the self-hosted fonts; the localhost render loads Geist */
/* Hallmark · waive 78 · impressum.html and datenschutz.html are long documents with inline section heads · legal text reads as a document, so its heads stay a quiet step above the body */
/* Hallmark · waive 49b · a.sr-name wraps to two lines at 320px, never more · it is a search result title inside the sample phone, and real result titles wrap the same way */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a studio page could be anyone's; led with the before/after of a real client type and kept the four working demos as the proof */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Grundlagen ---------- */
body { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); }
h1, h2, h3, h4 { color: var(--color-ink); }
h1 { line-height: 1.04; }
h2 { line-height: 1.08; }
.lead { color: var(--color-ink-2); }
b, strong { font-weight: 500; color: var(--color-ink); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* missing facts the owner still fills in */
.ph-val { display: inline-block; padding: max(var(--space-2xs), 0.4em) max(var(--space-xs), 0.5em); line-height: 1.3; border: 1px dashed var(--color-muted); border-radius: var(--space-2xs); color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Buttons: alle Zustände ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; background: transparent; border-color: var(--color-muted); color: var(--color-muted); }
.btn[aria-busy="true"] { cursor: progress; }
.btn-accent { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn-accent:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn-accent:disabled { background: var(--color-paper-3); color: var(--color-muted); }
.btn-sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.nav .btn-sm { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.nav .btn-sm:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.nav.scrolled { border-bottom-color: var(--color-rule); }
.nav-in { display: flex; align-items: center; gap: var(--space-xl); min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: var(--space-xs); white-space: nowrap; font: 600 var(--text-lg)/1 var(--font-body); color: var(--color-ink); text-decoration: none; letter-spacing: -0.02em; }
.mark { position: relative; display: inline-block; flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--color-ink); }
.mark::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; background: var(--color-paper); }
.logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.links { display: flex; gap: var(--space-lg); margin-left: auto; }
.links a { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.links a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* ---------- Hero ---------- */
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; min-height: calc(100dvh - 72px); padding-block: var(--space-xl); }
.hero-copy { grid-column: 1 / 8; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.trust { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-lg) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); }
.hero-visual { grid-column: 9 / 13; margin: 0; justify-self: center; }
.intro .hero h1, .intro .hero .lead, .intro .hero .ctas, .intro .hero .trust, .intro .hero-visual { visibility: hidden; }

/* der Vorher/Nachher-Vergleich: ein Bildschirm, kein gezeichnetes Gerät */
.phone { width: fit-content; margin-inline: auto; padding: var(--space-xs); border-radius: var(--radius-phone); background: var(--color-ink); box-shadow: var(--shadow-phone); transform: rotate(-2deg); will-change: transform; }
.screen { position: relative; height: min(72dvh, 660px); aspect-ratio: 600 / 1240; overflow: hidden; contain: paint; border-radius: calc(var(--radius-phone) - var(--space-xs)); background: var(--new-ground); }
.phone:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.layer { position: absolute; inset: 0; overflow: hidden; }
.old { background: var(--old-paper); font-family: var(--font-old); color: var(--old-ink); padding: var(--space-2xl) var(--space-sm) var(--space-md); font-size: 0.75rem; line-height: 1.35; }
.old .ob { background: var(--old-banner); color: var(--old-banner-ink); text-align: center; padding: var(--space-xs); font-size: 0.9375rem; font-weight: 700; }
.old .mq { background: var(--old-field); border: 2px inset var(--old-rule); padding: var(--space-2xs); margin: var(--space-xs) 0; white-space: nowrap; overflow: hidden; }
.old p { margin: var(--space-xs) 0; }
.old table { width: 100%; border: 2px outset var(--old-rule); background: var(--old-panel); margin-top: var(--space-xs); font-size: 0.6875rem; }
.old td { border: 1px solid var(--old-rule); padding: var(--space-2xs); }
.old .upd { margin-top: var(--space-sm); }
.old .cnt { margin-top: var(--space-sm); text-align: center; font-family: var(--font-old-mono); background: var(--old-ink); color: var(--old-counter); padding: var(--space-2xs); }
.old a { color: var(--old-link); text-decoration: underline; white-space: nowrap; }
/* Vergleich nur über Verschiebungen: die neue Ebene rückt um --pos nach rechts, ihr Inhalt genauso weit zurück.
   So bleibt alles auf der Grafikkarte, statt bei jedem Bild neu zu zeichnen (wichtig am Handy). */
.new { background: var(--new-ground); transform: translateX(var(--pos, 50%)); will-change: transform; }
.new-in { position: absolute; inset: 0; transform: translateX(calc(-1 * var(--pos, 50%))); will-change: transform; }
.new img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.handle { position: absolute; inset: 0; transform: translateX(var(--pos, 50%)); will-change: transform; pointer-events: none; }
.handle i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--color-paper); }
.handle::after { content: ""; position: absolute; top: 50%; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--color-paper); border: 2px solid var(--color-accent); transform: translate(-50%, -50%); transition: transform var(--dur-short) var(--ease-out); }
.ba.dragging .handle::after { transform: translate(-50%, -50%) scale(1.1); }
.ba { cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; z-index: var(--z-raised); pointer-events: none; }
.ba img, .ba a { -webkit-user-drag: none; user-select: none; }
.old a { pointer-events: none; }
/* Menü der neuen Seite: Klickfläche über dem Hamburger im Bild, Panel im Bildschirm */
.demo-burger { position: absolute; left: calc(92.5% - 22px); top: calc(3.8% - 22px); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.demo-burger:hover { background: color-mix(in oklab, var(--demo-cream) 18%, transparent); }
.demo-burger:active { background: color-mix(in oklab, var(--demo-cream) 28%, transparent); }
.demo-burger:focus-visible { outline: 2px solid var(--demo-cream); outline-offset: -2px; }
.demo-menu { position: absolute; inset: 0; z-index: calc(var(--z-raised) + 1); display: flex; flex-direction: column; justify-content: center; padding: var(--space-2xl) var(--space-lg) var(--space-xl); background: var(--demo-plum); color: var(--demo-cream); cursor: default; animation: demoIn var(--dur-long) var(--ease-out); }
.demo-menu.is-closing { animation: demoOut var(--dur-short) var(--ease-in) forwards; }
.demo-menu ul { margin: 0; padding: 0; list-style: none; }
.demo-menu li + li { margin-top: var(--space-md); }
.demo-menu a { display: inline-block; font: 400 var(--text-xl)/1.15 var(--font-display); color: var(--demo-cream); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.demo-menu a:hover { text-decoration-color: var(--demo-pink); }
.demo-menu a:focus-visible { outline: 2px solid var(--demo-cream); outline-offset: 4px; }
.demo-menu .demo-cta { margin-bottom: var(--space-md); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); background: var(--demo-cream); color: var(--demo-plum); font: 500 var(--text-md)/1.2 var(--font-body); }
.demo-menu .demo-cta:hover { background: var(--demo-pink); }
.demo-menu p { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--demo-pink); }
.demo-close { position: absolute; left: calc(92.5% - 22px); top: calc(3.8% - 22px); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.demo-close::before, .demo-close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 21px; height: 2px; background: var(--demo-cream); transform: rotate(45deg); }
.demo-close::after { transform: rotate(-45deg); }
.demo-close:hover { background: color-mix(in oklab, var(--demo-cream) 14%, transparent); }
.demo-close:focus-visible { outline: 2px solid var(--demo-cream); outline-offset: -2px; }
@keyframes demoIn { from { opacity: 0; transform: translateX(12%); } to { opacity: 1; transform: none; } }
@keyframes demoOut { to { opacity: 0; transform: translateX(12%); } }
.ba-labels { display: flex; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.ba-labels .hint { color: var(--color-ink-2); }

/* ---------- Projekte: die Arbeit als Liste ---------- */
.projects { padding-block: var(--section-gap-s) var(--section-gap-s); }
.projects-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.projects-side { grid-column: 1 / 5; }
.projects-side .lead { margin-top: var(--space-md); }
.seg { position: relative; display: flex; flex-direction: column; margin-top: var(--space-2xl); border-top: 1.5px solid var(--color-ink); }
.seg-pill { position: absolute; z-index: 0; border-radius: var(--radius-inner); background: color-mix(in oklab, var(--color-accent) 10%, var(--color-paper)); pointer-events: none; }
.seg button { position: relative; z-index: 1; display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-md); border: 0; border-bottom: 1px solid var(--color-rule); background: transparent; color: var(--color-ink-2); font: 400 var(--text-title)/1.1 var(--font-display); text-align: left; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.seg button:hover { color: var(--color-ink); }
.seg button[aria-pressed="true"] { color: var(--color-accent-2); }
.seg button:active { color: var(--color-accent-2); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.showcase { grid-column: 6 / 13; }
.shot { margin: 0; }
.shot-stage { display: grid; aspect-ratio: 1200 / 750; border-radius: var(--radius-card); background: var(--color-paper-2); outline: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; overflow: hidden; }
.shot-stage img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity var(--dur-long) var(--ease-out); }
.shot-stage img:not(.on) { opacity: 0; }
.gsap .show-text .fade { animation: none; }
.shot figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.show-text { margin-top: var(--space-xl); min-height: 15rem; }
.show-text .fade { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: start; animation: fadeIn var(--dur-long) var(--ease-out); }
.show-text h3 { grid-column: 1; font-size: var(--text-2xl); }
.show-text .project-k { grid-column: 1; font-size: var(--text-sm); color: var(--color-muted); }
.show-text .badge { display: block; }
.show-text .fade > p:not(.project-k), .show-text .tags, .show-text .btn { grid-column: 2; }
.show-text .fade > p:not(.project-k) { grid-row: 1 / 3; }
.show-text .btn { justify-self: start; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-ink-2); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.head { max-width: 52rem; }
.head .lead { margin-top: var(--space-md); }
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; max-width: none; }
.split-head h2 { grid-column: 1 / 7; }
.split-head .lead { grid-column: 8 / 13; margin: 0; }

/* Weitere Features: dunkles Band nach den Projekten */
.more-band { padding-block: var(--section-gap-s); background: var(--color-paper); color: var(--color-ink-2); }
.more-band h2 { color: var(--color-ink); }
.more-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: center; }
.more-in > div { grid-column: 1 / 8; }
.more-in .lead { margin-top: var(--space-md); }
.more-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.more-list li { padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-size: var(--text-sm); color: var(--color-ink); }
.more-in .btn { grid-column: 9 / 13; justify-self: end; }
.btn-lg { min-height: 52px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
.btn-dark { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn-dark:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }
@media (max-width: 60rem) { .more-in > div, .more-in .btn { grid-column: 1 / -1; justify-self: start; } }

/* ---------- Features-Seite ---------- */
.features-head { padding-block: var(--space-2xl) var(--space-lg); }
.features-head .head { margin-top: var(--space-xl); }
.features-head h1 { max-width: 16ch; font-size: var(--text-display); }
.band.features-page { padding-top: 0; }
.features-page .xpanels { margin-top: 0; }
.features-page .xpanel:first-child { border-top: 0; }
.features-cta { padding-block: var(--section-gap-s); background: var(--color-paper); color: var(--color-ink-2); }
.features-cta h2 { color: var(--color-ink); }
.features-cta-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; }
.features-cta-in h2 { grid-column: 1 / 8; }
.features-cta-in .lead { grid-column: 1 / 8; }
.features-cta-in .btn { grid-column: 9 / 13; grid-row: 1 / 3; justify-self: end; align-self: center; }
@media (max-width: 60rem) { .features-cta-in > * { grid-column: 1 / -1 !important; grid-row: auto !important; justify-self: start !important; } }

.in-use { padding-block: var(--section-gap) var(--section-gap-s); }
.in-use-list { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: 1.5px solid var(--color-ink); }
.in-use-list li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.in-use-list h3 { grid-column: 1 / 4; font-size: var(--text-xl); }
.in-use-list p { grid-column: 4 / 9; }
.in-use-links { grid-column: 9 / 13; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
.in-use-links a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.25em; transition: text-decoration-thickness var(--dur-short) var(--ease-out); }
.in-use-links a:hover { text-decoration-thickness: 2px; }
.in-use-links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.features-page + .in-use { padding-top: var(--section-gap-s); }
@media (max-width: 60rem) { .in-use-list li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); } .in-use-list li > * { grid-column: 1 / -1; } }

/* Klick-Hinweis an den Start-Knöpfen der Demos, verschwindet nach dem ersten Klick */
[data-try] { position: relative; }
[data-try]::before { content: attr(data-try); position: absolute; left: 50%; bottom: calc(100% + var(--space-sm)); z-index: var(--z-raised); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-inner); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-xs)/1.3 var(--font-body); white-space: nowrap; pointer-events: none; transform: translateX(-50%); animation: tryBob 1.6s var(--ease-in-out) infinite; }
[data-try]::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + var(--space-sm) - 5px); z-index: var(--z-raised); width: 10px; height: 10px; background: var(--color-accent); pointer-events: none; transform: translateX(-50%) rotate(45deg); animation: tryBobArrow 1.6s var(--ease-in-out) infinite; }
.bot-sugg[data-try]::before, .bot-sugg[data-try]::after { left: var(--space-xl); }
@keyframes tryBob { 50% { transform: translate(-50%, -4px); } }
@keyframes tryBobArrow { 50% { transform: translate(-50%, -4px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { [data-try]::before, [data-try]::after { animation: none; } }

/* ---------- Bänder ---------- */
.band { background: var(--color-paper-2); color: var(--color-ink-2); padding-block: var(--section-gap-s); }
.band-cream { background: var(--color-ink); color: var(--color-paper); --color-rule: color-mix(in oklab, var(--color-paper) 22%, var(--color-ink)); }
.band-cream h2, .band-cream b { color: var(--color-paper); }
.band-cream .lead, .band-cream p { color: color-mix(in oklab, var(--color-paper) 82%, var(--color-ink)); }

/* ---------- Extras: vier Demos ---------- */
.xpanels { margin-top: var(--space-2xl); }
.xpanel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.x-intro { grid-column: 1 / 5; position: sticky; top: var(--space-3xl); }
.x-intro h3 { font-size: var(--text-2xl); }
.x-intro p { margin-top: var(--space-md); }
.x-demo { grid-column: 6 / 13; min-width: 0; }
.card { background: var(--color-paper); color: var(--color-ink-2); padding: var(--space-lg); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.avatar, .caller-av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-ink); color: var(--color-paper); font-weight: 500; }
.demo-actions { display: flex; gap: var(--space-xs); margin-top: var(--space-md); }

/* WhatsApp */
.chat-head, .bot-head { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: var(--space-sm); margin-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.chat-head small, .bot-head small { display: block; font-size: var(--text-xs); color: var(--color-success); }
.chat { min-height: 220px; display: flex; flex-direction: column; gap: var(--space-xs); }
.chat .who { font-size: var(--text-xs); color: var(--color-muted); text-align: center; }
.bubble { max-width: 85%; padding: var(--space-xs) var(--space-sm); border-radius: var(--space-sm); font-size: var(--text-sm); line-height: 1.45; color: var(--color-ink); }
.bubble.me { align-self: flex-end; background: var(--chat-me); }
.bubble.bot { align-self: flex-start; background: var(--color-paper-3); }
.bubble small { display: block; margin-top: var(--space-3xs); font-size: var(--text-xs); text-align: right; color: var(--color-ink-2); }
.pop { animation: fadeIn var(--dur-short) var(--ease-out); }
.typing { align-self: flex-end; display: flex; gap: var(--space-2xs); padding: var(--space-sm); border-radius: var(--space-sm); background: var(--chat-me); }
.typing.bot-typing { align-self: flex-start; background: var(--color-paper-3); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink); opacity: 0.35; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 1; } }
.menu-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-xs); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.menu h4 { margin: 0; font: 400 var(--text-2xl)/1.1 var(--font-display); }
.live { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); }
.live b { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-xs); border-bottom: 1px solid var(--color-rule); transition: background-color 1.2s var(--ease-out); }
.menu li:last-child { border-bottom: 0; }
.menu li .n { color: var(--color-ink); }
.menu li .n small { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.menu li.hit { background: color-mix(in oklab, var(--color-accent) 14%, transparent); }
.flap { display: inline-flex; gap: var(--space-3xs); font-variant-numeric: tabular-nums; font-weight: 500; perspective: 200px; }
.flap span { display: inline-block; min-width: 0.7em; padding: var(--space-3xs); border-radius: var(--space-2xs); text-align: center; background: var(--color-ink); color: var(--color-paper); line-height: 1.2; }
.flap span.sep { background: none; color: var(--color-ink); min-width: auto; padding-inline: 0; }
.flap span.flip { animation: flip 0.32s var(--ease-in-out); }
@keyframes flip { 50% { transform: rotateX(90deg); } }

/* Posteingang */
.inbox { min-height: 340px; }
.inbox-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-sm); }
.count { font-size: var(--text-xs); font-weight: 500; color: var(--color-ink-2); }
.count.done { color: var(--color-success); }
.pile { display: grid; gap: var(--space-xs); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.col { min-height: 220px; padding-top: var(--space-xs); border-top: 1.5px solid var(--color-ink); }
.col h4 { margin: 0 0 var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.req { padding: var(--space-xs) var(--space-sm); margin-bottom: var(--space-xs); border-radius: var(--radius-inner); background: var(--color-paper-3); font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); transition: transform 0.75s var(--ease-out); }
.pile .req { margin: 0; }
.req b { display: block; color: var(--color-ink); }
.draft { display: none; margin-top: var(--space-md); padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-3); font-size: var(--text-sm); color: var(--color-ink); }
.draft.show { display: block; animation: fadeIn var(--dur-long) var(--ease-out); }
.draft-k { display: block; margin-bottom: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); }

/* Chat-Assistent */
.bot { display: flex; flex-direction: column; }
.bot-log { display: flex; flex-direction: column; gap: var(--space-xs); height: 280px; overflow-y: auto; scroll-behavior: smooth; }
.bot-log .bubble.me { background: var(--chat-me); }
.bot-sugg { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding-block: var(--space-sm); }
.bot-sugg button { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.bot-sugg button:hover { border-color: var(--color-accent); }
.bot-sugg button:active { background: var(--color-paper-2); }
.bot-sugg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bot-form { display: flex; gap: var(--space-xs); }
.bot-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.bot-form input::placeholder { color: var(--color-muted); }
.bot-form input:focus-visible { outline-color: var(--color-focus); }
.bot-send { min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.bot-send:hover { background: var(--color-ink-2); }
.bot-send:active { transform: translateY(1px); }
.bot-send:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bot-send:disabled { opacity: 0.55; cursor: not-allowed; background: var(--color-paper-3); border-color: var(--color-muted); color: var(--color-muted); }

/* Telefonassistent */
.call { display: flex; flex-direction: column; min-height: 420px; }
.call-head { display: flex; align-items: center; gap: var(--space-sm); }
.call-who { flex: 1; min-width: 0; }
.call-who b { display: block; }
.call-who small { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.call-time { font-variant-numeric: tabular-nums; font-size: var(--text-sm); color: var(--color-muted); }
.wave { display: flex; align-items: center; justify-content: center; gap: var(--space-2xs); height: 44px; margin: var(--space-md) 0 var(--space-xs); }
.wave i { width: 4px; height: 6px; border-radius: 2px; background: var(--color-rule-strong); }
.wave.agent i { background: var(--color-accent); }
.wave.caller i { background: var(--color-ink); }
.call-log { display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; max-height: 250px; overflow-y: auto; scroll-behavior: smooth; }
.line { font-size: var(--text-sm); line-height: 1.45; color: var(--color-ink-2); }
.line b { display: block; font-size: var(--text-xs); color: var(--color-muted); }
.line.agent b { color: var(--color-accent-2); }
.call-sum { margin-top: var(--space-md); padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-3); font-size: var(--text-sm); }
.call-sum b { display: block; margin-bottom: var(--space-2xs); }
.call-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-md); }
.sound { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); cursor: pointer; }
.sound input { width: 18px; height: 18px; accent-color: var(--color-accent); }

/* ---------- Rechner (cremefarbenes Band) ---------- */
.calc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.calc-in { grid-column: 1 / 7; }
.calc-in .lead { margin-top: var(--space-md); }
.field { margin-top: var(--space-xl); }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; color: var(--color-paper); }
.field output { font: 400 var(--text-2xl)/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-accent-deep); }
.field input[type="range"] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--color-accent-deep); cursor: pointer; }
.field input[type="range"]:focus-visible { outline: 2px solid var(--color-paper); outline-offset: 2px; }
.result { grid-column: 8 / 13; padding-left: var(--space-xl); border-left: 1px solid var(--color-rule); }
.result-k { font-size: var(--text-sm); color: var(--color-accent-deep); }
.big { display: flex; align-items: baseline; gap: var(--space-sm); margin: var(--space-sm) 0; font: 400 clamp(4.5rem, 9vw, 8rem)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-accent-deep); font-variant-numeric: lining-nums tabular-nums; }
.big .unit { font-size: 0.35em; color: var(--color-paper); }
.bar-meter { height: 6px; margin-top: var(--space-lg); background: var(--color-rule); overflow: hidden; }
.bar-meter i { display: block; height: 100%; width: 20%; background: var(--color-paper); }
.btn-ink { margin-top: var(--space-xl); background: var(--color-paper); border-color: var(--color-paper); color: var(--color-ink); }
.btn-ink:hover { background: var(--color-paper-3); border-color: var(--color-paper-3); }
.band-cream .btn-ink:focus-visible { outline-color: var(--color-accent-deep); }
.btn-ink:focus-visible { outline-color: var(--color-paper); }

/* ---------- Gefunden werden: Text links, Beispiel-Suche rechts ---------- */
.found { padding-block: var(--section-gap) var(--section-gap-l); }
.found-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.found-copy { grid-column: 1 / 7; }
.found-copy .lead { margin-top: var(--space-md); }
.found-steps { margin: var(--space-xl) 0 0; padding: 0; list-style: none; counter-reset: f; border-top: 1.5px solid var(--color-ink); }
.found-steps li { counter-increment: f; display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.found-steps li::before { content: counter(f); grid-row: 1 / 3; font: 400 var(--text-2xl)/1 var(--font-display); color: var(--color-accent-2); }
.found-steps b { font-size: var(--text-lg); font-weight: 500; }
.found-steps span { margin-top: var(--space-2xs); }
.search { grid-column: 8 / 13; display: grid; justify-items: center; margin: 0; }
.search-phone { transform: rotate(2deg); }
.sp-screen { position: relative; display: flex; flex-direction: column; width: min(340px, 74vw); height: 600px; overflow: hidden; border-radius: calc(var(--radius-phone) - var(--space-xs)); background: var(--color-paper); }
.sp-top { padding: var(--space-xl) var(--space-md) 0; border-bottom: 1px solid var(--color-rule); }
.search-bar { display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-muted); }
.search-q { color: var(--color-ink); font-size: var(--text-sm); white-space: nowrap; overflow: hidden; }
.search-q.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: var(--space-3xs); vertical-align: -0.15em; background: var(--color-accent); }
.sp-tabs { display: flex; gap: var(--space-lg); margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); }
.sp-tabs span { padding-bottom: var(--space-xs); }
.sp-tabs .is-on { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-ink); }
.sr-list { display: grid; padding: var(--space-md); }
.sr { grid-area: 1 / 1; align-self: start; padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper); box-shadow: var(--shadow-card); outline: 1px solid var(--color-rule); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.search.is-live[data-state="on"] .sr-off, .search.is-live[data-state="off"] .sr-on { opacity: 0; transform: translateY(8px); pointer-events: none; }
.sr-url { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-ink-2); }
.sr-fav { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--color-ink); color: var(--color-paper); font: 500 0.6875rem/1 var(--font-display); }
.sr-name { display: block; margin-top: var(--space-xs); font: 400 var(--text-lg)/1.25 var(--font-display); color: var(--color-ink); }
a.sr-name { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; }
a.sr-name:hover { text-decoration-color: var(--color-accent); }
a.sr-name:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.sr-meta { margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); }
.sr-miss { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-error); }
.sr-text { margin-top: var(--space-xs); font-size: var(--text-xs); line-height: 1.5; }
.sr-links { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-accent-2); }
.sr-acts { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.sr-acts span { padding: var(--space-2xs) var(--space-sm); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-size: var(--text-xs); color: var(--color-ink-2); }
.sr-acts .is-main { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.sr-off .sr-name { color: var(--color-ink-2); }
.sr-more { display: grid; gap: var(--space-sm); padding: var(--space-xs) var(--space-xl); }
.sr-more i { display: block; height: 8px; border-radius: var(--space-2xs); background: var(--color-paper-3); }
.sr-more i:nth-child(3n + 1) { width: 45%; height: 10px; margin-top: var(--space-md); }
.sr-more i:nth-child(3n + 2) { width: 90%; }
.sr-more i:nth-child(3n) { width: 70%; }
.search-sw { display: flex; gap: var(--space-xs); margin-top: var(--space-xl); }
.search-sw button { white-space: nowrap; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.search-sw button:hover { border-color: var(--color-muted); }
.search-sw button:active { background: var(--color-paper-2); }
.search-sw button[aria-pressed="true"] { border-color: var(--color-accent); background: color-mix(in oklab, var(--color-accent) 10%, var(--color-paper)); color: var(--color-accent-2); }
.search-sw button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.search figcaption { margin-top: var(--space-md); max-width: 32ch; font-size: var(--text-xs); text-align: center; color: var(--color-muted); }
.search-sw [data-try]::before { bottom: auto; top: calc(100% + var(--space-sm)); }
.search-sw [data-try]::after { bottom: auto; top: calc(100% + var(--space-sm) - 5px); }
@media (max-width: 60rem) { .search-phone { transform: none; } .sp-screen { height: 540px; width: min(300px, 74vw); } }

/* ---------- Preise und Ablauf ---------- */
.pricing { padding-block: var(--section-gap-l) var(--section-gap); }
.pricing-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.pricing-head > div:first-child { grid-column: 1 / 7; }
.pricing-head .lead { margin-top: var(--space-md); }
.ablauf { grid-column: 8 / 13; }
.ablauf h3 { font-size: var(--text-lg); }
.steps { margin: var(--space-md) 0 0; padding: 0; list-style: none; counter-reset: s; }
.step { counter-increment: s; display: grid; grid-template-columns: var(--space-xl) minmax(0, 1fr); padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.step::before { content: counter(s); grid-row: 1 / 3; font: 400 var(--text-xl)/1 var(--font-display); color: var(--color-accent); }
.step b { display: block; font-size: var(--text-md); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-2xl); border-top: 1.5px solid var(--color-ink); }
.plan { display: flex; flex-direction: column; padding: var(--space-xl) var(--space-xl) 0; border-left: 1px solid var(--color-rule); }
.plan:first-child { padding-left: 0; border-left: 0; }
.plan:last-child { padding-right: 0; }
.plan h3 { font-size: var(--text-2xl); }
.plan-who { margin-top: var(--space-xs); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); font: 400 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.plan-price small { font: 400 var(--text-sm)/1 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.plan-month { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.check { flex: 1; margin: var(--space-lg) 0; padding: 0; list-style: none; }
.check li { padding-block: var(--space-xs); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.plan .btn { align-self: flex-start; }
/* ein Angebot: links Preis und Aktion, rechts was dabei ist */
.plans:has(> .plan-solo:only-child) { grid-template-columns: minmax(0, 1fr); }
.plan-solo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); padding: var(--space-xl) 0 0; border-left: 0; }
.plan-solo > :not(.check) { grid-column: 1 / 7; }
.plan-solo .check { grid-column: 8 / 13; grid-row: 1 / span 5; margin: 0; }
.plan-solo .btn { margin-top: var(--space-xl); }

/* ---------- FAQ ---------- */
.faq-sec { padding-block: var(--section-gap-s) var(--section-gap); }
.faq-sec { border-top: 1px solid var(--color-muted); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.faq-grid > div:first-child { grid-column: 1 / 5; }
.faq-grid .lead { margin-top: var(--space-md); }
.faq { grid-column: 6 / 13; }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq details:first-child { border-top: 1px solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); font: 400 var(--text-title)/1.25 var(--font-display); color: var(--color-ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 var(--text-xl)/1 var(--font-body); color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-accent-2); }
.step::before { color: var(--color-accent-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { padding-bottom: var(--space-lg); max-width: 60ch; }

/* ---------- Kontakt und Team ---------- */
.contact-sec { padding-block: var(--section-gap) var(--section-gap-s); background: var(--color-paper); color: var(--color-ink-2); }
.contact-sec h2, .contact-sec h3, .contact-sec b { color: var(--color-ink); }
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.contact-copy { grid-column: 1 / 6; }
.contact-copy .lead { margin-top: var(--space-md); }
.direct { margin-top: var(--space-xl); }
.direct p { font-size: var(--text-sm); color: var(--color-muted); }
.direct-btns { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xs); }
#form, .ok { grid-column: 7 / 13; }
#form { display: grid; gap: var(--space-md); }
#form label { display: grid; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
#form input { min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--space-sm); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; outline: 2px solid transparent; outline-offset: -3px; }
#form input::placeholder { color: var(--color-muted); }
#form input:focus-visible { outline-color: var(--color-focus); }
#form .btn { justify-self: start; margin-top: var(--space-xs); min-height: 52px; }
.ok { align-self: center; padding: var(--space-lg); border-top: 1.5px solid var(--color-ink); color: var(--color-ink); }

/* ---------- Rechtstexte (impressum.html, datenschutz.html) ---------- */
.legal { padding-block: var(--section-gap-s) var(--section-gap); }
.legal-in { max-width: 40rem; }
.legal h1 { font-size: var(--text-display-s); }
.legal .lead { margin-top: var(--space-md); }
.legal h2 { margin-top: var(--space-2xl); font-size: var(--text-2xl); }
.legal h3 { margin-top: var(--space-lg); font: 500 var(--text-md)/1.4 var(--font-body); letter-spacing: 0; }
.legal p, .legal ul, .legal address { margin-top: var(--space-sm); max-width: 65ch; font-style: normal; }
.legal ul { padding-left: var(--space-lg); }
.legal li + li { margin-top: var(--space-2xs); }
.legal a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.legal a:hover { text-decoration-thickness: 2px; }
.legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.legal .note { margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.back { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.back:hover { color: var(--color-ink); }
.back:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* ---------- Footer ---------- */
.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: 1px solid var(--color-muted); }
.foot-line { max-width: 18ch; font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.foot-row nav { display: flex; gap: var(--space-lg); }
.foot-row nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration-color: var(--color-accent); }
.foot-row nav a:hover { color: var(--color-ink); }
.foot-row nav a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- Unter 60rem: alles in Lesereihenfolge ---------- */
@media (max-width: 60rem) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero-grid, .projects-grid, .split-head, .xpanel, .calc, .pricing-head, .faq-grid, .contact, .found-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .hero-grid > *, .projects-grid > *, .split-head > *, .xpanel > *, .calc > *, .pricing-head > *, .faq-grid > *, .contact > *, .found-grid > * { grid-column: 1 / -1 !important; }
  .hero-grid { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  /* am Handy nach Breite statt Bildschirmhöhe: die Adressleiste ändert die Höhe beim Scrollen */
  .screen { height: auto; width: min(64vw, 270px); }
  .phone { transform: none; box-shadow: var(--shadow-card); }
  .x-intro { position: static; }
  /* am Handy: alle Projekte als umbrechende Chips statt einer Wisch-Zeile */
  .seg { flex-direction: row; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); border-top: 0; }
  .seg-pill { border-radius: var(--radius-pill); }
  .seg button { flex: none; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font: 500 var(--text-sm)/1 var(--font-body); }
  .seg button[aria-pressed="true"] { border-color: var(--color-accent); }
  .show-text .fade { grid-template-columns: minmax(0, 1fr); }
  .show-text .fade > * { grid-column: 1 !important; grid-row: auto !important; }
  .result { padding-left: 0; padding-top: var(--space-xl); border-left: 0; border-top: 1px solid var(--color-rule); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan, .plan:first-child, .plan:last-child { padding: var(--space-xl) 0; border-left: 0; border-top: 1px solid var(--color-rule); }
  .plan-solo { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }
  .plan-solo > *, .plan-solo .check { grid-column: 1 / -1; grid-row: auto; }
  .plan-solo .check { margin-top: var(--space-lg); }
  .plan:first-child { border-top: 0; }
}
@media (max-width: 40rem) {
  .search-sw button { padding: 0 var(--space-sm); }
  .nav-in { gap: var(--space-sm); }
  .nav .logo { font-size: var(--text-md); }
  .nav .btn-sm { padding: 0 var(--space-sm); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .col { min-height: 0; }
  .ctas .btn { flex: 1 1 100%; }
  .call-actions { flex-wrap: wrap; }
}
