/* IT Wittenberg – Stylesheet
   Keine externen Ressourcen (Fonts, CDNs) – DSGVO-freundlich und schnell. */

:root {
  --ink: #0b1220;
  --ink-2: #131c2e;
  --ink-3: #1d2840;
  --text: #1f2937;
  --muted: #5b6474;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --accent: #0f766e;        /* Buttons/Links auf hell (AA-Kontrast) */
  --accent-hover: #0b5e58;
  --accent-bright: #2dd4bf; /* Akzente auf dunkel */
  --accent-tint: #e6f6f4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11,18,32,.06), 0 8px 24px rgba(11,18,32,.06);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.35);
  --max: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-bright { background: var(--accent-bright); color: var(--ink); }
.btn-bright:hover { background: #5eead4; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand svg { width: 34px; height: 34px; }
.brand-text span { color: var(--accent-bright); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: #cbd3e1; text-decoration: none; font-size: .95rem; font-weight: 550; padding: 8px 12px; border-radius: 8px; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.06); }
.nav .btn { margin-left: 10px; padding: .6em 1.1em; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); padding: 12px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; padding: .9em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #cbd3e1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(45,212,191,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(59,130,246,.14), transparent 60%),
    var(--ink);
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px);
}
.hero::before { /* feines Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: .85rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-bright);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px rgba(45,212,191,.18); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent-bright); flex: none; }

/* Status-Karte (Illustration) */
.status-card {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg); color: #e5e9f0;
}
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .9rem; color: #9aa6ba; }
.status-head strong { color: #fff; font-size: 1rem; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.status-row {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px;
  padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.status-row + .status-row { margin-top: 10px; }
.status-row .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(45,212,191,.12); color: var(--accent-bright); }
.status-row .ico svg { width: 22px; height: 22px; }
.status-row b { display: block; color: #fff; font-weight: 650; font-size: .98rem; }
.status-row small { color: #9aa6ba; font-size: .85rem; }
.pill { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(45,212,191,.14); color: var(--accent-bright); white-space: nowrap; }
.status-foot { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #9aa6ba; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-bright); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,.5); } 70% { box-shadow: 0 0 0 10px rgba(45,212,191,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .status-card { max-width: 520px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }

/* Leistungen */
.service-groups { display: grid; gap: 48px; }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #cfd5de; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); }
.audience-card.dark { background: var(--ink); border-color: var(--ink); color: #cbd3e1; }
.audience-card.dark h3 { color: #fff; }
.audience-card h3 { font-size: 1.5rem; }
.audience-card > p { color: var(--muted); }
.audience-card.dark > p { color: #9aa6ba; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.audience-card.dark .checklist svg { color: var(--accent-bright); }
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-size: 2.25rem; font-weight: 800;
  letter-spacing: -.03em; color: var(--accent); line-height: 1; margin-bottom: 16px;
}
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Fernwartung */
.remote { background: var(--ink); color: #cbd3e1; position: relative; overflow: hidden; }
.remote::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(45,212,191,.16), transparent 65%); pointer-events: none; }
.remote h2 { color: #fff; }
.remote .kicker { color: var(--accent-bright); }
.remote-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.remote-steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; counter-reset: r; }
.remote-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: r; }
.remote-steps li::before { content: counter(r); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(45,212,191,.14); color: var(--accent-bright); font-weight: 800; }
.remote-steps b { color: #fff; }
.download-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.download { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.download + .download { margin-top: 12px; }
.download:hover { color: #fff; border-color: var(--accent-bright); background: rgba(45,212,191,.08); }
.download .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-bright); color: var(--ink); }
.download .ico svg { width: 24px; height: 24px; }
.download b { display: block; font-size: 1.05rem; }
.download small { color: #9aa6ba; font-size: .9rem; }
.notice { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 22px; padding: 16px; border-radius: 12px; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); color: #f3e3b5; font-size: .95rem; }
.notice svg { width: 22px; height: 22px; color: #fbbf24; }
.notice p { margin: 0; }
@media (max-width: 860px) { .remote-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-weight: 650; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 4px 22px; margin: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.contact-list a:hover { border-color: var(--accent); color: var(--ink); }
.contact-list .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.contact-list .ico svg { width: 24px; height: 24px; }
.contact-list small { display: block; color: var(--muted); font-size: .88rem; }
.contact-list b { font-weight: 650; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #d4d9e1; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15,118,110,.12); }
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #d4d9e1; font-weight: 550; font-size: .95rem; cursor: pointer; transition: all .2s; }
.segmented input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 550; }
.form-status.ok { display: block; background: var(--accent-tint); color: var(--accent-hover); }
.form-status.err { display: block; background: #fdecec; color: #9b1c1c; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa6ba; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: #cbd3e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.page-hero { background: var(--ink); padding: 56px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); margin: 0; }
.page-hero p { color: #9aa6ba; margin: 8px 0 0; }
.legal { max-width: 780px; padding: 56px 0 96px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
