/* waez-dev.de — eigenständige Design-Identität (dunkel, Blauakzent) */
:root {
    --grund: #141E27;
    --grund-hell: #1C2933;
    --linie: #2C3B47;
    --text: #E8ECEF;
    --text-gedaempft: #A7B7C2;
    --akzent: #5FB2E3;
    --akzent-tief: #2F7BA8;
    --wrap: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.0625rem; line-height: 1.65;
    background: var(--grund); color: var(--text);
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--akzent); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

a { color: var(--akzent); text-underline-offset: 3px; }
a:hover { color: #8CCBEE; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 10;
    background: var(--akzent); color: #06131C; padding: .75rem 1.25rem;
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf__zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; flex-wrap: wrap; }
.marke { font-size: 1.35rem; font-weight: 800; text-decoration: none; color: var(--text); }
.marke span { color: var(--akzent); }
.kopf nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.kopf nav a { text-decoration: none; color: var(--text-gedaempft); font-weight: 600; }
.kopf nav a:hover { color: var(--akzent); }

/* Held */
.held { padding-block: clamp(4rem, 10vw, 7.5rem); }
.held__kicker { color: var(--akzent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1rem; }
.held h1 { max-width: 21ch; }
.held__text { max-width: 52ch; font-size: 1.2rem; color: var(--text-gedaempft); }
.knopf {
    display: inline-block; margin-top: 1.25rem; padding: .8rem 1.6rem;
    background: var(--akzent); color: #06131C; font-weight: 700;
    text-decoration: none; border-radius: 4px;
}
.knopf:hover { background: #8CCBEE; color: #06131C; }
.knopf--zweit { background: transparent; color: var(--akzent); border: 2px solid var(--akzent-tief); margin-left: .5rem; }
.knopf--zweit:hover { background: var(--grund-hell); color: var(--akzent); }

/* Abschnitte */
section { padding-block: clamp(3rem, 7vw, 5rem); }
section + section { border-top: 1px solid var(--linie); }
.einleitung { color: var(--text-gedaempft); max-width: 60ch; }

.raster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); margin-top: 2rem; }
.karte {
    background: var(--grund-hell); border: 1px solid var(--linie);
    border-radius: 6px; padding: 1.5rem;
}
.karte h3 { color: var(--text); }
.karte p { color: var(--text-gedaempft); margin: 0; font-size: .98rem; }
.karte--akzent { border-top: 3px solid var(--akzent); }

/* Arbeitsweise / Messwerte */
.messwerte { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 2rem 0; }
.messwert { border-left: 3px solid var(--akzent); padding-left: 1rem; }
.messwert__zahl { display: block; font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.messwert__was { color: var(--text-gedaempft); font-size: .95rem; }
.prinzipien { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 62ch; }
.prinzipien li { padding: .45rem 0 .45rem 1.6rem; position: relative; color: var(--text-gedaempft); }
.prinzipien li::before { content: "→"; position: absolute; left: 0; color: var(--akzent); font-weight: 700; }
.prinzipien strong { color: var(--text); }

/* Projekte */
.projekt { border: 1px solid var(--linie); border-radius: 6px; padding: 1.5rem; background: var(--grund-hell); margin-top: 1.25rem; }
.projekt h3 { margin-bottom: .3rem; }
.projekt__tech { font-size: .85rem; color: var(--akzent); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; margin-bottom: .6rem; }
.projekt p:last-child { margin: 0; }

/* Kontakt */
.kontakt-block { background: var(--grund-hell); border: 1px solid var(--linie); border-radius: 6px; padding: 2rem; margin-top: 2rem; }
.kontakt-block a { font-weight: 700; }

/* Fuß */
footer { border-top: 1px solid var(--linie); padding-block: 1.75rem; font-size: .95rem; color: var(--text-gedaempft); }
.fuss__zeile { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; align-items: center; justify-content: space-between; }
footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }

/* Rechtsseiten */
.rechtsseite { padding-block: 3rem; }
.rechtsseite h1 { font-size: 2rem; }
.rechtsseite h2 { font-size: 1.3rem; margin-top: 2rem; }
.rechtsseite main { max-width: 46rem; }
