/* ==========================================================================
   Fiedler-HV – Gestaltung
   Hell & edel: warmes Weiß, Anthrazit, Chrom-Akzente passend zum Logo.
   ========================================================================== */

:root {
  --bg: #f7f6f3;
  --bg-alt: #eeede9;
  --flaeche: #ffffff;
  --text: #25272b;
  --text-2: #5a5e64;
  --linie: #dddbd6;
  --graphit: #2f3236;
  --chrom-dunkel: #6f747a;
  --chrom-mittel: #a7abb0;
  --chrom-hell: #e3e5e8;
  --chrom-verlauf: linear-gradient(100deg, #6c7076 0%, #b9bdc2 30%, #eef0f2 48%, #9a9ea4 70%, #5f6369 100%);
  --fuss-bg: #1d1f22;
  --fuss-text: #dcdde0;
  --fuss-text-2: #9a9da2;

  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1160px;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(72px, 10vw, 136px);
  --radius: 2px;
  --schatten: 0 1px 2px rgba(20, 22, 25, .05), 0 24px 60px -24px rgba(20, 22, 25, .35);
  --weich: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--schrift);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.ohne-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

.rahmen {
  width: min(100% - 2 * var(--rand), var(--breite));
  margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typografie-Bausteine ---------- */

.etikett {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--chrom-dunkel);
}

.etikett::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--chrom-verlauf);
}

.etikett--ohne-linie::before { display: none; }

.titel {
  margin: 0 0 clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  font-size: clamp(1.85rem, 1.25rem + 2.3vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--graphit);
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid var(--graphit);
  border-radius: var(--radius);
  background: var(--graphit);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s var(--weich), color .3s var(--weich), border-color .3s var(--weich);
}

.knopf:hover { background: #111214; border-color: #111214; }

.knopf--rahmen {
  background: transparent;
  color: var(--graphit);
  border-color: var(--chrom-mittel);
}

.knopf--rahmen:hover { background: var(--graphit); border-color: var(--graphit); color: #fff; }

.knopf .icon { width: 16px; height: 16px; }

/* ---------- Sprachumschalter DE | EN ---------- */

.sprachwahl {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px -8px rgba(20, 22, 25, .35);
}

.sprachwahl a {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  color: var(--chrom-dunkel);
  transition: background-color .25s var(--weich), color .25s var(--weich);
}

.sprachwahl a:hover { color: var(--graphit); }
.sprachwahl a[aria-current="true"] { background: var(--graphit); color: #fff; }

.sprachwahl--hero {
  position: absolute;
  top: clamp(14px, 2.5vw, 28px);
  right: clamp(14px, 2.5vw, 28px);
  z-index: 2;
  animation: einblenden 1s var(--weich) .3s both;
}

/* ---------- Kopfbereich ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(94vh, 900px);
  padding: clamp(96px, 13vh, 150px) var(--rand);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-alt);
}

.hero__bild { position: absolute; inset: 0; z-index: -1; }

.hero__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 18s var(--weich) both;
}

.hero__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 26, 29, .04) 0%, rgba(24, 26, 29, .22) 100%);
}

@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Ohne Titelbild: dezentes Fliesenraster */
.hero--ohne-bild {
  background-color: var(--bg-alt);
  background-image:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%),
    linear-gradient(rgba(47, 50, 54, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 50, 54, .07) 1px, transparent 1px);
  background-size: 100% 100%, 120px 120px, 120px 120px;
  background-position: center;
}

.hero__karte {
  position: relative;
  width: min(100%, 640px);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5.5vw, 68px) clamp(36px, 4.5vw, 56px);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--schatten);
  text-align: center;
  animation: einblenden 1s var(--weich) .15s both;
}

@supports (backdrop-filter: blur(4px)) {
  .hero__karte { background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px) saturate(1.1); }
}

/* feine Chromlinie oben an der Karte */
.hero__karte::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--chrom-verlauf);
}

.hero__logo { margin: 0 auto; max-width: 440px; }
.hero__logo img { width: 100%; }

.hero__unterzeile {
  margin: 22px 0 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--chrom-dunkel);
  text-wrap: balance;
}

/* nur an den Trennpunkten umbrechen */
.hero__unterzeile span { white-space: nowrap; }

@media (max-width: 420px) {
  .hero__unterzeile { letter-spacing: .22em; }
}

.hero__spruch {
  margin: 14px auto 32px;
  max-width: 22ch;
  font-size: clamp(1.4rem, 1.05rem + 1.4vw, 1.95rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--graphit);
}

.hero__spruch em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(var(--chrom-mittel), var(--chrom-mittel)) no-repeat 0 100% / 100% 1px;
  padding-bottom: 2px;
}

.hero__aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__weiter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--graphit);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35);
  animation: schweben 2.6s ease-in-out infinite;
}

.hero__weiter .icon { width: 20px; height: 20px; }

@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
/* nur Bewegung, keine Unsichtbarkeit: die Karte ist immer lesbar, auch wenn Animationen nicht laufen */
@keyframes einblenden { from { transform: translateY(16px); } to { transform: none; } }

/* ---------- Abschnitte ---------- */

.abschnitt { padding-block: var(--abstand); }
.abschnitt--weiss { background: var(--flaeche); }
.abschnitt--hell { background: var(--bg-alt); }

/* Über uns */
.intro { display: grid; gap: 8px 72px; }
.intro .titel { margin-bottom: 24px; }
.intro__text p { margin: 0 0 1em; font-size: 1.125rem; color: var(--text-2); max-width: 62ch; }

.schwerpunkte {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
}

.schwerpunkt {
  position: relative;
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
  background: var(--flaeche);
  transition: background-color .4s var(--weich);
}

.schwerpunkt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--chrom-verlauf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--weich);
}

.schwerpunkt:hover::after { transform: scaleX(1); }

.schwerpunkt__icon { width: 44px; height: 44px; color: var(--graphit); }

.schwerpunkt h3 {
  margin: 20px 0 8px;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--graphit);
}

.schwerpunkt p { margin: 0; font-size: 1rem; color: var(--text-2); }

/* ---------- Galerie ---------- */

.kategorie + .kategorie { margin-top: clamp(44px, 6vw, 72px); }

.kategorie__titel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--graphit);
}

.kategorie__titel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--chrom-mittel), rgba(167, 171, 176, 0));
}

.kategorie__anzahl {
  order: 2;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--chrom-dunkel);
}

/* 12-Spalten-Raster; die Breite jedes Bildes berechnet PHP so, dass jede Reihe voll ist */
.raster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}

.raster > li { grid-column: span var(--m, 6); }

.raster__bild {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.raster__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--weich), filter .6s var(--weich);
}

.raster__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 22, 25, .35));
  opacity: 0;
  transition: opacity .5s var(--weich);
}

.raster__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--graphit);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--weich), transform .4s var(--weich);
}

.raster__zoom .icon { width: 18px; height: 18px; }

.raster__bild:hover img, .raster__bild:focus-visible img { transform: scale(1.045); }
.raster__bild:hover::after, .raster__bild:focus-visible::after { opacity: 1; }
.raster__bild:hover .raster__zoom, .raster__bild:focus-visible .raster__zoom { opacity: 1; transform: none; }

@media (min-width: 700px) {
  .raster { gap: 12px; }
  .raster > li { grid-column: span var(--t, 4); }
}

@media (min-width: 1000px) {
  .raster > li { grid-column: span var(--d, 3); }
}

/* ---------- Bildansicht (Lightbox) ---------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(17, 18, 20, .97);
  color: #e9eaec;
  overflow: hidden;
}

.lightbox::backdrop { background: rgba(17, 18, 20, .9); }

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  animation: einblenden-sanft .3s ease both;
}

@keyframes einblenden-sanft { from { opacity: 0; } to { opacity: 1; } }

.lightbox__buehne {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 64px clamp(8px, 7vw, 96px) 8px;
}

.lightbox__bild {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  transition: opacity .25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__bild.laedt { opacity: .35; }

.lightbox__leiste {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 7vw, 96px) 22px;
  font-size: .9rem;
  color: #b9bcc0;
}

.lightbox__zaehler { font-variant-numeric: tabular-nums; letter-spacing: .1em; }

.lightbox__knopf {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}

.lightbox__knopf:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.lightbox__knopf .icon { width: 22px; height: 22px; }
.lightbox__knopf--zurueck { left: clamp(8px, 2vw, 28px); top: 50%; margin-top: -26px; }
.lightbox__knopf--weiter { right: clamp(8px, 2vw, 28px); top: 50%; margin-top: -26px; }
.lightbox__knopf--schliessen { top: 12px; right: 12px; }
.lightbox--einzeln .lightbox__knopf--zurueck, .lightbox--einzeln .lightbox__knopf--weiter { display: none; }

@media (max-width: 640px) {
  .lightbox__knopf--zurueck, .lightbox__knopf--weiter { top: auto; bottom: 10px; margin-top: 0; width: 46px; height: 46px; }
  .lightbox__buehne { padding: 60px 8px 72px; }
}

/* ---------- Zeitstrahl ---------- */

.zeitstrahl {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}

.zeitstrahl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--chrom-dunkel), var(--chrom-mittel) 70%, rgba(167, 171, 176, 0));
}

.zeitstrahl__punkt { position: relative; padding-left: 44px; }

.zeitstrahl__punkt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0, #dfe2e5 28%, #9a9ea3 68%, #62666b 100%);
  box-shadow: 0 0 0 6px var(--bg-alt), 0 2px 6px rgba(0, 0, 0, .25);
}

.zeitstrahl__jahr {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.7rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--graphit);
  font-variant-numeric: lining-nums;
}

.zeitstrahl h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 600; color: var(--graphit); }
.zeitstrahl p { margin: 0; font-size: .97rem; color: var(--text-2); }

@media (min-width: 820px) {
  .zeitstrahl { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 36px; }
  .zeitstrahl::before {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--chrom-dunkel), var(--chrom-mittel) 75%, rgba(167, 171, 176, 0));
  }
  .zeitstrahl__punkt { padding-left: 0; padding-top: 48px; }
  .zeitstrahl__punkt::before { top: 0; }
}

/* ---------- Ansprechpartner ---------- */

.ansprechpartner { display: grid; gap: 8px 72px; }
.ansprechpartner .titel { margin-bottom: 22px; }
.ansprechpartner__text { margin: 0 0 1em; font-size: 1.075rem; color: var(--text-2); max-width: 40ch; }
.ansprechpartner__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 clamp(32px, 5vw, 48px); }

@media (min-width: 1000px) {
  .ansprechpartner { grid-template-columns: 4fr 7fr; align-items: start; }
  .ansprechpartner__kopf { position: sticky; top: 40px; }
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(24px, 3.5vw, 44px);
  max-width: 820px;
}

.person__bild {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}

.person__bild img { width: 100%; height: 100%; object-fit: cover; }

.person__leer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: end;
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    var(--bg-alt);
}

.silhouette { width: 62%; height: auto; color: var(--chrom-mittel); }

.person--frei .person__bild { outline: 1px dashed var(--chrom-mittel); outline-offset: -12px; }
.person--frei .silhouette { color: var(--chrom-hell); }

.person__bald {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid var(--chrom-mittel);
  background: rgba(255, 255, 255, .85);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--chrom-dunkel);
  white-space: nowrap;
}

.person__name { margin: 22px 0 4px; font-size: 1.3rem; font-weight: 500; color: var(--graphit); }

.person__rolle {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--chrom-dunkel);
}

.person__hinweis { margin: 22px 0 0; color: var(--text-2); font-size: 1rem; max-width: 30ch; }

/* ---------- LinkedIn ---------- */

.linkedin-band {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--flaeche);
  border-top: 1px solid var(--linie);
}

.linkedin {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.linkedin .etikett { margin-bottom: 6px; }

.linkedin__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--linie);
  border-radius: 50%;
  color: var(--graphit);
  transition: color .3s, border-color .3s;
}

.linkedin__icon .icon { width: 26px; height: 26px; }
.linkedin:hover .linkedin__icon { color: #0a66c2; border-color: #0a66c2; }

.linkedin__titel {
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--graphit);
}

.linkedin__zahl { margin: 0; display: grid; justify-items: center; line-height: 1; }
.linkedin__zahl strong { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); font-weight: 200; color: var(--graphit); letter-spacing: -.01em; }
.linkedin__zahl span { margin-top: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--chrom-dunkel); }

@media (min-width: 860px) {
  .linkedin { grid-template-columns: auto 1fr auto auto; justify-items: start; text-align: left; gap: 40px; }
  .linkedin__zahl { justify-items: end; padding-right: 40px; border-right: 1px solid var(--linie); }
}

/* ---------- Fußbereich ---------- */

.fuss {
  background: var(--fuss-bg);
  color: var(--fuss-text);
  padding-top: clamp(60px, 8vw, 100px);
  font-size: .95rem;
  line-height: 1.7;
}

.fuss__raster { display: grid; gap: 44px; }

@media (min-width: 900px) {
  .fuss__raster { grid-template-columns: 1.25fr 1fr 1fr; gap: 56px; }
}

.fuss__logo { width: 230px; }
.fuss__logo-link { display: inline-block; }
.fuss__spruch { margin: 22px 0 0; max-width: 30ch; color: var(--fuss-text-2); }

.fuss__titel {
  margin: 0 0 18px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fuss-text-2);
}

.fuss__titel::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 12px;
  background: var(--chrom-verlauf);
  opacity: .7;
}

.fuss__adresse { font-style: normal; }
.fuss__adresse strong { font-weight: 600; color: #fff; }

.fuss__liste { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }

.fuss__liste a, .fuss__zeile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fuss-text);
}

.fuss__liste a:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.fuss__liste .icon { width: 18px; height: 18px; color: var(--fuss-text-2); }
.fuss__label { color: var(--fuss-text-2); }

.fuss__impressum p { margin: 0 0 12px; color: var(--fuss-text); font-size: .9rem; }
.fuss__impressum .fuss__klein { color: var(--fuss-text-2); font-size: .82rem; }

.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: var(--fuss-text-2);
}

.fuss__rechtliches { display: flex; gap: 22px; }
.fuss__rechtliches a { color: var(--fuss-text-2); text-decoration: none; }
.fuss__rechtliches a:hover { color: #fff; }

/* ---------- Unterseite (Datenschutz) ---------- */

.unterseite__kopf {
  padding: 28px 0;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
}

.unterseite__kopf .rahmen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.unterseite__logo img { width: 180px; }
.unterseite__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.unterseite .sprachwahl { box-shadow: none; border: 1px solid var(--linie); background: var(--flaeche); }

.zurueck {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--graphit);
}

.zurueck .icon { width: 16px; height: 16px; }

.rechtstext { max-width: 760px; }
.rechtstext h2 { margin: 2.2em 0 .6em; font-size: 1.2rem; font-weight: 600; color: var(--graphit); }
.rechtstext h3 { margin: 1.6em 0 .4em; font-size: 1rem; font-weight: 600; color: var(--graphit); }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext a { text-underline-offset: 3px; }

/* ---------- Einblenden beim Scrollen ---------- */

.js .zeigen {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--weich), transform .9s var(--weich);
}

.js .zeigen.ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Handy ---------- */

@media (max-width: 640px) {
  .hero { display: block; min-height: 0; padding: 0 0 8px; background: var(--bg); }
  .hero__bild { position: relative; height: 44vh; min-height: 250px; }
  .hero__karte { margin: -72px 16px 0; width: auto; }
  .hero--ohne-bild { padding-top: 24px; }
  .hero--ohne-bild .hero__karte { margin-top: 0; }
  .hero__weiter { display: none; }
  .hero__aktionen .knopf { flex: 1 1 100%; }
}

@media (min-width: 900px) {
  .intro { grid-template-columns: 5fr 7fr; align-items: start; }
  .intro__text { padding-top: 34px; }
}

/* ---------- Weniger Bewegung, wenn gewünscht ---------- */

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

/* ---------- Druck ---------- */

@media print {
  .hero__bild, .hero__weiter, .lightbox, .linkedin-band { display: none !important; }
  .hero { min-height: 0; padding: 0; background: none; }
  .hero__karte { box-shadow: none; }
  .fuss { background: none; color: #000; }
  .js .zeigen { opacity: 1; transform: none; }
}
