/* ==========================================================
   Dixxxson Eventmanagement – Stylesheet
   Farben: Nachtschwarz #0F0E12 · Dixxxson-Orange #F07B1E
   Hell/Dunkel: Farbwerte unter :root (dunkel) und :root[data-theme="light"] (hell)
   ========================================================== */

/* ---------- Schriftarten (lokal gehostet, DSGVO-konform) ----------
   Die .woff2-Dateien gehören in den Ordner /fonts – siehe fonts/LIESMICH.txt.
   Fehlen sie, greifen automatisch die Ersatzschriften.               */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* ---- Dunkles Design (Standard) ---- */
  color-scheme: dark;
  --bg: #0F0E12;
  --bg-2: #17151B;
  --bg-3: #211E26;
  --line: #2A2730;
  --line-2: #3A3640;
  --line-3: #4A4550;
  --text: #EDEAE4;
  --text-2: #C9C4BB;
  --text-body: #B7B2A9;
  --text-3: #A39E96;
  --text-4: #8C877F;
  --accent: #F07B1E;          /* Flächen: Buttons, Ablauf-Band, Logo-Zeichen */
  --accent-hover: #FF9A4A;
  --accent-text: #F07B1E;     /* Orange als Schriftfarbe */
  --accent-text-hover: #FF9A4A;
  --accent-logo: #F07B1E;
  --on-accent: #0F0E12;       /* Schrift auf Orange */
  --ok: #7CD992;
  --err: #FF8A8A;
  --backdrop: rgba(8, 7, 10, .82);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-logo: "Unbounded", "Arial Black", system-ui, sans-serif;
  --radius: 16px;
}

/* ---- Helles Design ---- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FAF8F4;
  --bg-2: #F2EEE7;
  --bg-3: #E8E2D8;
  --line: #E0D9CE;
  --line-2: #CFC7BA;
  --line-3: #B3AA9C;
  --text: #16141A;
  --text-2: #3A3640;
  --text-body: #4A4550;
  --text-3: #5C564E;
  --text-4: #6B645B;
  --accent: #F07B1E;
  --accent-hover: #FF9A4A;
  --accent-text: #A34A08;     /* dunkleres Orange, damit Schrift auf Hell lesbar bleibt */
  --accent-text-hover: #8F4006;
  --accent-logo: #D9650A;
  --on-accent: #0F0E12;
  --ok: #1E7A3A;
  --err: #B3261E;
  --backdrop: rgba(22, 20, 26, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); transition: background-color .25s, color .25s; color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-text-hover); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 900px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-accent { background: var(--accent); color: var(--on-accent); }
.muted { color: var(--text-3); }
.small { font-size: 14px; }

.eyebrow { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; margin: 0; }
.eyebrow-dark { color: var(--on-accent); }
h2 { font-weight: 800; font-size: clamp(32px, 4.5vw, 56px); margin: 16px 0 48px; max-width: 780px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 17px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; transition: background .15s; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-3); font-weight: 500; }
.btn-ghost:hover { background: var(--bg-3); color: var(--text); }

/* ---------- Header & Logo ---------- */
.header-tools { display: flex; align-items: center; gap: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo-mark { flex: none; fill: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: var(--font-logo); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.logo-word.small { font-size: 15px; color: var(--text); }
.xxx { display: inline-block; color: var(--accent-logo); transform: skewX(-14deg); }
.logo-sub { font-size: 9.5px; font-weight: 700; letter-spacing: .46em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 6px 24px; font-size: 15px; margin-left: auto; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--text); }

.theme-toggle { width: 44px; height: 44px; flex: none; background: var(--bg-3); border: 0; border-radius: 10px; cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.theme-toggle:hover { background: var(--line-2); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; background: var(--bg-3); border: 0; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 120px; padding-bottom: 96px; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 7vw, 96px); line-height: 1.02; letter-spacing: -.02em; margin: 20px 0 28px; max-width: 1000px; }
.lead { font-size: 20px; color: var(--text-2); max-width: 680px; margin: 0 0 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.usp { list-style: none; margin: 96px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.usp strong { display: block; font-family: var(--font-display); font-size: 22px; }
.usp span { color: var(--text-3); font-size: 15px; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.services article { background: var(--bg-2); padding: 32px; }
.services .num { font-family: var(--font-display); color: var(--accent-text); font-weight: 700; font-size: 15px; }
.services h3 { font-size: 24px; margin: 8px 0 10px; }
.services p { margin: 0; color: var(--text-body); }

/* ---------- Eventarten ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 12px 22px; font-size: 18px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--on-accent); padding-top: 20px; }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; }
.steps h3 { font-size: 24px; margin: 12px 0 8px; }
.steps p { margin: 0; }

/* ---------- Referenzen ---------- */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.refs figure { margin: 0; }
.ref-img, .refs img { aspect-ratio: 4 / 3; width: 100%; border-radius: 12px; object-fit: cover; }
.ref-img { background: var(--bg-3); border: 1px dashed var(--line-3); display: flex; align-items: center; justify-content: center; color: var(--text-4); font-size: 15px; }
.refs figcaption strong { display: block; font-family: var(--font-display); font-size: 22px; margin: 16px 0 4px; }
.refs figcaption span { color: var(--text-3); font-size: 15px; }
.quote { margin: 64px 0 0; max-width: 820px; }
.quote p { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; margin: 0 0 16px; }
.quote footer { color: var(--text-3); font-size: 15px; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 21px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font-size: 28px; line-height: .9; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--text-body); }

/* ---------- Kontakt ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 320px; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info dl { margin: 32px 0 0; font-size: 18px; }
.contact-info dt { color: var(--text-4); font-size: 14px; }
.contact-info dd { margin: 0 0 14px; }
.contact-info dd a { text-decoration: none; }

.form { flex: 1.4 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; color: var(--text); min-height: 48px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--text-body); }
.form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form [aria-invalid="true"] { border-color: var(--err); }
.form-status { margin: 0; font-size: 15px; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--text-4); }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { color: var(--text-3); padding: 10px 0; }

/* ---------- Modals (Impressum / Datenschutz) ---------- */
.modal { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: var(--backdrop); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 28px; margin: 0; }
.modal-close { width: 44px; height: 44px; flex: none; background: var(--line); border: 0; border-radius: 999px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--line-2); }
.modal-body { padding: 24px 28px 32px; overflow-y: auto; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.modal-body h3 { color: var(--text); font-size: 18px; margin: 0 0 6px; }
.modal-body p { margin: 0 0 20px; }
body.modal-open { overflow: hidden; }
