@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"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/fira-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/fira-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/fira-sans-latin-600-normal.woff2") format("woff2"); }

:root {
    --green: #b1e35c;
    --black: #000;
    --white: #fff;
    --grey: #e6e8e2;
    --text: #111;
    --error: #b00020;

    --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
    --font-sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --gutter: clamp(20px, 5vw, 96px);
    --maxw: 1640px;
    --indent: clamp(20px, 2.4vw, 40px);  
    --rule: 4px;                         

    --fs-display: clamp(2.6rem, 1.6rem + 3.4vw, 5rem);
    --fs-bar: clamp(1.25rem, 0.95rem + 1.1vw, 2.375rem);
    --fs-label: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
    --fs-body: clamp(1rem, 0.9rem + 0.4vw, 1.375rem);

    --logo-w: clamp(150px, 12vw, 250px);   /* Breite des Logos */
    --logo-text-start: 0.36;               /* Anteil der Logobreite, an dem der Schriftzug beginnt */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--fs-body);
    line-height: 1.6;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; box-shadow: 0 0 0 6px var(--black); }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--green); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--black); color: var(--green); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 8px; }

.bleed-mobile { margin-inline: calc(-1 * var(--gutter)); }

.display {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--fs-display);
    line-height: 1.05;
    letter-spacing: -0.01em;
    padding-left: var(--indent);
}
.display--md { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 5rem); }
.h3 {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2.375rem);
    line-height: 1.35;
}
.lead { font-size: var(--fs-body); line-height: 1.65; }

.highlight-bar {
    display: block;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--fs-bar);
    line-height: 1.35;
    padding: 0.35em var(--indent) 0.4em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font: 600 clamp(1.125rem, 1rem + 0.4vw, 1.5rem)/1.2 var(--font-sans);
}
.btn--cta { background: var(--black); color: var(--green); padding: 0.75em 1.4em; transition: background .2s, color .2s; }
.btn--cta::after {
    content: "";
    width: 0.85em; height: 1em;
    background: currentColor;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: transform .2s;
}
.btn--cta:hover { background: #1b1b1b; }
.btn--cta:hover::after { transform: translateX(4px); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px 16px;
    padding: 12px var(--gutter) 14px;
}
.site-header__logo { display: block; }
.site-header__logo img { width: var(--logo-w); height: auto; }
.site-nav { display: none; }
.site-header__cta { grid-column: 1 / -1; width: 100%; font-size: 1.125rem; padding: 0.5em 1em; }

@media (min-width: 768px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        max-width: calc(var(--maxw) + 2 * var(--gutter));
        margin-inline: auto;
        padding: 10px var(--gutter) 20px;
    }

    .site-header__logo {
        margin-left: max(calc(-1 * var(--logo-w) * var(--logo-text-start)), calc(8px - var(--gutter)));
    }
    .site-nav { display: flex; justify-self: end; gap: clamp(28px, 4vw, 72px); margin-right: clamp(28px, 5vw, 92px); }
    .site-nav a {
        font-family: var(--font-sans); font-weight: 400;
        font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.5rem);
        text-decoration: none; letter-spacing: 0.01em;
        background: linear-gradient(var(--green), var(--green)) 0 100% / 0 3px no-repeat;
        transition: background-size .25s;
    }
    .site-nav a:hover { background-size: 100% 3px; }
    .site-header__cta { grid-column: auto; width: auto; font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.5rem); padding: 0.6em 1.4em; }
}

.hero__media img { width: 100%; aspect-ratio: 406 / 520; object-fit: cover; }
.hero__text { background: var(--black); color: var(--white); padding: 18px var(--gutter) 40px; }
.hero__title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(2.2rem, 1.3rem + 3.8vw, 5rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.hero__title .accent, .hero__title-city { display: block; }
.hero__title-city { color: var(--white); }
.hero__subtitle {
    margin-top: 22px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(1.15rem, 0.8rem + 1.4vw, 2.375rem);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .hero__inner {
        position: relative;
        max-width: calc(var(--maxw) + 2 * var(--gutter));
        margin-inline: auto;
        padding-inline: var(--gutter);
    }
    .hero__media { position: relative; display: block; }
    .hero__media img { aspect-ratio: 1640 / 960; }
    .hero__media::after {   /* Verlauf für Lesbarkeit der Unterzeile */
        content: ""; position: absolute; inset: auto 0 0 0; height: 28%;
        background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
        pointer-events: none;
    }
    .hero__text {
        position: absolute;
        left: var(--gutter); right: var(--gutter); bottom: 0;
        background: none;
        padding: 0;
    }
    .hero__title {
        display: inline-block;
        background: var(--black);
        padding: 0.18em 0.45em 0.22em;
    }
    .hero__title .accent, .hero__title-city { display: inline; }
    .hero__subtitle {
        margin: 0;
        padding: 0.55em 0.9em 0.7em;
        text-shadow: 0 1px 12px rgba(0,0,0,.45);
    }
}

.intro { padding-top: 0; }
.intro__grid { display: grid; }
.intro__media { order: -1; margin-inline: calc(-1 * var(--gutter)); }
.intro__media img { width: 100%; aspect-ratio: 410 / 215; object-fit: cover; }
.intro__text { padding-top: 32px; }
.intro .display .line { display: block; }
.intro .highlight-bar { margin-top: 12px; }
.intro .lead { margin-top: 20px; }

/* Säulen */
.pillars { margin-top: 12px; }
.pillar {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    padding: 16px 0 16px 4px;
}
.pillar + .pillar { border-top: var(--rule) solid var(--green); }
.pillar__icon { flex: 0 0 auto; width: 56px; height: 56px; color: var(--black); }
.pillar__label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--fs-label);
    line-height: 1.35;
}

@media (min-width: 768px) {
    .intro { padding-top: clamp(40px, 5vw, 80px); }
    .intro__grid { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 50px); align-items: start; }
    .intro__media { order: 0; margin-inline: 0; }
    .intro__media img { aspect-ratio: 810 / 575; }
    .intro__text { padding-top: 16px; }
    .intro .highlight-bar { margin-top: 28px; }
    .intro .lead { margin-top: clamp(32px, 5vw, 80px); max-width: 780px; }

    .pillars {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: clamp(28px, 3vw, 44px);
    }
    .pillar { padding: clamp(20px, 2vw, 32px) clamp(12px, 2vw, 40px); }
    .pillar:first-child { padding-left: 4px; }
    .pillar:last-child { padding-right: 0; }
    .pillar + .pillar { border-top: 0; border-left: var(--rule) solid var(--green); }
    .pillar__icon { width: clamp(52px, 4.4vw, 72px); height: clamp(52px, 4.4vw, 72px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .pillar { flex-direction: column; align-items: flex-start; }
    .intro .display .line-lg { display: inline; }
}
@media (min-width: 1024px) {
    .intro .display .line-lg { display: block; }   /* Desktop: jedes Wort in eigener Zeile */
    .pillar { justify-content: center; }
    .pillar:first-child { justify-content: flex-start; }
    .pillar:last-child { justify-content: flex-end; }
}

.possibilities { display: grid; margin-top: 28px; }
.possibilities__media { margin-inline: calc(-1 * var(--gutter)); }
.possibilities__media img { width: 100%; aspect-ratio: 410 / 225; object-fit: cover; }
.possibilities__box {
    margin-inline: calc(-1 * var(--gutter));
    background: var(--green);
    padding: 36px var(--gutter) 40px;
}
.possibilities__box p { margin-top: 20px; }

@media (min-width: 768px) {
    .possibilities {
        grid-template-columns: 3fr 1fr;
        gap: clamp(16px, 1.3vw, 20px);
        margin-top: clamp(40px, 4.5vw, 76px);
        align-items: stretch;
    }
    .possibilities__media, .possibilities__box { margin-inline: 0; }
    .possibilities__media img { aspect-ratio: 1230 / 620; height: 100%; }
    .possibilities__box { padding: clamp(20px, 2vw, 36px) clamp(18px, 1.8vw, 30px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .possibilities { grid-template-columns: 1fr; }
}

.facts { display: grid; padding-top: 20px; }
.facts__media { order: -1; margin-inline: calc(-1 * var(--gutter)); }
.facts__media img { width: 100%; aspect-ratio: 410 / 280; object-fit: cover; }
.facts__text { padding-top: 24px; }
.facts .display { padding-left: 0; }
.facts .lead { margin-top: 18px; }
.fact-list { margin-top: 10px; }
.fact {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 36px);
    padding: 14px 0;
    border-bottom: var(--rule) solid var(--green);
}
.fact__icon { flex: 0 0 auto; width: 58px; height: 58px; }
.fact__label { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-label); line-height: 1.35; }

@media (min-width: 768px) {
    .facts { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 50px); padding-top: clamp(48px, 6vw, 100px); align-items: start; }
    .facts__media { order: 0; margin-inline: 0; }
    .facts__media img { aspect-ratio: 810 / 650; }
    .facts__text { padding-top: 0; }
    .facts .display { padding-left: var(--indent); }
    .fact { padding: clamp(16px, 1.8vw, 28px) 0; }
    .fact__icon { width: clamp(58px, 5vw, 80px); height: clamp(58px, 5vw, 80px); }
}

.newsletter { background: var(--grey); margin-top: clamp(20px, 3vw, 60px); padding: 26px 0 26px; }
.newsletter__grid { display: grid; gap: 24px; }
.newsletter__title { display: grid; }
.highlight-bar--title { font-size: clamp(1.2rem, 0.9rem + 1.1vw, 2.375rem); padding-block: 0.4em; }
.newsletter__big {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(2.4rem, 1.6rem + 3.4vw, 5rem);
    line-height: 1.1;
    text-align: center;
    padding-top: 0.08em;
}
.newsletter__intro .lead { margin-top: 12px; }

/* Formular */
.nl-form { position: relative; }
.nl-form__fields { display: grid; gap: 20px; }
.field { position: relative; }
.nl-form input[type="text"],
.nl-form input[type="email"],
.nl-form select {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 0;
    background: var(--white);
    color: var(--text);
    font: 400 1rem/1.2 var(--font-sans);
    padding: 0 8px;
    -webkit-appearance: none;
    appearance: none;
}
.nl-form ::placeholder { color: #222; opacity: 1; }
.nl-form select {
    padding-right: 52px;
    cursor: pointer;
    text-overflow: ellipsis;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M2 2l10 10L22 2' fill='none' stroke='%23555' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px 13px;
}
.nl-form select:invalid, .nl-form select.is-placeholder { color: #222; }
.nl-form .is-invalid { box-shadow: inset 0 0 0 2px var(--error); }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.field--check input {
    -webkit-appearance: none; appearance: none;
    width: 30px; height: 30px; margin: 0;
    background: var(--white);
    border: 0; border-radius: 0;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0 0;
    transition: background-size .12s ease-out;
}
.field--check input:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 20px 20px;
}
.field--check input:checked::before { transform: scale(1); }
.field--check label { font-size: 0.95rem; line-height: 1.55; font-weight: 400; cursor: pointer; }
.field--check label a { text-decoration: none; }
.field--check label a:hover { text-decoration: underline; }
.field--check .field__error { grid-column: 1 / -1; }

.field__error { margin-top: 6px; color: var(--error); font-size: 0.875rem; font-weight: 400; line-height: 1.4; }
.nl-form .btn--block { margin-top: 20px; font-size: 1.125rem; padding: 0.6em 1em; }
.nl-form__note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.5; color: #444; }

.nl-form__status { margin-bottom: 20px; padding: 14px 18px; font-weight: 400; font-size: 1rem; line-height: 1.5; border-left: 6px solid; background: var(--white); }
.nl-form__status.is-success { border-color: var(--green); }
.nl-form__status.is-error { border-color: var(--error); }
.nl-form.is-done .nl-form__fields,
.nl-form.is-done .btn,
.nl-form.is-done .nl-form__note { display: none; }
.nl-form.is-done .nl-form__status { font-size: 1.125rem; padding: 24px; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 768px) {
    .newsletter { padding: 30px 0 66px; }
    .newsletter__grid { grid-template-columns: 1fr 1fr; gap: clamp(32px, 9vw, 180px); align-items: start; }
    .newsletter__title { display: inline-grid; }
    .newsletter__big { text-align: left; padding-left: var(--indent); }
    .newsletter__intro .lead { margin-top: clamp(32px, 5vw, 90px); max-width: 680px; }
    .nl-form { margin-top: clamp(0px, 3.3vw, 62px); }
    .nl-form__fields { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
    .field--full { grid-column: 1 / -1; }
    .nl-form input[type="text"], .nl-form input[type="email"], .nl-form select { font-size: clamp(1rem, 0.9rem + 0.25vw, 1.125rem); }
    .field--check input { width: 58px; height: 50px; }
    .field--check { gap: 24px; }
    .field--check label { font-size: clamp(0.95rem, 0.85rem + 0.2vw, 1.0625rem); }
    .field--check input:checked { background-size: 28px 28px; }
    .nl-form .btn--block { margin-top: 38px; font-size: clamp(1.25rem, 1rem + 0.5vw, 1.625rem); padding: 0.62em 1em; }
}

.site-footer .container { padding-inline: 0; }
.site-footer__nav {
    display: flex;
    justify-content: center;
    gap: clamp(36px, 7vw, 120px);
    border-top: var(--rule) solid var(--black);
    margin-top: clamp(20px, 2.2vw, 40px);
    padding: 12px 0 20px;
}
.site-footer__nav a { text-decoration: none; font-weight: 400; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.5rem); }
.site-footer__nav a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; }
@media (min-width: 768px) {
    .site-footer .container { padding-inline: var(--gutter); }
}

.page { background: var(--grey); padding: clamp(28px, 4vw, 60px) 0 clamp(48px, 6vw, 100px); }
.page__inner { max-width: 1100px; }
.newsletter__big--page { text-align: left; padding-left: var(--indent); }
.page .newsletter__title { display: inline-grid; }
.page__body { margin-top: clamp(24px, 3vw, 48px); max-width: 720px; }
.page__body p + p, .page__body p + form, .page__body form { margin-top: 24px; }

.legal { overflow-wrap: anywhere; }
.legal h2 {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.375rem);
    line-height: 1.35;
    margin: 2em 0 0.5em;
    padding-top: 0.6em;
    border-top: var(--rule) solid var(--green);
}
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1em; line-height: 1.4; margin: 1.6em 0 0.3em; }
.legal h2 + h3 { margin-top: 0.8em; }
.legal p, .legal ul { font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); }
.legal p + p, .legal ul + p { margin-top: 0.8em; }
.legal ul { margin: 0.6em 0; padding-left: 1.3em; }
.legal li + li { margin-top: 0.4em; }
.legal a { text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: currentColor; }
