/* ==========================================================================
   Wagner CNC Service — Stylesheet
   Klar und hell: dunkle Kopfzeile, geteilter Bildkopf, zentrierte
   Abschnitte, hellgraue Karten, Ablauf als Zeitstrahl. Markenblau als Akzent.
   ========================================================================== */

:root {
  --blue: #3b75c4;
  --blue-hover: #2f62a8;
  --blue-light: #9dbde9;
  --blue-tint: #eaf1fb;
  --dark: #111d32;
  --dark-2: #1a2943;
  --white: #ffffff;
  --gray: #f2f5f9;
  --line: #e1e6ed;
  --line-strong: #c4ccd8;
  --heading: #202937;
  --text: #475163;
  --muted: #5d6676;
  --on-dark-muted: #b3bdcc;
  --error: #b42318;
  --success: #17663f;
  --focus: var(--blue);

  --font: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --topbar-h: 72px;
  --subnav-h: 0px;
  --radius: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 760px) {
  :root { --subnav-h: 52px; }
}
@media (min-width: 1024px) {
  :root { --topbar-h: 92px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--heading);
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
figure { margin: 0; }
:where(ul[class], ol[class], nav ul, nav ol, .footer-col ul, dl) { list-style: none; margin: 0; padding: 0; }
dd { margin: 0; }

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--line-strong); color: var(--heading); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-hover); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue-hover);
  text-decoration: none;
}
.more .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more:hover .icon { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }

.topbar { height: var(--topbar-h); background: var(--white); color: var(--heading); border-bottom: 1px solid var(--line); }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; flex: none; padding: 6px 0; }
.brand img { width: 176px; height: auto; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
  transition: background-color 150ms, color 150ms;
}
.main-nav li a:hover { color: var(--blue-hover); background: var(--gray); }
.main-nav li a[aria-current] { color: var(--blue-hover); font-weight: 600; }

.nav-extra { display: none; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.topbar-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.topbar-phone .icon { color: var(--blue); }
.topbar-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar-cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--heading);
  cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 22px; height: 14px; }
.menu-toggle .bars::before,
.menu-toggle .bars::after,
.menu-toggle .bars span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 150ms, top 220ms var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 6px; }
.menu-toggle .bars::after { top: 12px; }
.menu-open .menu-toggle .bars::before { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars span { opacity: 0; }
.menu-open .menu-toggle .bars::after { top: 6px; transform: rotate(-45deg); }

/* Unterleiste mit den Leistungen */
.subnav { display: none; background: var(--gray); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; justify-content: center; gap: 8px; }
.subnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--subnav-h);
  padding: 0 22px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms;
}
.subnav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--heading);
  transform: scaleX(0);
  transition: transform 220ms var(--ease);
}
.subnav a:hover { color: var(--heading); }
.subnav a:hover::after, .subnav a[aria-current]::after { transform: scaleX(1); }
.subnav a[aria-current] { color: var(--heading); font-weight: 600; }

@media (min-width: 760px) {
  .subnav { display: block; }
}
@media (min-width: 600px) {
  .topbar-cta { display: inline-flex; }
}

@media (max-width: 1023.98px) {
  .main-nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--subnav-h));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transition: opacity 200ms, visibility 0s linear 200ms;
  }
  .menu-open .main-nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li a {
    width: 100%;
    min-height: 58px;
    padding: 0 4px;
    border-radius: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading);
  }
  .main-nav li a:hover { background: none; color: var(--blue-hover); }
  .main-nav li a[aria-current] { color: var(--blue-hover); }
  .main-nav li.sub a { min-height: 50px; padding-left: 18px; font-size: 1.0625rem; font-weight: 500; color: var(--text); }
  .nav-extra { display: flex; flex-direction: column; gap: 10px; }
  .nav-extra .btn { width: 100%; }
  .menu-open { overflow: hidden; }
}

@media (min-width: 1024px) {
  .brand img { width: 248px; }
  .main-nav { margin-left: 12px; }
  .main-nav li.sub { display: none; }
  .menu-toggle { display: none; }
}
@media (min-width: 1180px) {
  .topbar-phone { display: inline-flex; }
}

/* ---------- Geteilter Bildkopf ---------- */
.hero { display: grid; background: var(--dark); color: var(--white); --focus: var(--blue-light); }
.hero-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark-2); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-panel { display: flex; align-items: center; padding: 48px var(--gutter) 56px; }
.hero-content { max-width: 560px; }

.eyebrow {
  margin-bottom: 16px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--blue-light);
}
.hero h1 { color: var(--white); font-size: clamp(2.125rem, 3.8vw, 3.125rem); line-height: 1.1; letter-spacing: -0.02em; }
.hero .lead { margin-top: 18px; font-size: 1.125rem; line-height: 1.6; color: var(--on-dark-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: .875rem;
  color: var(--on-dark-muted);
}
.hero-note .icon { width: 16px; height: 16px; color: var(--blue-light); }
.hero-note a { color: var(--white); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .hero-media { aspect-ratio: auto; }
  .hero-panel { padding: 64px clamp(40px, 5vw, 80px); }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-gray { background: var(--gray); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.section-head p { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }

/* ---------- Karten ---------- */
.card-grid { display: grid; gap: 20px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.section-gray .card { background: var(--white); }
.card:hover { box-shadow: 0 10px 30px -12px rgba(17, 29, 50, .22); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--text); font-size: 1rem; }
.card .more { margin-top: auto; padding-top: 8px; }
.card .more::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */

@media (min-width: 720px) { .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Textkarten ohne Bild */
.tile { padding: 26px 24px; border-radius: var(--radius); background: var(--gray); }
.section-gray .tile { background: var(--white); }
.tile-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--blue-tint);
  color: var(--blue);
}
.tile-icon .icon { width: 20px; height: 20px; }
.tile h3 { font-size: 1.125rem; }
.tile p { margin-top: 8px; font-size: .96875rem; }
.tile-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tile-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ---------- Ablauf als Zeitstrahl ---------- */
.process {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--blue-tint);
}
.process h2 { font-size: 1.375rem; margin-bottom: 28px; }
.timeline { display: grid; gap: 24px; }
.timeline li { position: relative; padding-left: 36px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 21px;
  bottom: -27px;
  width: 2px;
  background: var(--blue);
  opacity: .35;
}
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.0625rem; }
.timeline p { margin-top: 6px; font-size: .9375rem; }

@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 24px; }
  .timeline li { padding: 34px 0 0; }
  .timeline li::before { top: 0; }
  .timeline li::after { left: 18px; right: -24px; top: 8px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-logo { width: min(460px, 100%); height: auto; margin-bottom: 32px; }
.about-text .eyebrow { color: var(--blue-hover); }
.about-text h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.about-text p { margin-top: 16px; }
.about-text .about-owner { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.about-owner strong { display: block; font-size: 1.125rem; font-weight: 600; color: var(--heading); }
.about-owner span { font-size: .9375rem; color: var(--muted); }
.about-text .actions { margin-top: 28px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--heading);
  transition: box-shadow 200ms var(--ease);
}
a.contact-card:hover { box-shadow: 0 8px 24px -12px rgba(17, 29, 50, .25); }
.contact-card .tile-icon { margin: 0; flex: none; width: 44px; height: 44px; }
.contact-card .k { display: block; font-size: .875rem; color: var(--muted); }
.contact-card .v { display: block; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact-card .note { display: block; font-size: .875rem; color: var(--muted); }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); }
.form-card h3 { font-size: 1.375rem; }
.form-hint { margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.req { color: var(--blue); }

.form-grid { display: grid; gap: 18px; margin-top: 24px; }
.field label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 600; color: var(--heading); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--heading);
  -webkit-appearance: none;
          appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475163' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa5b6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 117, 196, .2);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { margin-top: 6px; font-size: .875rem; font-weight: 500; color: var(--error); }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.check label { margin: 0; font-size: .875rem; font-weight: 400; line-height: 1.55; color: var(--muted); }
.check a { color: var(--blue-hover); }

.error-summary { margin-top: 20px; padding: 14px 18px; border: 1px solid #f3c4bf; border-radius: 6px; background: #fdf3f2; }
.error-summary h4 { margin: 0; font-size: .9375rem; color: var(--error); }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.error-summary a { color: var(--error); font-size: .9375rem; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.form-note { flex: 1 1 220px; font-size: .8125rem; color: var(--muted); }
.form-status:not(:empty) {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid #b7e2c8;
  border-radius: 6px;
  background: #edf7f1;
  color: var(--success);
  font-size: .9375rem;
  font-weight: 500;
}
.form-status[data-state="error"] { border-color: #f3c4bf; background: #fdf3f2; color: var(--error); }
.form-status a { color: inherit; font-weight: 600; }

/* Unsichtbares Feld gegen Spam-Bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn:disabled { opacity: .65; cursor: progress; }

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 4fr 7fr; gap: 28px; }
}

/* ---------- Unterseiten ---------- */
.split { display: grid; gap: 36px; align-items: center; }
.split-media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.split .intro { margin-top: 14px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; color: var(--heading); font-weight: 500; }
.checks .icon { margin-top: 4px; color: var(--blue); }

.table-wrap { max-width: 860px; margin-inline: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 16px 12px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .875rem; font-weight: 600; color: var(--muted); border-bottom-color: var(--line-strong); }
.table tbody th { width: 40%; font-weight: 600; color: var(--heading); }
@media (max-width: 599.98px) {
  .table thead { display: none; }
  .table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table th, .table td { display: block; padding: 0; border: 0; width: auto !important; }
  .table td { margin-top: 2px; }
}

/* Abschluss-Box */
.cta-box {
  padding: clamp(32px, 5vw, 48px) var(--gutter);
  border-radius: var(--radius);
  background: var(--gray);
  text-align: center;
}
.cta-box h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.cta-box p { margin-top: 10px; color: var(--muted); }
.cta-box .actions { justify-content: center; margin-top: 22px; }

/* ---------- Rechtliches ---------- */
.page-title { padding: clamp(40px, 6vw, 72px) 0 0; }
.page-title .breadcrumb ol, .page-title .breadcrumb a { color: var(--muted); }
.page-title .breadcrumb a:hover { color: var(--blue-hover); }
.page-title .breadcrumb [aria-current] { color: var(--heading); }
.page-title h1 { font-size: clamp(2rem, 4vw, 2.875rem); }
.legal-content { max-width: 70ch; }
.legal-content h2 { margin: 40px 0 10px; font-size: 1.375rem; }
.legal-content p, .legal-content ul { margin: 0 0 14px; }
.legal-content ul { padding-left: 22px; }
.legal-content a:not(.btn) { color: var(--blue-hover); }
.legal-content .lead-text { font-size: 1.1875rem; color: var(--heading); }
.legal-content .actions { margin-top: 28px; }
.notice { margin-bottom: 28px; padding: 16px 20px; border-radius: 8px; background: #fff8e6; border: 1px solid #f3dca2; font-size: .9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: .9375rem; --focus: var(--blue-light); }
.footer-grid { display: grid; gap: 36px; padding: 64px 0 48px; }
.footer-brand img { width: 280px; height: auto; }
.footer-brand p { max-width: 32ch; margin-top: 18px; }
.footer-col h2 { margin-bottom: 12px; font-size: .9375rem; font-weight: 600; color: var(--white); letter-spacing: 0; }
.footer-col a { display: inline-block; padding: 4px 0; color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-legal a { color: var(--on-dark-muted); text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- Dezentes Einblenden ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
