/* NetzWerk Social – Werte aus dem Style Guide (tokens.json) */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --werk: #1F2328;
  --netz: #E8590C;
  --netz-text: #C2410C;
  --netz-tint: #FDE7DA;
  --grund: #FFFFFF;
  --flaeche: #F3F2EF;
  --linie: #DEDCD7;
  --text-leise: #5B616B;
  --dunkel: #1F2328;
  --grund-hell: #FFFFFF;
  --font-netz: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-werk: "Zilla Slab", Rockwell, Georgia, serif;
  --font-text: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --schraege: 3.5vw;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--grund); color: var(--werk); }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 16px; }
img, svg { max-width: 100%; }

a { color: var(--netz-text); }
a:hover { color: var(--werk); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--netz); outline-offset: 2px;
}

/* Hintergrundgitter */
.lp-root { position: relative; background: var(--grund); color: var(--werk); font-family: var(--font-text); font-size: 16px; line-height: 24px; }
.lp-gitter { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.lp-root > :not(.lp-gitter) { position: relative; }

/* Schräge Bänder, abwechselnd gespiegelt (ca. 2°) */
.band-a { clip-path: polygon(0 var(--schraege), 100% 0, 100% calc(100% - var(--schraege)), 0 100%); }
.band-b { clip-path: polygon(0 0, 100% var(--schraege), 100% 100%, 0 calc(100% - var(--schraege))); }
.band-b-oben { clip-path: polygon(0 0, 100% var(--schraege), 100% 100%, 0 100%); }
.kippe-l { transform: rotate(-2deg); }
.kippe-r { transform: rotate(2deg); }
@media (prefers-reduced-motion: no-preference) {
  .kippe-l, .kippe-r { transition: transform .25s ease; }
  .kippe-l:hover, .kippe-r:hover { transform: rotate(0deg); }
}

/* Navigation */
.nav-desktop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-burger {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1px solid var(--linie); border-radius: 9999px; background: var(--grund); cursor: pointer; padding: 0;
}
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile { display: none; }
@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
}

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-rail { display: flex; flex-direction: row; align-items: center; }
.step-node { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-line { flex-grow: 1; height: 8px; background: var(--netz); margin: 0 -2px; }
.step-text { display: flex; flex-direction: column; gap: 8px; padding-right: 24px; }
@media (max-width: 720px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { flex-direction: row; gap: 20px; }
  .step-rail { flex-direction: column; align-items: center; }
  .step-line { width: 8px; height: auto; margin: -2px 0; }
  .step-text { padding: 3px 0 40px 0; }
  .step:last-child .step-text { padding-bottom: 0; }
}

/* Galerie-Filter */
.chip {
  font-family: var(--font-netz); font-weight: 500; font-size: 14px; min-height: 44px; padding: 0 18px;
  border-radius: 9999px; border: 1px solid var(--linie); background: var(--grund); color: var(--werk); cursor: pointer;
}
.chip[aria-pressed="true"] { border-color: var(--werk); background: var(--werk); color: var(--grund-hell); }

/* FAQ */
.faq { border-bottom: 1px solid var(--linie); }
.faq summary {
  list-style: none; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; cursor: pointer; font-family: var(--font-netz); font-weight: 600; font-size: 18px; line-height: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-zeichen {
  width: 28px; height: 28px; border-radius: 9999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--flaeche); font-size: 20px; line-height: 1;
}
.faq-zeichen::before { content: "+"; }
.faq[open] .faq-zeichen::before { content: "−"; }
.faq p { margin: 0; padding: 0 44px 24px 0; color: var(--text-leise); }

/* Formular */
.form-fehler { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 4px; background: var(--netz-tint); color: var(--werk); font-size: 15px; }
#kontakt-senden[disabled] { opacity: .6; cursor: wait; }

/* Unterseiten (Impressum, Datenschutz) */
.rechtstext { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; font-family: var(--font-text); line-height: 1.6; }
.rechtstext h1 { font-family: var(--font-netz); font-weight: 600; font-size: 40px; line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 32px; }
.rechtstext h2 { font-family: var(--font-netz); font-weight: 600; font-size: 22px; margin: 40px 0 8px; }
.rechtstext .zurueck { display: inline-block; margin-bottom: 32px; font-family: var(--font-netz); font-weight: 500; }
.rechtstext .hinweis { background: var(--netz-tint); padding: 16px 20px; border-radius: 4px; }
