:root {
  --bg: #071a33;
  --bg-alt: #0a2243;
  --surface: #0f2f5c;
  --blue: #0d5cb6;
  --text: #eaf2fb;
  --muted: #9db4cf;
  --accent: #0cc0df;
  --accent-ink: #032029;
  --radius: 16px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow, .hero__eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700;
  color: var(--accent); margin-bottom: .6rem;
}

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #4fd8ef; }
.btn--ghost { border: 2px solid var(--muted); }
.btn--ghost:hover { border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(7, 26, 51, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav__brand { font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a { text-decoration: none; font-size: .95rem; opacity: .9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav__toggle { display: none; }
@media (max-width: 640px) {
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .25rem clamp(1rem, 4vw, 2.5rem) 1rem;
    background: rgba(7, 26, 51, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: .95rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links a:last-child { border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #2a86c4 0%, #0d5cb6 40%, #06265a 100%);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
}
/* Hochformat: Bild unten andocken (mittlerer Ausschnitt), oben weich ausblenden */
@media (max-aspect-ratio: 1/1) {
  .hero__img {
    inset: auto 0 0 0; height: 52%; object-fit: cover; object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding: clamp(5.5rem, 14vh, 8rem) 1rem 0;
  max-width: 44rem;
  text-shadow: 0 2px 18px rgba(0, 20, 60, .45);
}
.hero__title { font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 800; margin: 0; }
.next {
  display: inline-flex; flex-direction: column; gap: .15rem; align-items: center;
  padding: 1rem 1.6rem; border-radius: var(--radius);
  background: rgba(7, 26, 51, .55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18); text-shadow: none;
}
.next__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 700; }
.next__when { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 700; }
.next__count { font-size: .95rem; color: var(--muted); }
.next--live .next__label { color: #ff6b6b; }
.next--live .next__label::before {
  content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .5em;
  border-radius: 50%; background: #ff4d4d; animation: pulse 1.4s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }

.hero__scroll {
  position: absolute; bottom: 1rem; left: 50%; z-index: 3; width: 28px; height: 44px;
  transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, .7); border-radius: 16px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-aspect-ratio: 1/1) { .hero__scroll { display: none; } }

/* Sections */
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__intro { color: var(--muted); max-width: 40rem; }
.center .section__intro { margin-inline: auto; }

/* Über mich */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.lead { font-size: 1.2rem; color: #fff; }
.about__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.about__facts li { display: flex; flex-direction: column; padding: 1rem; background: var(--surface); border-radius: var(--radius); }
.about__facts strong { color: var(--accent); }
.about__facts span { font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) { .about__facts { grid-template-columns: 1fr; } }
.about__video { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }

/* Karussell */
.carousel { position: relative; margin-top: 2.5rem; }
.carousel__track {
  list-style: none; margin: 0; padding: 1rem max(1rem, calc((100% - var(--wrap)) / 2));
  display: flex; gap: 1.25rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(1rem, calc((100% - var(--wrap)) / 2));
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.card-item { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
.carousel__btn {
  position: absolute; top: 50%; z-index: 5; width: 48px; height: 48px; margin-top: -24px;
  border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }
.carousel__btn[disabled] { opacity: .3; cursor: default; }
@media (hover: none) { .carousel__btn { display: none; } }

.flip { all: unset; display: block; width: 100%; aspect-ratio: 3 / 4; cursor: pointer; perspective: 1200px; }
.flip:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.flip__inner { display: block; position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.4, .2, .2, 1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.flip__front {
  display: flex; align-items: flex-end;
  /* Platzhalter: Ausschnitt aus dem Hero-Bild. Später durch echtes Foto ersetzen (--photo). */
  background: var(--photo, url("../img/hero.webp")) no-repeat var(--px, 50%) 100% / 300% auto, var(--blue);
}
.flip__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 16, 36, .85), transparent 45%); }
.flip__name { position: relative; z-index: 1; padding: 1.1rem 1.25rem; font-size: 1.4rem; font-weight: 800; }
.flip__back {
  transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; gap: .8rem;
  padding: 1.6rem; background: linear-gradient(160deg, var(--blue), var(--surface));
}
.flip__back strong { font-size: 1.5rem; color: var(--accent); }
.flip__back span { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .flip__inner { transition: none; } html { scroll-behavior: auto; } }

/* Videos */
.videos { display: grid; gap: 1.25rem; margin: 2rem 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.video__player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video__player iframe, .video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__thumb { all: unset; position: absolute; inset: 0; cursor: pointer; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: rgba(12, 192, 223, .95); transition: transform .15s;
}
.video__play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--accent-ink);
}
.video__thumb:hover .video__play { transform: scale(1.1); }
.video__thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.video__meta { padding: .9rem 1rem 1.1rem; }
.video__title { font-weight: 700; font-size: 1rem; margin: 0 0 .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video__date { font-size: .82rem; color: var(--muted); }
.videos__note { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Shop */
.section--shop {
  background:
    radial-gradient(60rem 28rem at 85% 0%, rgba(12, 192, 223, .16), transparent 70%),
    radial-gradient(50rem 24rem at 0% 100%, rgba(13, 92, 182, .35), transparent 70%),
    var(--bg);
}
.shop__head { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.2rem; }
.shop__head .section__intro { margin: 0; }
.shop { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .shop { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
@media (min-width: 1040px) { .shop { grid-template-columns: repeat(4, 1fr); } }
.product {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.product:hover, a.product:focus-visible { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.product__media { position: relative; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.product__media .product__img2 { opacity: 0; }
a.product:hover .product__img2, a.product:focus-visible .product__img2 { opacity: 1; }
a.product:hover .product__img1 { transform: scale(1.04); }
@media (hover: none) { .product__img2 { display: none; } }
.product__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2; padding: .25rem .7rem; border-radius: 999px;
  background: rgba(7, 26, 51, .85); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.product--soldout .product__media img { filter: grayscale(.8); opacity: .55; }
.product--soldout .product__img2 { display: none; }
.product__info { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1.1rem; }
.product__name { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.product__price { display: flex; align-items: baseline; gap: .6rem; color: var(--accent); font-weight: 800; }
.product__price s { color: var(--muted); font-weight: 400; font-size: .85rem; }
.product--skeleton { aspect-ratio: 4 / 6; animation: shimmer 1.4s infinite alternate; }
@keyframes shimmer { from { opacity: .5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .product--skeleton { animation: none; } a.product:hover { transform: none; } }

/* Kooperationen */
.coop { display: grid; gap: 1.25rem; margin: 2.5rem 0; }
@media (min-width: 760px) { .coop { grid-template-columns: repeat(3, 1fr); } }
.coop__item { padding: 1.6rem; background: var(--surface); border-radius: var(--radius); border-top: 3px solid var(--accent); }
.coop__item p { margin: 0; color: var(--muted); }

/* Social */
.social { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .social { grid-template-columns: repeat(4, 1fr); } }
.social a {
  display: flex; flex-direction: column; padding: 1.4rem 1rem; text-decoration: none;
  background: var(--surface); border-radius: var(--radius); transition: transform .15s, background .15s;
}
.social a:hover { transform: translateY(-4px); background: var(--blue); }
.social strong { font-size: 1.15rem; }
.social span { font-size: .85rem; color: var(--muted); }

/* Footer & Rechtliches */
.footer { padding: 1.6rem 0; background: #04122a; font-size: .9rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer nav { display: flex; gap: 1.2rem; }
.legal { padding: 7rem 0 4rem; max-width: 46rem; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
