/* A&J · Werbevideos für Kliniken
   Stil A: ruhig und dunkel. Ein lauter Block (§ 11 HWG) auf Koralle. */

@font-face {
  font-family: "Playfair";
  src: url("assets/fonts/playfair.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/opensans.woff") format("woff");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --espresso: #1b140d;   /* Grund, aus der Showreel-Endcard gemessen */
  --nacht:    #0c0906;   /* Rand des Verlaufs */
  --glut:     #2c2118;   /* Flächen und Linien */
  --creme:    #fffcf7;   /* Text, Logo */
  --leinen:   #bab0a6;   /* Nebentext */
  --koralle:  #b83213;   /* Akzent, lauter Block */

  --serif: "Playfair", Georgia, "Times New Roman", serif;
  --sans:  "Open Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --breite: 1240px;
  --rand: clamp(20px, 5vw, 64px);
  --abschnitt: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(120% 90% at 30% 10%, #241a11 0%, var(--espresso) 45%, var(--nacht) 100%) fixed;
  background-color: var(--espresso);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--koralle); outline-offset: 4px; border-radius: 2px; }

.sprung {
  position: absolute; left: -999px; top: 12px;
  background: var(--creme); color: var(--espresso); padding: 8px 14px; z-index: 10;
}
.sprung:focus { left: 12px; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding-inline: var(--rand); }

/* ---------- Kopfzeile ---------- */
.kopf {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 28px;
}
.kopf__logo { display: block; width: 48px; height: 48px; }
.kopf__logo img { width: 100%; height: 100%; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--leinen);
  transition: color .2s;
}
.nav a:hover { color: var(--creme); }

/* ---------- Beschriftungen ---------- */
.augenbraue {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--leinen); margin: 0 0 22px;
}
.augenbraue::before { content: ""; width: 44px; height: 2px; background: var(--koralle); }

.titel {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; margin: 0 0 28px;
  max-width: 18ch;
}
.titel em { font-style: italic; color: var(--leinen); }

/* ---------- Einstieg ---------- */
.einstieg {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(32px, 6vw, 72px) var(--abschnitt);
}
.einstieg__text h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(3.1rem, 7.4vw, 6.4rem); line-height: 1.0; margin: 0 0 30px;
}
.einstieg__zusatz { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--leinen); margin: 0 0 44px; max-width: 30ch; }
.einstieg__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.knopf {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  background: var(--koralle); color: var(--creme); padding: 17px 30px; border-radius: 999px;
  transition: transform .25s var(--ease), background .2s;
}
.knopf:hover { background: #cb3a17; transform: translateY(-2px); }
.textlink {
  font-weight: 600; text-decoration: none; color: var(--creme);
  border-bottom: 1px solid rgba(255, 252, 247, .35); padding-bottom: 2px; transition: border-color .2s;
}
.textlink:hover { border-color: var(--koralle); }

/* Hochformat-Tafel: die Form, in der Kliniken ihre Videos veröffentlichen */
.tafel {
  position: relative; aspect-ratio: 9 / 16; width: 100%;
  border-radius: 28px; overflow: hidden; background: var(--glut);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 252, 247, .06);
}
.tafel video { width: 100%; height: 100%; object-fit: cover; }
.einstieg__tafel { justify-self: end; width: min(420px, 100%, calc((100svh - 190px) * .5625)); }
.ton {
  position: absolute; left: 16px; bottom: 16px;
  font: 600 .82rem/1 var(--sans); color: var(--creme);
  background: rgba(12, 9, 6, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 252, 247, .18); border-radius: 999px; padding: 11px 16px; cursor: pointer;
}
.ton:hover { background: rgba(12, 9, 6, .8); }

/* Auftakt beim Laden – einmal, gestaffelt */
.auftakt { opacity: 0; transform: translateY(18px); }
.ist-bereit .auftakt { animation: auftakt .9s var(--ease) forwards; animation-delay: var(--v, 0s); }
@keyframes auftakt { to { opacity: 1; transform: none; } }

/* ---------- Leistungen ---------- */
.leistungen { padding-block: 0 var(--abschnitt); }
.leistungen__liste {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
  margin: 56px 0 0; padding: 0; list-style: none;
}
.leistung { border-top: 1px solid var(--glut); padding-top: 26px; }
.leistung h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; }
.leistung p { margin: 0; color: var(--leinen); }

/* ---------- Arbeiten ---------- */
.arbeiten { padding-block: 0 var(--abschnitt); }
.arbeiten__reihe {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px);
  margin: 56px 0 0; padding: 0; list-style: none;
}
.arbeit figure { margin: 0; }
.arbeit .tafel { border-radius: 20px; }
.arbeit figcaption { margin-top: 16px; }
.abspielen {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(12, 9, 6, .45), transparent 45%);
}
.abspielen::before {
  content: ""; position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px;
  border-radius: 50%; background: rgba(255, 252, 247, .92); transition: transform .25s var(--ease);
}
.abspielen::after {
  content: ""; position: absolute; left: 36px; bottom: 34px;
  border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent var(--espresso);
}
.abspielen:hover::before { transform: scale(1.08); }
.arbeit__name { display: block; font-weight: 700; font-size: 1rem; }
.arbeit__info { display: block; color: var(--leinen); font-size: .9rem; line-height: 1.45; margin-top: 3px; }

/* ---------- Ablauf (echte Reihenfolge, daher nummeriert) ---------- */
.ablauf { padding-block: 0 var(--abschnitt); }
.ablauf__schritte {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
  margin: 56px 0 0; padding: 0; list-style: none; counter-reset: schritt;
}
.schritt { counter-increment: schritt; }
.schritt::before {
  content: counter(schritt);
  display: block; font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: var(--koralle);
  margin-bottom: 18px;
}
.schritt h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; }
.schritt p { margin: 0; color: var(--leinen); }

/* ---------- Der laute Block ---------- */
.laut { background: var(--koralle); color: var(--creme); padding-block: clamp(80px, 11vw, 150px); }
.laut__marke {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 252, 247, .78); margin: 0 0 26px;
}
.laut__zeilen {
  font-family: var(--sans); font-weight: 800; font-stretch: 75%; text-transform: uppercase;
  font-size: clamp(3.2rem, 10.5vw, 9.6rem); line-height: .9; letter-spacing: -.005em; margin: 0 0 44px;
}
.laut__zeile { display: block; }
.laut__zeile--dunkel { color: var(--espresso); }
.streich { position: relative; display: inline-block; }
.streich::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .13em;
  background: var(--espresso); transform: scaleX(0); transform-origin: left center;
  transition: transform .75s var(--ease);
}
.streich--2::after { transition-delay: .22s; }
.streich--3::after { transition-delay: .44s; }
.ist-sichtbar .streich::after { transform: scaleX(1); }
.laut__text { max-width: 60ch; font-size: 1.12rem; margin: 0 0 18px; }
.laut__klein { font-size: .85rem; color: rgba(255, 252, 247, .78); margin: 0; }

/* ---------- Kontakt ---------- */
.kontakt { padding-block: var(--abschnitt); }
.kontakt__mail {
  display: inline-block; font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.1;
  text-decoration: none; border-bottom: 2px solid var(--koralle); padding-bottom: 6px; margin: 8px 0 64px;
  word-break: break-word;
}
.kontakt__mail:hover { color: var(--leinen); }
.kontakt__wege {
  display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 40px clamp(40px, 6vw, 96px);
}
.weg dt { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--leinen); margin-bottom: 12px; }
.weg dd { margin: 0 0 6px; font-size: 1.1rem; }
.weg a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.weg a:hover { border-color: var(--koralle); }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--glut); padding-block: 32px 44px; }
.fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--leinen); font-size: .9rem; }
.fuss nav { display: flex; gap: 24px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--creme); }

/* ---------- Rechtstexte ---------- */
.recht { padding-block: 40px var(--abschnitt); max-width: 760px; }
.recht h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 36px; }
.recht h2 { font-size: 1.15rem; margin: 40px 0 10px; }
.recht p, .recht li { color: var(--leinen); }
.recht strong { color: var(--creme); }
.luecke { background: rgba(184, 50, 19, .22); color: var(--creme); padding: 1px 6px; border-radius: 3px; font-weight: 600; }
.entwurf {
  background: var(--koralle); color: var(--creme); padding: 18px 22px; border-radius: 10px;
  font-weight: 600; margin: 0 0 40px;
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 960px) {
  .einstieg { grid-template-columns: 1fr; }
  .einstieg__tafel { justify-self: center; max-width: 380px; }
  .leistungen__liste, .ablauf__schritte { grid-template-columns: 1fr; }
  .arbeiten__reihe {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); padding-bottom: 8px;
  }
  .arbeit { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .nav a:not(.nav__kontakt) { display: none; }
  .kontakt__wege { grid-template-columns: 1fr; }
  .arbeit { flex-basis: 74%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .auftakt { opacity: 1; transform: none; }
  .ist-bereit .auftakt { animation: none; }
  .streich::after { transition: none; }
  .knopf:hover { transform: none; }
}
