/* ==========================================================================
   realonaut.com – Startseite, Entwurf 1 (29.09.2026)
   Setzt tokens.css + komponenten.css voraus.
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Entwurfs-Hinweise (fliegen beim Bau raus) */
.draft-note {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: var(--fs-caption); font-weight: 600; color: var(--ink-muted);
  border: var(--stroke) dotted var(--ink-muted); border-radius: var(--r-pill); padding: 3px 10px;
}
.draft-bar {
  background: var(--surface); color: var(--ink-muted); border-bottom: var(--dotted); font-size: var(--fs-caption); font-weight: 600; text-align: center;
  padding: 6px var(--gutter);
}
.draft-bar button { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: inherit; padding: 0 4px; }

/* ---------- Kopf ---------- */
.site-head {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.site-head.is-scrolled { border-bottom: var(--dotted); }
.logo-light { display: none; }

.menu-panel {
  display: none;
  padding: var(--sp-2) var(--gutter) var(--sp-6);
  border-top: var(--dotted);
}
.menu-panel.is-open { display: grid; gap: var(--sp-1); }
.menu-panel a:not(.btn) {
  display: flex; align-items: center; min-height: 56px; color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  font-size: 2.25rem; line-height: 1.1; border-bottom: var(--dotted);
}
.menu-panel .btn { margin-top: var(--sp-4); }
@media (min-width: 1024px) { .menu-panel { display: none !important; } }

/* ---------- Sektionen allgemein ---------- */
.sec { padding-block: var(--section-gap); }
.sec-tight { padding-block: calc(var(--section-gap) * 0.5); }
.stack { display: grid; gap: var(--sp-5); }
.stack-sm { display: grid; gap: var(--sp-3); }
.h2 + .lead, .h2 + .body { margin-top: var(--sp-2); }

/* ---------- 01 Hero: Halftone-Feld mit ausgeschnittenen Ecken ---------- */
.hero { padding-top: var(--sp-3); padding-bottom: var(--sp-5); }
.hero-field {
  --notch-r: var(--r-card);
  position: relative;
  height: clamp(560px, calc(100dvh - 150px), 780px);
}
.field-art {
  position: absolute; inset: 0;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--surface);
}
.field-art canvas { display: block; width: 100%; height: 100%; }

.notch { position: absolute; background: var(--bg); z-index: 1; }
.notch::before, .notch::after {
  content: ""; position: absolute; width: var(--notch-r); height: var(--notch-r); pointer-events: none;
}
/* oben links: Überschrift */
.notch-tl { top: 0; left: 0; padding: 0 clamp(24px, 3vw, 44px) clamp(20px, 2.5vw, 36px) 0; border-bottom-right-radius: var(--notch-r); }
.notch-tl::before { top: 0; left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch-r) - 0.5px), var(--bg) var(--notch-r)); }
.notch-tl::after { top: 100%; left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch-r) - 0.5px), var(--bg) var(--notch-r)); }
.notch-tl .h-hero { font-size: clamp(3rem, 1.2rem + 5vw, 6.25rem); }
.notch-tl .h-hero span { display: block; white-space: nowrap; }

/* unten rechts: Text und Buttons */
.notch-br {
  right: 0; bottom: 0; width: min(500px, 42%);
  padding: clamp(20px, 2.5vw, 32px) 0 0 clamp(20px, 2.5vw, 32px);
  border-top-left-radius: var(--notch-r);
  display: grid; gap: var(--sp-5);
}
.notch-br::before { bottom: 100%; right: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--notch-r) - 0.5px), var(--bg) var(--notch-r)); }
.notch-br::after { bottom: 0; right: 100%; background: radial-gradient(circle at 0 0, transparent calc(var(--notch-r) - 0.5px), var(--bg) var(--notch-r)); }
.notch-br .lead { font-size: var(--fs-body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

@media (max-width: 900px) {
  .hero-field { height: auto; display: grid; gap: var(--sp-5); }
  .field-art { position: relative; inset: auto; height: clamp(220px, 60vw, 360px); order: 2; }
  .notch { position: static; background: none; padding: 0; width: auto; border-radius: 0; }
  .notch::before, .notch::after { display: none; }
  .notch-tl { order: 1; padding-top: var(--sp-5); }
  .notch-br { order: 3; }
  .notch-tl .h-hero { font-size: clamp(2.5rem, 1rem + 6.4vw, 4.5rem); }
}
@media (max-width: 330px) { .notch-tl .h-hero span { white-space: normal; } }

/* ---------- 02 Namen ---------- */
.names { padding-block: clamp(40px, 5vw, 72px) 0; }
.names-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--sp-6); align-items: baseline; }
.names-label { font-size: var(--fs-small); color: var(--ink-muted); max-width: 22ch; }
.names ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) 0; margin: 0; }
.names li { font-weight: 600; font-size: 1.0625rem; padding-inline: 0 var(--sp-5); display: inline-flex; align-items: center; gap: var(--sp-5); }
.names li::before { content: ""; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--line-soft); }
@media (max-width: 900px) { .names-row { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ---------- 03 Wiedererkennung ---------- */
.recognition .h2 { max-width: 24ch; }
.pains { margin-top: var(--sp-7); display: grid; gap: 0; max-width: 980px; margin-left: auto; }
.pain {
  display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); align-items: baseline;
  padding-block: var(--sp-5); border-top: var(--dotted);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.35; font-weight: 500; text-wrap: pretty;
}
.pain .punkt { font-size: 1.1em; }
.pain.is-bridge { font-weight: 600; }
@media (max-width: 640px) { .pain { grid-template-columns: 32px 1fr; } }

/* ---------- 04 So arbeite ich ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.method-intro { position: sticky; top: 112px; display: grid; gap: var(--sp-5); }
.legend { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
ol.process { margin: 0; list-style: none; background: var(--surface); border-radius: var(--r-card); padding: clamp(8px, 2vw, 16px) clamp(20px, 3vw, 40px); }
.pstep {
  display: grid; grid-template-columns: 64px 1fr auto; gap: var(--sp-4); align-items: center;
  padding-block: var(--sp-5); border-bottom: var(--dotted);
}
.pstep:last-child { border-bottom: 0; }
.pstep .n { font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch); font-size: 2.75rem; line-height: 0.9; }
.pstep h3 { font-size: 1.1875rem; font-weight: 650; line-height: 1.3; }
.pstep p { font-size: var(--fs-small); color: var(--ink-muted); margin-top: 2px; }
.stance {
  margin-top: var(--sp-4);
  background: var(--accent); color: var(--on-accent); border-radius: var(--r-card);
  padding: clamp(24px, 3.5vw, 48px); display: grid; gap: var(--sp-4);
}
.stance .h3 { max-width: 20ch; }
.stance p:not(.h3) { max-width: 58ch; font-size: var(--fs-lead); line-height: 1.5; }
.stance p.stance-kern { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.25; max-width: 24ch; }
@media (max-width: 960px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-intro { position: static; }
}
@media (max-width: 560px) {
  .pstep { grid-template-columns: 40px 1fr; }
  .pstep .tag { grid-column: 2; justify-self: start; }
  .pstep .n { font-size: 2.25rem; }
}

/* ---------- 05 Strategie- und Fördercheck ---------- */
.check-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-3); align-items: stretch; }
.check-copy { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 4vw, 56px); display: grid; gap: var(--sp-5); align-content: start; }
.check-copy .h2 { max-width: 16ch; }
.check-copy .punkt-list { font-size: var(--fs-lead); line-height: 1.45; gap: var(--sp-4); max-width: 56ch; }
.owned {
  background: var(--inverse); color: var(--on-inverse); border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 56px); display: grid; align-content: space-between; gap: var(--sp-7);
}
.owned .h2 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem); }
.owned p:not(.h2) { font-size: var(--fs-small); opacity: 0.78; max-width: 38ch; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr; } }

/* ---------- 06 Leistungen ---------- */
.services-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-3); }
.svc {
  background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: var(--sp-4); color: inherit; text-decoration: none;
  transition: background-color var(--t-base) var(--ease);
}
.svc:hover { background: var(--surface-2); }
.svc-web { grid-column: span 7; grid-row: span 2; }
.svc-proc { grid-column: span 5; }
.svc-ki { grid-column: span 5; }
.svc .h3 { max-width: 16ch; }
.svc .fit { display: grid; gap: var(--sp-2); font-size: var(--fs-small); margin-top: auto; padding-top: var(--sp-4); border-top: var(--dotted); }
.svc .fit b { font-weight: 700; }
.svc .more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.svc:hover .more { text-decoration-color: var(--ink); }
.svc-shots { position: relative; aspect-ratio: 16 / 11; margin-block: var(--sp-2); }
.svc-shots img {
  position: absolute; width: 78%; border-radius: var(--r-media); box-shadow: 0 0 0 var(--stroke) var(--line-soft);
  background: var(--surface-2);
}
.svc-shots img:first-child { left: 0; top: 0; }
.svc-shots img:last-child { right: 0; bottom: 0; }
.svc-shots figcaption { position: absolute; left: 0; bottom: 0; font-size: var(--fs-caption); color: var(--ink-muted); max-width: 20%; line-height: 1.3; }
.founders { margin-top: var(--sp-5); font-size: var(--fs-body); }
@media (max-width: 900px) {
  .svc-web, .svc-proc, .svc-ki { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- 07 Stimmen ---------- */
.voice-single { max-width: 900px; margin-left: auto; display: grid; gap: var(--sp-4); padding-top: var(--sp-5); border-top: var(--dotted); }
.voice-single blockquote { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.3; font-weight: 500; color: var(--ink-muted); text-wrap: pretty; }
.voice-single figcaption { font-size: var(--fs-small); }

/* ---------- 09 Förderungen ---------- */
.funding {
  background: var(--accent); color: var(--on-accent); border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-6); align-items: end;
}
.funding .h2 { max-width: 24ch; }
.funding p { max-width: 56ch; font-size: var(--fs-lead); line-height: 1.5; margin-top: var(--sp-4); }
.funding .btn { --btn-bg: #070607; --btn-ink: #f7f6f2; --btn-border: #070607; }
.funding .btn:hover { --btn-bg: #f7f6f2; --btn-ink: #070607; --btn-border: #f7f6f2; }
.funding small { display: block; margin-top: var(--sp-4); font-size: var(--fs-caption); opacity: 0.8; }
@media (max-width: 800px) { .funding { grid-template-columns: 1fr; align-items: start; } }

/* ---------- 10 Team ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-6) clamp(32px, 5vw, 80px); align-items: start; }
.about-team { grid-column: 1 / -1; margin: 0 0 var(--sp-4); }
.about-team img { width: 100%; height: auto; }
.about-copy { display: contents; }
.about-copy .h2 { grid-column: 1; }
.about-copy .body { grid-column: 2; font-size: var(--fs-lead); line-height: 1.55; max-width: 58ch; }
.about-copy .team, .about-more { grid-column: 2; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-6); max-width: 58ch; }
.team li { display: grid; gap: 2px; padding-block: var(--sp-4); border-top: var(--dotted); font-size: var(--fs-small); }
.team b { font-weight: 650; font-size: var(--fs-body); }
.team span { color: var(--ink-muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-copy .h2, .about-copy .body, .about-copy .team, .about-more { grid-column: 1; }
  .about-team { margin-inline: calc(var(--gutter) * -0.5); }
}
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* ---------- 11 FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid > header { position: sticky; top: 112px; display: grid; gap: var(--sp-4); }
.faq { border-top: var(--dotted); }
.faq details { border-bottom: var(--dotted); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 32px; gap: var(--sp-4); align-items: center;
  padding-block: var(--sp-5); font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%;
  border: var(--stroke) solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform var(--t-base) var(--ease), background-color var(--t-fast) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); }
.faq summary:hover::after { background-color: var(--surface); }
.faq details[open] summary:hover::after { background-color: var(--accent); }
.faq .answer { padding-bottom: var(--sp-5); max-width: 62ch; display: grid; gap: var(--sp-3); color: var(--ink); }
.faq .answer p { color: var(--ink-muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > header { position: static; } }

/* ---------- 12 Termin ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-3); align-items: stretch; }
.booking-copy { padding: clamp(8px, 2vw, 24px) 0; display: grid; gap: var(--sp-5); align-content: start; }
.booking-copy .h2 { max-width: 14ch; }
.not-list { display: grid; gap: var(--sp-2); padding-top: var(--sp-4); border-top: var(--dotted); font-size: var(--fs-small); }
.booking-tool {
  background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px);
  display: grid; gap: var(--sp-5); align-content: start;
}
.days { display: grid; gap: var(--sp-5); }
.day { display: grid; gap: var(--sp-2); }
.day-name { font-size: var(--fs-small); font-weight: 700; }
.booking-confirm { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; padding-top: var(--sp-5); border-top: var(--dotted); }
.booking-confirm output { font-size: var(--fs-small); font-weight: 600; }
.alt-contact { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-small); }
.alt-contact a { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

/* ---------- 13 Footer ---------- */
.site-foot { padding-block: var(--sp-8) calc(var(--sp-8) + 72px); border-top: var(--dotted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr)); gap: var(--sp-6); }
.foot-grid .logo { width: 240px; }
.foot-grid h2 { font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--sp-3); }
.foot-grid address, .foot-grid ul { font-style: normal; font-size: var(--fs-small); line-height: 1.7; list-style: none; padding: 0; margin: 0; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.foot-services { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); align-items: center; margin-top: var(--sp-5); font-size: var(--fs-small); font-weight: 600; }
.foot-legal { margin-top: var(--sp-7); font-size: var(--fs-caption); color: var(--ink-muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 768px) { .site-foot { padding-bottom: var(--sp-8); } }

/* Leistungs-Kachel „Websites“: Projekt-Bühne statt überlappender Screenshots */
.svc .svc-stage { margin-block: var(--sp-2); aspect-ratio: 16 / 10; }

/* Handy-Menü: Gruppe „Leistungen“ mit drei Unterseiten */
.menu-panel .menu-group { font-size: var(--fs-small); color: var(--ink-muted); padding-top: var(--sp-4); }
.menu-panel a.menu-sub:not(.btn) { font-size: 1.75rem; min-height: 48px; }
.menu-panel a[aria-current="page"]:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
