/* ==========================================================================
   NXTLVL Solutions – Stylesheet (Mobile First)
   Farben aus dem Logo: Navy #232834, Blau #4F80E1, Weiß
   ========================================================================== */

:root {
  --navy: #232834;
  --navy-deep: #1a1e27;
  --navy-soft: #2c3242;
  --blue: #4f80e1;
  --blue-hover: #3d6fd4;
  --blue-soft: rgba(79, 128, 225, 0.12);
  --white: #ffffff;
  --paper: #f6f7fa;
  --line: #e4e7ee;
  --ink: #232834;
  --ink-soft: #5b6273;
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-soft: rgba(255, 255, 255, 0.64);
  --line-dark: rgba(255, 255, 255, 0.1);

  --sidebar-w: 232px;
  --topbar-h: 64px;
  --radius-panel: 28px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 8px);
  color-scheme: light;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 1000;
  padding: 0.6rem 1rem; border-radius: 8px;
  background: var(--blue); color: var(--white); text-decoration: none;
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px -10px rgba(79, 128, 225, 0.8); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-sm { min-height: 38px; padding: 0.45rem 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Sidebar / Navigation ---------- */
.sidebar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--topbar-h);
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}
.sidebar-top { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); padding: 0 1.1rem; }
.brand { display: block; border-radius: 6px; }
.brand img { height: 40px; width: auto; }

.menu-toggle {
  display: grid; place-content: center; gap: 7px;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--white); transition: transform 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.sidebar-nav {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--navy);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.sidebar-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.sidebar-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.sidebar-nav ul a {
  position: relative;
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 0.9rem; border-radius: 12px;
  color: var(--on-dark-soft); text-decoration: none; font-weight: 500; font-size: 1.05rem;
  transition: color 0.2s, background 0.2s;
}
.sidebar-nav ul a:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.sidebar-nav ul a.is-active { color: var(--white); background: rgba(79, 128, 225, 0.14); }
.sidebar-nav ul a.is-active .ico { color: var(--blue); }
.sidebar-nav ul a.is-active::before {
  content: ""; position: absolute; left: 0; top: 25%; bottom: 25%;
  width: 3px; border-radius: 3px; background: var(--blue);
}
.sidebar-bottom { margin-top: 2rem; display: grid; gap: 1rem; }
.sidebar-legal { display: flex; gap: 1.2rem; margin: 0; font-size: 0.82rem; }
.sidebar-legal a { color: var(--on-dark-soft); text-decoration: none; }
.sidebar-legal a:hover { color: var(--white); }

/* ---------- Layout & Panels (Overlap-Effekt) ---------- */
main { position: relative; padding-top: var(--topbar-h); }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2.5rem); }

.panel {
  position: sticky;
  top: var(--stick, var(--topbar-h));
  padding: clamp(4.5rem, 12vw, 8rem) 0;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  box-shadow: 0 -24px 48px -20px rgba(10, 12, 18, 0.45);
  overflow: hidden;
  isolation: isolate;
}
.panel + .panel { margin-top: calc(var(--radius-panel) * -1); }
/* Abdunkeln, wenn der nächste Bereich darüber gleitet */
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 5;
  background: #0b0d12; opacity: var(--dim, 0);
  pointer-events: none;
}
.panel-light { background: var(--white); }
.panel-soft { background: var(--paper); }
.panel-dark { background: var(--navy); color: var(--on-dark); }
.panel-navy { background: linear-gradient(160deg, #2a3248 0%, var(--navy-deep) 70%); color: var(--on-dark); }
.panel-dark h2, .panel-dark h3, .panel-navy h2, .panel-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-intro { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink-soft); }
.panel-dark .section-intro, .panel-navy .section-intro { color: var(--on-dark-soft); }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100svh - var(--topbar-h));
  display: flex; align-items: center;
  padding-block: 2rem 5rem;
  border-radius: 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(79, 128, 225, 0.22), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(79, 128, 225, 0.10), transparent 70%),
    var(--navy);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--on-dark-soft); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-points { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.92rem; color: var(--on-dark-soft); }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points .ico { color: var(--blue); }
.hero-visual { margin: 0 -0.5rem; order: -1; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Logo-Klammern als Gestaltungselement */
.bracket { position: absolute; z-index: -1; border-color: var(--blue); border-style: solid; opacity: 0.55; pointer-events: none; }
.bracket-tl { top: 1.5rem; left: 1.25rem; width: 34%; height: 22%; border-width: 2px 0 0 2px; }
.bracket-br { bottom: 1.5rem; right: 1.25rem; width: 34%; height: 22%; border-width: 0 2px 2px 0; }

.scroll-hint { display: none; }

/* ---------- Leistungen ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.service {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 1.75rem; right: 1.75rem; bottom: -1px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -24px rgba(35, 40, 52, 0.28); }
.service:hover::after { transform: scaleX(1); }
.service h3 { margin-bottom: 0.45rem; }
.service p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.service-icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 1.25rem;
  border-radius: 14px; background: var(--blue-soft); color: var(--blue);
  transition: background 0.3s, color 0.3s;
}
.service-icon .ico { width: 24px; height: 24px; }
.service:hover .service-icon { background: var(--blue); color: var(--white); }

/* ---------- Split-Layouts ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
.split-visual { margin: 0; }
.split-visual img { width: 100%; }

.feature-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .ico {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: rgba(79, 128, 225, 0.16); color: var(--blue);
}
.feature-list strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 0.15rem; }
.feature-list span { color: var(--on-dark-soft); font-size: 0.95rem; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.step-no {
  display: inline-block; margin-bottom: 1rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue);
  padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--blue-soft);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Vorteile ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.benefits li { padding: 2rem 1.75rem; background: var(--navy-deep); transition: background 0.3s; }
.benefits li:hover { background: #20252f; }
.benefits .ico { width: 30px; height: 30px; color: var(--blue); margin-bottom: 1.2rem; stroke-width: 1.5; }
.benefits h3 { margin-bottom: 0.4rem; }
.benefits p { margin: 0; color: var(--on-dark-soft); font-size: 0.95rem; }

/* ---------- Über uns ---------- */
.values { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: flex; flex-direction: column; gap: 0.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.values strong { font-family: var(--font-display); font-weight: 600; }
.values span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(var(--blue), var(--blue)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 1.5px 12px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 3rem 1.5rem 0; color: var(--on-dark-soft); }

/* ---------- Kontakt ---------- */
.contact-panel { padding-bottom: 0; }
.contact { align-items: start; padding-bottom: clamp(4rem, 10vw, 7rem); }
.contact-info { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; align-items: center; gap: 0.8rem; color: var(--ink-soft); }
.contact-info .ico { color: var(--blue); }
.contact-info a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-info a:hover { color: var(--blue); }

.contact-form {
  display: grid; gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.field-row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 0.8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6273' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
  padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #d64545; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 0.92rem; min-height: 1.4em; }
.form-status.is-success { color: #1f8a55; }
.form-status.is-error { color: #c43c3c; }
.contact-form button[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom)); font-size: 0.88rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.footer-inner img { height: 38px; width: auto; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-inner a, .link-btn { color: var(--on-dark); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.footer-inner a:hover, .link-btn:hover { color: var(--blue); }

/* ---------- Rechtstexte (Dialog) ---------- */
.legal {
  width: min(760px, 100% - 1.5rem); max-height: min(86vh, 900px);
  padding: 0; border: 0; border-radius: 20px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}
.legal::backdrop { background: rgba(15, 18, 25, 0.65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.legal:target:not([open]) { display: block; position: fixed; inset: 0; margin: auto; z-index: 500; overflow: auto; }
.legal-inner { position: relative; padding: clamp(1.75rem, 5vw, 3rem); }
.legal h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); padding-right: 2.5rem; }
.legal h3 { font-size: 1.02rem; margin: 1.8rem 0 0.4rem; }
.legal p { color: var(--ink-soft); font-size: 0.95rem; }
.legal-note { padding: 0.75rem 1rem; border-radius: 10px; background: #fff7e0; color: #7a5b00 !important; font-size: 0.85rem !important; }
.legal-date { margin-top: 2rem; font-size: 0.85rem !important; }
.legal-close {
  position: sticky; top: 0; float: right; margin: -0.5rem -0.5rem 0 0;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.legal-close:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; z-index: 300;
  left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(26, 30, 39, 0.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark);
  color: var(--on-dark-soft); font-size: 0.86rem; line-height: 1.5;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  animation: cookie-in 0.5s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--white); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 0 0 auto; }
  .cookie { left: auto; right: 1.25rem; bottom: 1.25rem; max-width: 380px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 0; }
  .values li { border-bottom: 0; border-top: 2px solid var(--blue); padding-top: 1rem; }
}

/* ==========================================================================
   Desktop: Navigation links
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --topbar-h: 0px; --radius-panel: 36px; }
  html { scroll-padding-top: 0; }

  .sidebar {
    inset: 0 auto 0 0;
    width: var(--sidebar-w); height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    padding: 1.75rem 1rem 1.5rem;
    background: var(--navy);
      border-bottom: 0; border-right: 1px solid var(--line-dark);
  }
  .sidebar-top { height: auto; padding: 0 0.6rem 2.25rem; }
  .brand img { height: 52px; }
  .menu-toggle { display: none; }
  .sidebar-nav {
    position: static; flex: 1;
    padding: 0; background: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .sidebar-nav ul a { padding: 0.7rem 0.85rem; font-size: 0.94rem; }
  .sidebar-bottom { gap: 1.1rem; }
  .sidebar-bottom .btn { min-height: 44px; font-size: 0.9rem; }
  .sidebar-legal { padding-left: 0.6rem; }

  main { margin-left: var(--sidebar-w); padding-top: 0; }
  .wrap { width: min(1180px, 100% - 6rem); }
  .wrap-narrow { width: min(820px, 100% - 6rem); }

  .hero { min-height: 100vh; min-height: 100svh; padding-block: 5rem; }
  .hero-grid { grid-template-columns: 0.95fr 1.15fr; gap: 3rem; }
  .hero h1 { font-size: clamp(2.6rem, 4.4vw, 4.25rem); }
  .hero-visual { margin: 0 -2rem 0 0; order: 0; }
  .bracket-tl { top: 2.5rem; left: 2.5rem; width: 22%; height: 30%; }
  .bracket-br { bottom: 2.5rem; right: 2.5rem; width: 22%; height: 30%; }

  .scroll-hint {
    display: block; position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
    width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 14px;
  }
  .scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: scroll 2s ease-in-out infinite; }
  @keyframes scroll { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split-reverse > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 2rem 1.5rem; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefits li { padding: 2.5rem 2.25rem; }
  .contact { grid-template-columns: 0.9fr 1.1fr; }
}

@media (min-width: 1440px) {
  :root { --sidebar-w: 248px; }
}

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

/* ---------- Druck ---------- */
@media print {
  .sidebar, .cookie, .scroll-hint, .contact-form { display: none !important; }
  main { margin: 0; padding: 0; }
  .panel { position: static; box-shadow: none; border-radius: 0; color: #000 !important; background: #fff !important; }
}

/* ---------- Instagram-Links ---------- */
.sidebar-legal { align-items: center; }
.sidebar-legal .social-link { margin-left: auto; display: inline-flex; color: var(--on-dark-soft); }
.sidebar-legal .social-link:hover { color: var(--white); }
.sidebar-legal .social-link .ico { width: 20px; height: 20px; }
.footer-social { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-social .ico { width: 17px; height: 17px; }
