
:root {
  --page-bg: #050607;
  --surface: #0b0e10;
  --surface-soft: #101417;
  --line: #272d31;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f5f3;
  --muted: #b2b9bd;
  --red: #d31919;
  --red-bright: #f13d3d;
  --content-width: 1420px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: white;
  color: black;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(4, 5, 6, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 95px;
  height: 58px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: flex;
  flex-direction: column;
}

.brand strong,
.footer-brand strong {
  color: white;
  font-size: 1.06rem;
  line-height: 1.1;
}

.brand small,
.footer-brand small {
  color: var(--red-bright);
  font-size: 0.76rem;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  position: relative;
  color: #d0d5d7;
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: white;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: var(--red);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--red);
  text-decoration: none;
  font-weight: 650;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(91, 96, 99, 0.22), transparent 30%),
    linear-gradient(90deg, #050607 0%, #050607 42%, #080a0c 100%);
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.97) 0%, rgba(5, 6, 7, 0.95) 36%, rgba(5, 6, 7, 0.4) 64%, rgba(5, 6, 7, 0.1) 100%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 255, 255, 0.025) 118px 119px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 1rem;
}

.hero-copy {
  padding: 5.5rem 0 6rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(4rem, 6vw, 6.9rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--red-bright);
}

.hero-lead,
.hero-subline {
  max-width: 560px;
  color: #c7cdd0;
}

.hero-lead {
  margin: 1.7rem 0 0;
  font-size: 1.12rem;
}

.hero-subline {
  margin: 0.8rem 0 0;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid #41494f;
  background: transparent;
  color: white;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
}

.button-secondary {
  background: rgba(0, 0, 0, 0.24);
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
}

.hero-approved {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.74));
}

.hero-filmstrip {
  position: relative;
  z-index: 3;
  height: 24px;
  background:
    linear-gradient(#111518, #111518) center / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, #030404 0 14px, #242a2e 14px 29px, #030404 29px 43px);
  border-top: 1px solid #343b40;
}

.section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.section-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-heading p:last-child,
.about-copy p,
.contact-copy p {
  color: var(--muted);
}

.compact-heading {
  margin-bottom: 1.4rem;
}

.section-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
  opacity: 0.13;
  filter: saturate(0.82) contrast(1.06) brightness(0.82);
}

.services-camera {
  left: -68px;
  bottom: 30px;
  width: 260px;
  height: 390px;
}

.services-light {
  right: -22px;
  top: 36px;
  width: 180px;
  height: 150px;
  opacity: 0.2;
}

.projects-reel {
  right: -90px;
  top: 18%;
  width: 330px;
  height: 360px;
  opacity: 0.14;
}

.videos-microphone {
  right: -42px;
  top: 20%;
  width: 160px;
  height: 360px;
  opacity: 0.19;
}

.videos-clapper {
  left: -40px;
  bottom: 20px;
  width: 235px;
  height: 210px;
  opacity: 0.12;
}

.about-light {
  left: -45px;
  top: 15%;
  width: 190px;
  height: 165px;
  opacity: 0.18;
}

.about-boom {
  right: 6%;
  top: 25px;
  width: 320px;
  height: 140px;
  opacity: 0.12;
}

.services-section {
  background: #07090a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-copy {
  padding: 1rem;
}

.card-copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.card-copy p {
  margin: 0;
  color: #aeb6ba;
  font-size: 0.89rem;
}

.projects-section {
  background: #050607;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.72rem;
}

.project-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.project-image {
  position: relative;
  min-height: 145px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(211, 25, 25, 0.12), transparent 45%),
    repeating-linear-gradient(-45deg, #111518 0 10px, #0a0d0f 10px 20px);
  color: #838d92;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-image-reportage { background-color: #16120e; }
.project-image-imagefilm { background-color: #0e1518; }
.project-image-live { background-color: #16100f; }
.project-image-jubilaeum { background-color: #14100d; }
.project-image-night { background-color: #0c1015; }
.project-image-concert { background-color: #15120d; }
.project-image-archive { background-color: #101214; }

.project-copy {
  padding: 0.9rem;
}

.project-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  line-height: 1.25;
}

.project-copy p {
  margin: 0;
  color: #a5adb1;
  font-size: 0.77rem;
}

.videos-section {
  background: #080a0b;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 0.9rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 calc((100% - 1.8rem) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.slide-caption strong {
  font-size: 1.02rem;
}

.slide-caption span {
  color: #c2c9cc;
  font-size: 0.84rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid #59636a;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: white;
  font-size: 1.9rem;
  cursor: pointer;
}

.carousel-prev {
  left: -22px;
}

.carousel-next {
  right: -22px;
}

.carousel-dots {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #555d62;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--red);
}

.youtube-button {
  display: block;
  width: max-content;
  margin: 0.4rem auto 0;
  padding: 0.7rem 1rem;
  border: 1px solid #41494e;
  text-decoration: none;
}

.about-section {
  background: #07090a;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 4rem;
}

.about-image {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.about-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  max-width: 760px;
}

.contact-section {
  background: #090b0d;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 4rem;
  align-items: start;
}

.contact-copy address {
  margin-top: 2rem;
  color: #c5cbce;
  font-style: normal;
}

.contact-copy address a {
  text-underline-offset: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #e8ebec;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #3b444a;
  background: #060809;
  color: white;
  padding: 0.82rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.privacy-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem !important;
  font-weight: 400 !important;
  color: #bbc2c6 !important;
}

.privacy-check input {
  width: auto;
  margin-top: 0.25rem;
}

.captcha-consent {
  padding: 1rem;
  border: 1px solid #343c41;
  background: #111518;
}

.captcha-consent p {
  margin: 0 0 0.7rem;
  color: #bdc4c8;
}

.form-status {
  display: none;
}

.form-status.is-visible {
  display: block;
  padding: 0.8rem;
  border: 1px solid;
}

.form-status.is-success {
  border-color: #3e9a5d;
  background: #102318;
}

.form-status.is-error {
  border-color: #cf4343;
  background: #2b1111;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.site-footer {
  background: #040506;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 105px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 2rem;
}

.footer-brand img {
  width: 96px;
  height: 58px;
  object-fit: contain;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
}

.footer-inner a {
  color: #d0d5d7;
}

.copyright {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 0 0 1.5rem;
  color: #868f94;
  font-size: 0.8rem;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 1rem;
  }

  .main-nav {
    gap: 1.2rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .carousel-slide {
    flex-basis: calc((100% - 0.9rem) / 2);
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-flex;
    padding: 0.55rem 0.8rem;
    border: 1px solid #4a5358;
    background: transparent;
    color: white;
    cursor: pointer;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 20px 1rem;
    background: #07090a;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav.is-open a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav a.is-active::after {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 4.5rem 0 1.5rem;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-approved {
    max-height: 560px;
    object-position: center bottom;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 2.5rem;
  }

  .about-image img {
    height: 520px;
    object-fit: contain;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 0;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner,
  .copyright {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .brand img {
    width: 76px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero-copy {
    padding-top: 3.8rem;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-approved {
    max-height: 480px;
  }

  .section-inner {
    padding: 4rem 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    aspect-ratio: 16 / 9;
  }

  .carousel-slide {
    flex-basis: 100%;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .section-decor {
    opacity: 0.08;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-track {
    transition: none;
  }
}


/* v12 audited refinements */
.hero-inner {
  grid-template-columns: minmax(500px, 0.82fr) minmax(0, 1.18fr);
}

.hero-visual {
  position: absolute;
  inset: 0 0 25px auto;
  width: min(65vw, 980px);
  min-width: 720px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 11%, #000 24%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 11%, #000 24%, #000 100%);
}

.hero-approved {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center bottom;
  opacity: .98;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.services-camera,
.services-light,
.projects-reel,
.videos-microphone,
.videos-clapper,
.about-light,
.about-boom {
  background: transparent;
}

.services-camera {
  content: url("decor-camera.jpg");
  left: -82px;
  bottom: 20px;
  width: 300px;
  height: 410px;
  opacity: .17;
}

.services-light {
  content: url("decor-light.jpg");
  right: -24px;
  top: 30px;
  width: 210px;
  height: 150px;
  opacity: .23;
}

.projects-reel {
  content: url("decor-reel.png");
  right: -55px;
  top: 14%;
  width: 280px;
  height: 240px;
  object-fit: contain;
  opacity: .18;
}

.videos-microphone {
  content: url("decor-microphone.jpg");
  right: -55px;
  top: 16%;
  width: 220px;
  height: 360px;
  opacity: .2;
}

.videos-clapper {
  content: url("decor-clapper.jpg");
  left: -65px;
  bottom: 10px;
  width: 270px;
  height: 220px;
  opacity: .14;
}

.about-light {
  content: url("decor-light.jpg");
  left: -55px;
  top: 12%;
  width: 220px;
  height: 160px;
  opacity: .2;
}

.about-boom {
  content: url("decor-boom.jpg");
  right: 3%;
  top: 18px;
  width: 390px;
  height: 145px;
  opacity: .16;
}

@media (max-width: 1100px) {
  .menu-toggle {
    justify-self: end;
    display: inline-flex;
    padding: .55rem .8rem;
    border: 1px solid #4a5358;
    background: transparent;
    color: white;
    cursor: pointer;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 20px 1rem;
    background: #07090a;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav.is-open a {
    padding: .8rem 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav a.is-active::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    height: 520px;
    margin-top: -70px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%);
  }

  .hero-approved {
    object-position: center bottom;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-copy {
    padding-bottom: 1rem;
  }

  .hero-visual {
    height: 360px;
    margin-top: -30px;
  }

  .hero-approved {
    object-fit: cover;
    object-position: center 35%;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-decor {
    opacity: .08 !important;
  }
}


/* v14 – YouTube-Katalog und Klick-zum-Laden-Player */
.youtube-library {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-soft);
}

.youtube-library-heading {
  max-width: 850px;
  margin-bottom: 1.5rem;
}

.youtube-library-heading h3 {
  margin: 0.15rem 0 0.7rem;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.youtube-library-heading p:last-child {
  color: var(--muted);
}

.youtube-library-status {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.youtube-library-status.is-error {
  border-color: #8d3434;
  background: #241010;
  color: #f0c7c7;
}

.youtube-library-status[hidden] {
  display: none;
}

.youtube-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.4rem;
}

.youtube-tabs[hidden] {
  display: none;
}

.youtube-tab {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  border: 1px solid #3c454a;
  background: #0a0d0f;
  color: #d0d5d7;
  cursor: pointer;
}

.youtube-tab:hover,
.youtube-tab[aria-selected="true"] {
  border-color: var(--red);
  background: rgba(211, 25, 25, 0.12);
  color: white;
}

.youtube-tab-count {
  margin-left: 0.35rem;
  color: #939ca1;
  font-size: 0.78rem;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.youtube-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
}

.youtube-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020303;
}

.youtube-media img,
.youtube-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.youtube-media iframe {
  display: block;
  background: black;
}

.youtube-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.56));
}

.youtube-media.has-player::after {
  display: none;
}

.youtube-duration {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.25rem 0.42rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.82);
  color: white;
  font-size: 0.76rem;
  font-weight: 750;
}

.youtube-load-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
}

.youtube-load-panel p {
  max-width: 360px;
  margin: 0;
  color: #eef1f2;
  font-size: 0.84rem;
}

.youtube-play-button {
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  font-weight: 750;
  cursor: pointer;
}

.youtube-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.youtube-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.youtube-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0.25rem 0.48rem;
  border: 1px solid #3a4348;
  color: #c5cbce;
  font-size: 0.7rem;
  line-height: 1;
}

.youtube-badge.relation {
  border-color: rgba(211, 25, 25, 0.7);
  color: #ffb0b0;
}

.youtube-card h4 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.youtube-meta {
  margin: 0.45rem 0 0;
  color: #929ba0;
  font-size: 0.78rem;
}

.youtube-description {
  margin: 0.75rem 0 0;
  color: #b5bdc1;
  font-size: 0.88rem;
}

.youtube-playlist-label {
  margin: 0.75rem 0 0;
  color: #8f999e;
  font-size: 0.76rem;
}

.youtube-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
}

.youtube-card-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.62rem 0.8rem;
  border: 1px solid #414a4f;
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.youtube-card-actions a.primary {
  border-color: var(--red);
  background: var(--red);
}

.youtube-external-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem;
  border-left: 2px solid #616b70;
  background: #0e1214;
  color: #aeb6ba;
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  .youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .youtube-library {
    margin-top: 3rem;
    padding-top: 2.4rem;
  }

  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .youtube-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .youtube-tab {
    width: 100%;
    text-align: left;
  }
}


/* v15 – datenbasierte Projektsteckbriefe und barrierearmes Overlay */
.project-library-status {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.project-library-status[hidden] {
  display: none;
}

.project-library-status.is-error {
  border-color: #8d3434;
  background: #241010;
  color: #f0c7c7;
}

.project-group + .project-group {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-soft);
}

.project-group-heading {
  max-width: 840px;
  margin-bottom: 1.35rem;
}

.project-group-heading h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.project-group-heading p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-card-button {
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.project-card-button:hover,
.project-card-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(211, 25, 25, 0.75);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  outline: none;
}

.project-image {
  position: relative;
  min-height: 175px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 175px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.66));
}

.project-image-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(211, 25, 25, 0.14), transparent 48%),
    repeating-linear-gradient(-45deg, #111518 0 10px, #0a0d0f 10px 20px);
  color: #899297;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.project-card-duration {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.22rem 0.42rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.84);
  color: white;
  font-size: 0.72rem;
  font-weight: 750;
}

.project-copy {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 1rem;
}

.project-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.project-card-badges span,
.project-profile-badges span {
  display: inline-flex;
  padding: 0.25rem 0.45rem;
  border: 1px solid #3b4449;
  color: #c5cbce;
  font-size: 0.66rem;
  line-height: 1;
}

.project-copy strong {
  font-size: 1.04rem;
  line-height: 1.28;
}

.project-copy small {
  margin-top: 0.35rem;
  color: #90999e;
  font-size: 0.77rem;
}

.project-card-summary {
  margin-top: 0.75rem;
  color: #afb7bb;
  font-size: 0.84rem;
}

.project-card-link {
  margin-top: auto;
  padding-top: 1rem;
  color: #ff7b7b;
  font-size: 0.8rem;
  font-weight: 750;
}

body.dialog-open {
  overflow: hidden;
}

.project-dialog {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #3b4449;
  background: #07090a;
  color: var(--text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.82);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(7px);
}

.project-dialog-shell {
  position: relative;
  max-height: calc(100dvh - 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.project-dialog-close {
  position: sticky;
  top: 16px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 16px 16px -62px auto;
  border: 1px solid #596268;
  border-radius: 50%;
  background: rgba(3, 4, 5, 0.9);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.project-dialog-close:hover,
.project-dialog-close:focus-visible {
  border-color: var(--red);
  background: var(--red);
  outline: none;
}

.project-dialog-content {
  min-height: 420px;
}

.project-profile {
  padding-bottom: 3rem;
}

.project-profile-header {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 3rem;
  padding: 4rem 3rem 3rem;
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.22), rgba(4, 5, 6, 0.92)),
    #0b0e10;
  border-bottom: 1px solid var(--line-soft);
}

.project-profile-visual {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #030404;
}

.project-profile-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.project-profile-visual.is-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(211, 25, 25, 0.15), transparent 48%),
    repeating-linear-gradient(-45deg, #111518 0 12px, #090c0e 12px 24px);
  color: #929ba0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.project-profile h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.project-profile-subtitle {
  margin: 1rem 0 0;
  color: #d8dddf;
  font-size: 1.14rem;
}

.project-profile-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.project-facts {
  width: min(calc(100% - 64px), 1060px);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.project-facts div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-facts dt {
  color: #8f999e;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0.35rem 0 0;
  color: white;
  font-size: 0.92rem;
}

.project-detail-section,
.project-detail-columns {
  width: min(calc(100% - 64px), 1060px);
  margin: 2.5rem auto 0;
}

.project-detail-section h3 {
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
}

.project-detail-section p,
.project-detail-section li {
  color: #b8c0c4;
}

.project-detail-section p {
  margin: 0.7rem 0 0;
}

.project-detail-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.project-detail-section li + li {
  margin-top: 0.45rem;
}

.project-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.project-detail-columns .project-detail-section {
  width: auto;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-credits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.project-credits div {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-credits span {
  margin-top: 0.25rem;
  color: #bec5c8;
}

.project-credits small {
  margin-top: 0.35rem;
  color: #818b90;
}

.project-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-video {
  min-width: 0;
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-video-image {
  position: relative;
  min-height: 98px;
  overflow: hidden;
  background: #020303;
}

.project-video-image img {
  width: 100%;
  height: 100%;
  min-height: 98px;
  object-fit: cover;
}

.project-video-image span {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  padding: 0.2rem 0.35rem;
  background: rgba(0, 0, 0, 0.84);
  font-size: 0.68rem;
}

.project-video p {
  margin: 0.3rem 0 0;
  color: #929ba0;
  font-size: 0.76rem;
}

.project-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.project-video-actions button,
.project-video-actions a,
.project-related button {
  min-height: 36px;
  padding: 0.52rem 0.68rem;
  border: 1px solid #414a4f;
  background: transparent;
  color: white;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.project-video-actions button:hover,
.project-video-actions a:hover,
.project-related button:hover {
  border-color: var(--red);
}

.project-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-related button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  padding: 0.8rem;
  text-align: left;
  background: var(--surface);
}

.project-related span {
  margin-top: 0.25rem;
  color: #929ba0;
}

.project-sources a {
  color: #ff9292;
  text-underline-offset: 4px;
}

.project-no-video {
  padding: 1rem;
  border-left: 2px solid #596268;
  background: #0e1214;
}

.youtube-card-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.62rem 0.8rem;
  border: 1px solid var(--red);
  background: rgba(211, 25, 25, 0.12);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.youtube-card.is-highlighted {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211, 25, 25, 0.22), 0 18px 34px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-profile-header {
    gap: 2rem;
  }

  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-profile-header {
    grid-template-columns: 1fr;
    padding: 4rem 1.4rem 2rem;
  }

  .project-profile-visual {
    min-height: 300px;
  }

  .project-detail-columns,
  .project-videos {
    grid-template-columns: 1fr;
  }

  .project-credits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-copy {
    min-height: auto;
  }

  .project-card-link {
    margin-top: 1rem;
  }

  .project-dialog {
    width: 100%;
    max-height: 100dvh;
    border: 0;
  }

  .project-dialog-shell {
    max-height: 100dvh;
  }

  .project-profile-header {
    padding: 4rem 1rem 1.5rem;
  }

  .project-profile-visual,
  .project-profile-visual img {
    min-height: 230px;
  }

  .project-facts,
  .project-detail-section,
  .project-detail-columns {
    width: calc(100% - 32px);
  }

  .project-facts,
  .project-credits {
    grid-template-columns: 1fr;
  }

  .project-video {
    grid-template-columns: 1fr;
  }

  .project-video-image,
  .project-video-image img {
    min-height: 175px;
  }
}

/* AOE-V18-IMAGE-FORMAT-BEGIN */

/*
 * Einheitliches 16:9-Format.
 * Bestehende height:100%-Regeln werden ausdrücklich neutralisiert.
 */
.aoe-service-image,
.carousel-slide > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center !important;
  align-self: flex-start !important;
  flex: none !important;
  background: #080a0c;
  image-rendering: auto;
}

/* Individuelle Bildausschnitte der beiden Leistungskarten. */
.aoe-service-image-concert {
  object-position: center 46% !important;
}

.aoe-service-image-post {
  object-position: center 50% !important;
}

/*
 * Karten dürfen ihre Bilder nicht auf die komplette Kartenhöhe ziehen.
 */
.service-card,
article:has(.aoe-service-image) {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
}

.service-card .aoe-service-image,
article:has(.aoe-service-image) .aoe-service-image {
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

/*
 * Karussellkarten nicht vertikal strecken.
 */
.carousel-track {
  align-items: flex-start !important;
}

.carousel-slide {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start !important;
  overflow: hidden;
}

.carousel-slide > img {
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

.carousel-slide-copy {
  width: 100%;
  flex: 1 1 auto;
  padding: 1.15rem 1.2rem 1.35rem;
}

.carousel-slide-copy h3 {
  margin: 0 0 .45rem;
}

.carousel-slide-copy p {
  margin: 0;
}

/* Browser-Fallback ohne aspect-ratio-Unterstützung. */
@supports not (aspect-ratio: 16 / 9) {
  .aoe-service-image,
  .carousel-slide > img {
    height: 240px !important;
  }
}

@media (max-width: 900px) {
  .aoe-service-image,
  .carousel-slide > img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }
}

@media (max-width: 640px) {
  .carousel-slide-copy {
    padding: 1rem;
  }

  .aoe-service-image,
  .carousel-slide > img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }
}

/* AOE-V18-IMAGE-FORMAT-END */

/* AOE-V19-SERVICE-IMAGE-HEIGHT-BEGIN */

/*
 * Einheitliche Bildhöhe für alle fünf Leistungskarten.
 * Die Karten bleiben gleich hoch und die Bilder werden nicht verzerrt.
 */
.service-card {
  --aoe-service-image-height: 220px;

  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden;
}

.service-card > img,
.service-card > picture,
.service-card > figure {
  flex: 0 0 var(--aoe-service-image-height) !important;
}

.service-card > picture,
.service-card > figure {
  display: block !important;
  width: 100% !important;
  height: var(--aoe-service-image-height) !important;
  min-height: var(--aoe-service-image-height) !important;
  max-height: var(--aoe-service-image-height) !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.service-card > img,
.service-card > picture > img,
.service-card > figure > img,
.service-card .aoe-service-image {
  display: block !important;
  width: 100% !important;
  height: var(--aoe-service-image-height) !important;
  min-height: var(--aoe-service-image-height) !important;
  max-height: var(--aoe-service-image-height) !important;

  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;

  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

/* Konzertkamera etwas tiefer ausrichten. */
.service-card .aoe-service-image-concert {
  object-position: center 48% !important;
}

/* Postproduktion mittig halten. */
.service-card .aoe-service-image-post {
  object-position: center 50% !important;
}

/* Gleichmäßige Kartenhöhe innerhalb des Rasters. */
.services-grid,
.service-grid {
  align-items: stretch !important;
}

.services-grid > .service-card,
.service-grid > .service-card {
  height: 100% !important;
}

/* Kleinere Desktop- und Tabletansicht. */
@media (max-width: 1400px) {
  .service-card {
    --aoe-service-image-height: 200px;
  }
}

/* Bei schmalen Karten wieder ein natürliches 16:9-Format verwenden. */
@media (max-width: 760px) {
  .service-card {
    --aoe-service-image-height: auto;
  }

  .service-card > picture,
  .service-card > figure {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
  }

  .service-card > img,
  .service-card > picture > img,
  .service-card > figure > img,
  .service-card .aoe-service-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* AOE-V19-SERVICE-IMAGE-HEIGHT-END */

/* AOE-V21-CONSENT-TOP-BEGIN */

.consent-banner[hidden],
.back-to-top[hidden] {
  display: none !important;
}

.consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1200;

  max-width: 1180px;
  margin-inline: auto;
  padding: 1.2rem;

  border: 1px solid #3b4449;
  border-radius: 12px;
  background: rgba(10, 13, 15, 0.98);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
}

.consent-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

.consent-banner-copy h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.consent-banner-copy p {
  max-width: 760px;
  margin: 0.35rem 0;
  color: #c3c9cc;
  line-height: 1.55;
}

.consent-banner-copy a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consent-banner-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 0.65rem;
}

.consent-action,
.consent-dialog-button {
  min-height: 46px;
  padding: 0.75rem 1rem;

  border: 1px solid #758087;
  border-radius: 6px;
  background: #171c1f;
  color: #ffffff;

  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-action:hover,
.consent-action:focus-visible,
.consent-dialog-button:hover,
.consent-dialog-button:focus-visible {
  border-color: #ffffff;
  background: #252c30;
  outline: none;
}

.consent-settings-dialog {
  width: min(680px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;

  border: 1px solid #424b50;
  border-radius: 12px;
  background: #0e1214;
  color: #ffffff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.consent-settings-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.consent-settings-dialog form {
  padding: 1.5rem;
}

.consent-settings-dialog header {
  margin-bottom: 1.2rem;
}

.consent-settings-dialog h2 {
  margin: 0.2rem 0 0.6rem;
}

.consent-settings-dialog header p {
  color: #bec5c9;
}

.consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;

  margin-top: 0.8rem;
  padding: 1rem;

  border: 1px solid #333c41;
  border-radius: 8px;
  background: #151a1d;
}

.consent-category strong {
  display: block;
  margin-bottom: 0.25rem;
}

.consent-category p {
  margin: 0;
  color: #b9c1c5;
  line-height: 1.45;
}

.consent-category input {
  width: 1.35rem;
  height: 1.35rem;
  accent-color: #ffffff;
}

.consent-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-consent-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-consent-button:hover,
.footer-consent-button:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  outline: none;
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1050;

  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;

  border: 1px solid #6c767c;
  border-radius: 50%;
  background: rgba(12, 16, 18, 0.94);
  color: #ffffff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);

  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: #ffffff;
  background: #252c30;
  outline: none;
  transform: translateY(-2px);
}

.youtube-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 1rem;
  background: #151a1d;
  color: #aeb7bb;
  text-align: center;
}

@media (max-width: 900px) {
  .consent-banner-inner {
    grid-template-columns: 1fr;
  }

  .consent-banner-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .consent-banner {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 1rem;
  }

  .consent-settings-dialog form {
    padding: 1rem;
  }

  .consent-dialog-actions {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* AOE-V21-CONSENT-TOP-END */
