/* ===========================================================
   EC IT-Service — Stylesheet
   Display: Syne · Text: DM Sans (selbst gehostet)
   =========================================================== */

/* -----------------------------------------------------------
   FONTS
   ----------------------------------------------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat_XDV36TGc5pg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat_XDV30TGc.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: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.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: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm25L9Hz_.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2BL9A.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: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2NL9Hz_.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* -----------------------------------------------------------
   TOKENS
   ----------------------------------------------------------- */
:root {
  --bg: #070b13;
  --bg-elev: #0a1120;
  --surface: #0c1422;
  --surface-2: #111a2b;

  --accent: #2ad6ff;
  --accent-hover: #5ce0ff;
  --accent-deep: #0a78ff;
  --accent-soft: rgba(42, 214, 255, 0.10);
  --accent-line: rgba(42, 214, 255, 0.18);

  --text: #eef3fb;
  --text-dim: #bcc8df;
  --muted: #8496b5;
  --muted-2: #5a6a87;

  --border: rgba(120, 160, 220, 0.12);
  --border-strong: rgba(120, 160, 220, 0.24);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.45);

  --container: 1240px;
  /* Kontaktleiste (36px) + Navigation (72px). Steuert Sprungmarken-Abstand
     und die Position klebender Elemente. */
  --header-h: 108px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
button { font-family: inherit; }
a { color: inherit; }

::selection { background: rgba(42, 214, 255, 0.30); color: var(--text); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------------
   LAYOUT UTILITIES
   ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  display: block;
  flex-shrink: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 64ch;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 22ch;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
  font-weight: 300;
}

.text-center { text-align: center; }

/* Reveal on scroll — dezent, ohne Layout-Sprünge */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* -----------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(42, 214, 255, 0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn .arrow { transition: transform 0.2s var(--ease); flex-shrink: 0; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* -----------------------------------------------------------
   HEADER / NAV
   ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 19, 0.82);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--border);
}

nav.primary-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 2.5rem);
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0 auto;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
}

/* Der CTA im Menü ist ausschließlich für die mobile Ansicht gedacht */
.nav-links-cta { display: none; }

.nav-cta {
  padding: 0.65rem 1.4rem;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: transparent;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle svg { width: 18px; height: 18px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* -----------------------------------------------------------
   HERO
   ----------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, black 0%, transparent 70%);
  z-index: -2;
}

.hero-orb {
  position: absolute;
  width: 620px;
  height: 620px;
  max-width: 100vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 120, 255, 0.28), rgba(10, 120, 255, 0) 70%);
  filter: blur(60px);
  top: -180px;
  right: -150px;
  z-index: -1;
  pointer-events: none;
  animation: drift 22s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 1.8rem;
  background: var(--surface);
}
.hero-eyebrow .badge {
  background: var(--accent);
  color: var(--bg);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent), #6ae5ff 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 2.4rem;
  font-weight: 300;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Hero-Panel */
.hero-panel {
  position: relative;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(42, 214, 255, 0.16), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(10, 120, 255, 0.12), transparent 50%);
  pointer-events: none;
}
.hero-panel > * { position: relative; }

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
}
.hero-panel-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.35); }
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.spec {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.95rem;
}
.spec-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.spec-value {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--text);
  line-height: 1;
}
.spec-value sup {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 0.1rem;
}
.spec-foot {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.spec.full { grid-column: 1 / -1; }
.spec.full .spec-value { font-size: 1.05rem; line-height: 1.35; }

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}
.capability-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text-dim);
}
.capability-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Hero-Kennzahlen */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stat {
  background: var(--bg);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero-stat .num {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1;
  color: var(--text);
}
.hero-stat .num em { font-style: normal; color: var(--accent); }
.hero-stat .label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* -----------------------------------------------------------
   MARQUEE
   ----------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.4rem 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 55s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.marquee-item {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee-item::after {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 1.75rem)); }
}

/* -----------------------------------------------------------
   ÜBER UNS
   ----------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
/* Der Fließtext läuft über die volle Spalte, die Zeilenlänge wird aber
   begrenzt – ohne Begrenzung würden auf breiten Bildschirmen deutlich mehr
   als 90 Zeichen je Zeile stehen, was das Lesen mühsam macht. */
.about-copy p {
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-weight: 300;
  font-size: 1.02rem;
  max-width: 70ch;
}
.about-copy p strong { color: var(--text); font-weight: 500; }

.about-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2.5rem;
  list-style: none;
}
.about-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  align-items: start;
}
.about-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 0.22rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  list-style: none;
}
.pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.76rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 400;
  white-space: nowrap;
}
.pill.accent {
  border-color: rgba(42, 214, 255, 0.30);
  color: var(--accent);
  background: var(--accent-soft);
}

/* -----------------------------------------------------------
   PROZESS
   ----------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.process-step {
  background: var(--bg);
  padding: 1.8rem 1.6rem 2rem;
  transition: background 0.25s var(--ease);
}
.process-step:hover { background: var(--surface); }
.process-num {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.3rem;
}
.process-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.process-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* -----------------------------------------------------------
   LEISTUNGEN
   ----------------------------------------------------------- */
.services-bg {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
/* Spaltenzahl passend zur Anzahl der Karten – so bleiben keine Lücken */
.services-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  background: var(--bg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.25s var(--ease);
  text-decoration: none;
  color: inherit;
  scroll-margin-top: calc(var(--header-h) + 30px);
}
a.service-card:hover { background: var(--surface); }
a.service-card:hover .service-arrow { transform: translate(2px, -2px); color: var(--accent); }
.service-card:target { background: var(--surface); }

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  flex-shrink: 0;
}
.service-icon svg { width: 20px; height: 20px; }
.service-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  color: var(--text);
  padding-right: 1.6rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
  flex-grow: 1;
}
.service-arrow {
  position: absolute;
  top: 1.7rem;
  right: 1.5rem;
  color: var(--muted-2);
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

/* Kategorien auf leistungen.html */
.service-cat { scroll-margin-top: calc(var(--header-h) + 30px); }
.service-cat + .service-cat { margin-top: clamp(3rem, 6vw, 5rem); }
.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.cat-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin-top: 0.6rem;
}
.cat-count {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.center-action {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* -----------------------------------------------------------
   WARUM / KONTAKT-ASIDE
   ----------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.why-list { display: flex; flex-direction: column; }
.why-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.why-item:last-child { border-bottom: none; }
.why-num {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.3rem;
}
.why-text strong {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.why-text p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
}

.why-aside {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.why-aside::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(42, 214, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.why-aside > * { position: relative; }
.why-aside-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.why-aside-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}
.why-aside h2, .why-aside h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}

.contact-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  align-items: center;
}
.contact-row:last-of-type { border-bottom: 1px solid var(--border); }
.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-row-icon svg { width: 18px; height: 18px; }
.contact-row small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.contact-row a, .contact-row span {
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.contact-row a:hover { color: var(--accent); }
.why-aside .btn { margin-top: 1.6rem; width: 100%; }

/* -----------------------------------------------------------
   BRANCHEN
   ----------------------------------------------------------- */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.branch {
  background: var(--bg);
  padding: 1.6rem 1.5rem 1.8rem;
  transition: background 0.25s var(--ease);
}
.branch:hover { background: var(--surface); }
.branch-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.branch-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.branch-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

/* -----------------------------------------------------------
   FAQ
   ----------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.faq-q::before {
  content: '→';
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.faq-a {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.7;
  font-weight: 300;
  padding-left: 1.6rem;
}

/* -----------------------------------------------------------
   TECH STACK
   ----------------------------------------------------------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.stack-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.stack-group h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.stack-group h3 .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.stack-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stack-group li {
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 300;
}
.stack-group li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}
.stack-group h3 a,
.stack-group li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.stack-group h3 a:hover,
.stack-group li a:hover { color: var(--accent); }

/* Beitragslisten auf der Leistungsseite: mehrzeilige Titel brauchen einen
   Aufzählungspunkt, der an der ersten Zeile hängt statt mittig zu sitzen. */
.topic-group li { align-items: flex-start; }
.topic-group li::before { margin-top: 0.62em; }

/* -----------------------------------------------------------
   CTA STRIP
   ----------------------------------------------------------- */
.cta-strip {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.cta-strip p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 50ch;
  font-weight: 300;
  margin-top: 0.6rem;
}
.cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* -----------------------------------------------------------
   UNTERSEITEN-HEADER
   ----------------------------------------------------------- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 80% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 80% 30%, black 0%, transparent 70%);
  z-index: -1;
}
.page-hero.no-border { border-bottom: none; }
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero .lede {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 60ch;
  font-weight: 300;
}
.page-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.page-crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.page-crumbs a:hover { color: var(--accent); }

/* -----------------------------------------------------------
   KONTAKT — Formular, Karte, Einsatzgebiet
   ----------------------------------------------------------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-card h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.form-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.req { color: var(--accent); }
.field input,
.field textarea,
.field select {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ff6b81;
  box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.12);
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238496b5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: var(--bg-elev); color: var(--text); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.55;
  cursor: pointer;
}
.checkbox input {
  accent-color: var(--accent);
  margin-top: 0.22rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.checkbox a { color: var(--accent); text-decoration: none; }
.checkbox a:hover { text-decoration: underline; }

.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-foot { font-size: 0.8rem; color: var(--muted); }

.form-status {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text-dim);
}
.form-status[hidden] { display: none; }
.form-status.is-ok {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
}
.form-status.is-error {
  border-color: rgba(255, 107, 129, 0.4);
  background: rgba(255, 107, 129, 0.08);
  color: #ffd6dc;
}
.form-status a { color: var(--accent); }

/* Karte */
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-frame {
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--bg-elev);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
/* Der eingebettete Kartenrahmen füllt den Ausschnitt vollständig aus. Die
   Breiten-/Höhenangaben im HTML dienen nur als Seitenverhältnis, falls das
   Stylesheet einmal nicht geladen wird. */
.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-foot {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.map-foot address {
  font-style: normal;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.5;
}
.map-foot a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.map-foot a:hover { text-decoration: underline; }

.service-area {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.service-area h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.service-area p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

/* -----------------------------------------------------------
   RECHTSTEXTE
   ----------------------------------------------------------- */
.legal-wrap { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); }
.legal-wrap > .legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-wrap h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 0.7rem;
}
.legal-intro {
  color: var(--text-dim);
  max-width: 60ch;
  font-weight: 300;
}
.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.2rem;
}
.legal-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}
.legal-section h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--text);
}
.legal-section h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 1rem 0 0.35rem;
  color: var(--text-dim);
}
.legal-section > h3:first-of-type { margin-top: 0; }
.legal-section p,
.legal-section address,
.legal-section li {
  color: var(--text-dim);
  font-style: normal;
  font-weight: 300;
  line-height: 1.7;
  max-width: 78ch;
}
.legal-section p + p,
.legal-section address { margin-top: 0.7rem; }
.legal-section ul { margin: 0.7rem 0 0 1.2rem; }
.legal-section li { margin-bottom: 0.35rem; }
.legal-section strong { color: var(--text); font-weight: 500; }
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-source {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
}
.legal-source a { color: var(--accent); text-decoration: none; }
.legal-source a:hover { text-decoration: underline; }

/* -----------------------------------------------------------
   404
   ----------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-code {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: 0.9;
}

/* -----------------------------------------------------------
   FOOTER
   ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 36ch;
  font-weight: 300;
}
.footer-col h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col li { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bar {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bar a { color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.footer-bar a:hover { color: var(--accent); }
.footer-bar button.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s var(--ease);
}
.footer-bar button.link-btn:hover { color: var(--accent); }

/* -----------------------------------------------------------
   COOKIE-BANNER
   ----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-2);
  color: var(--text);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  z-index: 9998;
  display: none;
  animation: slide-up 0.35s var(--ease);
}
.cookie-banner.is-open { display: block; }
@keyframes slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.cookie-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  font-weight: 300;
}
.cookie-banner a { color: var(--accent); text-decoration: none; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-buttons .btn { padding: 0.7rem 1.4rem; font-size: 0.875rem; }

/* -----------------------------------------------------------
   BLOG — ÜBERSICHT
   ----------------------------------------------------------- */
.container-narrow { max-width: 740px; }

/* Suchfeld im Blog-Header */
.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2.2rem;
  max-width: 460px;
}
.blog-search-icon {
  position: absolute;
  left: 1.1rem;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.blog-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 3rem 0.85rem 3rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.blog-search input::placeholder { color: var(--muted-2); }
.blog-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.blog-search input::-webkit-search-cancel-button { display: none; }
.blog-search-clear {
  position: absolute;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.blog-search-clear:hover { color: var(--text); background: var(--bg-elev); }
.blog-search-clear svg { width: 13px; height: 13px; }
.blog-search-clear[hidden] { display: none; }

/* Kategorie-Filter */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.filter-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.3rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.filter-chip span {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.is-active {
  border-color: rgba(42, 214, 255, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
}
.filter-chip.is-active span { color: var(--accent); }
.cat-others { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }

.blog-result {
  font-size: 0.88rem;
  color: var(--muted);
  margin: -1.2rem 0 1.8rem;
}
.blog-result[hidden] { display: none; }

/* Beitragskarten */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.post-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.post-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.post-card[hidden] { display: none; }
.post-card-link { display: block; line-height: 0; }
.post-card-media {
  display: block;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.post-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  transition: opacity 0.25s var(--ease);
}
.post-card:hover .post-card-media img { opacity: 0.88; }
.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.4rem 1.5rem 1.6rem;
  flex-grow: 1;
}
.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.post-dot { color: var(--muted-2); }
.post-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
a.post-chip-link:hover { border-color: var(--accent); background: rgba(42, 214, 255, 0.18); }
.post-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.post-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.post-card-title a:hover { color: var(--accent); }
/* Die gesamte Karte ist anklickbar – auch der Hinweis „Beitrag lesen“, der als
   reine Beschriftung kein eigener Link ist. Dazu wird der Titel-Link unsichtbar
   über die Karte gelegt. So bleibt es bei genau einem Link je Karte: Bild und
   „Beitrag lesen“ sind für Screenreader ausgeblendet und würden dieselbe
   Adresse sonst dreifach ankündigen. */
.post-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.post-card-title a:focus-visible::after {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
  border-radius: var(--radius);
}
.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  flex-grow: 1;
}
.post-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.2rem;
}
.post-card-more svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.post-card:hover .post-card-more svg { transform: translateX(3px); }

/* Empfohlener Beitrag */
.blog-featured { padding-bottom: 0; }
.blog-featured[hidden] { display: none; }
.post-card.is-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
}
.post-card.is-featured .post-card-media {
  height: 100%;
  border-bottom: none;
  border-right: 1px solid var(--border);
  background: var(--bg);
}
/* Das Titelbild enthält Text – es darf deshalb nicht beschnitten werden,
   auch wenn die Textspalte höher ausfällt als das Bild. */
.post-card.is-featured .post-card-media img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.post-card.is-featured .post-card-body {
  justify-content: center;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  gap: 0.9rem;
}
.post-card.is-featured .post-card-title { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
.post-card.is-featured .post-card-excerpt { font-size: 0.98rem; }

.blog-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.blog-more[hidden] { display: none; }
.blog-empty {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 2rem;
}
.blog-empty[hidden] { display: none; }
.blog-empty .link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.cat-service-link {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.cat-service-link a { color: var(--accent); text-decoration: none; }
.cat-service-link a:hover { text-decoration: underline; }

/* -----------------------------------------------------------
   BLOG — ARTIKELSEITE
   ----------------------------------------------------------- */
.post-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.8rem, 3vw, 2.5rem);
}
.post-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, black 0%, transparent 70%);
  z-index: -1;
}
.post-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 1rem 0 1.1rem;
  text-wrap: balance;
}
.post-lede {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
.post-author { display: inline-flex; align-items: center; gap: 0.75rem; }
.post-author-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.post-author strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
}
.post-author small { color: var(--muted); font-size: 0.78rem; }
.post-meta-facts {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.post-cover {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
}
.post-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.post-layout { padding: clamp(2.2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); }

/* Inhaltsverzeichnis */
.post-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 2.8rem);
}
.post-toc-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.post-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.post-toc li { counter-increment: toc; display: flex; gap: 0.8rem; }
.post-toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--accent);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
  flex-shrink: 0;
}
.post-toc a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}
.post-toc a:hover { color: var(--accent); }

/* Artikeltext */
.post-body {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-dim);
  font-weight: 300;
}
.post-body > * + * { margin-top: 1.25rem; }
.post-body h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--text);
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.post-body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--text);
  margin-top: 2rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.post-body h2 + p,
.post-body h3 + p { margin-top: 0.9rem; }
.post-body strong { color: var(--text); font-weight: 500; }
.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(42, 214, 255, 0.4);
  transition: text-decoration-color 0.2s var(--ease);
}
.post-body a:hover { text-decoration-color: var(--accent); }
.post-body ul,
.post-body ol { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.post-body ul { list-style: none; padding-left: 0; }
.post-body ul > li {
  position: relative;
  padding-left: 1.6rem;
}
.post-body ul > li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}
.post-body ol > li { padding-left: 0.3rem; }
.post-body ol > li::marker { color: var(--accent); font-variant-numeric: tabular-nums; }
.post-body li > ul,
.post-body li > ol { margin-top: 0.6rem; }

.post-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.4rem;
  color: var(--text);
  font-size: 1.05rem;
  font-style: italic;
}

/* Hinweiskasten */
.post-note {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  font-size: 0.98rem;
}
.post-note svg { width: 20px; height: 20px; color: var(--accent); margin-top: 0.25rem; }
.post-note strong { display: block; color: var(--text); margin-bottom: 0.25rem; }
.post-note > div > * + * { margin-top: 0.6rem; }

/* Kurzfassung am Artikelanfang */
.post-summary {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem 1.6rem;
}
.post-summary h2 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem !important;
}
.post-summary ul { margin-top: 0; }
.post-summary li { font-size: 0.98rem; }

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.post-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.post-body th,
.post-body td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.post-body th {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.post-body tbody tr:last-child td { border-bottom: none; }

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.12em 0.4em;
  color: var(--text);
  overflow-wrap: break-word;
}
.post-body pre {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.65;
}
.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

.post-body figure { margin-top: 2rem; }
.post-body figure img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.post-body figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Themen, Teilen, Abschluss-CTA */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.post-tags-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.3rem;
}
.post-tag {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}

.post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.post-share-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.3rem;
}
.post-share-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.post-share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.post-share-btn svg { width: 16px; height: 16px; }
.post-share-hint {
  font-size: 0.8rem;
  color: var(--accent);
  min-height: 1em;
}

.post-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(42, 214, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.post-cta > * { position: relative; }
.post-cta h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}
.post-cta p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 52ch;
}
.post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

/* -----------------------------------------------------------
   KONTAKTLEISTE ÜBER DER NAVIGATION
   Telefonnummer und E-Mail sind auf jeder Seite sichtbar – der
   kürzeste Weg zum Erstgespräch führt über das Telefon.
   ----------------------------------------------------------- */
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 17, 32, 0.6);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.45rem clamp(1.2rem, 4vw, 2.5rem);
  min-height: 36px;
}
.topbar-claim {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-shrink: 0;
}
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* -----------------------------------------------------------
   NAVIGATION: LEISTUNGS-MENÜ
   ----------------------------------------------------------- */
.nav-links .has-sub { position: relative; }

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0.3rem 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-sub-toggle:hover,
.has-sub:hover .nav-sub-toggle { color: var(--text); }
.nav-sub-toggle[data-current="true"] { color: var(--accent); }
.nav-sub-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--ease);
}
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-sub {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 290px;
  list-style: none;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
              visibility 0.18s var(--ease);
  z-index: 60;
}
/* Unsichtbare Brücke: sonst schließt das Menü, sobald die Maus den
   Abstand zwischen Menüpunkt und Panel überquert. */
.nav-sub::before {
  content: '';
  position: absolute;
  top: -0.9rem;
  left: 0;
  right: 0;
  height: 0.9rem;
}
.has-sub:hover .nav-sub,
.has-sub:focus-within .nav-sub,
.nav-sub-toggle[aria-expanded="true"] + .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub li { width: 100%; }
.nav-sub a {
  display: block;
  padding: 0.62rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  white-space: nowrap;
}
.nav-sub a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-sub a strong { font-weight: 600; color: var(--text); }
.nav-sub a:hover strong { color: var(--accent); }
.nav-sub li:first-child a { border-bottom: 1px solid var(--border); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }

/* -----------------------------------------------------------
   HERO-ERGÄNZUNGEN
   ----------------------------------------------------------- */
.hero-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
  margin: 0 0 2rem;
}
.hero-usp li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 400;
}
.hero-usp svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.hero-note {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* -----------------------------------------------------------
   PROBLEMKARTEN
   ----------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.problem {
  background: var(--bg);
  padding: 1.6rem 1.5rem 1.8rem;
  border-left: 2px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.problem:hover { background: var(--surface); border-left-color: var(--accent); }
.problem h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.problem p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}
.services-bg .problem { background: var(--bg-elev); }
.services-bg .problem:hover { background: var(--surface); }

/* -----------------------------------------------------------
   KONTEXT-CTA IM SEITENFLUSS
   ----------------------------------------------------------- */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}
.inline-cta h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.inline-cta p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 60ch;
}
.inline-cta .btn { flex-shrink: 0; }

.services-more {
  margin-top: 1.8rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 78ch;
}
.services-more a { color: var(--accent); text-decoration: none; }
.services-more a:hover { text-decoration: underline; }

/* -----------------------------------------------------------
   QUALITÄTSVERSPRECHEN / REAKTIONSZEITEN
   ----------------------------------------------------------- */
.badge-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.fact-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fact-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.fact-badge span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.fact-badge strong {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.005em;
}

/* -----------------------------------------------------------
   KUNDENSTIMMEN
   (Der Abschnitt geht erst mit echten, freigegebenen Aussagen live –
   siehe RELAUNCH-DOKUMENTATION.md.)
   ----------------------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
}
.quote-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
  flex-grow: 1;
}
.quote-card figcaption {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
.quote-card figcaption strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

/* -----------------------------------------------------------
   PROJEKT-TEASER UND FALLBEISPIELE
   ----------------------------------------------------------- */
.case-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.case-teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.8rem 1.7rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.case-teaser:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.case-teaser:hover .service-arrow { transform: translate(2px, -2px); color: var(--accent); }
.case-teaser h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  padding-right: 1.6rem;
}
.case-teaser p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.case-label {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  scroll-margin-top: calc(var(--header-h) + 30px);
}
.services-bg .case { background: var(--bg); }
.case-head { padding-bottom: 1.6rem; border-bottom: 1px solid var(--border); }
.case-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 0.6rem;
  text-wrap: balance;
}
.case-meta {
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.case-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 2.5rem;
  margin-top: 1.8rem;
}
.case-step h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.case-step p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
}
.case-link {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}
.case-link a { color: var(--accent); text-decoration: none; }
.case-link a:hover { text-decoration: underline; }

/* -----------------------------------------------------------
   PERSON / TEAM
   ----------------------------------------------------------- */
.person-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* Platzhalter, bis ein professionelles Portrait vorliegt. Bewusst als
   Monogramm gestaltet statt als leerer Rahmen – siehe TODO-Liste. */
.person-photo {
  aspect-ratio: 4 / 5;
  max-width: 340px;
  width: 100%;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 20%, rgba(42, 214, 255, 0.14), transparent 60%),
    linear-gradient(170deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.person-monogram {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 4.6rem);
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.55;
}
.person-copy p {
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-weight: 300;
  font-size: 1.02rem;
  max-width: 66ch;
}
.person-copy .section-title { margin-bottom: 0.3rem; }
.person-role {
  font-size: 0.88rem !important;
  color: var(--accent) !important;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem !important;
}

/* -----------------------------------------------------------
   UNTERSEITEN-BAUSTEINE
   ----------------------------------------------------------- */
.page-hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split-grid .section-title { margin-top: 0.9rem; }

.about-list.one-col { grid-template-columns: 1fr; gap: 0.9rem; }
.about-list a { color: var(--accent); text-decoration: none; }
.about-list a:hover { text-decoration: underline; }

/* Hinweiskasten außerhalb des Blogs */
.note-box {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 1rem;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.note-box.wide { max-width: 100%; }
.note-box > svg { width: 20px; height: 20px; color: var(--accent); margin-top: 0.2rem; }
.note-box strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.note-box p {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.7;
  font-weight: 300;
}
.note-box a { color: var(--accent); text-decoration: none; }
.note-box a:hover { text-decoration: underline; }

/* Zwei Modelle / zwei Optionen gegenübergestellt */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.model {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.model.is-recommended { border-color: var(--accent-line); background: var(--surface-2); }
.model-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.model h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.model p {
  font-size: 0.94rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}
.model ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.model li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.55;
}
.model li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-top: 0.55em;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}
.model-link { margin-top: auto; padding-top: 0.4rem; }
.model-link a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.model-link a:hover { text-decoration: underline; }

/* Querverweise auf die übrigen Leistungen */
.siblings-section { padding-top: clamp(3rem, 6vw, 4.5rem); }
.sibling-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.sibling {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  color: var(--text-dim);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.sibling:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.sibling svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.6; }

/* Beitragskarten auf Leistungsseiten */
.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}
.topic-card:hover { border-color: var(--border-strong); }
.topic-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.topic-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.topic-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.topic-card h3 a:hover { color: var(--accent); }
.topic-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* Verweis von einer Katalogkarte auf die Detailseite */
.service-link { margin-top: auto; }
.service-link a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
}
.service-link a:hover { text-decoration: underline; }
.service-card.is-muted .service-icon {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--muted);
}

/* -----------------------------------------------------------
   KONTAKTSEITE: ABLAUF UND EINWANDBEHANDLUNG
   ----------------------------------------------------------- */
.talk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.talk-step {
  background: var(--bg);
  padding: 1.8rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.talk-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 0.5rem;
}
.talk-step h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.talk-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.objections {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.objections h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  margin-bottom: 0.9rem;
}
.objection { border-top: 1px solid var(--border); }
.objection:last-child { border-bottom: 1px solid var(--border); }
.objection summary {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 0;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  transition: color 0.2s var(--ease);
}
.objection summary::-webkit-details-marker { display: none; }
.objection summary::before {
  content: '+';
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.25;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.objection[open] summary::before { content: '−'; }
.objection summary:hover { color: var(--accent); }
.objection p {
  padding: 0 0 1.1rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}

.anfahrt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.anfahrt-grid .service-area { margin-top: 0; }

/* -----------------------------------------------------------
   FUSSZEILEN-ERGÄNZUNGEN
   ----------------------------------------------------------- */
.footer-claim {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem !important;
  color: var(--text) !important;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}
.footer-regions {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.footer-regions li { font-size: 0.8rem; line-height: 1.55; }

/* -----------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .topbar-claim { display: none; }
  .badge-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sibling-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid,
  .person-grid,
  .anfahrt-grid { grid-template-columns: 1fr; }
  .person-photo { max-width: 260px; }
  .model-grid { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .quote-grid,
  .case-teaser-grid,
  .topic-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sibling-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talk-grid { grid-template-columns: 1fr; }
  .services-grid,
  .services-grid.cols-4,
  .services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .faq-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* Kontaktleiste rückt auf die Symbole zusammen, die Höhe des Kopfbereichs
     sinkt entsprechend – sonst stimmen die Sprungmarken-Abstände nicht. */
  :root { --header-h: 100px; }
  .topbar-inner { justify-content: center; padding: 0.4rem 1.2rem; }
  .topbar-contact { gap: 1.2rem; }

  /* Das Leistungs-Menü klappt im mobilen Menü auf, statt zu schweben. */
  .nav-sub-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.98rem;
  }
  .nav-sub {
    position: static;
    transform: none;
    min-width: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    transition: none;
  }
  .nav-sub::before { display: none; }
  .has-sub:hover .nav-sub,
  .has-sub:focus-within .nav-sub { display: none; }
  .nav-sub-toggle[aria-expanded="true"] + .nav-sub {
    display: block;
    transform: none;
  }
  .nav-links .nav-sub a {
    padding: 0.75rem 0 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
  }

  nav.primary-nav { padding: 0.75rem 1.2rem; gap: 1rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin: 0;
    padding: 0.5rem 1.2rem 1.2rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.98rem;
  }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-links-cta { display: block; margin-top: 1rem; }
  .nav-links .nav-links-cta a {
    border-bottom: none;
    padding: 0;
  }
  .nav-links .nav-links-cta .btn {
    width: 100%;
    padding: 0.85rem 1.4rem;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .post-card.is-featured { grid-template-columns: 1fr; }
  .post-card.is-featured .post-card-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .post-card.is-featured .post-card-media img { height: auto; }
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .quote-grid,
  .case-teaser-grid,
  .topic-card-grid,
  .sibling-grid,
  .badge-row { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; padding: 1.4rem 1.3rem; }
  .inline-cta .btn { width: 100%; white-space: normal; }
  .hero-usp { flex-direction: column; gap: 0.5rem; }
  .topbar-contact a span { font-size: 0.78rem; }
  .case { padding: 1.4rem 1.3rem 1.6rem; }
  .note-box { padding: 1.3rem; }
  .person-photo { max-width: 200px; }
  .objections { padding: 1.3rem; }
  .page-hero-actions .btn { flex: 1 1 auto; white-space: normal; }
  .services-grid,
  .services-grid.cols-4,
  .services-grid.cols-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  /* Lange Beschriftungen (z. B. ganze Leistungsnamen) dürfen auf schmalen
     Displays umbrechen, statt die Seite breiter zu machen. */
  .cta-actions .btn,
  .post-cta-actions .btn { flex: 1 1 auto; white-space: normal; }
  .why-aside, .form-card { padding: 1.5rem; }
  .marquee::before, .marquee::after { width: 60px; }
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.25rem; }
  .cookie-buttons .btn { flex: 1 1 auto; }
  .footer-bar { flex-direction: column; align-items: flex-start; }

  .post-grid { grid-template-columns: 1fr; }
  .post-toc, .post-cta { padding: 1.3rem; }
  .post-meta { flex-direction: column; align-items: flex-start; }
  .post-body { font-size: 1.02rem; }
  .post-body th, .post-body td { padding: 0.7rem 0.9rem; }
  .post-cta-actions .btn { flex: 1 1 auto; }
}

/* -----------------------------------------------------------
   REDUZIERTE BEWEGUNG
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* -----------------------------------------------------------
   DRUCK
   ----------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .marquee,
  .hero-orb, .cta-strip, .skip-link,
  .blog-search, .filter-row, .post-share, .post-cta, .blog-more { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-section, .form-card { border: 1px solid #ccc; background: #fff; }
  .legal-section p, .legal-section address, .legal-section li,
  .legal-section h2, .legal-section h3, .legal-section h4 { color: #000; }
  .post-body, .post-lede, .post-body h2, .post-body h3, .post-header h1 { color: #000; }
  .post-toc, .post-summary, .post-note { border: 1px solid #ccc; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
