/* =========================================
   MAINSTUDIO — Stylesheet
   Orientiert am Design von mainstudio.tv
   ========================================= */

:root {
  --dark:       #303236;
  --dark-2:     #22252a;
  --blue:       #4171a7;
  --blue-hover: #355e8f;
  --text:       #75787b;
  --text-dark:  #303236;
  --text-light: #d3d3d3;
  --bg:         #ffffff;
  --bg-light:   #f4f4f4;
  --bg-lighter: #ececec;
  --border:     #e0e0e0;

  --font: 'Barlow', Arial, Helvetica, sans-serif;
  --nav-height: 70px;
  --section-py: 90px;
  --container:  1170px;
  --shadow:     0 2px 8px rgba(0,0,0,0.15);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

/* =========================================
   HEADER / NAV
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.nav { width: 100%; }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--blue); }
.nav-logo-img {
  width: 200px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.nav-links a {
  display: block;
  padding: 0 18px;
  height: var(--nav-height);
  line-height: var(--nav-height);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-book-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-book-btn:hover { background: var(--blue-hover); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-2) url('assets/images/hero-poster.jpg') center/cover no-repeat;
  padding-top: var(--nav-height);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,33,38,0.92) 0%,
    rgba(30,33,38,0.75) 60%,
    rgba(65,113,167,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 30px;
}
.hero-logo-wrap { margin-bottom: 24px; }
.hero-logo {
  width: clamp(280px, 50vw, 680px);
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero-sub {
  font-size: 1rem;
  color: #aaa;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--text-light); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
.btn--full { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; filter: brightness(10); }

/* =========================================
   SECTION DEFAULTS
   ========================================= */
.section-white { background: var(--bg); padding: var(--section-py) 0; }
.section-light { background: var(--bg-light); padding: var(--section-py) 0; }
.section-dark   { background: var(--dark); padding: var(--section-py) 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}
.section-header--light h2 { color: #fff; }
.section-header--light p  { color: var(--text-light); }

/* =========================================
   STUDIO — 3 Boxen
   ========================================= */
.studio-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.studio-box {
  background: var(--bg-light);
  padding: 48px 36px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.studio-box:hover {
  border-bottom-color: var(--blue);
  background: var(--bg-lighter);
}
.studio-box-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
}
.studio-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.studio-box p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
}

/* =========================================
   STANDORT-BANNER
   ========================================= */
.location-banner {
  background: var(--dark);
  padding: 22px 0;
}
.location-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.location-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.location-banner p {
  font-size: 0.9rem;
  color: var(--text-light);
}
.location-banner strong { color: #fff; font-weight: 600; }

/* =========================================
   BUCHUNGSOPTIONEN
   ========================================= */
.booking-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.booking-option {
  background: var(--bg);
  padding: 44px 32px;
  text-align: center;
  border-top: 3px solid var(--border);
  transition: border-color 0.2s;
}
.booking-option:hover,
.booking-option--featured {
  border-top-color: var(--blue);
}
.booking-option--featured { background: var(--bg-light); }
.booking-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 16px;
}
.booking-option img {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.booking-option h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.booking-option p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* =========================================
   FEATURES-GRID
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.feature-item {
  background: var(--bg-light);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: background 0.2s;
}
.feature-item:hover { background: var(--bg-lighter); }
.feature-item img {
  width: 52px;
  height: 52px;
}
.feature-item span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.4;
}

/* =========================================
   STATS-BAR
   ========================================= */
.stats-bar {
  background: var(--blue);
  padding: 40px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 60px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-ticker {
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* =========================================
   LEISTUNGEN
   ========================================= */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.leistung-card {
  background: var(--bg-light);
  padding: 44px 36px;
  position: relative;
  border-top: 3px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.leistung-card:hover { background: var(--bg-lighter); }
.leistung-card--highlight { border-top-color: var(--blue); }
.leistung-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(65,113,167,0.1);
  padding: 4px 10px;
  margin-bottom: 20px;
}
.leistung-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}
.leistung-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.leistung-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.leistung-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.leistung-list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.leistung-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.75rem;
}

/* =========================================
   NUTZUNGSBEISPIELE
   ========================================= */
.use-cases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.use-case {
  background: rgba(255,255,255,0.05);
  padding: 36px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: background 0.2s;
}
.use-case:hover { background: rgba(255,255,255,0.09); }
.use-case img {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.use-case span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* =========================================
   GRUNDRISS
   ========================================= */
.grundriss-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.grundriss-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.grundriss-text p {
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.75;
}
.grundriss-btn { display: inline-flex; }
.grundriss-image {
  background: var(--bg-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 280px;
}
.grundriss-image img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* =========================================
   REFERENZEN
   ========================================= */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}
.logo-slot {
  background: var(--bg-light);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  transition: background 0.2s;
}
.logo-slot:hover { background: var(--bg-lighter); }
.logo-slot img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s;
}
.logo-slot:hover img { filter: grayscale(0%) opacity(1); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.testimonial {
  background: var(--blue);
  padding: 36px 30px;
}
.testimonial blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial blockquote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
}
.testimonial cite {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}
.testimonial-video {
  width: calc(100% + 60px);
  margin-left: -30px;
  margin-top: -36px;
  margin-bottom: 24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* =========================================
   PREISKARTEN
   ========================================= */
.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s ease;
  cursor: default;
}
.price-card:hover {
  box-shadow: 0 0 0 2px var(--blue), 0 8px 28px rgba(65,113,167,0.12);
}
.price-card--featured {
  box-shadow: 0 0 0 2px var(--blue);
  border-color: transparent;
  border-width: 1px;
}
.price-card-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 2px;
}
.price-card-badge--new {
  background: #e09b1a;
}
.price-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.price-card-desc {
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
  min-height: 3.2em;
}
.price-card-price {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card-price--text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--blue);
  letter-spacing: -0.01em;
}
.price-card-note {
  font-size: 0.72rem;
  color: var(--text);
  margin-bottom: 24px;
}
.price-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-card-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--bg-light);
  padding-left: 16px;
  position: relative;
}
.price-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}
.price-card-btn {
  text-align: center;
}
@media (max-width: 1024px) {
  .price-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .price-cards { grid-template-columns: 1fr; }
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item { background: var(--bg); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}
.faq-question:hover { background: var(--bg-lighter); }
.faq-question[aria-expanded="true"] { color: var(--blue); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
}

/* =========================================
   PROJEKTE / KINO-GESCHICHTE
   ========================================= */
.projekte-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.projekt-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #1a1d22;
}
.projekt-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #22252a;
  transition: transform 0.4s ease;
}
.projekt-card:hover .projekt-thumb {
  transform: scale(1.05);
}
.projekt-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.projekt-card:hover .projekt-info {
  opacity: 1;
  transform: translateY(0);
}
.projekt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(65,113,167,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  padding-left: 4px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.projekt-card:hover .projekt-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}
/* YouTube Modal */
.yt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.yt-modal.open { display: flex; }
.yt-modal-inner {
  position: relative;
  width: min(900px, 92vw);
  aspect-ratio: 16/9;
}
.yt-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 3px;
}
.yt-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  background: none;
  border: none;
}
.yt-modal-close:hover { opacity: 1; }
.projekt-type {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.projekt-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
@media (max-width: 1024px) {
  .projekte-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .projekte-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   GALERIE
   ========================================= */
/* Gallery Tabs */
.gallery-tabs {
  display: flex;
  border-bottom: 2px solid var(--bg-light);
  margin-bottom: 24px;
}
.gallery-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.gallery-tab-btn:hover { color: var(--dark); }
.gallery-tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.gallery-category { display: none; }
.gallery-category.active { display: block; }

/* Gallery Pagination */
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0 4px;
}
.gallery-page-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 8px 20px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.gallery-page-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.gallery-page-btn:disabled { opacity: 0.3; cursor: default; }
.gallery-page-info { font-size: 0.82rem; color: var(--text); min-width: 52px; text-align: center; }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
}
.gallery-item {
  position: relative;
  background: #1c1e22;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  z-index: 1;
}
.gallery-item img[data-error],
.gallery-item img:not([src]) { display: none; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 0;
}
.gallery-placeholder span {
  font-size: 0.68rem;
  color: #444;
  letter-spacing: 0.06em;
  font-family: monospace;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 3.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 10px 20px;
  transition: color 0.2s;
  user-select: none;
}
.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

/* =========================================
   CTA-BANNER
   ========================================= */
.cta-banner {
  background: var(--dark);
  padding: 70px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 14px;
}
.cta-inner p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* =========================================
   KONTAKT
   ========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-item p, .contact-item a {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
}
.contact-item a:hover { color: var(--blue); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 11px 14px;
  color: var(--text-dark);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
  padding: 0;
}
.check-label a { color: var(--blue); }
.check-label a:hover { text-decoration: underline; }

/* =========================================
   FOOTER
   ========================================= */
.map-embed { line-height: 0; }
.map-embed iframe { display: block; width: 100%; height: 420px; }

.footer { background: var(--dark-2); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 70px 30px 60px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-logo-img {
  width: 180px;
  height: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-light);
  opacity: 0.6;
  margin-bottom: 24px;
  max-width: 240px;
  line-height: 1.65;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 4px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-light);
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.4;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.4;
  transition: opacity 0.2s;
}
.footer-legal a:hover { opacity: 0.8; }

/* =========================================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   ========================================= */
.page-hero {
  background: var(--dark);
  padding: 120px 0 60px;
  margin-top: var(--nav-height);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.legal-content {
  max-width: 860px;
  padding-top: 60px;
  padding-bottom: 80px;
}
.legal-block {
  margin-bottom: 48px;
}
.legal-block h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.legal-block p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a { color: var(--blue); }
.legal-block a:hover { text-decoration: underline; }
.placeholder {
  color: #e05a00;
  font-style: italic;
}
.legal-list {
  margin: 10px 0 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-list li {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  list-style: disc;
}
.legal-list a { color: var(--blue); }
.legal-list a:hover { text-decoration: underline; }
.legal-part {
  background: var(--dark);
  color: #fff !important;
  padding: 12px 20px;
  border-bottom: none !important;
  letter-spacing: 0.12em;
}
.legal-part-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  :root { --section-py: 70px; }
  .nav-links a { padding: 0 12px; font-size: 0.72rem; }
  .studio-boxes    { grid-template-columns: 1fr; gap: 2px; }
  .booking-options { grid-template-columns: 1fr; gap: 2px; }
  .features-grid   { grid-template-columns: repeat(3, 1fr); }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases       { grid-template-columns: repeat(3, 1fr); }
  .contact-layout  { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner    { grid-template-columns: 1fr; gap: 48px; padding: 50px 30px 40px; }
  .grundriss-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--dark-2);
    flex-direction: column;
    padding: 24px 0;
    gap: 0;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { height: auto; line-height: 1; padding: 16px 30px; }
  .nav-book-btn { display: none; }
  .nav-burger { display: flex; }
  .stats-inner { gap: 0; flex-wrap: wrap; }
  .stat-item { padding: 16px 32px; }
  .stat-divider { display: none; }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .leistungen-grid { grid-template-columns: 1fr; }
  .logos-grid      { grid-template-columns: repeat(3, 1fr); }
  .testimonials    { grid-template-columns: 1fr; gap: 2px; }
  .use-cases       { grid-template-columns: repeat(2, 1fr); }
  .gallery-tabs    { overflow-x: auto; }
  .gallery-tab-btn { padding: 12px 18px; font-size: 0.76rem; white-space: nowrap; }
  .gallery-grid    { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .lightbox        { padding: 60px 20px; }
  .lightbox-prev, .lightbox-next { font-size: 2.4rem; padding: 6px 12px; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-links    { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid    { grid-template-columns: repeat(2, 1fr); }
  .use-cases     { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: 1fr; }
  .footer-links  { grid-template-columns: 1fr; }
}
