/* Schriften lokal eingebunden (kein Google-Fonts-Abruf, DSGVO) */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Farben: Dunkel (Standard) ---------- */
:root {
  --bg: #1F2327; --bg2: #262B30; --card: #2B3136; --line: #3A4148;
  --text: #ECEEF0; --body: #C9CED3; --muted: #A3AAB1; --grid: #272C31;
  --btn-bg: #E8EAEC; --btn-text: #1F2327;
  --deco: #9AA3AC; --deco-opacity: .28;
  --img-filter: invert(.88) grayscale(1) contrast(.95);
  --contact-bg: #171A1D; --form-bg: #22272B; --input-bg: #1A1E21; --input-border: #4A525A;
  --ok: #8FD3A8; --err: #F2A7A0;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
/* ---------- Farben: Hell ---------- */
:root[data-theme="light"] {
  --bg: #F5F5F2; --bg2: #FFFFFF; --card: #FFFFFF; --line: #DCDDD9;
  --text: #1E2226; --body: #3D4247; --muted: #5A6066; --grid: #E6E7E3;
  --btn-bg: #2E3338; --btn-text: #FFFFFF;
  --deco: #5A6066; --deco-opacity: .22;
  --img-filter: none;
  --contact-bg: #2E3338; --form-bg: #FFFFFF; --input-bg: #FFFFFF; --input-border: #A9ADB1;
  --ok: #1F6B3A; --err: #A1251B;
  color-scheme: light;
}

/* ---------- Live-Schalter: Baustelle vs. Seite ---------- */
html[data-mode="soon"] .site { display: none; }
html[data-mode="live"] .soon { display: none; }
html:not([data-mode]) .site, html:not([data-mode]) .soon { visibility: hidden; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
a { color: inherit; }
a:hover { opacity: .8; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-weight: 600; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: 1.375rem; }
p { margin: 0; }
.lead { font-size: 1.25rem; color: var(--body); max-width: 680px; }
.text { font-size: 1.125rem; color: var(--body); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid var(--text); background: var(--bg); color: var(--text);
}
.btn--primary { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }

/* ---------- Header ---------- */
.header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--bg); }
.header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--btn-bg); color: var(--btn-text); font-family: var(--mono); font-weight: 500; font-size: 16px; letter-spacing: .04em; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-weight: 600; font-size: 17px; }
.brand__sub { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav .nav__cta { padding: 10px 18px; border: 1px solid var(--text); }
.theme-toggle {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; padding: 0;
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- Dekoration (Code + Drahtgitter) ---------- */
.has-deco { position: relative; overflow: hidden; }
.has-deco > .wrap { position: relative; z-index: 1; }
.deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; opacity: var(--deco-opacity); color: var(--deco); }
pre.deco { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; }
svg.deco { fill: none; stroke: currentColor; stroke-width: 1; }
/* Positionen */
.deco--hero-code { left: -8px; bottom: 10px; }
.deco--hero-wire { right: -60px; bottom: -40px; }
.deco--svc-code { right: -12px; top: 48px; }
.deco--svc-wire { left: -70px; bottom: 40px; }
.deco--about-wire { right: -50px; top: -30px; }
.deco--contact-code { left: -8px; bottom: 24px; }

/* Handy: kleiner, blasser, als Wasserzeichen hinter dem Inhalt */
@media (max-width: 760px) {
  .deco { opacity: calc(var(--deco-opacity) * .6); }
  .contact .deco { opacity: .14; }
  pre.deco { font-size: 9.5px; line-height: 1.6; }
  svg.deco { width: 170px; height: 170px; }
  .deco--hero-code { left: auto; right: -110px; top: 12px; bottom: auto; }
  .deco--hero-wire { right: -50px; bottom: -30px; }
  .deco--svc-code { right: -150px; top: 18px; }
  .deco--svc-wire { left: -60px; bottom: 16px; }
  .deco--about-wire { right: -40px; top: -20px; }
  .deco--contact-code { left: -6px; bottom: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(56px, 10vw, 112px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__text h1 { max-width: 880px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero__media { flex: 1 1 320px; max-width: 460px; min-width: 0; }
.hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); filter: var(--img-filter); transition: filter .3s; }

/* ---------- Fakten ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { padding: 32px 24px 32px 0; display: flex; flex-direction: column; gap: 4px; }
.fact__value { font-size: 2rem; font-weight: 600; }
.fact__label { color: var(--muted); font-size: 15px; }

/* ---------- Abschnitte ---------- */
.section .wrap { padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(64px, 10vw, 112px); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.services .wrap { display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.card__no { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.card p { color: var(--body); }

.band { background: #1E2226; }
.band img { display: block; width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; }

.about { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; border: 1px dashed var(--muted); background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-family: var(--mono); font-size: 14px; }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 0; margin: 0; list-style: none; }
.tags li { padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; }

/* ---------- Kontakt ---------- */
.contact { background: var(--contact-bg); color: #FFFFFF; }
.contact .deco { color: #8A939C; opacity: .22; }
.contact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; }
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.contact__info .eyebrow { color: #C3C8CD; }
.contact__info p { font-size: 1.125rem; color: #E4E6E8; }
.contact__address { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; color: #E4E6E8; font-style: normal; }
.contact__address strong { color: #FFFFFF; font-weight: 600; }
.contact__address a { color: #FFFFFF; padding-top: 8px; }

.form { background: var(--form-bg); color: var(--text); border: 1px solid var(--line); padding: clamp(24px, 5vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--input-border); font: inherit; background: var(--input-bg); color: var(--text); border-radius: 0; }
.field textarea { padding: 12px 14px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn--primary { justify-content: center; }
.form__status { margin: 0; padding: 12px 14px; border: 1px solid currentColor; font-size: 15px; }
.form__status--ok { color: var(--ok); }
.form__status--err { color: var(--err); }
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; gap: 24px; }

/* ---------- Baustellen-Seite ---------- */
.soon { min-height: 100vh; display: flex; flex-direction: column; }
.soon__main { flex: 1; display: flex; align-items: center; }
.soon__main .wrap { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.soon__main h1 { max-width: 760px; }

/* ---------- Rechtstexte ---------- */
.legal .wrap { max-width: 820px; padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px); }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 1.375rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1.125rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
