/* ==========================================================================
   Mustermann GmbH — Elektrotechnik & Photovoltaik, Klagenfurt
   Hausfarben laut Briefing: kräftiges Blau + Grau/Anthrazit
   ========================================================================== */

/* --- Inter, selbst gehostet (kein Google-Fonts-Request) ------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-700.woff2') format('woff2');
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --blue:      #0b4ea2;
  --blue-600:  #0a4590;
  --blue-700:  #083b7a;
  --blue-900:  #073269;
  --blue-dark: #072e5f;
  --blue-050:  #eff4fb;
  --blue-100:  #dce8f7;

  --ink:       #1b1f24;
  --ink-700:   #2a3037;
  --grey-600:  #5a646e;
  --grey-500:  #7a838d;
  --grey-300:  #d6dbe1;
  --grey-200:  #e4e8ed;
  --grey-100:  #f1f3f6;
  --grey-050:  #f8f9fb;
  --white:     #ffffff;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 4px 16px -4px rgba(16, 24, 40, .1), 0 2px 6px -2px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 48px -12px rgba(11, 78, 162, .18);

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --wrap: 1140px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);

  --nav-h: 68px;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p  { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li + li { margin-top: .4em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* --- Layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--grey { background: var(--grey-050); border-block: 1px solid var(--grey-200); }
.section--blue { background: var(--blue-dark); color: rgba(255,255,255,.82); }
.section--blue h2, .section--blue h3 { color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: .9rem;
}
.section--blue .eyebrow { color: #8fbdf2; }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.2rem); color: var(--grey-600); max-width: 62ch; }
.section--blue .lede { color: rgba(255,255,255,.78); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--grey-300); }
.btn--ghost:hover { background: var(--white); border-color: var(--blue); color: var(--blue); }
.btn--onblue { background: #fff; color: var(--blue-dark); }
.btn--onblue:hover { background: var(--blue-050); color: var(--blue-dark); }
.btn--onblue-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--onblue-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--grey-200);
}
.site-header__inner {
  min-height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink); flex: 0 0 auto;
}
.brand__mark {
  width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: 8px; background: var(--blue);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: -.03em;
}
.brand__name { font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; line-height: 1.1; }
.brand__sub { display: block; font-weight: 500; font-size: .7rem; color: var(--grey-500); letter-spacing: .04em; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.nav a {
  color: var(--ink-700); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5rem .7rem; border-radius: var(--r-sm);
}
.nav a:hover { background: var(--grey-100); color: var(--blue); }
.nav__cta { margin-left: .6rem; }
/* .nav a ist spezifischer als .btn--primary — Button-Styles hier wiederherstellen */
.nav .btn { padding: .7rem 1.25rem; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.nav .btn--primary { background: var(--blue); color: #fff; }
.nav .btn--primary:hover { background: var(--blue-700); color: #fff; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--blue) !important;
  white-space: nowrap;
}
.nav__phone:hover { background: var(--blue-050) !important; }

.nav-toggle {
  margin-left: auto; display: none;
  background: none; border: 1.5px solid var(--grey-300); border-radius: var(--r-sm);
  padding: .5rem .75rem; font: inherit; font-weight: 600; font-size: .9rem;
  color: var(--ink); cursor: pointer; align-items: center; gap: .5rem;
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-200);
    padding: .5rem var(--gut) 1.25rem;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .8rem .4rem; border-bottom: 1px solid var(--grey-100); border-radius: 0; font-size: 1rem; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav__phone { border-bottom: 0 !important; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--grey-050); }
.hero__inner {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.08fr .92fr; }
}
.hero h1 { margin-bottom: 1rem; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue-050); color: var(--blue-700);
  border: 1px solid var(--blue-100);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero__note { margin-top: 1.1rem; font-size: .9rem; color: var(--grey-500); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; bottom: -1px; left: -1px;
  background: var(--white); border-radius: var(--r-lg) 0 var(--r-lg) 0;
  padding: 1rem 1.35rem; box-shadow: var(--shadow-md);
  max-width: 78%;
}
.hero__badge b { display: block; color: var(--ink); font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
.hero__badge span { font-size: .84rem; color: var(--grey-600); }

/* --- Trustbar ------------------------------------------------------------ */
.trustbar { background: var(--white); border-bottom: 1px solid var(--grey-200); }
.trustbar__list {
  list-style: none; margin: 0; padding: 1.5rem 0;
  display: grid; gap: 1.1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.trustbar__list li { margin: 0; display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; }
.trustbar__list b { display: block; color: var(--ink); font-weight: 600; }
.trustbar__list span { color: var(--grey-600); }
.tick { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .25rem; color: var(--blue); }

/* --- Generic card grid --------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--r); padding: clamp(1.4rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card--lift:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--grey-600); }
.card__icon {
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--blue-050); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.card__list li {
  position: relative; padding-left: 1.1rem; font-size: .93rem; color: var(--grey-600);
  margin-top: .35rem;
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}
.card__tag {
  display: inline-block; margin-bottom: .8rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-050);
  border: 1px solid var(--blue-100);
  padding: .2rem .55rem; border-radius: 4px;
}

/* --- Fragenliste (Worauf achten) ---------------------------------------- */
.qlist { list-style: none; padding: 0; margin: 0; counter-reset: q; }
.qlist li {
  counter-increment: q;
  position: relative; padding-left: 3.4rem;
  margin: 0 0 1.5rem;
}
.qlist li:last-child { margin-bottom: 0; }
.qlist li::before {
  content: counter(q, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem;
  font-size: .95rem; font-weight: 700; color: var(--blue);
  background: var(--blue-050); border: 1px solid var(--blue-100);
  width: 2.4rem; height: 2.4rem; border-radius: 8px;
  display: grid; place-items: center;
}
.qlist b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .2rem; }
.qlist p { font-size: .97rem; color: var(--grey-600); margin: 0; }
.section--blue .qlist li::before { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #9cc6f5; }
.section--blue .qlist b { color: #fff; }
.section--blue .qlist p { color: rgba(255,255,255,.75); }

/* --- Ablauf / Steps ------------------------------------------------------ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li {
  position: relative; margin: 0;
  padding: 0 0 2rem 3.6rem;
  border-left: 2px solid var(--grey-200);
  margin-left: 1.15rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: attr(data-step);
  position: absolute; left: -1.15rem; top: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: .9rem; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--grey-050);
}
.section--grey .steps li::before { box-shadow: 0 0 0 5px var(--grey-050); }
.steps h3 { margin-bottom: .35rem; font-size: 1.12rem; }
.steps p { font-size: .97rem; color: var(--grey-600); margin: 0; }
.steps__meta {
  display: inline-block; margin-top: .55rem;
  font-size: .8rem; font-weight: 600; color: var(--blue-700);
  background: var(--blue-050); border-radius: 4px; padding: .15rem .5rem;
}

/* --- Split (Bild + Text) ------------------------------------------------ */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.split__media figcaption { margin-top: .7rem; font-size: .84rem; color: var(--grey-500); }

/* --- Referenz / Case ---------------------------------------------------- */
.case {
  background: var(--white); border: 1px solid var(--grey-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.case__stats {
  display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--grey-200);
}
.case__stat b { display: block; font-size: 1.9rem; color: var(--blue); letter-spacing: -.03em; line-height: 1.05; }
.case__stat span { font-size: .86rem; color: var(--grey-600); }

/* --- Team --------------------------------------------------------------- */
.person { display: grid; gap: 1.25rem; grid-template-columns: 108px 1fr; align-items: start; }
.person img {
  width: 108px; height: 138px; object-fit: cover; object-position: center top;
  border-radius: var(--r); background: var(--grey-100);
}
.person__role { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: .3rem; }
.person h3 { margin-bottom: .5rem; }
.person p { font-size: .95rem; color: var(--grey-600); }
@media (max-width: 420px) {
  .person { grid-template-columns: 1fr; }
  .person img { width: 130px; height: 165px; }
}

/* --- Termine ------------------------------------------------------------ */
.event {
  display: grid; gap: 1.25rem; align-items: start;
  grid-template-columns: auto 1fr;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); padding: 1.4rem;
}
.event__date {
  text-align: center; background: rgba(255,255,255,.1); border-radius: 8px;
  padding: .7rem .85rem; min-width: 74px;
}
.event__date b { display: block; font-size: 1.25rem; color: #fff; line-height: 1.1; }
.event__date span { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #9cc6f5; }
.event h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.event p { font-size: .94rem; margin: 0; }

/* --- FAQ --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--grey-200); }
.faq details {
  border-bottom: 1px solid var(--grey-200);
  padding: 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem .25rem;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 auto; margin-left: auto; margin-top: .45em;
  width: 9px; height: 9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--blue); }
.faq__body { padding: 0 .25rem 1.35rem; }
.faq__body p { font-size: .97rem; color: var(--grey-600); }

/* --- Kontakt ------------------------------------------------------------ */
.contact { display: grid; gap: clamp(2rem, 5vw, 3rem); }
@media (min-width: 900px) { .contact { grid-template-columns: .95fr 1.05fr; } }

.dl { margin: 0; }
.dl div + div { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--grey-200); }
.dl dt {
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--grey-500); margin-bottom: .3rem;
}
.dl dd { margin: 0; color: var(--ink-700); }
.dl dd a { font-weight: 600; text-decoration: none; }
.dl dd a:hover { text-decoration: underline; }
.dl .big { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }

.form { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--grey-500); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  padding: .7rem .85rem;
  border: 1.5px solid var(--grey-300); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100);
}
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row .field { margin-bottom: 1.1rem; }
.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--grey-600); margin-bottom: 1.25rem; }
.form__consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .15rem; accent-color: var(--blue); }
.form .btn { width: 100%; }
.form__hint { margin-top: .9rem; font-size: .82rem; color: var(--grey-500); }

.hours { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; margin: 0; }
.hours li + li { border-top: 1px solid var(--grey-100); }
.hours span:first-child { color: var(--grey-600); }
.hours span:last-child { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.todo {
  background: #fff8e1; border: 1px dashed #d9a300; color: #6b4c00;
  border-radius: 4px; padding: .1rem .4rem;
  font-size: .92em; font-weight: 600;
}

/* --- Region ------------------------------------------------------------ */
.chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  margin: 0; font-size: .9rem; font-weight: 500; color: var(--ink-700);
  background: var(--white); border: 1px solid var(--grey-300);
  border-radius: 999px; padding: .35rem .85rem;
}

/* --- CTA band ---------------------------------------------------------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band__inner {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn-row { margin: 0; }

/* --- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top {
  display: grid; gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.site-footer h4 {
  color: #fff; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.5); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.35rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center;
  font-size: .86rem;
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-left: auto; }

/* --- Rechtsseiten ------------------------------------------------------ */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.legal__updated { font-size: .88rem; color: var(--grey-500); margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
}
.legal h2:first-of-type { margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.legal p, .legal li { font-size: .99rem; }
.legal address { font-style: normal; line-height: 1.8; }
.legal__box {
  background: var(--grey-050); border: 1px solid var(--grey-200);
  border-radius: var(--r); padding: 1.35rem 1.5rem; margin: 1.5rem 0;
}
.legal__box p:last-child { margin-bottom: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; width: 34%; }
.legal td { overflow-wrap: anywhere; }

/* Tabellen können nicht unter ihre min-content-Breite schrumpfen —
   auf schmalen Screens deshalb als Definitionsliste stapeln. */
@media (max-width: 620px) {
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: auto; }
  .legal tr { border-bottom: 1px solid var(--grey-200); padding: .75rem 0; }
  .legal tr:last-child { border-bottom: 0; }
  .legal th, .legal td { border-bottom: 0; padding: 0; }
  .legal th {
    font-size: .76rem; font-weight: 600; letter-spacing: .07em;
    text-transform: uppercase; color: var(--grey-500); margin-bottom: .2rem;
  }
}
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; margin-top: 2.5rem; }
.back-link:hover { text-decoration: underline; }
