/* ============================================================
   R&G Technik-Service — design system
   Dark + gold, refined serif display / clean sans body.
   Theme tokens are driven by data-attributes set from Tweaks.
   ============================================================ */

:root {
  /* gold ramp (overridden by accent tweak) */
  --gold-1: #f0d99a;
  --gold-2: #c9a24a;
  --gold-3: #8f6f2a;
  --gold-grad: linear-gradient(135deg, #f4e0a3 0%, #d8b25c 45%, #9a7a30 100%);

  /* surfaces (dark default) */
  --bg-0: #0b0907;
  --bg-1: #110e09;
  --bg-2: #16120b;
  --bg-3: #1d1810;
  --panel-grad: linear-gradient(160deg, rgba(40,32,16,0.55), rgba(18,15,9,0.4));
  --line: rgba(201,162,74,0.20);
  --line-soft: rgba(201,162,74,0.11);

  /* type colors */
  --ink: #ece6d8;
  --ink-strong: #fbf6ea;
  --muted: #a89e87;
  --dim: #6e6754;

  /* shape / density (overridden by tweak) */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --pad-card: 28px;
  --section-y: 88px;
  --gap: 20px;

  --shadow-card: 0 18px 40px -24px rgba(0,0,0,0.8);
  --shadow-pop: 0 30px 80px -30px rgba(0,0,0,0.9);

  --maxw: 1180px;
  --header-h: 132px;

  --font-display: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- light background tweak ---- */
[data-theme="light"] {
  --bg-0: #efe9dd;
  --bg-1: #f6f1e7;
  --bg-2: #fffdf8;
  --bg-3: #fbf6ec;
  --panel-grad: linear-gradient(160deg, rgba(255,255,255,0.7), rgba(244,238,226,0.5));
  --line: rgba(150,116,40,0.28);
  --line-soft: rgba(150,116,40,0.16);
  --ink: #2a2417;
  --ink-strong: #1a160d;
  --muted: #6c6450;
  --dim: #968b72;
  --gold-1: #b98e2f;
  --gold-2: #a9802a;
  --gold-3: #7c5d1c;
  --gold-grad: linear-gradient(135deg, #c79a3a 0%, #a9802a 50%, #7c5d1c 100%);
  --shadow-card: 0 16px 36px -26px rgba(80,60,20,0.5);
  --shadow-pop: 0 30px 70px -30px rgba(80,60,20,0.45);
}

/* ---- density tweak ---- */
[data-density="compact"] { --pad-card: 20px; --section-y: 60px; --gap: 14px; }
[data-density="cozy"]    { --pad-card: 36px; --section-y: 112px; --gap: 26px; }

/* ---- roundness tweak ---- */
[data-radius="sharp"] { --r-sm: 2px; --r-md: 3px; --r-lg: 4px; }
[data-radius="round"] { --r-sm: 14px; --r-md: 22px; --r-lg: 30px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold-2); color: #1a140a; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; color: var(--ink-strong); letter-spacing: 0.2px; text-wrap: balance; }
.display { font-size: clamp(40px, 5vw, 62px); font-weight: 600; line-height: 1.02; }
.h-section { font-size: clamp(30px, 3.4vw, 44px); }
p { margin: 0; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.65; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* gold rule used under hero headline */
.gold-rule { width: 64px; height: 3px; border-radius: 3px; background: var(--gold-grad); margin: 22px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: var(--r-pill);
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold-grad); color: #1c1407;
  box-shadow: 0 12px 26px -12px rgba(201,162,74,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(201,162,74,0.75); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-1); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-2); font-weight: 700; font-size: 14.5px; cursor: pointer;
  transition: gap .2s, color .2s;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s; }
.arrow-link:hover { color: var(--gold-1); gap: 12px; }

/* ---------- generic card / panel ---------- */
.panel {
  background: var(--panel-grad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(2px);
}

/* ---------- atmosphere: circuit + glow ---------- */
.atmos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,74,0.16), transparent 68%);
  filter: blur(20px);
}
.circuit-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.circuit-svg path, .circuit-svg line { stroke: var(--gold-2); stroke-width: 1; fill: none; opacity: .35; }
.circuit-svg circle { fill: var(--gold-2); opacity: .5; }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.util-bar {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.25);
  font-size: 13.5px;
}
.util-bar .wrap { display: flex; justify-content: center; gap: 44px; padding: 12px 28px; flex-wrap: wrap; }
.util-item { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.util-item svg { width: 16px; height: 16px; color: var(--gold-2); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg-0) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; }
.brand-badge { width: 58px; height: 58px; flex: none; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--ink-strong); letter-spacing: .5px; white-space: nowrap; }
.brand-name b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-sub { font-size: 10px; font-weight: 800; letter-spacing: 0.3em; color: var(--gold-2); margin-top: 6px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative; font-size: 15.5px; font-weight: 600; color: var(--muted);
  padding: 6px 0; cursor: pointer; transition: color .2s; background: none; border: none;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--gold-1); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold-grad); border-radius: 2px;
}

.phone-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold-2); color: var(--gold-1);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px;
  cursor: pointer; background: rgba(201,162,74,0.06); transition: background .2s, transform .2s;
}
.phone-btn:hover { background: rgba(201,162,74,0.14); transform: translateY(-1px); }
.phone-btn svg { width: 17px; height: 17px; }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px; color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% 18%, rgba(201,162,74,0.14), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(201,162,74,0.06), transparent 60%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { max-width: 560px; }
.hero h1 { margin-bottom: 4px; }
.hero .lead { margin-bottom: 30px; max-width: 460px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; gap: 12px; max-width: 200px; }
.trust-item .ico { width: 34px; height: 34px; flex: none; color: var(--gold-2); }
.trust-item .ico svg { width: 100%; height: 100%; }
.trust-item h4 { font-family: var(--font-body); font-size: 14px; font-weight: 800; color: var(--gold-1); margin-bottom: 3px; letter-spacing: .2px; }
.trust-item p { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* hero media */
.hero-media { position: relative; }
/* image-slot custom element defaults */
image-slot { display: block; }

.hero-media image-slot, .hero-media .img-frame {
  width: 100%; height: auto; aspect-ratio: 4 / 3.4; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-pop);
}
/* hero crossfade frame (technician photo <-> full logo) */
.hero-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-pop); overflow: hidden; background: #0a0805;
}
.hero-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-layer.on { opacity: 1; }
.hero-layer img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 30%; }
.hero-logo {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(201,162,74,0.16), transparent 62%),
    linear-gradient(160deg, #141009, #0a0805);
}
.hero-logo img { width: 64%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)); }
@media (prefers-reduced-motion: reduce){ .hero-layer { transition: none; } }
.hero-media::after {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(201,162,74,0.18); pointer-events: none;
}
.ai-chip {
  position: absolute; top: 26px; right: -14px; z-index: 4;
  width: 84px; height: 84px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(150deg, #1c160c, #0d0a06);
  border: 1.5px solid var(--gold-2);
  box-shadow: 0 0 0 6px rgba(11,9,7,0.6), 0 16px 30px -12px rgba(201,162,74,0.5);
  font-family: var(--font-body); font-weight: 900; font-size: 26px; letter-spacing: 1px;
  transition: opacity .3s, transform .3s;
}
.ai-chip span { position: relative; z-index: 2; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* circuit starburst radiating outward around the AI letters */
.ai-chip { overflow: visible; }
.ai-traces {
  position: absolute; top: 50%; left: 50%; width: 230px; height: 230px;
  transform: translate(-50%, -50%); overflow: visible; pointer-events: none; z-index: 1;
}
.ai-traces .ray { stroke: var(--gold-2); stroke-width: 1.4; opacity: .5; stroke-linecap: round; }
.ai-traces .node { fill: var(--gold-1); opacity: .85; }
.ai-traces .spark { fill: var(--gold-1); opacity: .9; }
@media (prefers-reduced-motion: no-preference){
  .ai-traces .node { animation: trace-pulse 2.6s ease-in-out infinite; }
  .ai-traces .spark { animation: spark-twinkle 3.4s ease-in-out infinite; transform-origin: 130px 130px; }
}
@keyframes trace-pulse { 0%,100%{ opacity:.35 } 50%{ opacity:1 } }
@keyframes spark-twinkle { 0%,100%{ opacity:.5; } 50%{ opacity:1; } }
.ai-deemph .ai-chip { opacity: 0; transform: scale(.85); pointer-events: none; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.svc-card {
  position: relative; padding: var(--pad-card); border-radius: var(--r-lg);
  background: var(--panel-grad); border: 1px solid var(--line);
  text-align: center; transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--gold-2); box-shadow: var(--shadow-card); }
.svc-ico { width: 66px; height: 66px; margin: 4px auto 22px; color: var(--gold-2); }
.svc-ico svg { width: 100%; height: 100%; }
.svc-card h3 { font-size: 23px; margin-bottom: 12px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 20px; flex: 1; }
.svc-card .arrow-link { justify-content: center; }
/* AI emphasis */
.svc-card.is-ai { transition: transform .3s, border-color .3s, box-shadow .3s, background .3s; }
.ai-emph .svc-card.is-ai {
  border-color: var(--gold-2);
  background: linear-gradient(165deg, rgba(201,162,74,0.16), rgba(18,15,9,0.5));
  box-shadow: 0 0 0 1px rgba(201,162,74,0.25), var(--shadow-card);
}
.ai-emph .svc-card.is-ai::before {
  content: "EMPFOHLEN"; position: absolute; top: 14px; right: 14px;
  font-size: 9.5px; font-weight: 900; letter-spacing: .18em; color: #1c1407;
  background: var(--gold-grad); padding: 4px 9px; border-radius: var(--r-pill);
}

/* ---------- testimonial ---------- */
.testi { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 34px 40px; border-radius: var(--r-lg); background: var(--panel-grad); border: 1px solid var(--line); }
.testi-mark { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--gold-2); display: grid; place-items: center; color: var(--gold-2); font-family: var(--font-display); font-size: 56px; line-height: 0; padding-top: 18px; }
.testi blockquote { margin: 0; font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--ink-strong); line-height: 1.4; }
.testi-who { text-align: right; }
.stars { color: var(--gold-2); letter-spacing: 3px; font-size: 17px; margin-bottom: 8px; }
.testi-who b { display: block; font-family: var(--font-body); font-weight: 800; color: var(--ink); }
.testi-who span { font-size: 13px; color: var(--muted); }

/* ---------- find-service band ---------- */
.find-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel-grad); }
.find-media { position: relative; min-height: 340px; }
.find-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.find-media .badge-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.find-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.find-copy .eyebrow { margin-bottom: 14px; }
.find-copy h2 { font-size: clamp(26px,2.6vw,36px); margin-bottom: 16px; }
.find-copy p { color: var(--muted); margin-bottom: 28px; max-width: 420px; }
.find-search { position: absolute; right: 40px; bottom: 36px; width: 64px; height: 64px; color: var(--gold-3); opacity: .5; }

/* ---------- about preview ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid .eyebrow { display: block; margin-bottom: 14px; }
.about-grid h2 { margin-bottom: 22px; }
.about-grid > div > p.lead { margin-bottom: 30px; }
.about-feats { display: flex; flex-direction: column; gap: 20px; }
.about-feat { display: flex; gap: 14px; }
.about-feat .ico { width: 30px; height: 30px; flex: none; color: var(--gold-2); }
.about-feat h4 { font-family: var(--font-body); font-size: 15px; font-weight: 800; color: var(--gold-1); margin-bottom: 2px; }
.about-feat p { font-size: 13.5px; color: var(--muted); }
.about-media image-slot, .about-media .img-frame { width: 100%; height: auto; aspect-ratio: 1 / 0.84; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* ---------- contact info band ---------- */
.contact-band { padding: 44px; border-radius: var(--r-lg); background: var(--panel-grad); border: 1px solid var(--line); }
.contact-band .eyebrow { text-align: center; display: block; margin-bottom: 30px; }
.contact-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.contact-card { text-align: center; padding: 24px 16px; border-radius: var(--r-md); border: 1px solid var(--line-soft); background: rgba(0,0,0,0.15); transition: border-color .25s, transform .25s; }
.contact-card:hover { border-color: var(--gold-2); transform: translateY(-3px); }
.contact-card .ico { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--gold-2); }
.contact-card h4 { font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--gold-1); margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-1); padding: 56px 0 28px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand-name { font-size: 21px; }
.footer-tag { font-size: 13px; color: var(--muted); margin-top: 16px; max-width: 240px; }
.footer h5 { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink-strong); margin: 6px 0 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links button { background: none; border: none; text-align: left; padding: 0; color: var(--muted); font-size: 14px; cursor: pointer; transition: color .2s; font-family: inherit; }
.footer-links button:hover { color: var(--gold-1); }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.social a:hover { border-color: var(--gold-2); color: var(--gold-1); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }
.footer-base { text-align: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--dim); }

/* ============================================================
   PAGE HEADERS (sub pages)
   ============================================================ */
.page-hero { position: relative; padding: 72px 0 56px; text-align: center; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 50% 0%, rgba(201,162,74,0.12), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { display: block; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(38px,4.4vw,56px); margin-bottom: 16px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 17px; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.crumbs b { color: var(--gold-2); }

/* ---- detailed service rows ---- */
.svc-detail { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.svc-detail .svc-card { text-align: left; }
.svc-detail .svc-ico { margin: 0 0 18px; }
.svc-detail ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.svc-detail li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); align-items: flex-start; }
.svc-detail li svg { width: 16px; height: 16px; color: var(--gold-2); flex: none; margin-top: 3px; }
.price-tag { font-family: var(--font-display); font-size: 17px; color: var(--gold-1); font-weight: 600; }

/* ---- brands ---- */
.brand-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-pill { padding: 10px 22px; border-radius: var(--r-pill); border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--ink); background: rgba(0,0,0,0.15); transition: border-color .2s, color .2s; }
.brand-pill:hover { border-color: var(--gold-2); color: var(--gold-1); }

/* ---- process steps ---- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); counter-reset: step; }
.step { padding: var(--pad-card); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-grad); position: relative; }
.step .num { font-family: var(--font-display); font-size: 46px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 14px; display: block; }
.step h4 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel-grad); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-family: var(--font-body); font-size: 16.5px; font-weight: 700; color: var(--ink-strong); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-grad); }
.stat .n { font-family: var(--font-display); font-size: 46px; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---- values list ---- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.value { padding: var(--pad-card); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-grad); }
.value .ico { width: 46px; height: 46px; color: var(--gold-2); margin-bottom: 16px; }
.value h4 { font-size: 21px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--muted); }

/* ---- contact page layout ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-row { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel-grad); align-items: flex-start; }
.info-row .ico { width: 38px; height: 38px; flex: none; color: var(--gold-2); }
.info-row h4 { font-family: var(--font-body); font-size: 14px; font-weight: 800; color: var(--gold-1); margin-bottom: 3px; }
.info-row p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.map-frame { margin-top: 14px; border-radius: var(--r-md); border: 1px solid var(--line); height: 220px; position: relative; overflow: hidden; background:
  linear-gradient(rgba(201,162,74,0.06) 1px, transparent 1px) 0 0/40px 40px,
  linear-gradient(90deg, rgba(201,162,74,0.06) 1px, transparent 1px) 0 0/40px 40px,
  var(--bg-2);
  display: grid; place-items: center; }
.map-pin { color: var(--gold-2); text-align: center; }
.map-pin svg { width: 36px; height: 36px; }
.map-pin span { display:block; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* inline contact form card */
.form-card { padding: 34px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-grad); }

/* ============================================================
   FORM CONTROLS (shared by modal + contact form)
   ============================================================ */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; letter-spacing: .01em; }
.field label .req { color: var(--gold-2); }
.input, .textarea, .select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 15px; color: var(--ink); font-family: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(201,162,74,0.16); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.textarea { resize: vertical; min-height: 110px; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: #c5564a; box-shadow: 0 0 0 3px rgba(197,86,74,0.14); }
.err-msg { color: #e08a7e; font-size: 12.5px; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* selectable option tiles */
.tiles { display: grid; gap: 12px; }
.tiles.cols-2 { grid-template-columns: 1fr 1fr; }
.tiles.cols-3 { grid-template-columns: repeat(3,1fr); }
.tile {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; transition: all .2s; color: var(--ink);
  font-family: inherit;
}
.tile:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.tile.sel { border-color: var(--gold-2); background: linear-gradient(160deg, rgba(201,162,74,0.16), rgba(18,15,9,0.3)); box-shadow: 0 0 0 1px rgba(201,162,74,0.3); }
.tile .ico { width: 30px; height: 30px; flex: none; color: var(--gold-2); }
.tile .ico svg { width: 100%; height: 100%; }
.tile .t-txt b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; }
.tile .t-txt span { font-size: 12.5px; color: var(--muted); }
.tile .check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: all .2s; }
.tile.sel .check { background: var(--gold-grad); border-color: transparent; }
.tile.sel .check svg { width: 12px; height: 12px; color: #1c1407; }
.tile:not(.sel) .check svg { display: none; }

/* chip multi-select */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 600;
  font-family: inherit; transition: all .2s;
}
.chip:hover { border-color: var(--gold-2); }
.chip.sel { background: var(--gold-grad); color: #1c1407; border-color: transparent; }

/* ============================================================
   ANFRAGE MODAL
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,4,2,0.72);
  backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px;
}
.modal {
  width: min(640px, 100%); max-height: 92vh; overflow: hidden;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop); display: flex; flex-direction: column;
}
@media (prefers-reduced-motion: no-preference) {
  .modal { animation: rise .35s cubic-bezier(.2,.8,.2,1); }
}
@keyframes rise { from { transform: translateY(24px) scale(.985); } }
.modal-head { padding: 22px 26px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.modal-head .m-title { display: flex; align-items: center; gap: 12px; }
.modal-head .m-title img { width: 38px; height: 38px; }
.modal-head h3 { font-size: 21px; white-space: nowrap; }
.modal-head .m-sub { font-size: 12.5px; color: var(--muted); }
.modal-close { background: none; border: 1px solid var(--line); border-radius: var(--r-sm); width: 38px; height: 38px; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: all .2s; flex: none; }
.modal-close:hover { color: var(--gold-1); border-color: var(--gold-2); }
.modal-close svg { width: 18px; height: 18px; }

/* progress */
.steps-bar { display: flex; gap: 8px; padding: 18px 26px 4px; }
.step-dot { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.step-dot .bar { height: 4px; border-radius: 3px; background: var(--line); transition: background .3s; }
.step-dot.done .bar, .step-dot.active .bar { background: var(--gold-grad); }
.step-dot .lbl { font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--dim); transition: color .3s; }
.step-dot.active .lbl, .step-dot.done .lbl { color: var(--gold-1); }

.modal-body { padding: 22px 26px; overflow-y: auto; }
.modal-body h4.step-title { font-size: 22px; margin-bottom: 4px; }
.modal-body p.step-desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.modal-foot { padding: 18px 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; }

/* success */
.success { text-align: center; padding: 30px 10px; }
.success .ok { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(201,162,74,0.12); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(0); } }
.success .ok svg { width: 42px; height: 42px; color: #1c1407; }
.success h3 { font-size: 27px; margin-bottom: 12px; }
.success p { color: var(--muted); max-width: 400px; margin: 0 auto 8px; }
.summary-box { text-align: left; margin: 24px auto 0; max-width: 420px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; background: var(--bg-2); }
.summary-box .row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.summary-box .row:last-child { border-bottom: none; }
.summary-box .row span { color: var(--muted); }
.summary-box .row b { color: var(--ink); font-weight: 700; text-align: right; }

/* ============================================================
   FLOAT CTA + scroll behaviors
   ============================================================ */
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
@media (min-width: 921px){ .float-cta { display: none; } }

/* reveal: never animate opacity (capture/clone tools render the first frame,
   which would read blank). Slide-up only; resting state fully visible. */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal-in .7s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes reveal-in { from { transform: translateY(22px); } to { transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .svc-grid, .contact-cards, .steps, .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 920px){
  .nav, .phone-btn { display: none; }
  .burger { display: grid; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; max-width: 460px; }
  .about-grid, .find-band, .contact-layout { grid-template-columns: 1fr; }
  .find-media { min-height: 240px; }
  .svc-detail, .values { grid-template-columns: 1fr; }
  .testi { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .testi-who { text-align: center; }
  .testi-mark { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .wrap { padding: 0 18px; }
  .svc-grid, .contact-cards, .steps, .stats, .footer-grid, .tiles.cols-2, .tiles.cols-3, .field-row { grid-template-columns: 1fr; }
  .util-bar { display: none; }
  .hero-trust { flex-direction: column; gap: 16px; }
  .ai-chip { width: 64px; height: 64px; font-size: 20px; top: 14px; right: 8px; }
  .modal-foot, .modal-head { padding-left: 18px; padding-right: 18px; }
}

/* mobile menu drawer */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(5,4,2,0.6); backdrop-filter: blur(4px); animation: fade .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(320px,84%); background: var(--bg-1); border-left: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; animation: slidein .3s ease; }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer-panel .nav-link { font-size: 19px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.drawer-panel .nav-link.active::after { display: none; }
.drawer-panel .btn { margin-top: 18px; justify-content: center; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }

/* re-add fade keyframe used by drawer scrim */
@keyframes fade-in { from { opacity: 0; } }
.drawer { animation: fade-in .2s ease; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz / AGB)
   ============================================================ */
.legal-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.legal-tab {
  padding: 11px 22px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--muted); font-family: inherit; font-weight: 700; font-size: 14.5px;
  cursor: pointer; transition: all .2s;
}
.legal-tab:hover { border-color: var(--gold-2); color: var(--gold-1); }
.legal-tab.active { background: var(--gold-grad); color: #1c1407; border-color: transparent; }
.legal-doc { max-width: 820px; margin: 0 auto; }
.legal-doc h2 { font-size: clamp(28px,3vw,38px); margin-bottom: 28px; }
.legal-block { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.legal-block:last-of-type { border-bottom: none; }
.legal-doc h3 { font-family: var(--font-body); font-size: 16px; font-weight: 800; color: var(--gold-1); margin-bottom: 10px; letter-spacing: .01em; }
.legal-doc p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc em { color: var(--ink); font-style: italic; }
.legal-note { margin-top: 28px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--r-md); font-size: 13.5px; color: var(--dim); background: rgba(0,0,0,0.15); }

/* ============================================================
   COOKIE CONSENT BAR
   ============================================================ */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: color-mix(in srgb, var(--bg-1) 94%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 50px -30px rgba(0,0,0,0.9);
  animation: cookie-rise .4s cubic-bezier(.2,.8,.2,1);
}
@media (prefers-reduced-motion: no-preference){ @keyframes cookie-rise { from { transform: translateY(101%); } } }
.cookie-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; gap: 22px;
}
.cookie-ico { width: 38px; height: 38px; flex: none; color: var(--gold-2); }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text b { display: block; font-size: 15px; color: var(--ink-strong); margin-bottom: 3px; }
.cookie-text p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cookie-link { background: none; border: none; padding: 0; color: var(--gold-1); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13.5px; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 720px){
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .cookie-ico { display: none; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
