:root {
    --bg: #eef2f6;
    --bg-soft: #e6ebf1;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --surface-muted: #eef3f8;
    --surface-input: #ffffff;
    --border: #d8e1ec;
    --border-strong: #c5d0dd;
    --text: #1f2a36;
    --text-muted: #566473;
    --text-soft: #5a6b7d;
    --brand: #2f5f9b;
    --brand-strong: #244b7c;
    --brand-deep: #17365f;
    --brand-soft: #e9f0f8;
    --focus-ring: #ffffff;
    --focus-ring-outer: var(--brand-deep);
    --success: #2f6e52;
    --success-bg: rgba(47, 110, 82, 0.1);
    --danger: #9a414b;
    --danger-bg: rgba(154, 65, 75, 0.1);
    --shadow-sm: 0 10px 24px rgba(17, 37, 63, 0.06);
    --shadow-md: 0 16px 36px rgba(17, 37, 63, 0.08);
    --shadow-lg: 0 22px 48px rgba(17, 37, 63, 0.1);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-xl: 18px;
    --container: min(1160px, calc(100% - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f2f5f8 0%, var(--bg) 38%, var(--bg-soft) 100%);
    color: var(--text);
    font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
    line-height: 1.6;
}

body.page,
body.admin-page {
    min-height: 100vh;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

h1,
h2,
h3,
.brand-text,
.eyebrow,
.section-step,
.service-card-number,
.contact-label,
.highlight-chip {
    font-family: "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", sans-serif;
    letter-spacing: 0.01em;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
}

p,
ul {
    margin: 0;
}

.skip-link {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 300;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--focus-ring-outer);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--focus-ring-outer);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.brand,
.site-nav,
.hero-shell > *,
.hero-points > *,
.trust-strip > *,
.home-overview-points > *,
.home-service-grid > *,
.home-process-grid > *,
.home-cta-shell > *,
.contact-shell > *,
.contact-support-list > *,
.form-panel-head > *,
.form-grid > *,
.service-selector > *,
.form-actions > *,
.footer-inner > * {
    min-width: 0;
}

.brand-text,
.nav-link,
.button,
.eyebrow,
.page-header-copy,
.hero-content h1,
.hero-lead,
.hero-points span,
.hero-contact-item a,
.hero-contact-item p,
.home-overview-copy p,
.service-card h3,
.service-card > p,
.service-card li,
.service-card-link,
.process-card h3,
.process-card p,
.home-contact-card p,
.contact-copy,
.contact-support-item a,
.contact-support-item p,
.page-header-facts li,
.highlight-chip,
.form-panel-copy,
.section-copy,
.form-group label,
.field-hint,
.field-error,
.form-meta,
.footer-links a,
.prose p,
.prose li {
    overflow-wrap: anywhere;
}

.site-main {
    min-height: calc(100vh - 200px);
}

.content-section {
    padding: 0 0 36px;
}

.page-header {
    position: relative;
    padding: 118px 0 34px;
    background: linear-gradient(135deg, rgba(28, 72, 126, 0.96), rgba(63, 115, 189, 0.94));
    overflow: hidden;
}

.page-header::before,
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/image.png");
    background-repeat: repeat-x;
    background-position: center 24px;
    background-size: 100% auto;
    opacity: 0.82;
    pointer-events: none;
}

.page-header::after,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 51, 95, 0.86), rgba(46, 94, 163, 0.82));
    pointer-events: none;
}

.page-header .container,
.hero-content,
.home-overview-panel,
.home-section-shell,
.home-cta-shell,
.content-card,
.contact-card {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.page-header .container::before,
.hero-content::before,
.home-overview-panel::before,
.home-section-shell::before,
.home-cta-shell::before,
.content-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.page-header .container {
    padding: 34px;
    background: transparent;
    border: 0;
    box-shadow: none;
    z-index: 1;
}

.page-header h1,
.hero-content h1,
.home-overview-panel h2,
.home-section-shell h2,
.home-cta-shell h2,
.contact-card h2,
.content-card h1,
.content-card h2,
.service-card h3,
.process-card h3,
.form-section-title,
.service-panel-head h3 {
    color: var(--brand-deep);
}

.page-header h1,
.page-header .eyebrow,
.page-header-copy {
    color: #ffffff;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-lead,
.hero-summary-note,
.home-overview-copy,
.section-heading-split > p,
.home-cta-copy,
.contact-copy,
.form-panel-copy,
.section-copy,
.form-meta,
.field-hint,
.contact-support-item p,
.process-card p,
.service-card > p:not(.service-card-number):not(.service-card-meta),
.prose p,
.prose li {
    color: var(--text-soft);
}

.page-header-copy {
    max-width: 62ch;
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.7;
}

.page-header-facts,
.contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}

.page-header-facts li,
.highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(232, 238, 244, 0.96);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.page-header-facts li {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
}

.highlight-chip {
    background: rgba(221, 228, 235, 0.96);
    color: var(--brand-deep);
    border-color: rgba(31, 51, 72, 0.14);
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
    padding-left: 0;
    border-left: 0;
}

.section-heading-split {
    display: grid;
    gap: 16px;
    align-items: end;
}

.section-heading-split > p {
    max-width: 58ch;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    background: var(--brand-deep);
    border: 1px solid rgba(31, 51, 72, 0.18);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: none;
    background: var(--brand-strong);
    border-color: rgba(31, 51, 72, 0.24);
    box-shadow: none;
}

.button[disabled] {
    cursor: wait;
    opacity: 0.8;
}

.button-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: none;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: none;
}

.hero .button {
    background: #ffffff;
    color: var(--brand-deep);
    border-color: rgba(255, 255, 255, 0.48);
}

.hero .button:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-deep);
}

.button-ghost-subtle {
    background: transparent;
    border-color: transparent;
    color: var(--brand-deep);
}

.button-ghost-subtle:hover {
    background: rgba(214, 223, 232, 0.72);
    border-color: rgba(31, 51, 72, 0.12);
}

.button-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: spin 0.8s linear infinite;
}

.button.is-loading .button-loader {
    display: inline-block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 42, 74, 0.9);
    box-shadow: 0 8px 20px rgba(16, 35, 61, 0.16);
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.logo {
    width: 48px;
    height: auto;
}

.brand-text {
    font-size: 20px;
}

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

.nav-link {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.hero {
    position: relative;
    padding: 118px 0 56px;
    background: linear-gradient(135deg, rgba(28, 72, 126, 0.96), rgba(63, 115, 189, 0.94));
    overflow: hidden;
}
.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    gap: 24px;
    align-items: stretch;
}

.hero-content,
.hero-summary {
    padding: 34px;
}

.hero-content {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 58px);
    max-width: 14ch;
    color: #ffffff;
}

.hero-lead {
    max-width: 60ch;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.hero-points li {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.hero-points strong {
    color: #ffffff;
    font-size: 17px;
}

.hero-points span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

.hero-summary {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    display: grid;
    gap: 20px;
    align-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.hero-showcase {
    gap: 18px;
    padding: 24px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-showcase::before {
    display: none;
}

.hero-showcase::after {
    display: none;
}

.hero-showcase h2 {
    color: #ffffff;
}

.hero-summary-body {
    display: grid;
    gap: 18px;
}

.hero-summary-kicker,
.service-card-number,
.contact-label {
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

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

.hero-showcase .hero-summary-kicker,
.hero-showcase .hero-contact-item span {
    color: rgba(255, 255, 255, 0.76);
}

.hero-contact-item + .hero-contact-item {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.hero-showcase .hero-contact-item + .hero-contact-item {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.hero-contact-item span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-contact-item a,
.hero-contact-item p {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.45;
}

.hero-showcase .hero-contact-item a,
.hero-showcase .hero-contact-item p,
.hero-showcase .hero-summary-note {
    color: rgba(255, 255, 255, 0.92);
}

.home-overview,
.home-trust,
.home-services,
.home-process,
.home-cta,
.contact-experience {
    padding-bottom: 38px;
}

.contact-experience {
    background: linear-gradient(180deg, rgba(232, 237, 243, 0.96), rgba(239, 243, 247, 0.96));
}

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

.trust-item {
    display: grid;
    gap: 8px;
    padding: 22px;
    margin-top: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.trust-item-kicker {
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.trust-item strong {
    color: var(--text);
    font-size: 17px;
    line-height: 1.4;
}

.home-overview-panel,
.home-section-shell,
.home-cta-shell {
    margin-top: 22px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.98);
}

.home-overview-copy {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.page-header .container::after,
.contact-form-panel::after,
.contact-support-card::after,
.admin-meta::after {
    display: none;
}

.home-overview-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.home-overview-point,
.process-card,
.home-contact-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.home-overview-point strong,
.service-card h3,
.process-card h3,
.home-contact-card strong {
    color: var(--brand-deep);
}

.home-overview-point strong {
    display: block;
    margin-bottom: 6px;
    font-size: 19px;
}

.home-overview-point p {
    color: var(--text-muted);
}

.home-service-grid,
.home-process-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    border-color: rgba(31, 51, 72, 0.18);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

.service-card-number {
    display: block;
    min-width: 0;
    margin-bottom: 4px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-soft);
    letter-spacing: 0.08em;
}

.service-card-meta {
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card h3,
.process-card h3 {
    font-size: 24px;
}

.service-card-summary {
    font-size: 15px;
    line-height: 1.55;
}

.service-card-list {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--text-muted);
}

.service-card-link,
.hero-contact-item a,
.home-contact-card p a,
.contact-support-item a,
.footer-links a,
.prose a,
.checkbox-card a {
    color: var(--brand-deep);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1.5px;
}

.service-card-link:hover,
.hero-contact-item a:hover,
.home-contact-card p a:hover,
.contact-support-item a:hover,
.footer-links a:hover,
.prose a:hover,
.checkbox-card a:hover {
    color: var(--brand-strong);
}

.service-card-link {
    margin-top: auto;
    display: inline-block;
}

.process-card {
    display: grid;
    gap: 14px;
}

.process-card-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
}

.home-cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 26px;
    align-items: start;
}

.home-cta-copy {
    max-width: 60ch;
}

.home-contact-card {
    display: grid;
    gap: 14px;
    align-content: start;
}

.home-contact-card p {
    display: grid;
    gap: 6px;
}

.home-contact-card strong {
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-contact-card p span {
    color: var(--text);
    font-weight: 700;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.contact-shell {
    display: grid;
    gap: 30px;
    align-items: start;
}

.contact-sidebar {
    display: grid;
    gap: 18px;
}

.contact-card {
    padding: 28px;
}

.contact-support-card {
    position: relative;
    margin-top: 22px;
    background: rgba(240, 244, 248, 0.98);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-copy {
    max-width: 58ch;
}

.contact-support-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.contact-support-item {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(216, 227, 239, 0.9);
    border-left: 3px solid rgba(47, 95, 155, 0.22);
}

.contact-support-item a,
.contact-support-item p {
    line-height: 1.5;
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.contact-form-panel {
    padding: 34px;
}

.form-panel-head {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.form-panel-intro h2 {
    margin-bottom: 12px;
    font-size: clamp(31px, 3vw, 42px);
}

.form-panel-copy {
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.65;
}

.form-progress {
    display: grid;
    gap: 10px;
}

.progress-step {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(241, 245, 249, 0.98);
}

.progress-step span {
    display: block;
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.progress-step strong {
    display: block;
    margin-top: 6px;
    color: var(--brand-deep);
    font-size: 15px;
}

.progress-step.is-current {
    background: rgba(231, 239, 247, 0.98);
    border-color: rgba(31, 51, 72, 0.22);
    box-shadow: inset 0 0 0 1px rgba(47, 95, 155, 0.06);
}

.progress-step.is-complete {
    background: linear-gradient(180deg, rgba(252, 255, 253, 0.96), rgba(233, 252, 239, 0.98));
    border-color: rgba(47, 110, 82, 0.2);
}

.form-status {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 600;
}

.is-hidden {
    display: none !important;
}

.form-status--success {
    color: var(--success);
    background: var(--success-bg);
    border-color: rgba(47, 110, 82, 0.16);
}

.form-status--error {
    color: var(--danger);
    background: var(--danger-bg);
    border-color: rgba(154, 65, 75, 0.18);
}

#kontakt-formular {
    display: grid;
    gap: 24px;
}

.form-section {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
}

.form-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    padding-left: 0;
    border-left: 0;
}

.section-step {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(218, 226, 234, 0.98);
    border: 1px solid rgba(186, 198, 210, 0.88);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-section-title {
    color: var(--brand-deep);
    font-size: clamp(22px, 2.1vw, 28px);
}

.section-copy {
    max-width: 60ch;
    font-size: 15px;
    line-height: 1.65;
}

.form-grid {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group-wide {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--brand-deep);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-group textarea {
    min-height: 156px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-soft);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(155, 176, 202, 0.92);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--surface);
    border-color: rgba(54, 89, 125, 0.42);
    box-shadow:
        0 0 0 4px rgba(54, 89, 125, 0.08);
}

.field-hint,
.field-error {
    font-size: 13px;
    line-height: 1.5;
}

.field-error {
    min-height: 19px;
    color: var(--danger);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: rgba(154, 65, 75, 0.38);
    box-shadow: 0 0 0 3px rgba(154, 65, 75, 0.12);
}

.service-selector {
    display: grid;
    gap: 14px;
}

.service-selector.has-error {
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(154, 65, 75, 0.18);
    background: var(--danger-bg);
}

.service-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option input:focus-visible + .service-option-content {
    outline: 3px solid var(--focus-ring-outer);
    outline-offset: 3px;
}

.service-option-content {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 112px;
    padding: 20px 54px 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.service-option-content::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 18px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(156, 174, 197, 0.92);
    background: var(--surface-input);
    box-shadow: inset 0 0 0 4px transparent;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.service-option-content strong {
    color: var(--brand-deep);
    font-size: 18px;
    line-height: 1.3;
}

.service-option-content small {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.service-option:hover .service-option-content,
.service-option:focus-within .service-option-content {
    border-color: rgba(31, 51, 72, 0.18);
    background: rgba(248, 250, 252, 0.98);
}

.service-option input:checked + .service-option-content {
    background: rgba(234, 241, 247, 0.98);
    border-color: rgba(31, 51, 72, 0.22);
    box-shadow: none;
}

.service-option input:checked + .service-option-content::after {
    border-color: var(--brand-deep);
    box-shadow: inset 0 0 0 5px var(--brand-deep);
}

.service-panels {
    display: grid;
    gap: 18px;
}

.service-panel {
    display: none;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(248, 250, 252, 0.98);
}

.service-panel.is-active {
    display: block;
    animation: panelReveal 0.24s ease;
}

.service-panel-head {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.service-panel-head h3 {
    font-size: 21px;
}

.checkbox-card {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(248, 250, 252, 0.98);
}

.checkbox-card.has-error {
    border-color: rgba(154, 65, 75, 0.28);
    background: linear-gradient(180deg, rgba(255, 245, 246, 0.98), rgba(255, 250, 251, 0.98));
}

.checkbox-card label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.checkbox-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand);
}

.checkbox-card span {
    color: var(--text);
    line-height: 1.6;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.form-meta-block {
    display: grid;
    gap: 6px;
    max-width: 60ch;
}

#kontakt-formular .button {
    min-width: 220px;
}

.content-card {
    max-width: 860px;
    margin: 0 auto;
    margin-top: 22px;
    padding: 34px;
}

.content-card h2 {
    font-size: 26px;
}

.prose > * + * {
    margin-top: 16px;
}

.prose ul {
    padding-left: 20px;
}

.prose h2 {
    margin-top: 26px;
}

.site-footer {
    margin-top: 10px;
    border-top: 0;
    background: linear-gradient(180deg, #15263e, #101d31);
    box-shadow: none;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer .footer-links a:hover {
    color: #ffffff;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.86);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-link-button {
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-link-button:hover {
    color: #ffffff;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.cookie-banner-inner {
    display: grid;
    gap: 18px;
    padding: 22px 0;
}

.cookie-banner-title {
    margin-bottom: 6px;
    color: var(--brand-deep);
    font-weight: 700;
    font-size: 17px;
}

.cookie-banner-copy p {
    color: var(--text-muted);
    max-width: 70ch;
    line-height: 1.55;
}

.cookie-banner-actions {
    display: grid;
    gap: 14px;
}

.cookie-category {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
}

.cookie-category input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand);
}

.cookie-category strong {
    display: block;
    color: var(--text);
    font-size: 15px;
}

.cookie-category small {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (min-width: 720px) {
    .cookie-banner-inner {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
        align-items: center;
    }
}

@media (max-width: 560px) {
    .cookie-banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

.admin-shell {
    width: min(620px, calc(100% - 32px));
    margin: 60px auto;
    padding-bottom: 60px;
}

.admin-card {
    padding: 34px;
    background: linear-gradient(180deg, rgba(239, 243, 247, 0.99), rgba(232, 237, 242, 0.98));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.admin-card h1 {
    margin-bottom: 8px;
    font-size: 30px;
}

.admin-copy {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.admin-message,
.admin-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.admin-message {
    color: var(--success);
    background: var(--success-bg);
    border-color: rgba(47, 110, 82, 0.16);
}

.admin-error {
    color: var(--danger);
    background: var(--danger-bg);
    border-color: rgba(154, 65, 75, 0.18);
}

.admin-meta {
    position: relative;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(223, 230, 238, 0.98);
    border: 1px solid rgba(31, 51, 72, 0.12);
    color: var(--brand-deep);
}

.admin-actions {
    margin-top: 20px;
}

.admin-actions form {
    margin: 0;
}

.admin-card form > .form-group + .form-group {
    margin-top: 20px;
}

.admin-card form > .button {
    margin-top: 24px;
}

.admin-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    background: #203244;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.admin-button-secondary:hover {
    background: #172636;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes panelReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 720px) {
    .form-grid-two,
    .service-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading-split {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    }
}

@media (min-width: 980px) {
    .contact-shell {
        grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    }
}

@media (max-width: 979px) {
    .hero-shell,
    .home-cta-shell,
    .contact-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-points,
    .home-overview-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-panel-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-actions {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    #kontakt-formular .button {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .site-header {
        backdrop-filter: blur(12px);
    }

    .nav-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        column-gap: 12px;
        min-height: 74px;
        row-gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .site-nav {
        grid-column: 1 / -1;
        position: static;
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        margin-top: 2px;
        border-radius: 20px;
        background: rgba(18, 42, 74, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 32px rgba(16, 35, 61, 0.22);
    }

    .site-nav.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 12px 10px;
        color: rgba(255, 255, 255, 0.86);
    }

    .nav-link::after {
        left: 10px;
        right: 10px;
    }

    .brand {
        max-width: 100%;
    }

    .page-header {
        padding-top: 98px;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-content,
    .hero-summary,
    .home-overview-panel,
    .home-section-shell,
    .home-cta-shell,
    .page-header .container,
    .content-card,
    .contact-card,
    .admin-card {
        padding: 26px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        max-width: none;
        font-size: clamp(34px, 10vw, 46px);
    }

    .trust-strip,
    .hero-points,
    .home-overview-points {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-overview-panel,
    .home-section-shell,
    .home-cta-shell,
    .contact-form-panel {
        padding: 24px;
    }

    .form-section,
    .service-panel,
    .content-card,
    .contact-card,
    .admin-card {
        padding: 22px;
    }

    .service-option-content {
        min-height: auto;
        padding: 18px 48px 16px 18px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 24px), 100%);
    }

    .page-header .container,
    .hero-content,
    .hero-summary,
    .home-overview-panel,
    .home-section-shell,
    .home-cta-shell,
    .content-card,
    .contact-card,
    .admin-card {
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    .form-section,
    .service-panel,
    .checkbox-card {
        padding: 18px;
        border-radius: var(--radius-md);
    }

    .hero-actions,
    .contact-quick-actions,
    .home-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header-facts,
    .contact-highlights {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header-facts li,
    .highlight-chip {
        justify-content: center;
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .button,
    .button-ghost,
    .admin-button-secondary {
        width: 100%;
    }

}

@media (max-width: 420px) {
    .brand-text {
        font-size: 18px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .button:hover,
    .service-option:hover .service-option-content,
    .service-option:focus-within .service-option-content {
        transform: none;
    }
}
