/* Selbst gehostete Schriften (SIL Open Font License) – erzeugt aus Google Fonts */
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-sans-italic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-sans-normal-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/instrument-sans-normal-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/instrument-sans-normal-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/instrument-sans-normal-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-normal-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Konrad Sigl IT – Stylesheet v4
   Basis: Visuelle Sprache aus v1_2 (Weiss, Schwarz, Orange, Grain, Netzwerk),
   Struktur/SEO-Bausteine aus v2 (Leistungsverzeichnis, FAQ, Footer).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --paper: #f5f4f0;
  --paper-2: #edebe5;
  --ink: #111111;
  --ink-2: #3b3b3b;
  --muted: #6b6b6b;
  --line: #e4e2dd;
  --line-2: #cfccc4;
  --accent: #ff4b19;
  --accent-deep: #d3501f;
  --green: #2e9f48;
  --on-dark: rgba(255, 255, 255, 0.76);
  --on-dark-2: rgba(255, 255, 255, 0.5);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shell: 1160px;
  --gutter: clamp(1rem, 3vw, 1.75rem);
  --header-h: 76px;
  --radius: 12px;
  --radius-lg: 18px;
  --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.dot { color: var(--accent); }
.shell { max-width: var(--shell); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; white-space: nowrap; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.045;
  background-image: radial-gradient(rgba(0, 0, 0, 0.9) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
}

.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--ink);
  font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.2;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn:active { transform: translateY(1px); }

/* ── Kicker ──────────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.kicker .idx { color: var(--accent); font-variant-numeric: tabular-nums; }
.kicker--dark { color: var(--on-dark-2); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(17, 17, 17, 0.06); }
.header-bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; list-style: none; gap: 2px; }
.nav-item { display: flex; align-items: center; }
.nav-item--mega { height: var(--header-h); }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
  font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; background: none; border: 0; border-radius: 999px; cursor: pointer; line-height: 1.2;
}
.nav-link:hover, .nav-link[aria-current], .nav-item.open .nav-link { color: var(--ink); background: var(--paper); }
.nav-toggle::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.18s;
}
.nav-item.open .nav-toggle::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-cta { margin-left: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 6px 10px; margin-left: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; line-height: 1; transition: color 0.15s, border-color 0.15s;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }
.lang-switch--mobile { margin: 10px 0 0; padding: 10px 14px; font-size: 14px; }
.lang-switch--footer { margin-left: 0; padding: 4px 10px; font-size: 12px; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; display: none;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.1);
}
.mega.open { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 34px 0 30px; }
.mega-col h4 { display: flex; gap: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; }
.mega-col h4 .idx { color: var(--accent); }
.mega-col a { display: block; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mega-col a small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.mega-col a:hover, .mega-col a[aria-current] { color: var(--accent); }
.mega-foot { grid-column: 1 / -1; display: flex; gap: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.mega-foot a { text-decoration: none; color: var(--ink-2); }
.mega-foot a:hover { color: var(--accent); }

.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100dvh - var(--header-h)); overflow-y: auto; z-index: 99;
  background: #fff; padding: 6px var(--gutter) 48px;
}
.mobile-nav.open { display: block; }
.m-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.m-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); margin-bottom: 6px; }
.m-group a { display: block; padding: 8px 0; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; }
.m-group a[aria-current] { color: var(--accent); }
.m-group--pages a { font-size: 19px; }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
body.nav-open { overflow: hidden; }

/* ── Hero (Startseite) ──────────────────────────────────── */
.home-stage { position: relative; isolation: isolate; }
.hero-home {
  position: relative; display: grid; align-items: center;
  min-height: calc(min(88vh, 60rem) - var(--header-h));
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(3rem, 7vh, 5rem);
}
.hero-network { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-network-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-network-label {
  position: absolute; display: none; align-items: center; gap: 0.45rem;
  padding: 0.36rem 0.7rem 0.36rem 0.55rem;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2);
  text-decoration: none; white-space: nowrap; pointer-events: auto;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.05);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hero-network-label .node-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: 0 0 auto; }
.hero-network-label[data-flow="ai"] .node-dot, .hero-network-label[data-flow="webshop"] .node-dot, .hero-network-label[data-flow="seo"] .node-dot { background: var(--accent); }
.hero-network-label[data-flow="security"] .node-dot, .hero-network-label[data-flow="backup"] .node-dot, .hero-network-label[data-flow="support"] .node-dot { background: var(--green); }
.hero-network-label:hover { color: var(--accent); border-color: var(--accent); box-shadow: 0 10px 24px rgba(255, 75, 25, 0.14); }
@media (min-width: 901px) { .hero-network-label { display: inline-flex; } }

.hero-home .shell { position: relative; z-index: 1; width: 100%; }
.hero-home-main { max-width: 46rem; display: grid; gap: 1.5rem; }
.hero-home h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.5rem; }

/* ── Sektionen ──────────────────────────────────────────── */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 0.75rem; }
.section-head h2, .contact h2, .cta-light h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head p:not(.kicker) { color: var(--ink-2); font-size: 1.06rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { display: grid; gap: 0.75rem; }

/* ── Leistungsgruppen (Startseite) ──────────────────────── */
.svc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.svc-group { background: var(--paper); border-radius: var(--radius-lg); padding: 1.9rem 1.9rem 1.2rem; display: grid; gap: 1.1rem; align-content: start; }
.svc-group-head p:not(.kicker) { color: var(--ink-2); font-size: 0.98rem; margin-top: 0.55rem; max-width: 46ch; }
.svc-links { list-style: none; }
.svc-link {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center;
  padding: 0.8rem 0; border-top: 1px solid var(--line-2); text-decoration: none; color: inherit;
}
.svc-link .ico { width: 24px; height: 24px; color: var(--ink); }
.svc-link strong { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.svc-link .sub { display: block; font-size: 0.86rem; color: var(--muted); }
.svc-link .arrow { color: var(--muted); transition: transform 0.18s, color 0.18s; }
.svc-link:hover strong { color: var(--accent); }
.svc-link:hover .arrow { transform: translateX(4px); color: var(--accent); }

/* ── Grundsätze ─────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; }
.principles li { border-top: 1px solid var(--line-2); padding-top: 1.1rem; }
.principles .num { font-family: var(--font-serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.principles strong { display: block; font-size: 1.08rem; line-height: 1.3; margin: 0.8rem 0 0.45rem; }
.principles p { color: var(--ink-2); font-size: 0.95rem; }

/* ── Referenzen ─────────────────────────────────────────── */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ref-card { display: block; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.22s, box-shadow 0.22s; }
.ref-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(17, 17, 17, 0.09); }
.ref-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; filter: saturate(0.94); }
.ref-media img.contain { object-fit: contain; padding: 1.6rem; }
.ref-card:hover .ref-media img { transform: scale(1.03); }
.ref-site { position: absolute; left: 0.8rem; bottom: 0.8rem; background: rgba(17, 17, 17, 0.8); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.3rem 0.6rem; border-radius: 999px; }
.ref-body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: 0.5rem; }
.ref-meta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ref-body h3 { font-size: 1.2rem; }
.ref-body p:not(.ref-meta) { color: var(--ink-2); font-size: 0.95rem; }

/* ── Über / Portrait ────────────────────────────────────── */
.about-teaser { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.about-text { display: grid; gap: 1rem; }
.about-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.about-text p:not(.kicker) { color: var(--ink-2); max-width: 52ch; }
.portrait-wrap { display: grid; justify-items: center; gap: 0.6rem; }
.portrait { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-top: 3.2rem; }
.portrait::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
.portrait-clip {
  position: absolute; left: 0; right: 0; bottom: 0; height: 132%; overflow: hidden;
  border-bottom-left-radius: 50% 37.9%; border-bottom-right-radius: 50% 37.9%;
}
.portrait-clip img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 86%; height: auto; }
.photo-credit { font-size: 0.78rem; color: var(--muted); }
.photo-credit a { color: var(--muted); }
.photo-credit a:hover { color: var(--accent); }

/* «E-Mail anzeigen» – Adresse wird erst per Klick vom Server geholt */
.mail-reveal:not(.btn) { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 1px solid var(--line-2); line-height: inherit; }
.mail-reveal:not(.btn):hover { color: var(--accent); border-color: var(--accent); }
.mail-reveal:disabled { cursor: wait; opacity: 0.7; }
.mail-reveal-error { color: #b3261e; }
.contact-details .mail-reveal:not(.btn), .contact-details .mail-revealed { color: #fff; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.contact-details .mail-reveal:not(.btn):hover, .contact-details .mail-revealed:hover { border-color: var(--accent); }
.footer-brand .mail-reveal:not(.btn) { color: var(--on-dark); border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .mail-reveal:not(.btn):hover { color: #fff; }
.legal-wrap .mail-reveal:not(.btn) { color: var(--ink); }

.bio-text { max-width: 70ch; display: grid; gap: 1.1rem; }
.bio-text p { color: var(--ink-2); font-size: 1.06rem; line-height: 1.7; }

.office { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.office img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.office figcaption { padding: 0.8rem 1.1rem; font-size: 0.86rem; color: var(--muted); }
.office figcaption a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.office figcaption a:hover { color: var(--accent); border-color: var(--accent); }

/* ── Kontakt (dunkel) ───────────────────────────────────── */
.contact { background: var(--ink); color: var(--on-dark); padding: clamp(4rem, 9vw, 6.5rem) 0; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-intro { display: grid; gap: 1.1rem; }
.contact h2 { color: #fff; }
.contact .lede { color: var(--on-dark); max-width: 42ch; }
.contact-details { display: grid; gap: 1rem; margin-top: 1rem; }
.contact-details dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-dark-2); margin-bottom: 0.15rem; }
.contact-details dd { font-size: 1.02rem; color: #fff; }
.contact-details a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 1px; }
.contact-details a:hover { border-color: var(--accent); }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.78rem 0.9rem;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.turnstile { margin-top: 1rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.form-note { font-size: 0.8rem; color: var(--muted); max-width: 32ch; }
.form-note a { color: var(--ink); }
.form-status { margin-top: 1rem; font-size: 0.95rem; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1e7a3a; }
.form-status.err { color: #b3261e; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.cta-light { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
.cta-light > div:first-child { display: grid; gap: 0.75rem; }
.cta-light p:not(.kicker) { color: var(--ink-2); max-width: 46ch; }
.cta-light .hero-actions { justify-content: flex-end; padding-top: 0; }

/* ── Unterseiten ────────────────────────────────────────── */
.page-hero { padding: 1.1rem 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero--simple .kicker { margin-bottom: 0.8rem; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 0.5rem; color: var(--line-2); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -0.03em; max-width: 18ch; margin: 0.9rem 0 1.1rem; }
.page-hero .lede { margin-bottom: 0.5rem; }
.page-hero .hero-note { margin-top: 1.1rem; max-width: 62ch; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }
.page-hero .hero-actions { padding-top: 0.9rem; }
.visual-card { background: #f9f4f0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.visual-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-hero-grid--about { align-items: end; }
.page-hero-grid--about .portrait { margin-top: 2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.split--4 { grid-template-columns: repeat(2, 1fr); }
.split > div { border-top: 1px solid var(--line-2); padding-top: 1.3rem; display: grid; gap: 0.6rem; align-content: start; }
.split h3 { font-size: 1.3rem; margin-top: 0.2rem; }
.split p:not(.kicker) { color: var(--ink-2); max-width: 52ch; }
.split a { color: var(--ink); }

.svc-list { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 0.5rem 3rem; padding: 1.6rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc h3 { font-size: 1.12rem; }
.svc-body p { color: var(--ink-2); max-width: 64ch; }
.svc-meta { margin-top: 0.5rem; font-size: 0.84rem; color: var(--muted); line-height: 1.8; }
.svc-meta b { color: var(--line-2); font-weight: 400; margin: 0 0.45rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.fact { border-left: 2px solid var(--accent); padding: 0.2rem 0 0.2rem 1.4rem; }
.fact-label { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.fact p:not(.fact-label) { font-size: 0.95rem; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.step { border-top: 1px solid var(--line-2); padding-top: 1.1rem; }
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--accent); }
.step h3 { font-size: 1.08rem; margin: 0.8rem 0 0.45rem; }
.step p:not(.step-num) { font-size: 0.95rem; color: var(--ink-2); }

.faq-list { max-width: 800px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.15rem 2.8rem 1.15rem 0; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform 0.18s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq-body { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 70ch; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.related a { display: block; border-top: 1px solid var(--line-2); padding-top: 1.1rem; color: inherit; text-decoration: none; }
.related h3 { font-size: 1.08rem; }
.related h3 span { display: inline-block; transition: transform 0.18s; }
.related a:hover h3 { color: var(--accent); }
.related a:hover h3 span { transform: translateX(4px); }
.related p { font-size: 0.95rem; color: var(--ink-2); margin-top: 0.45rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 4rem 0 2rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 40px; width: auto; filter: invert(1); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.65; color: var(--on-dark-2); max-width: 32ch; }
.footer-brand a { color: var(--on-dark); text-decoration: none; }
.footer-brand a:hover { color: #fff; text-decoration: underline; }
.link-icon, .footer-social { display: inline-flex; align-items: center; gap: 0.45rem; }
.link-icon .ico, .footer-social .ico, .btn .ico { width: 18px; height: 18px; flex: none; }
.footer-brand .footer-social { margin-top: 0.9rem; font-size: 0.9rem; }
.contact-details .link-icon { border-bottom: 0; }
.contact-details .link-icon span { border-bottom: 1px solid var(--line-dark); padding-bottom: 1px; }
.contact-details .link-icon:hover span { border-color: var(--accent); }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--on-dark-2); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-dark-2); }
.footer-bottom a, .footer-bottom button { color: var(--on-dark-2); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* ── Rechtstexte ────────────────────────────────────────── */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 1.1rem var(--gutter) 6rem; }
.legal-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0.6rem 0 0.8rem; }
.legal-intro { color: var(--muted); font-size: 0.95rem; padding-bottom: 1.6rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-wrap h2 { font-size: 1.25rem; margin: 2.4rem 0 0.7rem; }
.legal-wrap h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.legal-wrap p, .legal-wrap li { font-size: 0.97rem; color: var(--ink-2); line-height: 1.7; }
.legal-wrap p + p { margin-top: 0.6rem; }
.legal-wrap ul, .legal-wrap ol { padding-left: 1.3rem; margin: 0.6rem 0; }
.legal-wrap li { margin-bottom: 0.35rem; }
.legal-wrap strong { color: var(--ink); }
.legal-wrap a { color: var(--ink); }
.legal-toc { background: var(--paper); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.6rem 0 0.6rem; }
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.6rem; }
.legal-toc ol { columns: 2; column-gap: 2.5rem; margin: 0; padding-left: 1.2rem; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
.legal-table { width: 100%; border-collapse: collapse; margin: 0.9rem 0 1.2rem; font-size: 0.88rem; }
.legal-table th { text-align: left; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 2px solid var(--ink); font-weight: 700; }
.legal-table td { padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }

/* ── Reveal ─────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.show { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1020px) {
  .main-nav, .mega { display: none !important; }
  .nav-burger { display: flex; }
  .header-bar { gap: 10px; }
  .lang-switch { margin-left: auto; }
  .svc-groups { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser, .contact-grid, .page-hero-grid, .cta-light { grid-template-columns: 1fr; }
  .cta-light .hero-actions { justify-content: flex-start; }
  .page-hero-grid .visual-card { max-width: 560px; }
  .facts, .related { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .svc { grid-template-columns: 1fr; gap: 0.35rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .legal-toc ol { columns: 1; }
  .hero-home { min-height: 0; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .brand img { height: 40px; }
  .hero-home h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .ref-grid, .principles, .steps, .split--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .portrait { width: min(100%, 280px); margin-top: 2.4rem; }
  .svc-group { padding: 1.4rem 1.2rem 0.8rem; }
}

/* Hero unter 900px: Netz als Hintergrund über den ganzen Hero, Text darüber mit weichem Lichthof */
@media (max-width: 900px) {
  .hero-home { min-height: calc(min(88vh, 46rem) - var(--header-h)); min-height: calc(min(88svh, 46rem) - var(--header-h)); }
  .hero-network-canvas { opacity: 0.5; }
  .hero-home-main { position: relative; }
  .hero-home-main::before {
    content: ""; position: absolute; inset: -1.6rem -1.2rem; z-index: -1; border-radius: 1.6rem;
    background: radial-gradient(ellipse at 40% 45%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Wartungsseite & Login ──────────────────────────────── */
.maint { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 3rem var(--gutter) 5rem; }
.maint-card { width: min(100%, 560px); display: grid; gap: 1.1rem; justify-items: start; }
.maint-card .brand img { height: 64px; margin-bottom: 0.8rem; }
.maint-card h1 { font-size: clamp(2.1rem, 5vw, 3rem); letter-spacing: -0.03em; }
.maint-card .lede { max-width: none; }
.maint-card .contact-details { margin-top: 0.4rem; gap: 0.8rem; }
.maint-card .contact-details dt { color: var(--muted); }
.maint-card .contact-details dd { color: var(--ink); }
.maint-card .contact-details a { color: var(--ink); border-color: var(--line-2); }
.maint-card .contact-details a:hover { border-color: var(--accent); }
.maint-card .hero-actions { padding-top: 0.3rem; }
.maint-foot { position: fixed; left: 0; right: 0; bottom: 1.2rem; text-align: center; font-size: 0.8rem; color: var(--muted); }
.maint-foot a { color: var(--muted); }
.maint-foot a:hover { color: var(--ink); }
.login-form { display: grid; gap: 0.9rem; width: min(100%, 380px); }
.status-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--paper); font-size: 0.9rem; font-weight: 600; }
.status-pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.status-pill.on::before { background: var(--accent); }
.form-error { color: #b3261e; font-weight: 500; }
.form-ok { color: #1e7a3a; font-weight: 500; }
.text-button { background: none; border: 0; padding: 0; font: inherit; font-size: 0.9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-button:hover { color: var(--ink); }
.logout-form { margin-top: 0.5rem; }

@media print {
  .site-header, .site-footer, .contact, .hero-network, .grain, .cookie-banner { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
