/* ==========================================================================
   ROMAN DIESEL — gemeinsames Stylesheet
   Dunkles Design, Petrolblau als einzige Akzentfarbe.
   Aufbau: 1 Tokens · 2 Basis · 3 Header · 4 Hero · 5 Sektionen · 6 Karten
           7 Datenschutz · 8 Footer · 9 Animation · 10 Responsive
   ========================================================================== */

/* Optional: Inter lokal hosten (Datei nach assets/fonts/ legen).
   Ohne Datei greift automatisch der System-Font-Stack – es wird nichts
   von Google geladen. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("Inter"), local("Inter Variable"),
       url("assets/fonts/Inter-Variable.woff2") format("woff2");
}

/* 1 — Tokens ------------------------------------------------------------- */
:root {
  color-scheme: dark;

  --bg: #000000;
  --surface: #121214;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f5f7;
  --muted: #a1a1a6;          /* 7,9:1 auf #000 */

  --accent: #0a6c74;         /* Petrol – Flächen, Buttons */
  --accent-strong: #0d838c;  /* Hover */
  --accent-text: #46cdd8;    /* Petrol, aufgehellt für Text/Links (9:1) */
  --on-accent: #ffffff;      /* 6,2:1 auf --accent */

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
          "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --header-h: 64px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --container: 1200px;
}

/* 2 — Basis -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover { color: #fff; }

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

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-s);
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; color: var(--on-accent); }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3 — Header (Glas) ------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 12, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.78);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
}
.brand:hover { color: var(--text); }

.site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a,
.site-nav .is-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.site-nav .is-soon { opacity: 0.55; cursor: default; }
.badge {
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 4 — Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 62svh;
  padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero--tall { min-height: 100svh; align-items: center; }
.hero--plain {
  min-height: 0;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  background: radial-gradient(90% 120% at 15% 0%, rgba(10, 108, 116, 0.35), transparent 60%), var(--bg);
}

.hero-bg {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 38%, var(--bg) 100%),
    linear-gradient(90deg, rgba(4, 45, 49, 0.55), transparent 65%);
}
.hero--plain::after { display: none; }

.hero-content { max-width: 60rem; }
/* Umschließt Banner + Textblock als EIN Flex-Kind von .hero, damit die
   ursprüngliche vertikale Ausrichtung (unten / mittig) unverändert bleibt */
.hero-stack { width: 100%; }
.hero .back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}
.hero .back:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Dekorativer Banner über dem Titel: schwarzer Hintergrund wird per
   Blend-Modus transparent, nur die Neon-Linien bleiben sichtbar.
   Gleiche Breite wie die Kopfzeile (.container), nicht die volle
   Bildschirmbreite. Höhe ergibt sich aus dem Seitenverhältnis. */
.hero-banner {
  display: block;
  width: min(100% - 2 * var(--gutter), var(--container));
  height: auto;
  margin: 0 auto clamp(2rem, 6vw, 4rem);
  mix-blend-mode: screen;
  opacity: 0.92;
}
.js .hero-banner { animation: rise 0.9s var(--ease) both; }

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.hero--tall h1 {
  font-size: clamp(3.25rem, 11vw, 9.5rem);
  letter-spacing: -0.05em;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: clamp(1.125rem, 1.4vw + 0.6rem, 1.5rem);
  line-height: 1.45;
  color: #d2d2d7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* 5 — Sektionen ---------------------------------------------------------- */
main { display: block; }
.section { padding: clamp(3.5rem, 9vw, 7.5rem) 0; }
.section--tight-top { padding-top: 0; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.1875rem; }

/* 6 — Karten ------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
a.card-link:hover { color: inherit; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.045); }

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
}
.card-body h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.card-body p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 1rem;
}
.card-cta .icon { transition: transform 0.3s var(--ease); }
.card:hover .card-cta .icon { transform: translateX(4px); }
/* ganze Karte klickbar, aber nur ein Link für Screenreader */
.card-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-cta:focus-visible { outline: none; }
.card:has(.card-cta:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45));
}
.play span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.play .icon { width: 26px; height: 26px; fill: currentColor; stroke-width: 1.5; margin-left: 3px; }
.card:hover .play span { transform: scale(1.1); background: var(--accent); }

/* Kategorie-Karten (Startseite) – gleiche Kartenfarbe wie page7.html, Icon mittig */
.tile {
  min-height: clamp(23rem, 36vw, 28rem);
  background: #040f20;
  justify-content: flex-start;
}
.tile .card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.tile .card-body h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.tile .card-body p { color: #d2d2d7; max-width: 26rem; }

/* Icon-Illustration mittig in der Karte, mit violettem Glow wie auf page7.html */
.tile-icon {
  display: block;
  width: min(400px, 80%);
  height: auto;
  margin: 1.5rem auto 0.25rem;
  border-radius: 18px;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.5));
  box-shadow: 0 0 70px -12px rgba(149, 117, 255, 0.5);
  transition: transform 0.5s var(--ease);
}
.tile:hover .tile-icon { transform: scale(1.04); }

.tile--soon { cursor: default; }
.tile--soon:hover { transform: none; border-color: var(--line); }
.tile--soon .badge {
  background: rgba(149, 117, 255, 0.14);
  border: 1px solid rgba(149, 117, 255, 0.3);
  color: #c9bbff;
}

/* Platzhalter für Inhalte, die noch folgen */
.card--placeholder {
  justify-content: center;
  min-height: 16rem;
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}
.card--placeholder:hover { transform: none; border-color: var(--line); }
.card--placeholder .card-body { align-items: flex-start; justify-content: center; }

/* Einzelnes Album / einzelnes Video: breite Karte */
.card--wide { flex-direction: row; }
.card--wide .card-media { flex: 1.35; aspect-ratio: auto; min-height: 22rem; }
.card--wide .card-body { flex: 1; justify-content: center; padding: clamp(1.75rem, 4vw, 3rem); }
.card--wide .card-body h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.card--wide .card-body p { font-size: 1.0625rem; }
.card--wide .card-cta { margin-top: 1rem; }

.text-stack p + p { margin-top: 0.2rem; }
.card-body .meta { color: var(--text); font-weight: 600; font-size: 0.9375rem; }

/* Kontakt-Block (Startseite) */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.contact h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.contact address { font-style: normal; color: var(--muted); line-height: 1.7; }
.contact address strong { color: var(--text); }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1.25rem; }

/* 7 — Datenschutz -------------------------------------------------------- */
.legal { max-width: 46rem; margin-inline: auto; }
.legal section { padding: 2.25rem 0; border-top: 1px solid var(--line); }
.legal section:first-of-type { border-top: 0; padding-top: 0; }
.legal h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.legal p { color: #c7c7cc; }
.legal p + p, .legal p + ul, .legal ul + p, .legal address + p, .legal p + address { margin-top: 1rem; }
.legal ul { display: grid; gap: 0.4rem; padding-left: 1.25rem; list-style: disc; color: #c7c7cc; }
.legal li::marker { color: var(--accent-text); }
.legal address { font-style: normal; color: #c7c7cc; line-height: 1.7; margin-top: 1rem; }

/* 8 — Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-brand { color: var(--text); font-weight: 700; letter-spacing: 0.06em; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* 9 — Animation ---------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Einmalige Einblend-Sequenz im Hero */
.js .hero-content > * { animation: rise 0.9s var(--ease) both; }
.js .hero-content > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-content > :nth-child(3) { animation-delay: 0.16s; }
.js .hero-content > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

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

/* 10 — Responsive -------------------------------------------------------- */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
}

@media (max-width: 1024px) {
  .card--wide { flex-direction: column; }
  .card--wide .card-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 1.5rem var(--gutter) 3rem;
    background: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-nav .is-soon {
    justify-content: space-between;
    padding: 1.1rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; color: var(--accent-text); }
  html.nav-open { overflow: hidden; }

  .grid--2 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .hero--tall { min-height: 92svh; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .play span { width: 54px; height: 54px; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
