@import url("../fonts/fonts.css");

:root {
  --bordeaux: #970830;
  --bordeaux-hell: #b4224a;
  --bordeaux-tief: #6d0524;
  --bordeaux-nacht: #3d0214;
  --tinte: #1b1517;
  --text: #4d4548;
  --text-leise: #7a7175;
  --creme: #fbf9f8;
  --sand: #f4efeb;
  --linie: #e7dfdb;
  --weiss: #ffffff;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --schatten: 0 1px 2px rgba(27, 21, 23, .04), 0 8px 24px rgba(27, 21, 23, .06);
  --schatten-hoch: 0 2px 4px rgba(27, 21, 23, .06), 0 18px 48px rgba(27, 21, 23, .12);
  --kopf: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--tinte);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--bordeaux-tief); }

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

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.schmal { max-width: 780px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--bordeaux); color: #fff; padding: 12px 20px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* Kopf */

.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--kopf);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.kopf__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; gap: 28px;
}
.kopf__logo { margin-right: auto; display: block; }
.kopf__logo img { height: 40px; width: auto; transition: height .3s ease, filter .3s ease; }

.kopf--fest {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--linie), 0 6px 28px rgba(27, 21, 23, .07);
  height: 68px;
}
.kopf--fest .kopf__logo img { height: 34px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__punkt { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  color: var(--tinte);
  border-radius: var(--radius);
  white-space: nowrap;
}
.kopf--transparent:not(.kopf--fest) .nav__link,
.kopf--transparent:not(.kopf--fest) .burger { color: #fff; }
.kopf--transparent:not(.kopf--fest) .kopf__logo img { filter: brightness(0) invert(1); }

.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.nav__link:hover::after, .nav__punkt--aktiv > .nav__link::after { transform: scaleX(1); }
.nav__punkt--aktiv > .nav__link { color: var(--bordeaux); }
.kopf--transparent:not(.kopf--fest) .nav__punkt--aktiv > .nav__link { color: #fff; }

.nav__pfeil {
  width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s;
}
.nav__punkt:hover .nav__pfeil { transform: rotate(225deg) translate(-1px, -1px); }

.unter {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 272px;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten-hoch);
  padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav__punkt:hover .unter, .nav__punkt:focus-within .unter { opacity: 1; visibility: visible; transform: translateY(0); }
.unter a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  font-size: .875rem; color: var(--tinte); transition: background .18s, color .18s;
}
.unter a:hover { background: var(--sand); color: var(--bordeaux); }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0;
  color: var(--tinte); cursor: pointer;
}
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobilnav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--weiss);
  padding: calc(var(--kopf) + 16px) 24px 48px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.mobilnav--offen { opacity: 1; visibility: visible; transform: translateY(0); }
.mobilnav a { display: block; padding: 13px 0; font-family: var(--serif); font-size: 1.3rem; color: var(--tinte); border-bottom: 1px solid var(--linie); }
.mobilnav a:hover { color: var(--bordeaux); }
.mobilnav__unter a { font-family: var(--sans); font-size: .98rem; padding-left: 18px; color: var(--text); }
.mobilnav .knopf { margin-top: 28px; width: 100%; }

/* Knoepfe */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: .875rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf--voll { background: var(--bordeaux); color: #fff; box-shadow: 0 6px 18px rgba(151, 8, 48, .22); }
.knopf--voll:hover { background: var(--bordeaux-tief); color: #fff; box-shadow: 0 10px 26px rgba(151, 8, 48, .3); }
.knopf--rand { border-color: var(--bordeaux); color: var(--bordeaux); }
.knopf--rand:hover { background: var(--bordeaux); color: #fff; }
.knopf--hell { border-color: rgba(255, 255, 255, .55); color: #fff; }
.knopf--hell:hover { background: #fff; color: var(--bordeaux); border-color: #fff; }
.knopf--klein { padding: 10px 18px; font-size: .78rem; }

.pfeil-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--bordeaux);
}
.pfeil-link svg { transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
.pfeil-link:hover svg { transform: translateX(5px); }

/* Held */

.held { position: relative; display: flex; align-items: flex-end; min-height: 62vh; padding: calc(var(--kopf) + 72px) 0 72px; overflow: hidden; }
.held--gross { min-height: 88vh; align-items: center; padding-bottom: 96px; }
.held__bild { position: absolute; inset: 0; z-index: 0; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; animation: langsam-zoom 22s ease-out forwards; }
.held__schleier {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(61, 2, 20, .93) 0%, rgba(109, 5, 36, .78) 42%, rgba(151, 8, 48, .34) 100%),
    linear-gradient(to top, rgba(27, 21, 23, .55), transparent 55%);
}
.held__inhalt { position: relative; z-index: 2; color: #fff; max-width: 760px; }
.held__inhalt h1 { color: #fff; }
.held__inhalt p { color: rgba(255, 255, 255, .88); font-size: 1.13rem; max-width: 620px; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.held--muster .held__schleier {
  background:
    radial-gradient(1100px 520px at 88% 8%, rgba(180, 34, 74, .5), transparent 62%),
    linear-gradient(115deg, var(--bordeaux-nacht) 0%, var(--bordeaux-tief) 58%, var(--bordeaux) 100%);
}
.held--muster .held__muster {
  position: absolute; inset: 0; z-index: 1; opacity: .16;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(circle at 78% 22%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 78% 22%, #000, transparent 72%);
}

.augenbraue {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 20px;
}
.augenbraue::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.held .augenbraue { color: rgba(255, 255, 255, .82); }

@keyframes langsam-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Abschnitte */

.abschnitt { padding: clamp(64px, 9vw, 118px) 0; }
.abschnitt--sand { background: var(--sand); }
.abschnitt--creme { background: var(--creme); }
.abschnitt--tief { background: var(--bordeaux-nacht); color: rgba(255, 255, 255, .8); }
.abschnitt--tief h2, .abschnitt--tief h3 { color: #fff; }
.abschnitt--eng { padding: clamp(48px, 6vw, 76px) 0; }

.kopfzeile { max-width: 720px; margin-bottom: 56px; }
.kopfzeile--mitte { margin-inline: auto; text-align: center; }
.kopfzeile--mitte .augenbraue::before { display: none; }
.kopfzeile p { font-size: 1.08rem; color: var(--text-leise); }
.abschnitt--tief .kopfzeile p { color: rgba(255, 255, 255, .72); }

.fliess > p, .fliess > ul { max-width: 68ch; }
.fliess h3 { margin-top: 2em; }
.fliess ul { padding-left: 0; list-style: none; }
.fliess ul li { position: relative; padding-left: 30px; margin-bottom: 11px; }
.fliess ul li::before {
  content: ""; position: absolute; left: 6px; top: .68em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--bordeaux);
}

/* Raster */

.raster { display: grid; gap: 28px; }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(278px, 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); }

.karte {
  position: relative; background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 38px 34px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.karte::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--bordeaux); transform: scaleY(0); transform-origin: top;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1);
}
.karte:hover { transform: translateY(-6px); box-shadow: var(--schatten-hoch); border-color: transparent; }
.karte:hover::before { transform: scaleY(1); }
.karte__zahl { font-family: var(--serif); font-size: 1rem; color: var(--bordeaux); letter-spacing: .1em; margin-bottom: 18px; }
.karte h3 { margin-bottom: .5em; }
.karte p { color: var(--text-leise); font-size: .97rem; }
.karte .pfeil-link { margin-top: auto; padding-top: 24px; }

.karte--leise { background: var(--creme); border-color: transparent; padding: 30px 28px; }
.karte--leise:hover { transform: none; box-shadow: var(--schatten); }
.karte--leise h4 { color: var(--bordeaux); margin-bottom: .55em; }
.karte--leise p { font-size: .93rem; margin: 0; }

/* Split */

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 6vw, 84px); align-items: center; }
.split__bild { position: relative; }
.split__bild img { border-radius: var(--radius); box-shadow: var(--schatten-hoch); position: relative; z-index: 1; }
.split__bild::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: 0;
  border: 1.5px solid var(--bordeaux); border-radius: var(--radius); opacity: .35;
}

/* Team: Karte, die sich beim Überfahren dreht */

.team-hinweis {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 34px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  color: var(--text-leise);
}

.person { perspective: 1600px; outline-offset: 6px; cursor: pointer; }
.person__karte {
  position: relative; aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.person:hover .person__karte,
.person:focus .person__karte,
.person:focus-within .person__karte,
.person--gedreht .person__karte { transform: rotateY(180deg); }

.person__seite {
  position: absolute; inset: 0;
  border-radius: var(--radius); overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: var(--schatten);
}

.person__vorne { background: var(--sand); }
.person__vorne img { width: 100%; height: 100%; object-fit: cover; }
/* Rechts bleibt Platz, dort steht im Bild der Hinweis "Ai Modified". */
.person__name {
  position: absolute; inset: auto 0 0 0; padding: 46px 118px 26px 26px;
  background: linear-gradient(to top, rgba(61, 2, 20, .9), rgba(61, 2, 20, 0));
  color: #fff;
}
.person__name strong { display: block; font-family: var(--serif); font-size: 1.24rem; font-weight: 600; line-height: 1.2; }
.person__name span { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }

.person__dreh {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); color: #fff;
  backdrop-filter: blur(6px);
  transition: background .3s, transform .5s;
}
.person:hover .person__dreh { background: var(--bordeaux); transform: rotate(180deg); }

.person__hinten {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, var(--bordeaux-nacht) 0%, var(--bordeaux-tief) 58%, var(--bordeaux) 100%);
  color: rgba(255, 255, 255, .82);
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 30px;
}
.person__hinten::before {
  content: ""; position: absolute; left: 30px; top: 30px;
  width: 34px; height: 1.5px; background: rgba(255, 255, 255, .55);
}
.person__hinten h3 { color: #fff; font-size: 1.32rem; margin-bottom: .25em; }
.person__hinten .person__rolle { color: rgba(255, 255, 255, .92); }
.person__hinten .person__qual { color: rgba(255, 255, 255, .76); }

.person__rolle { color: var(--bordeaux); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.person__qual { font-size: .91rem; line-height: 1.6; margin: 0; }

/* Zahlenband */

.band { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2px; background: rgba(255, 255, 255, .12); }
.band__feld { background: var(--bordeaux-nacht); padding: 40px 28px; }
.band__wert { font-family: var(--serif); font-size: 2.4rem; color: #fff; line-height: 1; margin-bottom: 10px; }
.band__text { font-size: .88rem; letter-spacing: .04em; color: rgba(255, 255, 255, .72); }

/* Ruf */

.ruf {
  background: linear-gradient(115deg, var(--bordeaux-nacht), var(--bordeaux-tief) 62%, var(--bordeaux));
  color: #fff; text-align: center;
}
.ruf h2 { color: #fff; }
.ruf p { color: rgba(255, 255, 255, .82); max-width: 620px; margin-inline: auto; }
.ruf__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* Fuss */

.fuss { background: var(--tinte); color: rgba(255, 255, 255, .68); font-size: .93rem; padding: 76px 0 0; }
.fuss h4 { color: #fff; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.fuss a { color: rgba(255, 255, 255, .78); }
.fuss a:hover { color: #fff; }
.fuss__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 44px; padding-bottom: 60px; }
.fuss__logo { height: 42px; width: auto; filter: brightness(0) invert(1); margin-bottom: 22px; }
.fuss__liste { list-style: none; padding: 0; margin: 0; }
.fuss__liste li { margin-bottom: 10px; }
.fuss__siegel { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }
.fuss__siegel img { height: 46px; width: auto; background: #fff; border-radius: 3px; padding: 5px; }
.fuss__unten {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 26px 0 34px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .85rem; color: rgba(255, 255, 255, .5);
}
.fuss__unten nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* Bewertung */

.bewertung { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; justify-content: center; text-align: center; }
.bewertung__sterne { color: var(--bordeaux); font-size: 1.5rem; letter-spacing: .18em; }

/* Downloads */

.download {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 22px 26px; color: var(--tinte);
  transition: border-color .28s, box-shadow .28s, transform .28s;
}
.download:hover { border-color: var(--bordeaux); box-shadow: var(--schatten); transform: translateX(4px); color: var(--tinte); }
.download__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--sand); border-radius: 50%; color: var(--bordeaux); }
.download__titel { font-weight: 600; display: block; }
.download__meta { font-size: .82rem; color: var(--text-leise); }

/* Partner */

.partner-block { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.partner-block img { max-height: 92px; width: auto; object-fit: contain; }

/* Recht */

.recht { max-width: 820px; font-size: .96rem; }
.recht h2 { font-size: 1.6rem; margin-top: 2.2em; }
.recht h3 { font-size: 1.15rem; margin-top: 1.8em; }
.recht h4 { margin-top: 1.6em; font-family: var(--sans); }
.recht ul { padding-left: 22px; }
.recht li { margin-bottom: 8px; }
.recht a { overflow-wrap: anywhere; }

/* Bewegung */

[data-reveal] { opacity: 0; transform: translateY(26px); }
.sichtbar[data-reveal] {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

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

/* Klein */

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .kopf__knopf { display: none; }
  .partner-block { grid-template-columns: 1fr; gap: 24px; }
  .split__bild::after { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .held { min-height: 56vh; }
  .held--gross { min-height: 78vh; }
  .karte { padding: 30px 26px; }
  .abschnitt { padding: 58px 0; }
}
