:root {
    color-scheme: light;
    --color-forest: #17352b;
    --color-forest-light: #244b3b;
    --color-accent: #d3e36a;
    --color-gold: #dcae1d;
    --color-gold-hover: #f0c230;
    --color-page: #f5f6f1;
    --color-surface: #fff;
    --color-text: #1d2924;
    --color-muted: #63716a;
    --color-border: #dce2dc;
    --color-error: #9c2c24;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background: var(--color-page);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
}

.site-header {
    position: relative;
    z-index: 1;
    background: var(--color-forest);
    color: #fff;
}

.header-inner,
.footer-inner,
.page-main {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.brand img {
    width: 220px;
    height: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a,
.site-footer a {
    text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.menu-toggle {
    display: none;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    background: rgb(211 211 211 / 10%);
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: var(--color-gold);
    color: #000;
    background: var(--color-gold);
}

.page-main {
    flex: 1;
    padding-block: 48px 64px;
}

.hero {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--color-forest-light);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.hero h1,
.results-heading h1 {
    margin: 0;
    color: var(--color-forest);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
}

.hero-copy,
.results-summary {
    color: var(--color-muted);
    line-height: 1.6;
}

.search-panel {
    width: min(820px, 100%);
    margin-inline: auto;
    padding: clamp(22px, 5vw, 42px);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: 0 14px 40px rgb(23 53 43 / 8%);
}

.panel-heading {
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
}

.panel-heading h2 {
    margin: 0;
    color: var(--color-forest);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.step-status {
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: .9rem;
}

/* Schritt 2 und 3: Hero und Eyebrow ausblenden, Schrittanzeige über die Überschrift */
body:is([data-step="2"], [data-step="3"]) .hero .eyebrow,
body:is([data-step="2"], [data-step="3"]) .hero h1,
body:is([data-step="2"], [data-step="3"]) .panel-heading .eyebrow,
body:is([data-step="2"], [data-step="3"]) .field-label:not(:has(input)) {
    display: none;
}

.hero-selection {
    margin: 8px 0 0;
    min-height: 1.2em;
    color: #fff;
    font-size: clamp(1.3rem, 3.2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

/* Schritt 2 reserviert den Platz der Auswahlzeile aus Schritt 3, damit die Überschrift nicht springt */
body[data-step="2"] .hero-selection[hidden] {
    display: block !important;
    visibility: hidden;
}

.hero-step-title {
    display: none;
    margin: 0;
    color: #fff;
    font-size: clamp(1.92rem, 4.8vw, 3.36rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

body:is([data-step="2"], [data-step="3"]) .hero-step-title {
    display: block;
}

.home .text-input,
.home .text-input:focus {
    border-color: var(--color-gold);
    outline-color: var(--color-gold);
}

.home .text-input.needs-selection {
    animation: selection-pulse 3s ease-in-out infinite;
}

@keyframes selection-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgb(235 140 20 / 0%);
    }

    50% {
        box-shadow: 0 0 0 10px rgb(235 140 20 / 55%);
    }
}

.home .text-input.needs-selection::placeholder {
    color: #757575;
    opacity: 1;
}

.home .text-input.warn-selection::placeholder {
    animation: placeholder-pulse 3s ease-in-out infinite;
}

@keyframes placeholder-pulse {
    0%, 100% {
        color: #dcdcdc;
    }

    50% {
        color: #757575;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home .text-input.needs-selection,
    .home .text-input.warn-selection::placeholder {
        animation: none;
    }
}

body:is([data-step="2"], [data-step="3"]) .step-status {
    order: -1;
    margin: 0 0 8px;
}

#continue-to-filters,
#submit-search {
    color: #111;
    background: var(--color-gold);
    font-size: 1.3rem;
}

#continue-to-filters:hover,
#submit-search:hover {
    background: var(--color-gold-hover);
}

.choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.choice-card {
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 8px;
    color: #111;
    background: var(--color-gold);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
    transform: translateY(-2px);
    background: var(--color-gold-hover);
}

.choice-icon {
    display: block;
    width: 40px;
    height: 40px;
}

.wizard-step {
    display: grid;
    gap: 18px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-label {
    display: grid;
    gap: 8px;
    color: var(--color-forest);
    font-size: .95rem;
    font-weight: 700;
}

.text-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #bdc9c1;
    border-radius: 8px;
    color: var(--color-text);
    background: #fff;
}

.text-input:focus {
    outline: 3px solid rgb(211 227 106 / 65%);
    border-color: var(--color-forest-light);
}

.wizard-actions,
.results-heading,
.results-toolbar,
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wizard-actions {
    margin-top: 6px;
}

.button {
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    color: var(--color-forest);
    background: var(--color-accent);
}

.button-primary:hover {
    background: #c7d957;
}

.button-secondary {
    border-color: var(--color-border);
    color: var(--color-forest);
    background: #fff;
}

.button-secondary:hover {
    border-color: var(--color-forest-light);
}

.notice {
    margin-bottom: 18px;
    color: var(--color-muted);
}

.notice-error {
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--color-error);
    background: #fff0ed;
}

.results-main {
    padding-top: 38px;
}

.content-main {
    width: min(840px, calc(100% - 32px));
}

.content-panel {
    padding: clamp(22px, 5vw, 42px);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: 0 14px 40px rgb(23 53 43 / 8%);
}

.content-panel h1 {
    margin: 0 0 28px;
    color: var(--color-forest);
    font-size: clamp(2rem, 5vw, 2.8rem);
}

.content-panel section + section {
    margin-top: 28px;
}

.content-panel h2 {
    margin: 0 0 10px;
    color: var(--color-forest);
    font-size: 1.15rem;
}

.content-panel p {
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.results-heading {
    margin-bottom: 24px;
}

.results-heading h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.results-summary {
    margin-bottom: 0;
}

.results-toolbar {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.sort-label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 700;
}

.sort-chip {
    padding: 6px 14px;
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    color: #111;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

.sort-chip:hover,
.sort-chip.is-active {
    background: rgb(220 174 29 / 20%);
}

.sort-chip.is-active:hover {
    background: rgb(220 174 29 / 35%);
}

.results-list {
    display: grid;
    gap: 14px;
}

.offer-card {
    min-width: 0;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.offer-heading {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-icon {
    flex: none;
    width: 28px;
    height: 28px;
}

.offer-card h2 {
    margin: 0;
    color: var(--color-forest);
    font-size: 1.15rem;
}

.offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--color-muted);
    font-size: .92rem;
}

.offer-meta strong {
    color: var(--color-text);
    font-weight: 700;
}

.offer-price {
    margin: 12px 0 0;
    color: var(--color-forest);
    font-size: 1.1rem;
    font-weight: 700;
}

.breadcrumb {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: var(--color-muted);
    font-size: .8rem;
}

.breadcrumb a {
    color: var(--color-forest);
}

.breadcrumb [aria-current] {
    overflow-wrap: anywhere;
}

.offer-page-main {
    padding-top: 24px;
    max-width: 760px;
}

.offer-page {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    overflow: hidden;
}

.offer-page h1 {
    margin: 0;
    padding: 18px 20px 14px;
    color: var(--color-forest);
    font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.offer-page-image {
    width: 100%;
    max-height: 420px;
    display: block;
    object-fit: cover;
}

.offer-page-body {
    padding: 18px 20px 22px;
}

.offer-page-price {
    margin: 0 0 14px;
    color: var(--color-gold);
    font-size: 1.8rem;
    font-weight: 700;
}

.offer-page-facts {
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 6px 10px;
    font-size: .95rem;
}

.offer-page-facts dt {
    font-weight: 700;
}

.offer-page-facts dd {
    margin: 0;
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

.offer-page-button {
    width: 100%;
    color: #111;
    background: var(--color-gold);
}

.offer-page-button:hover {
    background: var(--color-gold-hover);
}

.offer-page-note {
    margin: 14px 0 8px;
    font-size: .8rem;
    line-height: 1.5;
}

.offer-page-error {
    margin: 0;
    font-size: .8rem;
}

.offer-page-error a {
    color: var(--color-error);
    font-weight: 700;
    text-decoration: none;
}

.pagination {
    justify-content: center;
    margin-top: 24px;
}

.pagination-status {
    color: var(--color-muted);
    font-size: .9rem;
}

.site-footer {
    padding-block: 24px;
    color: #fff;
    background: transparent;
    overflow-x: clip;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-inner p {
    margin: 0;
    color: rgb(255 255 255 / 78%);
    font-size: .9rem;
}

.footer-row-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    isolation: isolate;
}

.footer-row-primary::before {
    position: absolute;
    top: -24px;
    bottom: -24px;
    right: 50%;
    width: 100vw;
    background: rgb(0 0 0 / 55%);
    content: "";
    z-index: -1;
    transform: translateX(50%);
}
    display: grid;
    gap: 6px;
}

.footer-inner .footer-heading {
    color: #fff;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-size: .75rem;
}

.footer-links a {
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color .15s;
}

.footer-links a:hover {
    background: rgb(240 240 240 / 25%);
    text-decoration: none;
}

.footer-row-secondary {
    width: min(100%, 760px);
    margin-inline: auto;
    padding-bottom: 20px;
    order: -1;
    position: relative;
    isolation: isolate;
}

.footer-row-secondary::before {
    position: absolute;
    top: -24px;
    bottom: 0;
    right: 50%;
    width: 100vw;
    background: rgb(0 0 0 / 20%);
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    content: "";
    z-index: -1;
    transform: translateX(50%);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.footer-column h3 {
    margin: 0 0 4px;
    font-size: .8rem;
    font-weight: 300;
}

.footer-column-toggle {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font: inherit;
    cursor: default;
}

.footer-column-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.footer-column a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 300;
    transition: background-color .15s;
}

.footer-column a:hover {
    background: rgb(254 245 227 / 25%);
    text-decoration: none;
}

/* Startseite: Hintergrundbild liegt auf der ganzen Seite, damit es durch den Footer scheint */
.home {
    background:
        linear-gradient(90deg, rgb(10 25 20 / 70%), rgb(10 25 20 / 25%) 65%, rgb(10 25 20 / 10%)),
        url("../MEDIA/pexels-com-de-de-foto-jager-durchstreift-offenes-feld-in-florida-35392317.jpg") center / cover no-repeat;
}

.home .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(rgb(10 25 20 / 70%), transparent);
}

/* Menülinks auf der Startseite: Button-Form, Hover mit leicht transparentem Schwarz */
@media (min-width: 641px) {
    .home .site-nav {
        gap: 8px;
    }

    .home .site-nav a {
        padding: 8.5px 13.5px;
        border-radius: 7px;
        transition: background-color .16s ease;
    }

    .home .site-nav a:hover,
    .home .site-nav a:focus-visible {
        background: rgb(0 0 0 / 55%);
        text-decoration: none;
    }
}

.home-main {
    flex: 1;
    min-height: min(820px, 100vh);
    padding: 150px max(16px, calc((100% - 1120px) / 2)) 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.home .hero {
    max-width: 640px;
    margin: 0 0 28px;
    text-align: left;
}

.home .hero .eyebrow,
.home .hero h1,
.home .hero-copy {
    color: #fff;
    text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

.home .hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.home .hero-copy {
    font-size: 1.05rem;
}

.home .search-panel {
    margin-inline: 0;
    border: 0;
    color: #fff;
    background: rgb(0 0 0 / 40%);
    backdrop-filter: blur(6px);
    box-shadow: none;
}

.home .search-panel .eyebrow,
.home .panel-heading h2,
.home .step-status,
.home .notice,
.home .field-label {
    color: #fff;
}

/* Schritt 1: Buttons stehen frei auf dem Bild, Überschrift bleibt nur für Screenreader */
.home .search-panel:has(#step-route:not([hidden])) {
    width: auto;
    padding: 0;
    background: none;
    backdrop-filter: none;
}

.home .search-panel:has(#step-route:not([hidden])) .panel-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/* Ergebnisseite: weißer Hintergrund, Optik wie die Startseiten-Schritte */
.results-page {
    background: #fff;
}

:root:has(.results-page) {
    background: #fff;
}

.results-page .site-header {
    border-bottom: 1px solid var(--color-gold);
    color: #000;
    background: #fff;
}

.results-page .site-nav a {
    color: #000;
    transition: background-color .16s ease;
}

@media (min-width: 641px) {
    .results-page .site-nav a {
        padding: 8.5px 13.5px;
        border-radius: 7px;
        white-space: nowrap;
    }
}

.results-page .site-nav a:hover,
.results-page .site-nav a:focus-visible {
    background: rgb(220 174 29 / 75%);
    text-decoration: none;
}

.results-page .menu-toggle {
    border-color: var(--color-gold);
    color: #000;
    background: #fff;
}

.results-page .site-footer {
    color: #000;
    background: #fff;
}

.results-page .footer-inner p,
.results-page .footer-inner .footer-heading,
.results-page .footer-column h3 {
    color: #000;
}

.results-page .footer-row-primary::before,
.results-page .footer-row-secondary::before {
    background: #fff;
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
}

.results-page .footer-links a:hover,
.results-page .footer-column a:hover {
    background: rgb(220 174 29 / 75%);
}

.results-page .results-heading h1 {
    margin: 0;
    color: #000;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
}

.results-page .button-primary {
    color: #111;
    background: var(--color-gold);
}

.results-page .button-primary:hover {
    background: var(--color-gold-hover);
}

/* Angebotsbutton: Gelb auf 50 % entschärft */
.results-page .offer-card .button-primary {
    border: 1px solid transparent;
    background: rgb(220 174 29 / 50%);
}

.results-page .offer-card .button-primary:hover {
    border-color: #8f7113;
    background: rgb(220 174 29 / 80%);
}

.results-page .button-secondary {
    border-color: var(--color-gold);
    color: #111;
}

.results-page .button-secondary:hover:not(:disabled) {
    background: rgb(220 174 29 / 20%);
}

.results-page .text-input:not(.filter-box .text-input),
.results-page .text-input:not(.filter-box .text-input):focus {
    border-color: var(--color-gold);
    outline-color: var(--color-gold);
}

.results-page .offer-card {
    border-radius: 8px;
}

/* Inhaltsseiten (Impressum, Kontakt, Datenschutz): weiß, Überschrift wie die Ergebnisseite */
.results-page .content-panel {
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    color: #000;
    background: #fff;
    box-shadow: none;
}

.results-page .content-panel .eyebrow {
    display: none;
}

.results-page .content-panel h1 {
    color: #000;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
}

.results-page .content-panel h2 {
    color: #000;
}

.results-page .content-panel a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 3px;
}

.filter-panel {
    width: min(560px, 100%);
    margin-bottom: 20px;
    padding: clamp(14px, 3vw, 20px);
    display: grid;
    gap: 14px;
    border-radius: 18px;
    background: #f3ead8;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.filter-box {
    min-width: 0;
    padding: 8px 14px 10px;
    display: block;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    cursor: text;
}

.filter-box:focus-within {
    border-color: var(--color-gold);
    outline: 2px solid var(--color-gold);
}

.filter-box-wide {
    grid-column: 1 / -1;
}

.filter-caption {
    display: block;
    color: var(--color-muted);
    font-size: .75rem;
    font-weight: 400;
}

.filter-box .text-input,
.filter-box .text-input:focus {
    min-height: 0;
    padding: 2px 0 0;
    border: 0;
    outline: 0;
    border-radius: 0;
    color: var(--color-text);
    background: transparent;
    font-weight: 700;
}

.filter-box .text-input::placeholder {
    color: #9a9a9a;
    font-weight: 400;
}

.filter-field {
    position: relative;
    display: block;
}

.filter-field .text-input {
    padding-right: 32px;
}

/* Natives Löschkreuz ausblenden, es bleibt nur .filter-clear */
.filter-field .text-input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
}

/* Nur eine Option: Dropdown-Pfeil der Datalist ausblenden */
.text-input.single-option::-webkit-calendar-picker-indicator {
    display: none !important;
}

.filter-clear {
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    color: #777;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.filter-clear:hover {
    color: var(--color-text);
    background: rgb(0 0 0 / 8%);
}

.filter-submit {
    grid-column: 1 / -1;
}

/* Desktop: beiger Balken quer über die Seite, alle Elemente in einer Zeile */
@media (min-width: 861px) {
    .results-page {
        overflow-x: clip;
    }

    .filter-panel {
        width: 100vw;
        margin-inline: calc(50% - 50vw);
        padding: 16px 20px;
        border-radius: 0;
    }

    .filter-grid {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .filter-box-wide {
        flex: 0 1 240px;
    }

    .filter-box:not(.filter-box-wide) {
        flex: 0 1 140px;
    }

    .filter-submit {
        flex: 0 0 auto;
        margin-left: 10px;
    }
}

@media (max-width: 640px) {
    .filter-grid {
        gap: 10px;
    }

    /* Wizard-Buttons in Schritt 3 einzeilig: kleinere Schrift, weniger Innenabstand */
    #step-filters .wizard-actions {
        gap: 8px;
    }

    #step-filters .wizard-actions .button {
        padding: 8px 10px;
        font-size: .85rem;
        white-space: nowrap;
    }

    #step-filters #submit-search {
        flex: 1 1 auto;
        font-size: .95rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 66px;
    }

    .home-main {
        padding-block: 110px 56px;
    }

    .brand img {
        width: 180px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        display: none;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid rgb(255 255 255 / 15%);
        border-radius: 10px;
        background: #fef5e3;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 8px;
        border-radius: 8px;
        color: var(--color-text);
        transition: background-color .15s;
    }

    .site-nav a:hover {
        background: rgb(0 0 0 / 10%);
        text-decoration: none;
    }

    .page-main {
        padding-block: 34px 44px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .choice-card {
        width: 100%;
    }

    .results-heading,
    .offer-card,
    .footer-inner {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .results-heading .button,
    .offer-card .button {
        width: 100%;
    }

    .footer-inner {
        display: flex;
    }

    .footer-row-primary {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-intro {
        width: 100%;
    }

    .footer-inner p {
        font-size: .72rem;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-links a {
        padding: 8px 10px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-row-secondary {
        padding-bottom: 0;
    }

    /* Obere Linie am Container statt an Spalte 1, damit alle drei Zeilen exakt gleich hoch sind */
    .footer-columns {
        border-top: 1px solid rgb(255 255 255 / 15%);
    }

    .footer-column {
        width: 100%;
        gap: 0;
        border-bottom: 1px solid rgb(255 255 255 / 15%);
    }

    .footer-column h3 {
        width: 100%;
        margin: 0;
    }

    .footer-column-toggle {
        width: 100%;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        line-height: 1;
        text-align: left;
        cursor: pointer;
    }

    .footer-column-toggle::after {
        content: "+";
        font-size: 1rem;
        line-height: 1;
    }

    .footer-column-toggle[aria-expanded="true"]::after {
        content: "\2212";
    }

    .footer-column-links {
        display: none;
        padding-bottom: 12px;
    }

    .footer-column.is-open .footer-column-links {
        display: flex;
    }
}

@media (max-width: 340px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 380px) {
    .header-inner {
        gap: 8px;
    }

    .wizard-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wizard-actions .button {
        width: 100%;
        min-width: 0;
        padding-inline: 10px;
        font-size: .9rem;
    }
}
