/* ==========================================================================
   Wolfgang Dietl Computer Solutions – Stylesheet
   Farben unten in :root anpassen, der Rest passt sich automatisch an.
   ========================================================================== */

:root {
  --navy-950: #030820;
  --navy-900: #061036;
  --navy-800: #0a1a52;
  --navy-700: #12297a;
  --blue-600: #1d5cff;
  --blue-500: #2f7bff;
  --cyan-400: #4cc3ff;
  --cyan-300: #8ad8ff;
  --ice: #e9f2ff;
  --ink: #0b1530;
  --muted: #56637f;
  --surface: #f4f7fd;
  --line: #dbe4f5;
  --white: #ffffff;

  --font-head: "Segoe UI Variable Display", "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 16, 54, .06), 0 12px 32px -12px rgba(6, 16, 54, .18);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: var(--white); box-shadow: 0 8px 24px -8px rgba(29, 92, 255, .7); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(29, 92, 255, .85); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(138, 216, 255, .35); }
.btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, .12); border-color: var(--cyan-300); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-outline:hover { color: var(--navy-800); border-color: var(--blue-500); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-open { background: var(--navy-950); }
.site-header.is-solid {
  background: rgba(3, 8, 32, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(138, 216, 255, .12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(138, 216, 255, .35), 0 0 22px rgba(76, 195, 255, .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.05rem/1.1 var(--font-head); letter-spacing: -0.01em; }
.brand-sub { font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); }
.brand:hover { color: var(--white); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { display: block; padding: 10px 14px; border-radius: 999px; color: rgba(233, 242, 255, .85); text-decoration: none; font-weight: 500; font-size: .98rem; transition: color .2s, background-color .2s; }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--white); background: rgba(255, 255, 255, .08); }
.main-nav .btn { min-height: 42px; padding: .6em 1.1em; margin-left: 8px; font-size: .95rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(138, 216, 255, .3); border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s ease, background-color .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100vh, 900px);
  padding: calc(var(--header-h) + 48px) 0 96px;
  display: flex; align-items: center;
  color: var(--white);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(47, 123, 255, .45), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(76, 195, 255, .18), transparent 70%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}
.hero::after { /* feines Raster */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(138, 216, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 216, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
}
.circuits { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.circuits .trace { fill: none; stroke: rgba(76, 195, 255, .28); stroke-width: 2; }
.circuits .node { fill: var(--navy-900); stroke: rgba(76, 195, 255, .5); stroke-width: 2; }
.circuits .pulse { fill: none; stroke: var(--cyan-300); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 600; animation: flow 6s linear infinite; filter: drop-shadow(0 0 4px var(--cyan-400)); }
.circuits .pulse:nth-of-type(2n) { animation-duration: 8s; animation-delay: -3s; }
.circuits .pulse:nth-of-type(3n) { animation-duration: 7s; animation-delay: -5s; }
@keyframes flow { from { stroke-dashoffset: 626; } to { stroke-dashoffset: 0; } }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .78rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-300); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(76, 195, 255, .18), 0 0 12px var(--cyan-400); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 750; margin-bottom: .35em; }
.hero h1 .accent { background: linear-gradient(90deg, var(--cyan-300), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(233, 242, 255, .82); max-width: 36em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; color: rgba(233, 242, 255, .78); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--cyan-400); flex: none; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.hero-visual img { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(138, 216, 255, .4), 0 30px 80px -20px rgba(29, 92, 255, .8), 0 0 120px rgba(76, 195, 255, .25); }
.hero-visual .ring { position: absolute; inset: -7%; border-radius: 50%; border: 1px dashed rgba(138, 216, 255, .35); animation: spin 60s linear infinite; }
.hero-visual .ring::before { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 14px var(--cyan-400); }
.hero-visual .ring-2 { inset: -15%; border-style: solid; border-color: rgba(138, 216, 255, .1); animation-duration: 90s; animation-direction: reverse; }
.hero-visual .ring-2::before { top: 15%; left: 14%; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: rgba(233, 242, 255, .5); }
.scroll-hint svg { width: 26px; height: 26px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Sektionen allgemein ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font: 600 .78rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 720; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 30px 28px 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service::before { content: ""; position: absolute; inset: 0 auto auto 28px; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transition: width .3s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4d4f2; }
.service:hover::before { width: 72px; }
.service-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--blue-600); background: linear-gradient(145deg, #eaf2ff, #dbe8ff); box-shadow: inset 0 0 0 1px rgba(29, 92, 255, .12); }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.25rem; font-weight: 680; margin-bottom: .45em; }
.service p { color: var(--muted); margin-bottom: 14px; font-size: 1rem; }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.service li { position: relative; padding-left: 20px; }
.service li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; border: 2px solid var(--cyan-400); transform: rotate(45deg); }

/* ---------- Vorteile-Band ---------- */
.values { background: var(--navy-900); color: var(--white); padding: clamp(48px, 7vw, 72px) 0; position: relative; overflow: hidden; }
.values::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 120% at 85% 50%, rgba(47, 123, 255, .35), transparent 70%); }
.values-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value svg { width: 34px; height: 34px; flex: none; color: var(--cyan-400); }
.value h3 { font-size: 1.08rem; margin: 2px 0 .3em; }
.value p { margin: 0; font-size: .95rem; color: rgba(233, 242, 255, .72); }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.card-id {
  position: relative; padding: 36px 32px; border-radius: 24px; color: var(--white); overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 30px 60px -30px rgba(6, 16, 54, .6);
}
.card-id::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/kontakt-bg-960.webp") right -40px center/cover; opacity: .12; }
.card-id .portrait { position: relative; width: 168px; margin-bottom: 26px; }
.card-id .portrait img:not(.badge) { width: 168px; height: 210px; object-fit: cover; object-position: center 30%; border-radius: 18px; box-shadow: 0 0 0 3px rgba(138, 216, 255, .35), 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 40px rgba(76, 195, 255, .3); }
.card-id .portrait .badge { position: absolute; right: -14px; bottom: -14px; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px var(--navy-900), 0 0 18px rgba(76, 195, 255, .6); }
.card-id .name { font: 700 1.5rem/1.2 var(--font-head); margin: 0 0 4px; }
.card-id .role { font: 500 .8rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 24px; }
.card-id dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .95rem; padding-top: 20px; border-top: 1px solid rgba(138, 216, 255, .18); }
.card-id dt { color: rgba(233, 242, 255, .6); }
.card-id dd { margin: 0; }
.about-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.about-text p { color: #34405e; }
.about-text .signature { font: italic 600 1.15rem/1.4 var(--font-head); color: var(--navy-800); margin-top: 24px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--blue-500); color: var(--blue-600); font: 700 1.05rem/1 var(--font-mono); box-shadow: 0 0 0 6px var(--surface); }
.step h3 { font-size: 1.15rem; margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Kontakt ---------- */
.contact { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--navy-950); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/kontakt-bg.jpg") center/cover; background-image: image-set(url("../img/kontakt-bg.webp") type("image/webp"), url("../img/kontakt-bg.jpg") type("image/jpeg")); opacity: .35; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3, 8, 32, .97) 0%, rgba(3, 8, 32, .9) 45%, rgba(6, 16, 54, .75) 100%); }
.contact .kicker { color: var(--cyan-300); }
.contact .section-head p { color: rgba(233, 242, 255, .75); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(138, 216, 255, .16); color: var(--white); text-decoration: none; transition: background-color .2s, border-color .2s; }
a.contact-item:hover { color: var(--white); background: rgba(255, 255, 255, .09); border-color: rgba(138, 216, 255, .4); }
.contact-item .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(76, 195, 255, .12); color: var(--cyan-300); }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(233, 242, 255, .55); }
.contact-item strong { font-weight: 600; word-break: break-word; }
.hours { font-size: .95rem; color: rgba(233, 242, 255, .72); }
.hours strong { color: var(--white); }

.form-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(47, 123, 255, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 4px 0 22px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; font-size: .98rem; }
.form-status.ok { display: block; background: #e6f7ee; color: #0f5a32; border: 1px solid #b6e4ca; }
.form-status.err { display: block; background: #fdecec; color: #8a1c1c; border: 1px solid #f3c0c0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(233, 242, 255, .65); padding: 40px 0; font-size: .92rem; border-top: 1px solid rgba(138, 216, 255, .1); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.footer-inner .brand img { width: 38px; height: 38px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer a { color: rgba(233, 242, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 56px; color: var(--white); background: radial-gradient(60% 120% at 85% 0%, rgba(47, 123, 255, .4), transparent 70%), linear-gradient(160deg, var(--navy-950), var(--navy-800)); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-hero .eyebrow { margin-bottom: 14px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #34405e; }
.legal dl { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 10px 24px; margin: 0 0 1em; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; color: #34405e; }
.todo { background: #fff4d6; color: #6b4c00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy-950); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .6); border-bottom: 1px solid rgba(138, 216, 255, .15); padding: 12px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .main-nav .btn { margin: 12px 0 0; width: 100%; min-height: 50px; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 80px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(62vw, 260px); margin-bottom: 8px; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .scroll-hint { display: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-id { max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand-sub { display: none; }
  .brand img { width: 40px; height: 40px; }
  .services, .values-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { flex-direction: column; align-items: center; gap: 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.about-text strong { color: var(--navy-800); font-weight: 650; }

/* ---------- Mehrseitige Version ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(138, 216, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 216, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 0%, #000 10%, transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20em; }
.page-hero .lead { margin: 16px 0 0; max-width: 40em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(233, 242, 255, .8); }

a.service-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.service-link p { flex: 1; }
a.service-link .more { font-weight: 600; font-size: .95rem; color: var(--blue-600); display: inline-flex; gap: 6px; }
a.service-link .more span { transition: transform .2s ease; }
a.service-link:hover { color: inherit; }
a.service-link:hover .more span { transform: translateX(4px); }

.cta-band { padding: clamp(56px, 8vw, 88px) 0; background: var(--surface); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; color: var(--white); background: radial-gradient(60% 140% at 90% 50%, rgba(47, 123, 255, .45), transparent 70%), linear-gradient(140deg, var(--navy-800), var(--navy-950)); box-shadow: 0 30px 60px -30px rgba(6, 16, 54, .6); }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .25em; }
.cta-inner p { margin: 0; color: rgba(233, 242, 255, .78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .cta-actions .btn { flex: 1 1 100%; } }
.page-hero + .section { padding-top: clamp(48px, 6vw, 72px); }
.section-alt + .cta-band { padding-top: 0; }

/* ---------- Hinweis „Keine Cookies“ ---------- */
.privacy-note { position: fixed; z-index: 150; left: 20px; bottom: 20px; max-width: 440px; display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 18px; border-radius: 16px; background: rgba(3, 8, 32, .95); color: rgba(233, 242, 255, .82); border: 1px solid rgba(138, 216, 255, .3); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9rem; line-height: 1.5; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.privacy-note.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.privacy-note p { margin: 0; }
.privacy-note strong { color: #fff; }
.privacy-note a { color: var(--cyan-300); }
.privacy-note .btn { flex: none; min-height: 40px; padding: .55em 1.25em; font-size: .92rem; }
@media (max-width: 600px) { .privacy-note { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .privacy-note { transition: none; } }
