/* =============================================================================
   DLx-Media.com — Main Stylesheet
   Kein Tailwind-Build nötig, kein PostCSS, pure CSS.
   Font: Geist via Bunny Fonts (DSGVO-konform)
   ============================================================================= */

/* --- Custom Properties ------------------------------------------------------- */
:root {
  --red:        #DC1F26;
  --red-dk:     #B81920;
  --red-lt:     #FDECEC;
  --grey:       #3F3F3F;
  --black:      #000000;
  --ink-950:    #0A0A0A;
  --ink-800:    #171717;
  --ink-600:    #3F3F3F;
  --ink-400:    #737373;
  --ink-200:    #C7C7C7;
  --ink-100:    #E5E5E5;
  --ink-50:     #F5F5F5;
  --white:      #FFFFFF;
  --font:       'Geist', system-ui, sans-serif;
  --font-mono:  'Geist Mono', ui-monospace, monospace;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --container:  1280px;
  --section-py: 6rem;
}

/* --- Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink-950); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* --- Focus Ring (a11y) ------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Skip Link (a11y) -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--black);
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
  transition: top .2s;
  font-size: .875rem;
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* --- Container --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Sections ---------------------------------------------------------------- */
.section        { padding: var(--section-py) 0; }
.section-white  { background: var(--white); }
.section-gray   { background: var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.section-dark   { background: var(--black); color: var(--white); position: relative; overflow: hidden; }

/* --- Typography -------------------------------------------------------------- */
.section-label  { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: .75rem; }
.section-title  { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1rem; }
.section-desc   { color: var(--ink-600); line-height: 1.75; max-width: 26rem; }
.section-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.text-red       { color: var(--red); }
.accent-underline {
  background: linear-gradient(transparent 68%, rgba(220,31,38,0.18) 68%);
  padding: 0 .1em;
}
.page-title   { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.page-intro   { font-size: 1.125rem; color: var(--ink-600); margin-bottom: 2rem; line-height: 1.75; }
.text-muted   { color: var(--ink-400); }

/* --- Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9375rem;
  border: none;
  cursor: pointer;
  transition: background .15s, opacity .15s, transform .15s;
  text-decoration: none;
  font-family: var(--font);
  line-height: 1;
}
.btn-sm  { padding: .4rem .85rem; font-size: .8125rem; }
.btn-lg  { padding: .875rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dk); }
.btn-dark { background: var(--ink-950); color: var(--white); }
.btn-dark:hover { background: var(--red); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); }
.btn-outline { background: transparent; color: var(--ink-950); border: 1px solid var(--ink-100); }
.btn-outline:hover { background: var(--ink-50); }
.mt-3 { margin-top: .75rem; }
.mt-6 { margin-top: 1.5rem; }

/* --- Top Bar ----------------------------------------------------------------- */
.topbar { background: var(--black); color: var(--ink-200); font-size: .75rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .4rem; }
.topbar-left { display: flex; align-items: center; gap: 1.25rem; }
.topbar-left a { display: flex; align-items: center; gap: .375rem; transition: color .15s; }
.topbar-left a:hover { color: #F9C9CB; }
.topbar-left i { color: var(--red); }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-switcher button { display: flex; align-items: center; gap: .375rem; background: none; border: none; color: var(--ink-200); cursor: pointer; font-size: .75rem; font-family: var(--font); padding: .25rem 0; transition: color .15s; }
.lang-switcher button:hover { color: #F9C9CB; }
.lang-switcher i { font-size: .625rem; transition: transform .15s; }
.lang-dropdown { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--white); color: var(--ink-950); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); min-width: 9rem; overflow: hidden; box-shadow: var(--shadow-lg); z-index: 50; }
.lang-dropdown a { display: flex; align-items: center; gap: .625rem; padding: .625rem .875rem; font-size: .875rem; transition: background .15s; }
.lang-dropdown a:hover { background: var(--ink-50); }
.lang-dropdown [aria-selected=true] { font-weight: 500; }

/* --- Site Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ink-100); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.site-logo { display: flex; align-items: center; gap: .625rem; }
.logo-text { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.logo-x { color: var(--red); }
.logo-tld { color: var(--ink-400); font-weight: 400; }
.main-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.nav-link { padding: .5rem .75rem; font-size: .9375rem; font-weight: 500; border-radius: var(--radius); transition: color .15s; }
.nav-link:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.mobile-toggle { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; background: none; border: none; font-size: 1.125rem; cursor: pointer; border-radius: var(--radius); transition: background .15s; }
.mobile-toggle:hover { background: var(--ink-50); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-nav { border-top: 1px solid var(--ink-100); background: var(--white); }
.mobile-nav nav { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-link { display: block; padding: .5rem 0; font-weight: 500; border-bottom: 1px solid var(--ink-50); }

/* --- Hero -------------------------------------------------------------------- */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero-halo {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 18%, rgba(220,31,38,.18) 0%, transparent 36%),
              radial-gradient(circle at 8%  90%, rgba(220,31,38,.07) 0%, transparent 42%);
}
.hero-bg-logo { position: absolute; right: -10%; top: 0; width: 55%; opacity: .065; pointer-events: none; user-select: none; }
.hero-content { position: relative; padding-top: 5.5rem; padding-bottom: 7rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 99px; padding: .25rem .875rem; font-size: .75rem; color: var(--ink-200); margin-bottom: 2rem; font-family: var(--font-mono); }
.badge-dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero-headline { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: .98; max-width: 60rem; margin-bottom: 1.75rem; }
.hero-subline { max-width: 38rem; font-size: 1.125rem; color: var(--ink-200); line-height: 1.75; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 4rem; }
.hero-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2.25rem; max-width: 48rem; }
@media (min-width: 768px) { .hero-kpis { grid-template-columns: repeat(4, 1fr); } }
.hero-kpis dt { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); margin-bottom: .25rem; }
.hero-kpis dd { font-size: 1.875rem; font-weight: 600; line-height: 1.1; }
.hero-kpis dd span { font-size: 1rem; font-weight: 400; color: var(--ink-400); }
.marquee-bar { border-top: 1px solid rgba(255,255,255,.08); background: var(--black); padding-block: 1rem; overflow: hidden; }
.marquee-track { display: flex; gap: 2rem; white-space: nowrap; font-family: var(--font-mono); font-size: .875rem; color: var(--ink-200); animation: marquee 55s linear infinite; }
.marquee-track i { color: var(--red); font-size: .7rem; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --- Reveal animations ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rv .9s ease-out forwards; }
  .reveal-2 { animation-delay: .12s; }
  .reveal-3 { animation-delay: .26s; }
  .reveal-4 { animation-delay: .42s; }
  @keyframes rv { to { opacity: 1; transform: translateY(0); } }
}

/* --- Service Cards ----------------------------------------------------------- */
.cluster-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cluster-label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); white-space: nowrap; }
.cluster-line { flex: 1; height: 1px; background: var(--ink-100); }
.mt-12 { margin-top: 3rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--ink-100); border: 1px solid var(--ink-100); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: .5rem; }
.service-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 900px) { .service-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--white); padding: 2rem; border: 1px solid transparent; position: relative; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: var(--red); transform: translateY(-2px); }
.service-card-new { }
.new-badge { position: absolute; top: 1rem; right: 1rem; font-size: .65rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; background: var(--red); color: var(--white); padding: .15rem .5rem; border-radius: 99px; }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.25rem; }
.service-icon { width: 3rem; height: 3rem; background: var(--red-lt); color: var(--red); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.service-num { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-200); margin-top: .25rem; }
.service-card h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: .625rem; }
.service-card p { font-size: .9375rem; color: var(--ink-600); line-height: 1.7; margin-bottom: 1.25rem; }
.card-link { font-size: .875rem; font-weight: 500; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s; }
.card-link:hover { gap: .6rem; }

/* --- Process ----------------------------------------------------------------- */
.process-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .process-layout { grid-template-columns: 5fr 7fr; } }
.process-intro p { color: var(--ink-600); line-height: 1.75; }
.process-steps { display: flex; flex-direction: column; gap: .75rem; padding: 0; }
.process-step { display: flex; gap: 1.5rem; background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-xl); padding: 1.5rem 2rem; transition: border-color .2s; }
.process-step:hover { border-color: var(--red); }
.process-num { font-family: var(--font-mono); font-size: 2.75rem; font-weight: 500; color: var(--red); line-height: 1; flex-shrink: 0; min-width: 3.5rem; }
.process-step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .5rem; }
.process-step p { font-size: .9375rem; color: var(--ink-600); line-height: 1.7; }

/* --- Projects ---------------------------------------------------------------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.project-card { display: block; background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-xl); padding: 1.75rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.project-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.project-domain { font-family: var(--font-mono); font-size: .8125rem; color: var(--red); margin-bottom: .625rem; display: flex; align-items: center; gap: .4rem; }
.project-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; transition: color .2s; }
.project-card:hover h3 { color: var(--red); }
.project-card p { font-size: .9375rem; color: var(--ink-600); }

/* --- Ratgeber --------------------------------------------------------------- */
.ratgeber-header { max-width: 56rem; margin-bottom: 3rem; }
.ratgeber-intro { font-size: 1.125rem; color: var(--ink-600); line-height: 1.75; }
.ratgeber-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .ratgeber-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 2.5rem 3rem; align-items: start; }
  .ratgeber-layout--no-toc { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .ratgeber-toc { position: sticky; top: 5.5rem; align-self: start; z-index: 2; }
}
.ratgeber-toc nav { max-height: calc(100vh - 6.5rem); overflow-y: auto; }
.toc-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); font-family: var(--font-mono); margin-bottom: .75rem; padding-left: .75rem; }
.toc-link { display: block; padding: .4rem 0 .4rem .75rem; border-left: 2px solid var(--ink-100); color: var(--ink-600); font-size: .8125rem; transition: border-color .2s, color .2s; line-height: 1.4; margin-bottom: .15rem; hyphens: auto; }
.toc-link.toc-level-3 { padding-left: 1.25rem; font-size: .8125rem; color: var(--ink-500); }
.toc-link:hover, .toc-link.active { border-color: var(--red); color: var(--red); }
.ratgeber-body.prose { max-width: none; }

/* --- Prose ------------------------------------------------------------------ */
.prose { color: var(--ink-800); line-height: 1.8; font-size: 1.0625rem; max-width: 52rem; }
.prose-lead { font-size: 1.125rem; color: var(--ink-600); line-height: 1.8; margin-bottom: 1.5rem; }
.prose p { margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; margin: 2.75rem 0 1rem; scroll-margin-top: 5.5rem; }
.prose h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin: 2.5rem 0 .875rem; scroll-margin-top: 5.5rem; }
.prose h4 { font-size: 1.125rem; font-weight: 600; margin: 2rem 0 .5rem; }
.prose ul { margin: 0 0 1.25rem; padding: 0; }
.prose ul li { position: relative; padding-left: 1.375rem; margin-bottom: .5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: .75rem; height: 2px; background: var(--red); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-dk); }
.prose strong { color: var(--ink-950); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--red); padding: .5rem 0 .5rem 1.25rem; margin: 1.5rem 0; color: var(--ink-600); font-style: italic; }

/* Tabellen (Glossar, Seiten) — kompakter & besser abgegrenzt */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  line-height: 1.55;
  margin: 1.75rem 0 2rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.prose caption {
  caption-side: bottom;
  padding: .5rem .75rem 0;
  font-size: .8125rem;
  color: var(--ink-500);
  text-align: left;
}
.prose thead th,
.prose th {
  background: var(--ink-800);
  color: var(--white);
  font-weight: 600;
  font-size: .8125rem;
  text-align: left;
  vertical-align: top;
  padding: .7rem .9rem;
  border-bottom: 2px solid var(--red);
}
.prose thead th strong,
.prose th strong { color: inherit; font-weight: 600; }
.prose td {
  padding: .65rem .9rem;
  vertical-align: top;
  color: var(--ink-700);
  border-bottom: 1px solid var(--ink-100);
}
.prose td strong { color: var(--ink-900); font-weight: 600; }
.prose tbody tr:nth-child(even) td { background: var(--ink-50); }
.prose tbody tr:hover td { background: var(--red-lt); }
.prose tbody tr:last-child td { border-bottom: none; }
/* Erste Zeile als Kopfzeile, wenn kein thead (TinyMCE) */
.prose table:not(:has(thead)) tr:first-child td {
  background: var(--ink-800);
  color: var(--white);
  font-weight: 600;
  font-size: .8125rem;
  border-bottom: 2px solid var(--red);
}
.prose table:not(:has(thead)) tr:first-child td strong { color: inherit; }
.prose table:not(:has(thead)) tr:first-child ~ tr:nth-child(even) td { background: var(--ink-50); }
.prose table:not(:has(thead)) tr:first-child ~ tr:hover td { background: var(--red-lt); }

@media (max-width: 767px) {
  .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    min-width: 36rem;
  }
}

/* --- CTA -------------------------------------------------------------------- */
.hero-halo, .cta-halo {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 18%, rgba(220,31,38,.18) 0%, transparent 36%),
              radial-gradient(circle at 8%  90%, rgba(220,31,38,.08) 0%, transparent 42%);
}
.cta-bg-logo { position: absolute; left: -10%; bottom: -5%; width: 55%; opacity: .06; pointer-events: none; }
.cta-content { position: relative; text-align: center; padding-block: 5.5rem; max-width: 56rem; margin-inline: auto; }
.cta-label { color: #F9C9CB; }
.cta-title { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.25rem; }
.cta-subline { font-size: 1.125rem; color: var(--ink-200); margin-bottom: 2.25rem; line-height: 1.75; max-width: 36rem; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.cta-content--with-form { max-width: 42rem; }

/* --- Seite: Beitragsbild + CTA ---------------------------------------------- */
.page-hero-image { margin: 0; width: 100%; line-height: 0; background: var(--ink-950); }
.page-hero-image img { width: 100%; max-height: min(52vh, 520px); object-fit: cover; display: block; }
.page-content-wrap { max-width: 900px; }
.page-cta-form { text-align: left; margin-top: 2rem; max-width: 100%; }
.page-cta-form .form-group label { color: var(--ink-200); font-size: .875rem; }
.page-cta-form input,
.page-cta-form textarea {
  width: 100%; padding: .65rem .85rem; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06);
  color: var(--white); font: inherit;
}
.page-cta-form input::placeholder,
.page-cta-form textarea::placeholder { color: var(--ink-400); }
.page-cta-form input:focus,
.page-cta-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.page-cta .alert { text-align: left; margin-bottom: 1rem; max-width: 100%; }

/* --- Contact Form ------------------------------------------------------------ */
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1fr 240px; } }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form-wrap { position: relative; }
.contact-form-honeypot {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  opacity: 0; pointer-events: none;
}
.contact-form-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form-fields:not(.is-active) { opacity: 1; }
.contact-form-fields:not(.is-active) input:disabled,
.contact-form-fields:not(.is-active) textarea:disabled,
.contact-form-fields:not(.is-active) button:disabled {
  cursor: wait;
}
.contact-form--ready .contact-form-fields input,
.contact-form--ready .contact-form-fields textarea,
.contact-form--ready .contact-form-fields button { cursor: auto; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8125rem; font-weight: 500; color: var(--ink-600); margin-bottom: .375rem; }
.form-group label span { color: var(--red); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .625rem .875rem;
  border: 1px solid var(--ink-100); border-radius: var(--radius);
  font-family: var(--font); font-size: .9375rem; color: var(--ink-950);
  transition: border-color .15s;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--red); }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.privacy-note { font-size: .8125rem; color: var(--ink-400); display: flex; align-items: center; gap: .4rem; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .625rem; font-size: .9375rem; }
.alert-success { background: #EAF3DE; color: #3B6D11; border: 1px solid #C0DD97; }
.alert-error { background: #FCEBEB; color: #A32D2D; border: 1px solid #F7C1C1; }
.contact-aside h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.contact-info { display: flex; flex-direction: column; gap: .75rem; }
.contact-info li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; }
.contact-info i { color: var(--red); margin-top: .1rem; flex-shrink: 0; }
.contact-info a { transition: color .15s; }
.contact-info a:hover { color: var(--red); }
.response-note { margin-top: 1.5rem; padding: 1rem; background: var(--ink-50); border-radius: var(--radius); font-size: .875rem; color: var(--ink-600); display: flex; align-items: center; gap: .5rem; }

/* --- Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink-950); color: var(--ink-200); }
.site-footer .container { padding-block: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-desc { font-size: .875rem; color: var(--ink-400); line-height: 1.7; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .75rem; }
.social-links a { color: var(--ink-400); font-size: 1.125rem; transition: color .15s; }
.social-links a:hover { color: var(--red); }
.footer-heading { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; color: var(--ink-400); transition: color .15s; }
.footer-links a:hover { color: var(--red); }
.footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact li { display: flex; gap: .5rem; font-size: .875rem; color: var(--ink-400); align-items: flex-start; }
.footer-contact i { color: var(--red); margin-top: .1rem; flex-shrink: 0; }
.footer-contact a:hover { color: var(--red); transition: color .15s; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; color: var(--ink-400); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { transition: color .15s; }
.footer-legal a:hover { color: var(--red); }

/* --- Glossar ----------------------------------------------------------------- */
.glossary-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-400); margin-bottom: 1.5rem; }
.glossary-breadcrumb a { color: var(--ink-600); transition: color .15s; }
.glossary-breadcrumb a:hover { color: var(--red); }
.glossary-index-header { margin-bottom: 2rem; }
.glossary-index-header h1 { margin-bottom: 1rem; }
.glossary-index-intro { max-width: 48rem; color: var(--ink-600); }
.glossary-alpha-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink-100); }
.glossary-alpha-link { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .4rem; border-radius: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-700); background: var(--ink-50); transition: background .15s, color .15s; }
.glossary-alpha-link:hover:not(.is-empty) { background: var(--red); color: #fff; }
.glossary-alpha-link.is-empty { opacity: .35; pointer-events: none; }
.glossary-letter-group { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.glossary-letter-heading { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; color: var(--red); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink-100); }
.glossary-term-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.glossary-term-link { display: block; padding: 1rem 1.25rem; border: 1px solid var(--ink-100); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.glossary-term-link:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(220, 31, 38, .08); }
.glossary-term-title { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink-900); margin-bottom: .25rem; }
.glossary-term-excerpt { display: block; font-size: .9375rem; color: var(--ink-500); line-height: 1.5; }
.glossary-term .glossary-term-lead { font-size: 1.125rem; color: var(--ink-600); max-width: 42rem; }
.glossary-back { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--ink-100); }

/* --- Responsive Helpers ------------------------------------------------------ */
@media (max-width: 768px) {
  :root { --section-py: 4rem; }
  .hero-bg-logo { width: 90%; right: -30%; opacity: .04; }
  .cta-bg-logo { display: none; }
}
