/* =====================================================================
   SBÖR — Website
   Design-System „Punkt & Pfeiler“, abgeleitet aus dem Markenlogo
   Farben:  Anthrazit #575756 · Gelb #E8B810 · Papier #FFFFFF
   Schrift: Space Grotesk (Wortmarke/Headlines) · Libre Franklin (Text)
   ===================================================================== */

:root {
  --ink:        #575756;   /* Anthrazit – primäre Schrift */
  --ink-2:      #6e6e6e;   /* weicheres Grau (Sublines) */
  --gold:       #E8B810;   /* Gelb – Akzent */
  --gold-deep:  #cfa20d;   /* Gelb, für Hover/Kontrast */
  --paper:      #ffffff;   /* Weiß */
  --mist:       #f6f5f2;   /* warmes Off-White für Sektionen */
  --mist-2:     #efede8;   /* etwas tiefer */
  --line:       rgba(87, 87, 86, .14);
  --line-strong:rgba(87, 87, 86, .28);
  --ink-90:     #4d4d4c;   /* dunkleres Anthrazit für Footer-Grund */
  --ink-100:    #3f3f3e;

  --shadow:     0 1px 2px rgba(87,87,86,.05), 0 12px 30px -18px rgba(87,87,86,.30);
  --shadow-lg:  0 24px 60px -28px rgba(87,87,86,.45);

  --container: 1160px;
  --header-h: 74px;   /* Höhe der Kopfzeile – der Hero liegt darunter */
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --ff-head: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --ff-body: 'Libre Franklin', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: clip; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.skip-link {
  position: absolute; left: -999px; top: .5rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: .75rem; }

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

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(87,87,86,.5);
}
/* Am Seitenanfang liegt der Header auf dem dunklen Hero-Foto */
.site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header:not(.scrolled) .brand { color: #fff; }
.site-header:not(.scrolled) .nav-toggle { border-color: rgba(255,255,255,.55); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .nav-link { color: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .nav-link.cta { background: var(--gold); color: var(--ink); }
body:not(.nav-open) .site-header:not(.scrolled) .nav-link.cta:hover { background: var(--gold-deep); }
/* Offenes Mobilmenü braucht den hellen Header zurück */
body.nav-open .site-header:not(.scrolled) { background: var(--paper); }
body.nav-open .site-header:not(.scrolled) .brand { color: var(--ink); }
body.nav-open .site-header:not(.scrolled) .nav-toggle { border-color: var(--line-strong); }
body.nav-open .site-header:not(.scrolled) .nav-toggle span { background: var(--ink); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}
.brand { color: var(--ink); display: inline-flex; align-items: center; transition: color .3s var(--ease); }
.wordmark { width: 118px; height: auto; }
.brand:hover circle { animation: pop .4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.35); } }

.nav-list { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.nav-link {
  position: relative;
  font-weight: 500; font-size: .96rem;
  padding: .55rem .85rem; border-radius: 8px;
  color: var(--ink); transition: color .2s, background .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .34rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-link:hover { color: #000; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #000; }

.nav-link.cta {
  background: var(--ink); color: #fff; margin-left: .5rem; padding-inline: 1.15rem;
}
.nav-link.cta::after { display: none; }
.nav-link.cta:hover { background: #000; color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: 10px; background: transparent; cursor: pointer; padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 10px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(232,184,16,.7); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* =====================================================================
   TYPO HELPERS
   ===================================================================== */
.eyebrow {
  font-family: var(--ff-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: .78rem; color: var(--ink-2);
}
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: .8rem; color: var(--ink);
  margin-bottom: 1.1rem;
}
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }

.section-title {
  font-family: var(--ff-head); font-weight: 600;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem);
  line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
  max-width: 20ch;
}

/* =====================================================================
   HERO — vollflächiges Foto, Text rechts auf dem dunklen Vorhang
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);   /* Foto beginnt hinter der Kopfzeile */
  background: #101010; color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
  filter: grayscale(1) contrast(1.02);
}
.hero::before {
  /* zieht den Vorhang rechts so weit zu, dass weiße Schrift sicher trägt */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(270deg, rgba(16,16,15,.88) 0%, rgba(16,16,15,.80) 30%, rgba(16,16,15,.42) 46%, rgba(16,16,15,.06) 62%, transparent 78%),
    linear-gradient(0deg, rgba(16,16,15,.40), transparent 40%);
}
.hero-inner {
  display: flex; align-items: center; justify-content: flex-end;
  min-height: min(82vh, 700px);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  padding-top: calc(clamp(3.5rem, 8vw, 7rem) + var(--header-h));
}
.hero-copy {
  /* wächst mit dem Platz rechts von Thomas, ohne ihm zu nahe zu kommen */
  max-width: clamp(30rem, 38vw, 34rem);
  padding-left: 2rem; border-left: 4px solid var(--gold);
}
.hero-copy .eyebrow {
  display: block; margin-bottom: 1.2rem; color: rgba(255,255,255,.72);
  font-size: .7rem; letter-spacing: .13em;   /* bleibt so einzeilig */
}
.hero-title {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(2rem, 1.1rem + 2.8vw, 2.9rem);
  line-height: 1.04; letter-spacing: -.03em; color: #fff;
  text-wrap: balance;
}
.hero-lead {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem);
  color: rgba(255,255,255,.82); max-width: 40ch; text-wrap: pretty;
}
.hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { border-color: #fff; }

/* =====================================================================
   SECTIONS (generic)
   ===================================================================== */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; }

/* ---------- Philosophie ---------- */
.philosophie { background: var(--paper); }
.philo-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.philo-text p, .philo-aside p { margin-bottom: 1.2rem; }
.philo-text p:last-child, .philo-aside p:last-child { margin-bottom: 0; }
.lead-para {
  font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.4;
  color: var(--ink); letter-spacing: -.01em;
}
.philo-aside {
  padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--mist); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pullquote {
  position: relative; padding-left: 1.5rem; margin-bottom: 1.6rem;
  border-left: 4px solid var(--gold);
}
.pullquote p {
  font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.3;
  letter-spacing: -.015em; color: var(--ink); margin: 0;
}

/* ---------- Wer ist SBÖR ---------- */
.wer { background: var(--mist); }
.wer-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.wer-quote { position: relative; }
.wer-quote p {
  font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem); line-height: 1.32;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 1rem; text-wrap: pretty;
}
.wer-quote p:last-child { margin-bottom: 0; }

.wer-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.wer-photo { margin: 0; aspect-ratio: 3 / 4; background: var(--mist-2); overflow: hidden; }
.wer-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
  filter: grayscale(1) contrast(1.02); transition: transform .6s var(--ease);
}
.wer-card:hover .wer-photo img { transform: scale(1.03); }
.wer-card-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.wer-role {
  font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; color: var(--ink-2);
}
.wer-name { font-family: var(--ff-head); font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-top: .3rem; letter-spacing: -.01em; }
.wer-bio { font-size: .95rem; color: var(--ink-2); margin-top: 1rem; line-height: 1.65; }
.wer-contact { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.wer-contact a { font-weight: 600; color: var(--ink); width: fit-content; }
.wer-contact a:hover { color: var(--gold-deep); }

/* Motto-Band (aufbereitete Nahaufnahme + Motto als echter Text) */
.motto-band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: .82fr 1.18fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 0;
}
.motto-band-media { position: relative; min-height: 280px; background: var(--mist-2); }
.motto-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.02); }
.motto-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 48%, var(--paper) 97%); }
.motto-band-text {
  position: relative; margin: 0; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
.motto-band-text::before {
  content: "„"; font-family: var(--ff-head); font-weight: 700; color: var(--gold);
  font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: .6; margin-bottom: .35rem;
}
.motto-band-line {
  font-family: var(--ff-head); font-weight: 700; letter-spacing: -.02em; color: var(--ink);
  font-size: clamp(1.4rem, 1.05rem + 1.9vw, 2.5rem); line-height: 1.08; text-wrap: balance;
}
.motto-band-text footer {
  margin-top: 1.3rem; font-family: var(--ff-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .74rem; color: var(--ink-2);
}
.motto-band-text .mb-name { color: var(--ink); }

/* ---------- Leistungen ---------- */
.leistungen { background: var(--paper); }
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.service-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleY(1); }
.service-num {
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--gold-deep);
  letter-spacing: .05em;
}
.service-title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); color: var(--ink); margin-top: .5rem; letter-spacing: -.01em; }
.service-tags { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ink-2); margin-top: .5rem; }
.service-desc { margin-top: 1.1rem; color: var(--ink-2); font-size: .98rem; }
.service-list { list-style: none; padding: 0; margin-top: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.service-list li {
  position: relative; padding-left: 1.5rem; font-size: .96rem; color: var(--ink);
}
.service-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold);
}
.service-desc + .service-desc { margin-top: 1rem; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--mist); }
.kontakt-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kontakt-text { margin-top: 1.4rem; color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; }
.kontakt-claim {
  margin-top: 1.6rem; font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.35; letter-spacing: -.015em;
  color: var(--ink); padding-left: 1.25rem; border-left: 4px solid var(--gold);
}
.kontakt-copy .btn { margin-top: 2rem; }

.kontakt-card {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.kontakt-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,184,16,.35), transparent 70%);
}
.card-label {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: #fff;
  padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.16);
}
.contact-block { font-style: normal; display: flex; flex-direction: column; gap: 1.1rem; }
.c-row { display: flex; flex-direction: column; gap: .15rem; line-height: 1.5; }
.c-key { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--gold); }
.c-row a { color: #fff; width: fit-content; transition: color .2s; }
.c-row a:hover { color: var(--gold); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink-100); color: rgba(255,255,255,.72); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-brand .wordmark-light { width: 132px; }
.footer-tag { margin-top: 1.1rem; font-size: .85rem; letter-spacing: .04em; color: rgba(255,255,255,.55); max-width: 30ch; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-head {
  font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { color: rgba(255,255,255,.78); width: fit-content; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-contact address { font-style: normal; line-height: 1.9; font-size: .95rem; }
.footer-contact a { color: rgba(255,255,255,.78); transition: color .2s; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-bottom a:hover { color: #fff; }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* =====================================================================
   LEGAL PAGE (impressum.html)
   ===================================================================== */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.legal-title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -.02em; color: var(--ink); line-height: 1.08; }
.legal-sub { margin-top: 1rem; color: var(--ink-2); }
.legal-body { max-width: 52rem; }
.impressum-block {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: max-content 1fr; column-gap: 1.75rem;
}
.impressum-block .row { display: contents; }
.impressum-block .k, .impressum-block .v { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.impressum-block .row:last-child .k, .impressum-block .row:last-child .v { border-bottom: 0; }
.impressum-block .k { font-weight: 600; color: var(--ink); white-space: nowrap; }
.impressum-block .v a:hover { color: var(--gold-deep); }
.legal-body h2 {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.4rem; color: var(--ink);
  margin-top: 2.5rem; margin-bottom: .8rem; letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: .7rem;
}
.legal-body h2 .n { color: var(--gold-deep); font-size: 1rem; font-weight: 700; }
.legal-body h3 { font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-top: 1.4rem; margin-bottom: .4rem; }
.legal-body p { margin-bottom: 1rem; color: var(--ink-2); }
.legal-body ul { margin: 0 0 1rem 1.1rem; color: var(--ink-2); }
.legal-body li { margin-bottom: .4rem; }
.legal-note { font-size: .95rem; }
.back-home { display: inline-flex; align-items: center; gap: .5rem; margin-top: 3rem; font-weight: 600; color: var(--ink); }
.back-home:hover { color: var(--gold-deep); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* Schmaler als 1080px reicht die Breite nicht mehr für Foto und Text
   nebeneinander – der Text rutscht unter das Bild, auf den dunklen Grund. */
@media (max-width: 1080px) {
  .hero-inner {
    display: grid; grid-template-rows: minmax(28vh, 1fr) auto; align-items: end;
    min-height: min(94vh, 800px);
    min-height: min(94svh, 800px);
    padding-block: calc(1.5rem + var(--header-h)) 2.5rem;
  }
  .hero-copy { grid-row: 2; max-width: none; padding-left: 1.25rem; }
  .hero-media img { object-position: 50% 0%; }
  .hero::before {
    background: linear-gradient(0deg,
      rgba(16,16,15,.97) 0%, rgba(16,16,15,.95) 42%, rgba(16,16,15,.52) 58%,
      rgba(16,16,15,.10) 76%, rgba(16,16,15,.25) 100%);
  }
  .hero-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
  .hero-lead { max-width: 46ch; }
}

@media (max-width: 960px) {
  .philo-grid, .wer-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  /* backdrop-filter erzeugt einen Containing Block für fixed-Kinder –
     auf Mobil deaktivieren, damit das Off-Canvas-Menü am Viewport (volle Höhe) hängt */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--paper); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease);
    padding: 5.5rem 1.5rem 2rem; z-index: 90;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(63,63,62,.4); z-index: 80; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .35rem; }
  .nav-link { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: var(--mist); }
  .nav-link.cta { margin-left: 0; margin-top: .5rem; text-align: center; }
  .nav-toggle { display: block; z-index: 95; }
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .motto-band { grid-template-columns: 1fr; }
  .motto-band-media { min-height: 0; aspect-ratio: 16 / 10; }
  .motto-band-media::after { background: linear-gradient(180deg, transparent 52%, var(--paper) 98%); }
  .motto-band-text { padding-top: .25rem; }
  .impressum-block { grid-template-columns: 1fr; column-gap: 0; }
  .impressum-block .k { border-bottom: 0; padding: .6rem 0 0; }
  .impressum-block .v { padding: .15rem 0 .7rem; }
}

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