/* DJ Event Solutions UG: Stylesheet
   Schrift: Archivo (variabel, Breite 62 bis 125 %), SIL Open Font License, selbst gehostet. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
  --bg: #0d0c0b;
  --bg-2: #141210;
  --surface: #1b1815;
  --surface-2: #231f1b;
  --line: rgba(244, 239, 232, 0.1);
  --line-strong: rgba(244, 239, 232, 0.18);
  --text: #f4efe8;
  --muted: #aaa39a;
  --amber: #f1a846;
  --amber-soft: rgba(241, 168, 70, 0.14);
  --amber-ink: #1a1206;

  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 12vw, 150px);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--amber); color: var(--amber-ink); }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- Typografie ---------- */

.display,
h1, h2, h3 {
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6.2rem); }
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.9rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.12; letter-spacing: -0.01em; }

.accent { color: var(--amber); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 0.8rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-stretch: 110%;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: #f6bb68; }

.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- Kopfleiste ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 11, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-name {
  font-weight: 800;
  font-stretch: 120%;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a:not(.btn) {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(244, 239, 232, 0.06); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { min-height: 44px; padding: 10px 20px; margin-left: 8px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .js .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s, transform 0.35s var(--ease);
  }
  .js .nav a:not(.btn) { padding: 14px 4px; font-size: 1.15rem; color: var(--text); border-radius: 0; border-bottom: 1px solid var(--line); }
  .js .nav a:not(.btn):hover { background: transparent; }
  .js .nav .btn { margin: 16px 0 0; }
  .brand-sub { display: none; }
}

@media (max-width: 820px) {
  html:not(.js) .nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 110px) clamp(64px, 9vw, 120px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -10%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(241, 168, 70, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy { container-type: inline-size; min-width: 0; }
/* "Veranstaltungen" ist bei 112,5 % Breite rund 9 em breit: 10,4 cqi füllt die Spalte, ohne überzulaufen */
.hero h1 { margin-bottom: 28px; font-stretch: 112.5%; font-size: clamp(2rem, 10.4cqi, 6.4rem); }
.hero h1 .line { display: block; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 12, 11, 0.85));
}
.hero-badge {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(20, 18, 16, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.35;
}
.hero-badge strong { display: block; font-stretch: 112%; }
.hero-badge span { color: var(--muted); }
.pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(241, 168, 70, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(241, 168, 70, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(241, 168, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(241, 168, 70, 0); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 11; }
}

/* ---------- Laufband ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 22px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticker li {
  display: flex;
  align-items: center;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  font-weight: 700;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ticker li::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-inline: clamp(22px, 3vw, 40px);
  border-radius: 50%;
  background: var(--amber);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: 22px; }

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.mission-text { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem); color: var(--muted); }
.mission-text strong { color: var(--text); font-weight: 600; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg);
}
.pillar-num {
  display: block;
  margin-bottom: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.1em;
}
.pillar h3 { margin-bottom: 10px; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.pillar p { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 820px) {
  .mission-grid { grid-template-columns: 1fr; align-items: start; }
  .pillars { grid-template-columns: 1fr; }
  .pillar-num { margin-bottom: 18px; }
}

/* Leistungen */
.services { background: var(--bg-2); border-top: 1px solid var(--line); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.card-body { padding: clamp(26px, 3vw, 40px); }
.card-body h3 { margin-bottom: 14px; }
.card-body p { color: var(--muted); }

.tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-events { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.card-events .card-media { position: relative; min-height: 340px; }
.card-events .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-events .card-body { align-self: center; }

.card-app, .card-social { grid-column: span 6; }
.card-device {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: clamp(260px, 26vw, 340px);
  margin-top: auto;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(241, 168, 70, 0.28), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  border-top: 1px solid var(--line);
}
.card-device img {
  width: min(320px, 80%);
  margin-bottom: -18%;
  transform: translateY(6px);
  transition: transform 0.6s var(--ease);
}
.card:hover .card-device img { transform: translateY(-6px); }

@media (max-width: 900px) {
  .card-events { grid-template-columns: 1fr; }
  .card-events .card-media { min-height: 0; aspect-ratio: 3 / 2; }
  .card-app, .card-social { grid-column: span 12; }
}

/* Bildband */
.band {
  position: relative;
  min-height: clamp(420px, 60vw, 640px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(13, 12, 11, 0.35) 30%, rgba(13, 12, 11, 0.5) 60%, var(--bg) 100%);
}
.band blockquote {
  margin: 0;
  padding-block: clamp(48px, 8vw, 96px);
  max-width: 900px;
}
.band blockquote p {
  font-size: clamp(1.8rem, 1rem + 3.4vw, 3.8rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Partner und Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.contact-grid h2 { margin-bottom: 26px; }

.contact-card {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(241, 168, 70, 0.12), rgba(241, 168, 70, 0.02) 50%), var(--surface);
  border: 1px solid var(--line);
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card > p { color: var(--muted); margin-bottom: 26px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list a,
.contact-list .contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding-block: 12px;
  text-decoration: none;
}
.contact-list a:hover .contact-value { color: var(--amber); }
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-word;
  transition: color 0.2s;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Fußleiste ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 48px;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-block;
  padding: 10px 10px;
  text-decoration: none;
  border-radius: 8px;
}
.footer-links a:hover { color: var(--text); }

/* ---------- Rechtstexte ---------- */

.legal { padding-block: clamp(48px, 8vw, 96px) var(--section); }
.legal-head { margin-bottom: clamp(36px, 5vw, 56px); }
.legal-head h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); }
.legal-body { max-width: 760px; color: #d8d2ca; }
.legal-body h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.legal-body h3 {
  margin: 32px 0 10px;
  font-size: 1.12rem;
  font-stretch: 110%;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--text);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body a { color: var(--amber); text-underline-offset: 3px; }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-body li { margin-bottom: 0.4em; }
.legal-body address { font-style: normal; margin-bottom: 1em; }
.legal-body .stand { margin-top: 48px; font-size: 0.9rem; color: var(--muted); }

/* ---------- App-Seiten: Easy Logo Vectorizer ---------- */

.app-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.app-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.app-nav a:hover { color: var(--text); border-color: var(--text); }
.app-nav a[aria-current="page"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.lang-hint { margin: 20px 0 0; color: var(--muted); font-size: 0.95rem; }
.lang-hint a { color: var(--amber); text-underline-offset: 3px; }
.lang-split { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--line); }
.app-lead { max-width: 760px; margin: 20px 0 0; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.45; color: var(--text); }
.app-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 600;
}
.app-shot { margin: clamp(36px, 5vw, 56px) 0; }
.app-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.app-shot figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.app-shots { display: grid; gap: 24px; margin: clamp(36px, 5vw, 56px) 0; }
.app-shots .app-shot { margin: 0; }
@media (min-width: 820px) { .app-shots { grid-template-columns: 1fr 1fr; } }
.faq dt { margin-top: 1.5em; font-weight: 650; color: var(--text); }
.faq dd { margin: 0.35em 0 0; }

/* ---------- Einblenden beim Scrollen ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  /* Sicherheitsnetz: falls site.js nicht lädt, nach 2,5 s trotzdem einblenden */
  animation: reveal-fallback 0s 2.5s forwards;
}
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
@media print { .js .reveal { opacity: 1; transform: none; } }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
