/* ============================================================
   Eventtechnik Maintal – Stylesheet
   Farbschema: Schwarz / Weiß
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-card: #1a1a1a;
  --white: #ffffff;
  --paper: #f5f3ee;        /* warmes Off-White (aus dem Logo) */
  --paper-dim: #e9e6df;
  --ink: #121212;
  --gray: #6b6b6b;
  --gray-light: #9a9a9a;
  --line: rgba(0, 0, 0, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography helpers ---------- */
.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-eyebrow.light { color: var(--gray-light); }

.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  margin-bottom: 1.2rem;
}
.section-title.light { color: var(--white); }

.section-lead { color: var(--gray); max-width: 56ch; }
.section-dark .section-lead { color: var(--gray-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { transform: translateY(-2px); background: var(--paper-dim); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-block { width: 100%; }

/* On light sections, primary should be dark */
.section:not(.section-dark):not(.section-feature) .btn-primary { background: var(--black); color: var(--white); }
.section:not(.section-dark):not(.section-feature) .btn-primary:hover { background: #2a2a2a; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 var(--line-light);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 34px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .brand-logo { height: 28px; }

.nav-list { display: flex; align-items: center; gap: 2rem; }
.nav-list a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  transition: color 0.2s;
}
.nav-list a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--white); transition: width 0.3s var(--ease);
}
.nav-list a:not(.nav-cta):hover { color: var(--white); }
.nav-list a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  color: var(--white) !important;
}
.nav-cta:hover { background: var(--white); color: var(--black) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: 0.3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.45) 45%, rgba(10,10,10,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  padding-top: 6rem; padding-bottom: 6rem;
  max-width: 880px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin-bottom: 1.6rem;
}
.hero-title span { color: rgba(255,255,255,0.62); }
.hero-text {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-tagline {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4); border-radius: 14px;
  display: flex; justify-content: center;
}
.scroll-cue span {
  width: 3px; height: 8px; background: var(--white); border-radius: 2px; margin-top: 7px;
  animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown { 0%{opacity:0;transform:translateY(-3px)} 50%{opacity:1} 100%{opacity:0;transform:translateY(10px)} }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-dark { background: var(--black); color: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 3.2rem; }

/* ---------- Intro / Über uns ---------- */
.intro-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.intro-text p { color: var(--gray); margin-bottom: 1.1rem; }
.intro-text .section-title { color: var(--ink); }
.stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
.stat-label { font-size: 0.82rem; color: var(--gray); margin-top: 0.3rem; }

.intro-media { position: relative; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4/5; }
.intro-media-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--black); color: var(--white);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 1rem; line-height: 1.3; font-weight: 600;
  padding: 1.1rem 1.4rem; border-radius: var(--radius);
  max-width: 260px;
}

/* ---------- Leistungen Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--black-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 2.2rem 1.7rem;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.4); background: #202020; }
.card-icon {
  width: 52px; height: 52px; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-light); border-radius: 50%;
  margin-bottom: 1.5rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.25rem; color: var(--white); margin-bottom: 0.7rem; }
.card p { color: var(--gray-light); font-size: 0.96rem; }

/* ---------- Warum / Why list ---------- */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.why-list li {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.5rem 0.5rem; border-bottom: 1px solid var(--line);
  font-size: 1.1rem; font-weight: 500;
}
.why-list li::before {
  content: "✓"; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
}

/* ---------- Vorher / Nachher Slider ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; user-select: none; cursor: ew-resize;
  border: 1px solid var(--line-light);
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { width: 50%; overflow: hidden; z-index: 2; }
.ba-before img { width: 200%; max-width: none; height: 100%; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3;
  width: 2px; background: var(--white); transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.ba-handle span::before { content: "‹ ›"; font-weight: 700; letter-spacing: -2px; font-size: 1.1rem; }
.ba-tag {
  position: absolute; bottom: 14px; z-index: 4;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.7rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 2px;
  background: rgba(10,10,10,0.7); color: var(--white); backdrop-filter: blur(4px);
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; padding: 0; background: var(--paper-dim);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; }
.gallery-item::after {
  content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2rem; color: var(--white);
  background: rgba(10,10,10,0.35); opacity: 0; transition: opacity 0.35s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Anlässe / Feature ---------- */
.section-feature { color: var(--white); overflow: hidden; }
.feature-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transform: scale(1.05); }
.feature-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(10,10,10,0.78); }
.feature-content { position: relative; z-index: 2; }
.occasions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.occasions li {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 1.05rem; font-weight: 500;
  padding: 0.75rem 1.5rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 40px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.occasions li:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---------- Versprechen ---------- */
.promise { background: var(--paper-dim); text-align: center; }
.promise-inner { max-width: 820px; margin: 0 auto; }
.promise blockquote {
  font-family: var(--font-head); font-weight: 500; text-transform: none;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem); line-height: 1.3; letter-spacing: 0.005em;
  margin: 0.5rem 0 1.6rem;
}
.promise-sign { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.16em; color: var(--gray); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-info { margin-top: 2.4rem; }
.contact-info li { padding: 1.1rem 0; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 0.25rem; }
.ci-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gray-light); }
.contact-info a, .contact-info span:not(.ci-label) { font-size: 1.15rem; color: var(--white); transition: opacity 0.2s; }
.contact-info a:hover { opacity: 0.7; }

.contact-form {
  background: var(--black-card); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.5rem);
}
.field { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gray-light); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  background: var(--black-soft); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 0.85rem 1rem; color: var(--white); font-family: inherit; font-size: 0.98rem;
  transition: border-color 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(255,255,255,0.55); background: #111;
}
.field textarea { resize: vertical; }
.field select option { color: #fff; background: var(--black-soft); }
.form-note { margin-top: 1rem; font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.form-note.ok { color: #8fe3a3; }
.form-note.err { color: #ff9a9a; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #060606; color: rgba(255,255,255,0.7); padding-top: 3.5rem; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-light); align-items: start;
}
.footer-logo { height: 30px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a, .footer-legal a { font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--white); }
.footer-legal { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding: 1.5rem 0; font-size: 0.82rem; color: var(--gray);
}
.footer-tagline { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,6,6,0.95); display: none;
  align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; transition: opacity 0.3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.4rem; right: 1.8rem; color: var(--white);
  font-size: 2.6rem; line-height: 1; transition: transform 0.2s;
}
.lightbox-close:hover { transform: scale(1.15); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: rgba(8,8,8,0.98); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform 0.4s var(--ease); gap: 2rem;
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list a { font-size: 1.1rem; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { order: -1; max-width: 460px; }
  .intro-media img { aspect-ratio: 16/11; }
  .ba-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats { gap: 1.4rem; }
  .intro-media-badge { left: 0; font-size: 0.85rem; padding: 0.9rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
