/* Wilke Kommunikation – Stylesheet
   Farben zentral hier ändern: */
:root {
  --bg: #0f1115;
  --bg-alt: #171a20;
  --card: #1d2129;
  --line: #2a2f39;
  --text: #ece9e2;
  --muted: #a5a9b2;
  --accent: #f2a93b;      /* warmes Bühnenlicht */
  --accent-ink: #1a1306;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 6vw, 3.6rem); font-weight: 750; }
h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: .8em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 17, 21, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: 999px; font-weight: 650; }
.nav .nav-cta:hover { color: var(--accent-ink); filter: brightness(1.08); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .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); }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,.25) 0%, rgba(15,17,21,.55) 45%, rgba(15,17,21,.96) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { max-width: 16ch; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 44ch; color: #dcd8cf; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 62ch; font-size: 1.08rem; margin-bottom: 40px; }

/* Full-Service-Kasten */
.feature {
  background: linear-gradient(135deg, #2a2113 0%, var(--card) 70%);
  border: 1px solid #5a4422;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 56px;
}
.feature h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); max-width: 26ch; }
.feature p { color: #d4d1c9; max-width: 62ch; }
.chips { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid #5a4422; border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
.cards-title { color: var(--muted); font-weight: 600; margin-bottom: 18px; }

/* Leistungen */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { color: var(--text); }
.card h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border-top: 2px solid var(--accent); background: var(--card); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: "0" counter(step); display: block; font-size: 2rem; font-weight: 750; color: var(--accent); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* Galerie */
/* Raster: g-big = 2×2 Felder, g-tall = 1×2 (Hochformat), g-wide = 2×1 */
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; grid-auto-flow: dense; gap: 10px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery .m-full { grid-column: span 2; } /* nur auf dem Handy volle Breite, damit keine Lücke bleibt */
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px; font-size: .78rem; line-height: 1.3; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(15,17,21,.85));
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 14px; }
  .gallery .m-full { grid-column: auto; }
  .gallery figcaption { font-size: .92rem; padding: 36px 18px 14px; }
}
.gallery-more { margin: 28px 0 0; text-align: center; }

/* Über mich */
.about { display: grid; gap: 40px; align-items: center; }
.about-img { border-radius: var(--radius); max-width: 380px; width: 100%; }
.about p { color: #d4d1c9; max-width: 60ch; }
@media (min-width: 820px) { .about { grid-template-columns: 380px 1fr; gap: 64px; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 28px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s; }
.contact-item:hover { border-color: var(--accent); }
.contact-item .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-item .value { font-size: 1.1rem; font-weight: 600; word-break: break-word; }
.small { color: var(--muted); font-size: .92rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .92rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* Rechtstexte */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.5em; }
.legal p, .legal li { color: #d4d1c9; }

/* Markierte Lücken – vor dem Livegang ausfüllen und entfernen */
.gap {
  background: #fff3c4; color: #4a3a00;
  border-left: 4px solid #e0a800;
  padding: 10px 14px; border-radius: 6px;
  font-size: .95rem; margin: 18px 0;
}
.legal .gap { color: #4a3a00; }
.todo { background: #fff3c4; color: #4a3a00; padding: 0 4px; border-radius: 4px; }

/* Anfrageformular */
.anfrage { margin: 8px 0 28px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.anfrage h3 { margin-bottom: .25em; }
.anfrage .muted { color: var(--muted); }
.anfrage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 18px; margin: 18px 0; }
.anfrage label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.anfrage .breit { grid-column: 1 / -1; margin-bottom: 14px; }
.anfrage input, .anfrage select, .anfrage textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.anfrage input:focus, .anfrage select:focus, .anfrage textarea:focus { outline: none; border-color: var(--accent); }
.anfrage .technik { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.anfrage .technik legend { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.anfrage .technik label, .anfrage .zustimmung { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: .95rem; }
.anfrage .zustimmung { align-items: flex-start; margin-bottom: 18px; }
.anfrage input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; padding: 0; }
.anfrage .honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.anfrage-meldung { margin: 12px 0 0; font-weight: 600; }
.anfrage-meldung.ok { color: #6fd38a; }
.anfrage-meldung.fehler { color: #ff8a80; }
