/* ==============================================================
   DJ WEBSITE – STYLES
   Mobile First. Farben & Abstände zentral in :root anpassen.
   ============================================================== */

/* ---------- Design-Tokens ---------- */
:root {
  /* FARBEN ANPASSEN – Akzente: warmes Rot → Orange */
  --bg:         #0a0a0f;
  --bg-alt:     #101018;
  --surface:    #16161f;
  --border:     #26263a;
  --text:       #ededf2;
  --text-muted: #9a9ab0;
  --accent:     #ff4d1c;
  --accent-2:   #ff8c42;
  --accent-red: #e8173a;
  --gradient:   linear-gradient(120deg, var(--accent-red) 0%, var(--accent) 50%, var(--accent-2) 100%);
  --accent-glow: rgba(255, 77, 28, 0.45);
  --error:      #f87171;
  --success:    #4ade80;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 68px;
  --section-pad: clamp(72px, 12vw, 140px);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--text); }

::selection { background: var(--accent); color: #fff; }

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
/* Gefüllter Button – beim Hovern wird er zur umrandeten Version (Gegenstück zu .btn--outline) */
.btn--primary {
  color: #fff;
  border: 1.5px solid transparent;
  background: var(--gradient) padding-box, var(--gradient) border-box;
}
.btn--primary:hover {
  color: var(--accent-2);
  background:
    linear-gradient(rgba(10, 10, 15, .85), rgba(10, 10, 15, .85)) padding-box,
    var(--gradient) border-box;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px var(--accent-glow);
}
.btn--ghost { border-color: rgba(255,255,255,.25); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .875rem; }
/* Umrandeter Button: invertierte Version von „Jetzt buchen“ (Verlaufs-Rahmen, oranger Text) */
.btn--outline {
  color: var(--accent-2);
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(10, 10, 15, .6), rgba(10, 10, 15, .6)) padding-box,
    var(--gradient) border-box;
  backdrop-filter: blur(6px);
}
.btn--outline:hover {
  color: #fff;
  background:
    linear-gradient(rgba(255, 77, 28, .18), rgba(255, 77, 28, .18)) padding-box,
    var(--gradient) border-box;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px var(--accent-glow);
}
.btn--block { width: 100%; }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 15, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-weight: 800; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; }
.nav__logo span { color: var(--accent); margin-left: .2em; }
.nav__logo:hover { color: var(--accent-2); }

.nav__toggle {
  width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; z-index: 2;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__menu {
  position: fixed; inset: 0; background: rgba(10,10,15,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  font-size: 1.35rem; font-weight: 500;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; }
.nav__menu a:not(.btn) { position: relative; }
.nav__menu a:not(.btn):hover { color: var(--accent-2); }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; flex-direction: row; gap: 32px; background: none;
    font-size: .925rem; opacity: 1; visibility: visible;
  }
  .nav__menu a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
  }
  .nav__menu a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; text-align: center;
  overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 77, 28,.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(232, 23, 58, .22), transparent 60%),
    linear-gradient(180deg, #07070b 0%, #0d0a16 55%, #0a0a0f 100%);
  /* FOTO HIER EINSETZEN (optional) – Hintergrundbild für den Hero:
  background:
    linear-gradient(180deg, rgba(10,10,15,.55), rgba(10,10,15,.95)),
    url('images/hero.jpg') center/cover no-repeat; */
}
.hero__bg::after { /* sanfter Übergang zur nächsten Section */
  content: ''; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(transparent, var(--bg));
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Lichtkegel (Bühnen-Spots) */
.hero__beam {
  position: absolute; bottom: -10%; left: 50%;
  width: 40vmax; height: 120vh;
  background: linear-gradient(to top, rgba(255, 77, 28,.22), transparent 75%);
  transform-origin: bottom center;
  filter: blur(30px);
  clip-path: polygon(45% 100%, 55% 100%, 100% 0, 0 0);
  mix-blend-mode: screen;
  animation: sweep 12s ease-in-out infinite alternate;
}
.hero__beam--1 { transform: translateX(-50%) rotate(-28deg); }
.hero__beam--2 { transform: translateX(-50%) rotate(0deg);  animation-delay: -4s; opacity: .7; background: linear-gradient(to top, rgba(232, 23, 58, .25), transparent 75%); }
.hero__beam--3 { transform: translateX(-50%) rotate(28deg); animation-delay: -8s; }
@keyframes sweep {
  0%   { rotate: -12deg; }
  100% { rotate: 12deg; }
}

.hero__content { position: relative; padding-top: var(--nav-h); }
.hero__eyebrow {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .25em; color: var(--text-muted);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(3rem, 14vw, 8.5rem); font-weight: 800; line-height: .95; letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero__title .accent {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}
.hero__subtitle {
  margin: 24px auto 40px; max-width: 520px;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem); font-weight: 300; color: var(--text-muted);
}
.hero__ctas { display: flex; flex-direction: column; gap: 14px; align-items: center; }
@media (min-width: 520px) { .hero__ctas { flex-direction: row; justify-content: center; } }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px;
  transition: border-color .25s;
}
.hero__scroll:hover { border-color: var(--accent); }
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections allgemein ---------- */
.section { padding: var(--section-pad) 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--accent);
  margin-bottom: 14px;
}
.section__eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gradient); }
.section__title {
  font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 28px; max-width: 18ch; text-wrap: balance;
}
.section p + p { margin-top: 1em; }
.section p { color: var(--text-muted); }

/* ---------- 2. Über mich ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__image { position: relative; max-width: 460px; }
.about__image img {
  border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  object-position: 50% 15%; /* Kopf bleibt sichtbar */
  border: 1px solid var(--border);
}
.about__image::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent);
  border-radius: var(--radius); z-index: -1; opacity: .5;
}
.about__badge {
  position: absolute; right: -10px; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  background: var(--gradient); color: #fff; padding: 14px 20px; border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -10px var(--accent-glow);
}
.about__badge strong { font-size: 2rem; color: #fff; line-height: 1; }
.about__badge span { font-size: .75rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.stats strong { display: block; font-size: clamp(1.5rem, 5vw, 2.25rem); font-weight: 800; color: var(--text); line-height: 1.1; }
.stats span { font-size: .8rem; color: var(--text-muted); }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 6fr; gap: 96px; }
}

/* ---------- 3. Leistungen / Tabs ---------- */
.tabs {
  display: inline-flex; padding: 6px; gap: 6px; margin-bottom: 40px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  max-width: 100%;
}
.tabs__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 0; background: none;
  font-weight: 600; font-size: .9rem; color: var(--text-muted); cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { background: var(--gradient); color: #fff; box-shadow: 0 8px 24px -8px var(--accent-glow); }

.tabs__panel { animation: panelIn .5s var(--ease); }
.tabs__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.panel__grid { display: grid; gap: 48px; }
.panel__grid h3 { font-size: clamp(1.4rem, 4vw, 1.85rem); font-weight: 700; line-height: 1.25; margin-bottom: 18px; }
.panel__grid .btn { margin-top: 32px; }

.features { display: grid; gap: 14px; }
.features li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.features li:hover { border-color: var(--accent); transform: translateX(4px); }
.features i {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255, 77, 28,.12); color: var(--accent); font-size: 1.1rem;
}
.features strong { display: block; margin-bottom: 2px; }
.features span { color: var(--text-muted); font-size: .925rem; }

@media (min-width: 900px) {
  .panel__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

/* ---------- 4. Medien ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
}
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; background: var(--surface); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery__item::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(255, 77, 28,.45));
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
}

.videos { display: grid; gap: 24px; margin-top: 56px; }
.video iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.video__caption { margin-top: 12px; font-size: .9rem; }
@media (min-width: 768px) { .videos { grid-template-columns: 1fr 1fr; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,8,.94); backdrop-filter: blur(8px);
  padding: 60px 16px;
  animation: fadeIn .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(1200px, 100%); max-height: 100%; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 5. Referenzen ---------- */
/* Karussell: ein Ort vorne, Nachbarn links/rechts angeschnitten */
.carousel { position: relative; user-select: none; -webkit-user-select: none; }
.carousel__track {
  position: relative; height: 150px; perspective: 1200px; touch-action: pan-y;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.carousel__track li {
  --off: 0; --dist: 0;
  position: absolute; top: 50%; left: 50%; width: min(460px, 68%); height: 112px;
  display: grid; place-items: center; text-align: center; padding: 16px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-weight: 800; text-transform: uppercase; letter-spacing: .1em; line-height: 1.25;
  font-size: clamp(.95rem, 2.6vw, 1.35rem); color: var(--text-muted);
  transform: translate(-50%, -50%) translateX(calc(var(--off) * 78%)) rotateY(calc(var(--off) * -28deg)) scale(calc(1 - var(--dist) * .18));
  opacity: calc(1 - var(--dist) * .6);
  transition: transform .7s var(--ease), opacity .7s var(--ease), color .5s, border-color .5s, box-shadow .5s;
  cursor: pointer;
}
.carousel__track li.is-far { opacity: 0; pointer-events: none; }
.carousel__track li.is-active {
  color: var(--text); cursor: default; z-index: 2;
  border-color: rgba(255, 77, 28,.55);
  box-shadow: 0 18px 50px -20px var(--accent-glow);
}
.carousel__track li.is-active span {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logos img { max-height: 56px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; transition: filter .5s, opacity .5s; }
.logos li.is-active img { filter: none; opacity: 1; }

.carousel__nav {
  position: absolute; top: 75px; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,15,.75); border: 1px solid var(--border); color: var(--text);
  transition: background .25s, border-color .25s;
}
.carousel__nav:hover, .carousel__nav:focus-visible { background: var(--accent); border-color: var(--accent); }
.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel__dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--border); transition: width .4s var(--ease), background .4s; }
.carousel__dots span.is-active { width: 22px; background: var(--accent); }
@media (max-width: 599px) {
  .carousel__track li { width: 66%; height: 96px; transform: translate(-50%, -50%) translateX(calc(var(--off) * 88%)) rotateY(calc(var(--off) * -28deg)) scale(calc(1 - var(--dist) * .14)); }
  .carousel__track { height: 128px; }
  /* Pfeile unten neben den Punkten, damit die Nachbar-Orte sichtbar bleiben */
  .carousel__nav { top: auto; bottom: -10px; transform: none; width: 38px; height: 38px; }
  .carousel__nav--prev { left: 8px; }
  .carousel__nav--next { right: 8px; }
  .carousel__dots { margin-top: 22px; }
}
.carousel__more {
  margin-top: 28px; text-align: center; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .85rem; color: var(--text-muted);
}
.carousel__more:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .carousel__track li { transition: opacity .3s; } }

.testimonials { display: grid; gap: 20px; }
.testimonial {
  position: relative; padding: 36px 28px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s;
}
.testimonial:hover { border-color: rgba(255, 77, 28,.5); }
.testimonial > i { color: var(--accent); font-size: 1.5rem; margin-bottom: 16px; display: block; }
.testimonial p { color: var(--text); font-size: 1.05rem; line-height: 1.7; font-weight: 300; }
.testimonial footer { margin-top: 20px; display: flex; flex-direction: column; }
.testimonial footer span { font-size: .85rem; color: var(--text-muted); }
@media (min-width: 768px) { .testimonials { grid-template-columns: 1fr 1fr; } }

/* ---------- 6. Kontakt ---------- */
.contact__grid { display: grid; gap: 56px; }
.contact__list { margin: 32px 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.contact__list i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 77, 28,.12); color: var(--accent); }
.contact__list a:hover { color: var(--accent-2); }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border); color: var(--text-muted); font-size: 1.1rem;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.socials--sm a { width: 38px; height: 38px; font-size: .95rem; }

.form {
  padding: 28px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; gap: 18px;
}
.form__row { display: grid; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label { font-size: .85rem; font-weight: 500; }
.optional { color: var(--text-muted); font-weight: 400; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; padding: 13px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s;
  color-scheme: dark;
}
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9ab0' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: #3a3a55; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 77, 28,.2); }
.form .is-invalid { border-color: var(--error) !important; }
.form__error { color: var(--error); font-size: .8rem; min-height: 0; }
.form__error:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.check a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--text); }

.form__status { font-size: .9rem; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }

@media (min-width: 600px) { .form { padding: 40px; } .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }

/* ---------- 7. Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__links { display: flex; gap: 28px; font-size: .9rem; color: var(--text-muted); }
.footer__links a:hover { color: var(--accent-2); }
.footer__copy { font-size: .8rem; color: var(--text-muted); }
@media (min-width: 900px) {
  .footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
  .footer__copy { width: 100%; text-align: center; padding-top: 22px; border-top: 1px solid var(--border); }
}

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding: calc(var(--nav-h) + 48px) 0 96px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-muted); }
.legal .note { padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 32px; }
.legal a { color: var(--accent-2); }
.legal a:hover { color: var(--text); }

/* ---------- Reduzierte Bewegung respektieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Ergänzungen für Admin-Inhalte ---------- */
/* Optionales Hero-Foto (wird im Admin unter „Hero → Hintergrundbild“ gesetzt) */
.hero__bg.has-image {
  background:
    linear-gradient(180deg, rgba(10,10,15,.6), rgba(10,10,15,.92)),
    var(--hero-img) center / cover no-repeat;
}
/* Optionales Logo statt Text-Name */
.nav__logo-img { height: 22px; width: auto; transition: opacity .25s; }
.nav__logo:hover .nav__logo-img { opacity: .8; }
@media (min-width: 900px) { .nav__logo-img { height: 26px; } }
/* Logo groß im Hero */
.hero__logo {
  display: block; margin: 8px auto 0;
  width: min(88vw, 920px); height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 77, 28, .45));
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.about__badge span { max-width: 6.5em; }
.about__text > div > p + p { margin-top: 1em; }
.panel__grid > div > div > p + p { margin-top: 1em; }
/* Spam-Falle fürs Formular (unsichtbar) */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Hinweis, falls Inhalte nicht geladen werden konnten */
.load-error {
  position: fixed; inset: auto 16px 16px 16px; z-index: 300;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--accent-red); color: #fff; font-size: .9rem; text-align: center;
}

/* ---------- Reels & Videos (Klick-zum-Laden) ---------- */
/* Handy: zum Wischen nebeneinander, nächste Karte schaut heraus */
@media (max-width: 599px) {
  .videos {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 0 20px 6px; scroll-padding-inline: 20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .videos::-webkit-scrollbar { display: none; }
  .videos > .video { flex: 0 0 82%; scroll-snap-align: start; }
}
/* Tablet: 2 × 2 */
@media (min-width: 600px) {
  .videos { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
}
/* Desktop: alle in einer Reihe (4 Reels → 4 Spalten, 3 Reels → 3 Spalten) */
@media (min-width: 1024px) {
  .videos { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: none; }
}
.video__frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
}
.video__frame--youtube { aspect-ratio: 16 / 9; }
/* Instagram-Einbettung: Kopfzeile (~54px) + Video 4:5 + Fußzeile inkl. Kommentarzeile (~158px) */
.video--instagram { container-type: inline-size; }
.video__frame--instagram { width: 100%; aspect-ratio: auto; height: calc(125cqw + 212px); } /* wird nach dem Laden exakt angepasst */
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; aspect-ratio: auto; border-radius: 0; }
.video__consent {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(255, 77, 28, .18), transparent 70%), var(--surface);
  border: 0; cursor: pointer; color: var(--text);
  transition: background .3s var(--ease);
}
.video__consent i { font-size: 2.5rem; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.video__consent small { color: var(--text-muted); font-size: .75rem; max-width: 24ch; }
.video__consent:hover strong { color: var(--accent-2); }
.media__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Sterne (Kundenstimmen) ---------- */
.stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 16px; font-size: 1rem; }
.stars .fa-regular { color: var(--border); }
.testimonials[hidden] { display: none; }

/* ---------- Feedback-Seite ---------- */
.feedback h1 { margin-bottom: 16px; }
.feedback__intro { margin-bottom: 32px; }
.form__label { font-size: .85rem; font-weight: 500; }

.rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { font-size: 2rem; color: var(--border); cursor: pointer; transition: color .15s, transform .15s var(--ease); }
.rating label:hover, .rating label:hover ~ label,
.rating input:checked ~ label { color: var(--accent); }
.rating label:hover { transform: scale(1.12); }
.rating input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.rating input.is-invalid + label { color: rgba(248, 113, 113, .5); }

.feedback__thanks { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feedback__thanks[hidden] { display: none; }
.feedback__thanks > i { font-size: 2.5rem; color: var(--accent); margin-bottom: 16px; }
.feedback__thanks h2 { margin: 0 0 8px; }
.feedback__thanks .btn { margin-top: 24px; }

/* Ausgeblendete Elemente (z. B. leere Listen) wirklich ausblenden */
[hidden] { display: none !important; }

/* ---------- Feedback-Freigabe (freigabe.html) ---------- */
.freigabe__login { max-width: 420px; }
.freigabe__toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.freigabe h2 { display: flex; align-items: center; gap: 10px; }
.fb-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: .8rem; color: var(--text-muted);
}
.fb-list { display: grid; gap: 14px; }
.fb-card { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.fb-card--offen { border-color: rgba(255, 77, 28, .55); }
.fb-card .stars { margin-bottom: 10px; }
.fb-card__text { color: var(--text) !important; font-weight: 300; line-height: 1.6; }
.fb-card__name { margin-top: 12px; }
.fb-card__meta { font-size: .85rem; margin-top: 2px !important; }
.fb-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.fb-card__actions .btn:disabled { opacity: .5; cursor: wait; }
.fb-empty { padding: 18px; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }
.fb-rejected { margin-top: 40px; }
.fb-rejected summary { cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-muted); list-style: none; }
.fb-rejected summary::before { content: '▸'; transition: transform .2s; }
.fb-rejected[open] summary::before { transform: rotate(90deg); }
.fb-rejected .fb-list { margin-top: 16px; }

/* Reiter auf dem Handy: gleich breite Spalten, Icon über dem Text (passt bei 3+ Reitern) */
@media (max-width: 599px) {
  .tabs {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    width: 100%; border-radius: 18px; gap: 4px; padding: 5px;
  }
  .tabs__btn {
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 10px 6px; border-radius: 14px;
    font-size: .78rem; line-height: 1.2; white-space: normal; text-align: center;
  }
  .tabs__btn i { font-size: 1rem; }
}

/* Social-Buttons auf dem Handy: untereinander, alle gleich breit */
@media (max-width: 599px) {
  .media__social { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
}

/* Leistungen auf dem Desktop: Stärken-Kacheln beginnen auf Höhe der Reiter */
@media (min-width: 900px) {
  .services__body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: start; }
  .services__body > .tabs { grid-column: 1; grid-row: 1; justify-self: start; }
  .services__body > #tabsPanels,
  .services__body .tabs__panel,
  .services__body .panel__grid { display: contents; }
  .services__body .panel__grid > div { grid-column: 1; grid-row: 2; }
  .services__body .panel__grid > .features { grid-column: 2; grid-row: 1 / span 2; }
  .services__body .panel__grid > * { animation: panelIn .5s var(--ease); }
}

/* Menü-Sprünge landen direkt bei der kleinen Überschrift statt im oberen Leerraum des Abschnitts */
.section { scroll-margin-top: calc(24px - var(--section-pad)); }

/* Aufzählungen in Impressum & Datenschutz sichtbar machen */
.legal ul, .legal ol { padding-left: 1.3em; margin: .6em 0; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin: .3em 0; }
.legal li::marker { color: var(--accent); }
.legal h2 + p, .legal h2 + ul { margin-top: 0; }
.legal p + p { margin-top: .8em; }

/* ---------- 7. Feedback-Streifen (Startseite) ---------- */
.feedback-band { --section-pad: clamp(48px, 7vw, 80px); }
.feedback-band__box {
  display: grid; gap: 20px; justify-items: center; text-align: center;
  padding: 32px 24px; border-radius: var(--radius);
  border: 1.5px solid transparent;
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(255, 77, 28, .16), transparent 60%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 20px 50px -25px var(--accent-glow);
}
.feedback-band__stars { display: flex; gap: 4px; color: var(--accent); font-size: 1.1rem; }
.feedback-band__text .section__eyebrow { margin-bottom: 6px; justify-content: center; }
.feedback-band__text h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.feedback-band__text p:not(.section__eyebrow) { margin-top: 8px; max-width: 52ch; }
.feedback-band__btn { white-space: nowrap; }
.feedback-band__list { margin-top: 48px; }
.feedback-band__list-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; color: var(--text-muted); text-align: center; }

@media (min-width: 900px) {
  .feedback-band__box {
    grid-template-columns: auto 1fr auto; align-items: center; justify-items: start;
    text-align: left; gap: 32px; padding: 32px 40px;
  }
  .feedback-band__stars { flex-direction: column; gap: 2px; font-size: .95rem; }
  .feedback-band__text .section__eyebrow { justify-content: flex-start; }
}
