@font-face {
  font-family: "CosmicScript";
  src: url("assets/fonts/Z003-MediumItalic.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "P052";
  src: url("assets/fonts/P052-Roman.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "P052";
  src: url("assets/fonts/P052-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #030712;
  --midnight: #071326;
  --panel: rgba(5, 13, 29, 0.89);
  --panel-deep: rgba(3, 9, 21, 0.96);
  --line: rgba(185, 155, 90, 0.34);
  --line-bright: rgba(234, 207, 136, 0.72);
  --gold: #e4c77e;
  --gold-soft: #b99b5b;
  --ivory: #f7f2e8;
  --mist: #c8d3e4;
  --blue: #87b5ec;
  --violet: #b99ce9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background: var(--night);
  font-family: "P052", Georgia, serif;
  line-height: 1.62;
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(1, 5, 14, 0.1), rgba(1, 5, 14, 0.42)),
    url("assets/images/kosmischer-hintergrund.png") center top / cover no-repeat;
}

.cosmos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(1, 7, 19, 0.04) 0%, rgba(1, 7, 19, 0.34) 54%, rgba(1, 4, 12, 0.05) 100%);
}

.page-shell {
  width: min(1280px, calc(100% - 90px));
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(2, 7, 18, 0.08) 0%, rgba(3, 9, 22, 0.18) 18%, rgba(4, 11, 26, 0.5) 36%, rgba(5, 13, 29, 0.94) 43%, rgba(5, 13, 29, 0.97) 50%, rgba(5, 13, 29, 0.94) 57%, rgba(4, 11, 26, 0.5) 64%, rgba(3, 9, 22, 0.18) 82%, rgba(2, 7, 18, 0.08) 100%);
  border-inline: 1px solid rgba(167, 196, 233, 0.12);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.68);
  overflow: hidden;
}

.hero {
  min-height: 520px;
  padding: 92px 28px 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, rgba(59, 105, 168, 0.17), transparent 35%),
    linear-gradient(180deg, rgba(1, 6, 17, 0.28), rgba(5, 13, 29, 0.92));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
}

.hero::before { top: 46px; }
.hero::after { bottom: 24px; }

.hero-star {
  color: var(--gold);
  font-size: 24px;
  text-shadow: 0 0 18px rgba(228, 199, 126, 0.9);
  margin-bottom: 5px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff9e9;
  font-family: "CosmicScript", "Palace Script MT", cursive;
  font-size: clamp(5.6rem, 10vw, 9.2rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 6px rgba(255, 241, 193, 0.95),
    0 0 26px rgba(111, 161, 229, 0.55),
    0 0 70px rgba(98, 73, 174, 0.44);
}

.hero-subtitle {
  margin: 28px 0 17px;
  color: var(--mist);
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(420px, 72vw);
  color: var(--gold);
}

.ornament span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}

.ornament span:last-child {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.ornament i {
  font-style: normal;
  text-shadow: 0 0 12px rgba(228, 199, 126, 0.8);
}

.ornament.small {
  width: 260px;
  margin: 18px auto 0;
}

main {
  padding: 0 48px 80px;
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(8, 21, 44, 0.82), rgba(3, 10, 24, 0.93));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.3);
}

.intro {
  max-width: 940px;
  margin: 0 auto 82px;
  padding: 52px 72px 48px;
  text-align: center;
  position: relative;
}

.intro::before,
.intro::after {
  content: "✧";
  position: absolute;
  color: rgba(228, 199, 126, 0.55);
  font-size: 20px;
}

.intro::before { top: 18px; left: 24px; }
.intro::after { right: 24px; bottom: 18px; }

h2 {
  margin: 0;
  color: #fff8e6;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  font-weight: 400;
}

.intro p:not(.section-kicker) {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--mist);
  font-size: 1.08rem;
}

.intro strong {
  color: #f5dfaa;
  font-weight: 700;
}

.intro .intro-closing {
  color: var(--gold);
  font-style: italic;
}

.channels,
.videos {
  margin-top: 72px;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.channel-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  text-align: center;
  color: var(--ivory);
  text-decoration: none;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 116, 181, 0.2), transparent 50%),
    linear-gradient(155deg, rgba(10, 24, 50, 0.9), rgba(4, 11, 27, 0.97));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-bright);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(89, 119, 192, 0.12);
  outline: none;
}

.channel-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(5, 13, 29, 0.75);
  box-shadow: 0 0 20px rgba(178, 144, 75, 0.18);
}

.channel-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.32;
  font-weight: 700;
}

.channel-card span:last-child {
  margin-top: 13px;
  color: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
  row-gap: 64px;
  position: relative;
}

.video-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -18px;
  bottom: -26px;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, transparent, rgba(228, 199, 126, 0.84) 4%, rgba(228, 199, 126, 0.62) 96%, transparent);
  box-shadow: 0 0 10px rgba(228, 199, 126, 0.28);
  pointer-events: none;
}

.film-order-note {
  max-width: 760px;
  margin: -8px auto 44px;
  padding: 17px 24px;
  text-align: center;
  color: #d7e1ee;
  border-block: 1px solid rgba(228, 199, 126, 0.28);
  background: rgba(4, 12, 28, 0.54);
  font-size: 0.98rem;
  font-style: italic;
}

.video-card {
  min-height: 248px;
  display: grid;
  grid-template-columns: minmax(220px, 44%) 1fr;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(228, 199, 126, 0.48);
  background: linear-gradient(150deg, rgba(7, 19, 40, 0.88), rgba(3, 10, 24, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 244, 209, 0.035), 0 16px 40px rgba(0, 0, 0, 0.34), 0 0 18px rgba(182, 144, 72, 0.08);
}

.video-card::after {
  content: "✧";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -43px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(241, 215, 148, 0.96);
  font-size: 0.82rem;
  text-shadow: 0 0 10px rgba(228, 199, 126, 0.42);
  background:
    linear-gradient(90deg, transparent, rgba(228, 199, 126, 0.78)) left center / calc(50% - 18px) 2px no-repeat,
    linear-gradient(90deg, rgba(228, 199, 126, 0.78), transparent) right center / calc(50% - 18px) 2px no-repeat;
}

.video-card:nth-child(even) {
  background: linear-gradient(150deg, rgba(9, 17, 39, 0.88), rgba(5, 11, 27, 0.92));
}

.card-copy {
  min-width: 0;
  padding: 27px 22px 23px 25px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(110deg, rgba(3, 10, 24, 0.74), rgba(5, 13, 29, 0.5));
}

.card-number {
  margin: 0 0 11px;
  color: var(--gold-soft);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 0;
  color: #fff9eb;
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 700;
}

.card-status {
  margin: 9px 0 0;
  color: #9eb0c8;
  font-size: 0.84rem;
  font-style: italic;
}

.actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px 6px;
  color: #fff8e6;
  text-decoration: none;
  border: 1px solid rgba(203, 173, 101, 0.55);
  background: rgba(135, 102, 42, 0.18);
  font-family: Arial, sans-serif;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  border-color: var(--gold);
  background: rgba(174, 133, 55, 0.38);
  outline: none;
}

.button.secondary {
  border-color: rgba(138, 176, 226, 0.48);
  background: rgba(66, 105, 160, 0.15);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--blue);
  background: rgba(66, 105, 160, 0.32);
}

.button.pending {
  color: #9caabd;
  border-color: rgba(146, 159, 180, 0.28);
  background: rgba(90, 103, 122, 0.08);
  cursor: default;
}

.thumbnail {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  background: #060b15;
  border-left: 1px solid rgba(192, 164, 101, 0.2);
}

.thumbnail::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: 0;
  background: var(--thumb) center / cover no-repeat;
  filter: blur(18px) brightness(0.45) saturate(0.82);
  transform: scale(1.08);
}

.thumbnail img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(0.93) contrast(1.03);
  transition: transform 400ms ease, filter 300ms ease;
}

.video-card:hover .thumbnail img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.04);
}

.thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(3, 10, 24, 0.25), transparent 34%);
  pointer-events: none;
}

.pending-ribbon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 6px 10px;
  color: #f4dfac;
  border: 1px solid rgba(228, 199, 126, 0.55);
  background: rgba(3, 9, 21, 0.82);
  font-family: Arial, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.future-projects {
  max-width: 980px;
  margin: 92px auto 0;
  padding: 34px 46px 38px;
  text-align: center;
  border: 1px solid rgba(213, 186, 255, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(172, 129, 230, 0.2), transparent 48%),
    linear-gradient(145deg, rgba(69, 40, 102, 0.9), rgba(29, 17, 56, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 48px rgba(0, 0, 0, 0.38), 0 0 28px rgba(132, 83, 191, 0.14);
}

.future-projects h3 {
  max-width: 760px;
  margin: 0 auto 27px;
  color: #fff8e8;
  font-size: 1.28rem;
  line-height: 1.45;
  font-weight: 400;
}

.future-projects h3 span {
  color: #d9c7ef;
  white-space: nowrap;
}

.future-projects ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  list-style: none;
}

.future-projects li {
  position: relative;
  padding: 8px 14px 7px 28px;
  color: #eee5f8;
  border-bottom: 1px solid rgba(226, 206, 255, 0.2);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  line-height: 1.45;
}

.future-projects li::before {
  content: "✦";
  position: absolute;
  left: 7px;
  color: var(--gold);
}

.future-projects li:last-child {
  grid-column: 1 / -1;
}

footer {
  min-height: 230px;
  padding: 58px 30px 66px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 12, 28, 0.9), rgba(1, 5, 14, 0.98));
}

.footer-star {
  color: var(--gold);
  font-size: 21px;
  text-shadow: 0 0 16px rgba(228, 199, 126, 0.75);
}

footer p {
  margin: 10px 0 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer .footer-note {
  color: #95a5bb;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.legal-links {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(228, 199, 126, 0.7);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-links a {
  color: #c9d8ea;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 216, 234, 0.34);
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #fff2c6;
  border-color: var(--gold);
  outline: none;
}

@media (max-width: 1120px) {
  .page-shell { width: min(100% - 34px, 1040px); }
  main { padding-inline: 28px; }
  .video-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .video-grid::before { display: none; }
  .video-card { grid-template-columns: minmax(240px, 40%) 1fr; }
  .video-card::after { display: none; }
}

@media (max-width: 760px) {
  .page-shell { width: 100%; border: 0; }
  .hero { min-height: 430px; padding-inline: 18px; }
  h1 { font-size: clamp(4.2rem, 20vw, 6.7rem); }
  .hero-subtitle { font-size: 0.77rem; letter-spacing: 0.18em; }
  main { padding: 0 16px 60px; }
  .intro { padding: 42px 24px 40px; }
  .channel-grid { grid-template-columns: 1fr; }
  .film-order-note { margin-bottom: 30px; padding-inline: 14px; }
  .future-projects { margin-top: 52px; padding: 29px 22px 32px; }
  .future-projects ul { grid-template-columns: 1fr; }
  .future-projects li:last-child { grid-column: auto; }
  .video-card { grid-template-columns: 1fr; }
  .thumbnail { order: -1; min-height: 210px; border-left: 0; border-bottom: 1px solid rgba(192, 164, 101, 0.2); }
  .card-copy { min-height: 214px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* Der freie Platz neben dem Kaffee-Film trägt die Produktionsankündigung. */
.production-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 30px 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(172, 129, 230, 0.2), transparent 50%),
    linear-gradient(145deg, rgba(63, 35, 99, 0.93), rgba(24, 15, 48, 0.96));
  border-color: rgba(213, 186, 255, 0.62);
}
.production-note:nth-child(even) {
  background:
    radial-gradient(circle at 50% 0%, rgba(172, 129, 230, 0.2), transparent 50%),
    linear-gradient(145deg, rgba(63, 35, 99, 0.93), rgba(24, 15, 48, 0.96));
}
.notice-ornament { color: var(--gold); font-size: 1.8rem; margin-bottom: 8px; }
.production-note h3 { color: #fff3dc; font-size: 1.45rem; line-height: 1.25; }
.production-note p:not(.card-number) { max-width: 390px; margin: 16px 0 0; color: #e2d9ed; font-size: 1rem; line-height: 1.65; }
.production-note .button { margin-top: 24px; padding-inline: 18px; }
#fertige-filme { scroll-margin-top: 28px; }
@media (max-width: 760px) {
  .production-note { padding: 30px 24px; }
}
