/* ==========================================================================
   Eventtechnik Enderle – Stylesheet
   Farben und Abstände zentral in :root anpassen.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Grundwerte ---------- */
:root {
  --bg: #07080c;
  --surface: #0f121a;
  --surface-2: #161a25;
  --line: #262c3b;
  --text: #eef1f7;
  --muted: #a7afc1;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --magenta: #f032e6;
  --whatsapp: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7ce8f7; }

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 3vw, 1.65rem); }

p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* TODO-Markierungen: gut sichtbar, damit sie vor dem Livegang auffallen */
.todo {
  display: inline-block;
  padding: .15em .5em;
  border: 1px dashed #facc15;
  border-radius: 6px;
  background: rgba(250, 204, 21, .12);
  color: #fde68a;
  font-size: .92em;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: .75em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1.05rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--cyan);
  color: #031016;
  box-shadow: 0 0 24px rgba(34, 211, 238, .35);
}
.btn-primary:hover { background: #67e8f9; color: #031016; }
.btn-whatsapp { background: var(--whatsapp); color: #03150a; }
.btn-whatsapp:hover { background: #4ade80; color: #03150a; }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--cyan); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: auto; height: 44px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

.site-nav {
  position: absolute;
  inset: 72px 0 auto 0;
  display: none;
  padding: 12px var(--gutter) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-open .site-nav { display: block; }
/* Ohne JavaScript bleibt das Menü immer sichtbar */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; display: block; padding: 0 0 12px; border: 0; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 14px 4px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cyan); }
.site-nav .nav-cta { margin-top: 16px; border: 0; }
.site-nav .nav-cta a { border: 0; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    border: 0;
  }
  .site-nav ul { display: flex; align-items: center; gap: 6px; }
  .site-nav a { padding: 10px 14px; border: 0; border-radius: 8px; }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta .btn { min-height: 44px; padding: .55em 1.2em; color: #031016; }
  .brand img { height: 52px; }
}

/* ---------- Hero mit Lichtkegeln ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 12vw, 128px) 0 clamp(64px, 12vw, 120px);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(34, 211, 238, .14), transparent 60%),
    linear-gradient(180deg, #05060a 0%, var(--bg) 100%);
}
.hero-small { padding: clamp(44px, 8vw, 84px) 0 clamp(36px, 6vw, 60px); }

.beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.beam {
  position: absolute;
  top: -20%;
  width: 34vw;
  min-width: 220px;
  height: 140%;
  transform-origin: 50% 0;
  filter: blur(18px);
  opacity: .5;
  mix-blend-mode: screen;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  animation: sweep 11s ease-in-out infinite alternate;
}
.beam-1 { left: 4%;  background: linear-gradient(180deg, rgba(34, 211, 238, .9), rgba(34, 211, 238, 0) 80%); --from: -24deg; --to: 10deg; }
.beam-2 { left: 36%; background: linear-gradient(180deg, rgba(240, 50, 230, .75), rgba(240, 50, 230, 0) 78%); --from: 16deg; --to: -14deg; animation-duration: 13s; }
.beam-3 { left: 66%; background: linear-gradient(180deg, rgba(34, 211, 238, .7), rgba(34, 211, 238, 0) 75%); --from: 22deg; --to: -8deg; animation-duration: 9s; }
.hero-small .beam { opacity: .3; }

@keyframes sweep {
  from { transform: rotate(var(--from)); }
  to   { transform: rotate(var(--to)); }
}

.hero-logo { width: min(340px, 78vw); height: auto; margin-bottom: 28px; }
.hero .eyebrow, .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan);
  font: 700 .95rem/1.2 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .lead { max-width: 640px; font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: #d3d9e6; margin-bottom: 1.6em; }
.hero h1 { max-width: 900px; }
.hero h1 .accent { color: var(--cyan); }
.hero-small h1 { font-size: clamp(1.95rem, 6vw, 3.6rem); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid rgba(255, 255, 255, .04); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 18px; }
@media (min-width: 620px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-bottom: .4em; }
a.card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
a.card .more { margin-top: auto; padding-top: 16px; color: var(--cyan); font-weight: 700; }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(240, 50, 230, .18));
  color: var(--cyan);
}
.icon svg { width: 30px; height: 30px; }

/* Anlässe */
.occasions { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .occasions { grid-template-columns: repeat(3, 1fr); } }
.occasions li {
  margin: 0;
  padding: 18px 18px 18px 20px;
  border-left: 3px solid var(--magenta);
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.occasions strong { display: block; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .02em; }
.occasions span { color: var(--muted); font-size: .95rem; }

/* Person / Split-Layout */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 5fr 7fr; } }
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  aspect-ratio: 4 / 5;
  max-width: 440px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 8, 12, .55));
  pointer-events: none;
}

/* Vorteile */
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .icon { flex: none; margin: 0; }
.benefit h3 { margin-bottom: .25em; }
.benefit p { color: var(--muted); margin: 0; }

/* Leistungsseite */
.service {
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.service:last-of-type { border-bottom: 0; }
.service-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.service-head .icon { margin: 0; flex: none; }
.service-head h2 { margin: 0; font-size: clamp(1.7rem, 4.2vw, 2.4rem); }
.service-body { display: grid; gap: 24px; }
@media (min-width: 860px) { .service-body { grid-template-columns: 7fr 5fr; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg);
}
.panel {
  padding: 22px 22px 8px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.panel h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump-nav a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: .95rem;
  text-decoration: none;
  background: rgba(255, 255, 255, .03);
}
.jump-nav a:hover { border-color: var(--cyan); }

/* Kontaktblock */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.contact-list svg { width: 24px; height: 24px; flex: none; margin-top: 3px; color: var(--cyan); }
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--cyan); }
.contact-list small { display: block; color: var(--muted); font-size: .92rem; }

/* Karte (statische Grafik, keine Datenübertragung an Google) */
.map-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.map-card > svg { width: 100%; height: auto; }
.map-card .map-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 18px; }
.map-card .map-foot p { margin: 0; color: var(--muted); font-size: .92rem; }

/* CTA-Band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 64px) clamp(22px, 5vw, 56px);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 211, 238, .28), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(240, 50, 230, .25), transparent 55%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.cta-band p { color: #d3d9e6; max-width: 620px; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend, fieldset > legend { display: block; margin-bottom: 6px; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form input[type="date"], .form input[type="number"], .form select, .form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #353c4f;
  border-radius: var(--radius-sm);
  background: #0b0d14;
  color: var(--text);
  font: inherit;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); outline: 2px solid rgba(34, 211, 238, .35); outline-offset: 0; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice, .field label.choice {
  display: flex;
  margin: 0;
  font-weight: 400;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid #353c4f;
  border-radius: var(--radius-sm);
  background: #0b0d14;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--cyan); }
.choice-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-inline .choice { flex: 1 1 140px; }
.consent { font-size: .95rem; color: #cfd5e2; }
.hint { color: var(--muted); font-size: .92rem; margin: 0; }
/* Honeypot: für Menschen unsichtbar */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .3); }
.form-note.error { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .4); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 1.6em; }
.legal h3 { font-size: 1.3rem; margin-top: 1.4em; }
.legal a { overflow-wrap: anywhere; }
.legal h4 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.legal address { font-style: normal; margin-bottom: 1em; }

/* ---------- Galerie „Einblicke“ ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Fußbereich ---------- */
.site-footer {
  padding: 56px 0 32px;
  background: #040509;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .97rem;
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.25rem; color: var(--text); letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer address { font-style: normal; }
.footer-logo { width: 190px; margin-bottom: 14px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.footer-bottom ul { display: flex; gap: 18px; }

/* ---------- Feste Aktionsleiste unten (nur Handy) ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 8, 12, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.action-bar .btn { min-height: 50px; padding: .6em 1em; width: 100%; }
body { padding-bottom: 84px; }
@media (min-width: 900px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Bilder ---------- */
picture { display: block; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, .55) 0%, rgba(7, 8, 12, .35) 45%, var(--bg) 100%);
}
.service-side { display: grid; gap: 18px; align-content: start; }
.service-img { margin: 0; }
.service-img img, .wide-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.service-img img { aspect-ratio: 3 / 2; object-fit: cover; }
.wide-img { margin: 28px 0 0; }
.wide-img img { aspect-ratio: 21 / 9; object-fit: cover; }
.portrait picture { height: 100%; }
