/* ---------- Lokale Schriften (keine Google-Fonts-Verbindung) ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/unbounded-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/unbounded-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #1b1626;
  --bg-2: #241d33;
  --line: #3a3150;
  --ink: #f3ede4;
  --ink-soft: #c9c0b6;
  --amber: #f2a83b;
  --amber-deep: #c9811a;
  --rose: #e0567f;
  --on-amber: #1b1626;          /* Text auf gelben Flächen */
  --bg-rgb: 27,22,38;           /* für halbtransparente Flächen */
  --hero-bg: #14101d;
  --hero-img-opacity: 0.72;
  --card-a: #3a2f52; --card-b: #2b2340; --card-line: #4d4266;
  --field-bg: #1f1a2c; --field-line: #5a4e75; --placeholder: #9a90ad;
  --ghost-line: rgba(243,237,228,0.5);
  color-scheme: dark;

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* Helles Farbschema (Umschalter in der Menüleiste) */
:root[data-theme="light"] {
  --bg: #faf7f2;
  --bg-2: #f1ece3;
  --line: #d9d1c4;
  --ink: #221b2e;
  --ink-soft: #5b5368;
  --amber: #b86d0a;
  --amber-deep: #9a5a06;
  --rose: #b8264f;
  --on-amber: #ffffff;
  --bg-rgb: 250,247,242;
  --hero-bg: #e9e2d6;
  --hero-img-opacity: 0.85;
  --card-a: #ffffff; --card-b: #f3eee6; --card-line: #d9d1c4;
  --field-bg: #ffffff; --field-line: #b9afa0; --placeholder: #857c8f;
  --ghost-line: rgba(34,27,46,0.45);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--on-amber); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: rgba(var(--bg-rgb),0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.top .brand:hover { color: var(--amber); }
.logo { display: block; height: 22px; width: auto; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.logo-foot { height: 16px; color: var(--ink); }
@media (max-width: 760px) { .logo { height: 19px; } }
.top nav { display: flex; gap: 26px; align-items: center; }
.top .nav-right { display: flex; align-items: center; gap: 26px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0;
}
.theme-toggle:hover { border-color: var(--amber); color: var(--amber); }
.theme-toggle svg { width: 20px; height: 20px; }
.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; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.top nav a { position: relative; padding-bottom: 4px; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.top nav a:hover { color: var(--amber); }
.top nav a:hover::after, .top nav a.aktiv::after { transform: scaleX(1); }
.top nav a.aktiv { color: var(--amber); }
/* Hamburger (nur mobil) */
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; border-radius: 8px; }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.top.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .menu-toggle span:nth-child(2) { opacity: 0; }
.top.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.theme-text { display: none; }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; }
  .menu-toggle { display: flex; order: 2; }
  .top .nav-right { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; border-top: 1px solid var(--line); margin-top: 14px; }
  .top.open .nav-right { display: flex; }
  .top nav { flex-direction: column; align-items: stretch; gap: 0; }
  .top nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .top nav a::after { display: none; }
  .theme-toggle { width: 100%; height: auto; border: 0; border-radius: 0; justify-content: flex-start; gap: 12px; padding: 14px 4px; color: var(--ink); }
  .theme-toggle:hover { color: var(--amber); }
  .theme-text { display: inline; font-weight: 500; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(92vh - 64px); display: grid; align-items: end;
  background: var(--hero-bg);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%; opacity: var(--hero-img-opacity);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(var(--bg-rgb),1) 0%, rgba(var(--bg-rgb),0.55) 45%, rgba(var(--bg-rgb),0.15) 100%),
    radial-gradient(60% 50% at 80% 20%, rgba(242,168,59,0.28), transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: 96px 72px; }
.hero h1 {
  font-size: clamp(2.6rem, 8.5vw, 7rem); font-weight: 800; line-height: 0.98;
  max-width: 12ch;
}
.hero .lead {
  margin-top: 26px; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink);
}
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--amber-deep); color: var(--on-amber); }
.btn-ghost { border-color: var(--ghost-line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Abschnitte ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 80ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.1rem; }

/* Über mich */
.about { border-top: 1px solid var(--line); }
.about .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about figure { margin: 0; }
.about img { border-radius: 6px; aspect-ratio: 2 / 3; object-fit: cover; background: var(--bg-2); }
.about figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); }
.about .text p { font-size: 1.1rem; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--ink-soft); }
.facts li span:last-child { font-weight: 500; text-align: right; }
@media (max-width: 800px) { .about .grid { grid-template-columns: 1fr; } .about figure { order: -1; max-width: 420px; } }

/* Anlässe */
.events { background: var(--bg-2); }
.event-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event { position: relative; min-height: 460px; border-radius: 6px; overflow: hidden; background: var(--bg); display: flex; align-items: flex-end; }
.event img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.event::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,29,0.95) 0%, rgba(20,16,29,0.35) 55%, transparent 100%); }
.event .body { position: relative; z-index: 2; padding: 28px; }
.event h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.event h3, .event p { color: #f3ede4; }
.event p { font-size: 0.98rem; }
@media (max-width: 900px) { .event-list { grid-template-columns: 1fr; } .event { min-height: 340px; } }

/* Leistungen */
.services .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); }
.service h3 { font-weight: 700; margin-bottom: 8px; color: var(--amber); }
.service p { color: var(--ink-soft); }
@media (max-width: 700px) { .services .cols { grid-template-columns: 1fr; } }

/* Ablauf (echte Reihenfolge, deshalb nummeriert) */
.process { background: var(--bg-2); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--amber); padding-top: 18px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 2rem; display: block; margin-bottom: 8px; color: var(--amber); }
.steps h3 { font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes blockquote { margin: 0; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); }
.quotes p { font-size: 1.05rem; font-style: italic; }
.quotes cite { display: block; margin-top: 14px; font-style: normal; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--amber); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; max-width: 70ch; }

/* Kontakt */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-card {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 56px); border-radius: 14px;
  background: linear-gradient(135deg, var(--card-a) 0%, var(--card-b) 70%);
  border: 1px solid var(--card-line);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8);
}
.contact-intro p { margin-top: 16px; color: var(--ink); max-width: 36ch; }
.contact-mail { margin-top: 32px !important; }
.contact-mail .mail, .contact-mail a { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1.25rem; line-height: 1.5; text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }

.form .req { color: var(--amber); font-weight: 700; }
.form .field { display: block; margin-bottom: 18px; }
.form .field-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.01em; }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; padding: 13px 16px; font: inherit; color: var(--ink);
  background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--placeholder); }
.form input:focus, .form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(242,168,59,0.18); outline: none; }
.form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.form .chips { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.form .chips legend { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; width: 100%; }
.form .chip { position: relative; cursor: pointer; }
.form .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .chip span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  border: 1.5px solid var(--field-line); color: var(--ink); background: var(--field-bg);
  transition: border-color .15s, background .15s, color .15s;
}
.form .chip:hover span { border-color: var(--ink-soft); }
.form .chip input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--on-amber); font-weight: 600; }
.form .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,168,59,0.35); }

.form .consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 4px 0 20px; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.form .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); cursor: pointer; }
.form .consent a { color: var(--amber); }
.form-foot { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
.form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 15px 30px; white-space: nowrap; }
.form-note { font-size: 0.85rem; color: var(--ink); margin: 0; line-height: 1.5; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { padding: 14px 16px; border-radius: 10px; margin-bottom: 22px; }
.form-done { padding: clamp(28px, 4vw, 48px); border-radius: 12px; border: 1.5px solid var(--amber); background: rgba(242,168,59,0.12); text-align: center; }
.form-done h3 { font-size: 1.6rem; font-weight: 700; color: var(--amber); }
.form-done p { margin: 14px auto 0; max-width: 40ch; }
.form-done .count { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
.form-err { background: rgba(224,86,127,0.15); border: 1px solid var(--rose); }

@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form .row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .form .btn { width: 100%; text-align: center; }
}

/* Fußzeile */
footer { padding: 32px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.92rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--amber); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.subpage .top { border-bottom: 1px solid var(--line); }
.subpage main { padding-block: clamp(48px, 7vw, 96px); }
.subpage .prose { max-width: 72ch; }
.subpage .prose h1 { font-size: clamp(1.6rem, 6vw, 3.2rem); font-weight: 800; margin-bottom: 36px; overflow-wrap: anywhere; hyphens: auto; }
.subpage .prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.subpage .prose h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; }
.subpage .prose p, .subpage .prose li { color: var(--ink-soft); }
.subpage .prose strong { color: var(--ink); }
.subpage .prose ul { padding-left: 22px; }
.subpage .prose address { font-style: normal; color: var(--ink); line-height: 1.7; }
/* .todo (Platzhalter, nicht mehr in Gebrauch) */
.todo { background: rgba(242,168,59,0.14); border-left: 3px solid var(--amber); padding: 2px 8px; color: var(--ink); }
