/* Lokale Schriftarten */
@font-face {
    font-family: Lora;
    src: url('../fonts/lora-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

/* Grundeinstellungen: Farben, Schriften und Sprungabstand */
:root {
    /* SPRUNGZIELE: Abstand zum oberen Fensterrand beim Anklicken eines Ankers.
       Größerer Wert = mehr Abstand; kleinerer Wert = weiter nach oben scrollen.
       Die mobile Einstellung steht im Media-Query bis 991.98px. */
    --anchor-offset: 130px;
    --navy: #092747;
    --navy-hover: #173e63;
    --gold: #d6a641;
    --gold-dark: #795310;
    --ivory: #faf7f0;
    --blue-light: #edf3f6;
    --muted: #43566b;
    --line: #d4dee5;
    --error: #9e2929;
    --success: #236346;
    --bs-body-font-family: 'Source Sans 3',sans-serif;
    --bs-body-color: var(--navy);
    --bs-body-font-size: 1.125rem;
    --bs-body-line-height: 1.55;
    --bs-border-radius: 6px;
    --bs-link-color: var(--navy);
    --bs-link-hover-color: var(--gold-dark);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
}

body {
    margin: 0;
    color: var(--navy);
    background: #fff;
}

h1,
h2,
h3,
h4,
.h1,
.h2 {
    color: var(--navy);
    font-family: Lora,Georgia,serif;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.14;
}

h1, .h1 {
    font-size: clamp(2.5rem,3.65vw,3.6rem);
}

h2, .h2 {
    font-size: clamp(2rem,3.15vw,2.875rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 18px;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 22px;
}

a {
    color: var(--navy);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--gold-dark);
}

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

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

address {
    font-style: normal;
}

::selection {
    background: #f0d99d;
    color: var(--navy);
}

[hidden] {
    display: none!important;
}

:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 4px;
    box-shadow: 0 0 0 3px #fff!important;
}

/* Container und allgemeine Bedienelemente */
.container-wide {
    width: min(1280px,calc(100% - 128px));
    margin-inline: auto;
}

.container-text {
    width: min(820px,calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding-block: 88px;
}

.eyebrow {
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 22px;
}

.section-rule {
    display: block;
    width: 64px;
    height: 5px;
    background: var(--gold);
    margin-bottom: 26px;
}

.section-heading {
    max-width: 670px;
    margin-bottom: 48px;
}

.section-heading p:last-child {
    font-size: 1.2rem;
    color: var(--muted);
}

.small-copy {
    font-size: 1rem;
}

.lead-copy {
    font-size: 1.3rem;
    line-height: 1.45;
    max-width: 510px;
}

.bi {
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 50px;
    padding: 12px 25px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background .2s,color .2s,border-color .2s;
}

.btn-navy {
    background: var(--navy);
    color: white;
}

.btn-navy:hover,
.btn-navy:active {
    background: var(--navy-hover);
    border-color: var(--navy-hover);
    color: white;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: #e4bd68;
    color: var(--navy);
}

.btn-outline {
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
    background: white;
}

.btn-outline:hover {
    background: var(--ivory);
    color: var(--navy);
    border-color: var(--gold-dark);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    text-decoration: underline;
    background: none;
    border: 0;
    padding: 4px 0;
    min-height: 44px;
}

.text-link .bi {
    transition: transform .2s;
}

.text-link:hover .bi {
    transform: translateX(3px);
}

.phone-link {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    min-height: 44px;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    background: white;
    padding: 12px 20px;
    border: 2px solid var(--navy);
}

.skip-link:focus {
    transform: none;
}

/* Kopfbereich und Navigation */
.site-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #eff1f3;
}

.header-inner {
    width: min(1440px,calc(100% - 64px));
    margin: auto;
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--navy);
}

.brand img {
    width: 160px;
}

.brand span {
    font-family: Lora,Georgia,serif;
    font-size: 1.3rem;
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 600;
}

.brand strong {
    font-weight: 700;
    font-size: 1.65rem;
}

.brand:hover {
    color: var(--navy);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.main-nav>a:not(.btn) {
    text-decoration: none;
    font-size: .98rem;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.main-nav>a:not(.btn):hover {
    border-color: var(--gold);
}

.main-nav .btn {
    font-size: .92rem;
    padding: 11px 16px;
    gap: 9px;
}

.header-phone {
    white-space: nowrap;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
}

.menu-toggle {
    border: 0;
    background: none;
    color: var(--navy);
    width: 48px;
    height: 48px;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
}

/* Einstiegsbereich / Hero */
.hero {
    display: grid;
    grid-template-columns: 48% 52%;
    max-width: 1600px;
    margin: auto;
    background: var(--ivory);
    min-height: 630px;
}

.hero-copy {
    padding: 76px 44px 70px max(64px,calc((100vw - 1280px)/2));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy h1 {
    margin-bottom: 30px;
}

.hero-lead {
    font-size: clamp(1.25rem,1.9vw,1.6rem);
    line-height: 1.32;
    max-width: 500px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero-actions .btn {
    min-height: 55px;
    padding-inline: 28px;
}

.hero-note {
    font-size: .96rem;
    margin: 12px 0 0;
}

.hero-photo {
    position: relative;
    min-height: 100%;
    overflow: visible;
}

.hero-photo>img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center 40%;
}

.photo-credit {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
}

.photo-credit summary {
    list-style: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: 1px solid #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.photo-credit summary::-webkit-details-marker {
    display: none;
}

.photo-credit p {
    position: absolute;
    right: 0;
    bottom: 54px;
    padding: 12px 16px;
    width: max-content;
    max-width: 220px;
    background: var(--navy);
    color: #fff;
    border-radius: 5px;
    margin: 0;
    font-size: .96rem;
    border: 1px solid white;
}

.photo-credit[open] summary {
    background: white;
    color: var(--navy);
    border-color: var(--navy);
}

/* Inhaltsbereiche, Leistungen und Kontaktformular */
.intro-section {
    padding-block: 68px;
}

.care-card {
    padding: 36px 40px;
    background: var(--ivory);
    border-radius: 7px;
}

.card-heading {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
}

.card-heading>.bi {
    color: var(--gold-dark);
    font-size: 2.8rem;
}

.card-heading h3 {
    font-size: 1.85rem;
    margin: 0;
}

.care-card p {
    margin-left: 69px;
    font-size: 1.125rem;
}

.care-card .btn {
    margin-left: 69px;
    padding-inline: 22px;
    font-size: 1rem;
}

.referral-strip {
    background: var(--blue-light);
}

.referral-strip-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding-block: 24px;
}

.referral-strip-inner>.bi {
    font-size: 2.8rem;
}

.referral-strip p {
    font-family: Lora,serif;
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 600;
    margin: 0;
}

.referral-strip span {
    border-left: 1px solid #aab7c5;
    padding-left: 30px;
    font-size: 1rem;
    color: var(--muted);
}

.referral-strip .text-link {
    margin-left: auto;
    white-space: nowrap;
    font-size: 1rem;
}

.care-section {
    padding-block: 106px;
}

.care-section .col-lg-5 p:not(.eyebrow) {
    color: var(--muted);
}

.benefit-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
    margin-bottom: 32px;
}

.benefit-amount>span:first-child {
    font-size: 1rem;
}

.benefit-amount strong {
    font-family: Lora,serif;
    font-size: 4.6rem;
    line-height: 1;
}

.benefit-amount strong span {
    font-size: 2.6rem;
}

.benefit-amount>span:last-child {
    font-size: 1rem;
    width: 100%;
    letter-spacing: .04em;
}

.source-link {
    font-size: .92rem;
}

.source-date {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 10px;
}

.services-section {
    background: var(--ivory);
}

.service-row {
    display: grid;
    grid-template-columns: 320px 1fr 54px;
    gap: 44px;
    padding-block: 38px;
    border-top: 1px solid #d8d6d0;
}

.service-title {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.service-title>.bi {
    font-size: 2.15rem;
    color: var(--gold-dark);
    padding-top: 6px;
}

.service-title h3 {
    font-size: 1.55rem;
}

.service-row p {
    color: var(--muted);
    max-width: 700px;
    margin-bottom: 15px;
}

.service-row .service-examples {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0;
}

.round-link {
    width: 50px;
    height: 50px;
    border: 1px solid #bdc4c9;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.round-link:hover {
    color: #fff;
    background: var(--navy);
}

.service-note {
    border-top: 1px solid #d8d6d0;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.service-note p {
    margin: 0;
    max-width: 680px;
}

.service-note a {
    white-space: nowrap;
}

.process-list {
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

.process-list li {
    padding-right: 38px;
}

.step-number {
    display: block;
    color: var(--gold-dark);
    font-size: 1.1rem;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 26px;
}

.process-list h3 {
    font-size: 1.4rem;
}

.process-list p {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0;
}

.recommend-section {
    padding-block: 32px 72px;
}

.recommend-inner {
    background: var(--ivory);
    padding: 56px;
    display: grid;
    grid-template-columns: 70px 1.35fr 1fr;
    gap: 40px;
    border-top: 3px solid var(--gold);
}

.recommend-symbol {
    font-size: 3.9rem;
    color: var(--gold-dark);
}

.recommend-copy h2 {
    font-size: 2.65rem;
}

.recommend-copy .eyebrow {
    font-size: .75rem;
}

.recommend-condition {
    font-size: .94rem;
    color: var(--muted);
}

.recommend-how {
    border-left: 1px solid #d5d1c7;
    padding-left: 36px;
    align-self: center;
}

.recommend-how h3 {
    font-size: 1.4rem;
}

.recommend-how p {
    font-size: 1.05rem;
    color: var(--muted);
}

.recommend-how .phone-link {
    font-size: 1.1rem;
}

.faq-section {
    padding-top: 20px;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    list-style: none;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
}

.faq-item>div {
    padding: 0 40px 4px 0;
    color: var(--muted);
}

.faq-item p {
    font-size: 1.05rem;
}

.contact-section {
    background: var(--blue-light);
}

.contact-section .col-lg-5>p:not(.eyebrow) {
    max-width: 420px;
    color: var(--muted);
}

.contact-person {
    padding-block: 16px;
    border-bottom: 1px solid #ccd7e0;
    max-width: 390px;
}

.contact-person span {
    display: block;
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-person a {
    font-size: 1.45rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.contact-person .bi {
    font-size: 1rem;
}

.contact-other {
    padding-top: 26px;
}

.contact-other a {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    overflow-wrap: anywhere;
}

.contact-other p {
    font-size: .96rem;
    margin-top: 8px;
}

.contact-section address {
    line-height: 1.5;
    margin-top: 30px;
}

.form-panel {
    background: #fff;
    padding: 40px;
    border-radius: 7px;
}

.form-panel h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-intro {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 7px;
}

.form-group label span {
    font-weight: 400;
}

.form-control,
.form-select {
    border: 1px solid #9facba;
    border-radius: 4px;
    min-height: 49px;
    padding: 10px 13px;
    font-size: 1.05rem;
    color: var(--navy);
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 2px var(--gold);
}

textarea.form-control {
    resize: vertical;
    min-height: 125px;
}

.form-hint,
.form-privacy {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.45;
}

.form-hint {
    margin: 8px 0 0;
}

.form-privacy {
    margin-top: 4px;
    margin-bottom: 24px;
}

/* Pflichtzustimmung: Checkbox und Text sind auch per Tastatur bedienbar. */
.consent-choice {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.consent-checkbox {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    accent-color: var(--navy);
    cursor: pointer;
}

.consent-choice label {
    min-height: 44px;
    cursor: pointer;
}

.consent-note {
    margin: 12px 0 0 36px;
    overflow-wrap: anywhere;
}

.submit-button {
    width: 100%;
}

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

.field-error {
    color: var(--error);
    font-size: .95rem;
    margin-top: 6px;
    margin-bottom: 0;
}

[aria-invalid="true"] {
    border: 2px solid var(--error);
}

.form-errors,
.form-success {
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid;
    border-left: 4px solid;
    border-radius: 4px;
}

.form-errors {
    border-color: var(--error);
    background: #fff5f3;
    color: var(--error);
}

.form-errors h4,
.form-errors a {
    color: var(--error);
}

.form-errors ul {
    font-size: 1rem;
    padding-left: 20px;
    margin-bottom: 0;
}

.form-success {
    border-color: var(--success);
    background: #f2f9f4;
    color: var(--success);
}

.form-success h4 {
    color: var(--success);
}

.form-success p {
    font-size: 1rem;
    margin-bottom: 0;
}

.map-section {
    padding-block: 64px;
}

.map-shell {
    background: var(--ivory);
    border: 1px solid #dfddd7;
}

.map-placeholder {
    padding: 46px 32px;
    text-align: center;
}

.map-symbol {
    font-size: 2.4rem;
    color: var(--gold-dark);
    margin-bottom: 18px;
}

.map-placeholder h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.map-placeholder>p {
    margin-bottom: 20px;
}

.map-notice {
    font-size: .98rem;
    max-width: 640px;
    margin-inline: auto;
    color: var(--muted);
}

.map-actions {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.map-privacy {
    font-size: .88rem;
    margin-top: 22px;
}

.map-placeholder .map-privacy {
    margin-bottom: 0;
}

.map-frame-iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 430px;
}

.map-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 24px;
    font-size: .95rem;
}

.referral-tab {
    position: fixed;
    top: 42%;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--gold);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px #09274714;
}

.referral-tab>a {
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 13px;
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
}

.referral-tab>a .bi {
    writing-mode: horizontal-tb;
    font-size: 1.1rem;
}

.referral-tab>button {
    border: 0;
    background: none;
    width: 44px;
    height: 44px;
    color: var(--navy);
    font-size: .8rem;
    border-top: 1px solid #99701955;
}

.back-top {
    display: grid;
    place-items: center;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    z-index: 40;
    text-decoration: none;
    border: 1px solid white;
}

.back-top:hover {
    background: var(--navy-hover);
    color: white;
}

/* Footer und feste Bedienelemente */
.site-footer {
    background: var(--navy);
    color: white;
    padding: 60px 0 25px;
}

.site-footer a,
.site-footer h3 {
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-brand {
    background: white;
    padding: 12px 16px;
    border-radius: 4px;
    gap: 10px;
}

.footer-brand img {
    width: 112px;
}

.footer-brand span {
    font-size: 1rem;
    color: var(--navy);
}

.footer-brand strong {
    font-size: 1.3rem;
}

.footer-top>div>p:not(.footer-label) {
    font-size: 1rem;
    color: #d4dfea;
    margin: 24px 0 0;
}

.footer-label {
    color: #d4dfea;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 20px;
}

.footer-top>div>a:not(.brand) {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-phone {
    font-family: Lora,serif;
    font-size: 1.65rem;
}

.footer-top nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-top nav a {
    font-size: 1.05rem;
    text-decoration: none;
    min-height: 32px;
}

.footer-bottom {
    border-top: 1px solid #ffffff30;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: .9rem;
    color: #d4dfea;
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
}

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

.legal-main {
    padding: 80px 0 100px;
}

.legal-main h1 {
    margin-bottom: 40px;
}

.legal-main h2 {
    font-size: 1.8rem;
    margin-top: 42px;
    margin-bottom: 18px;
}

.legal-main h3 {
    font-size: 1.3rem;
    margin-top: 28px;
}

.legal-main p,
.legal-main li {
    color: var(--muted);
}

.legal-main address {
    color: var(--navy);
}

.legal-main a {
    overflow-wrap: anywhere;
}

.legal-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.legal-nav a {
    background: var(--ivory);
    padding: 7px 13px;
    font-size: 1rem;
}

/* Responsive Anpassungen */
@media (min-width:1600px) {
    .hero-copy {
        padding-left: 96px;
    }

}

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

    .brand img {
        width: 130px;
    }

    .brand span {
        font-size: 1.15rem;
    }

    .brand strong {
        font-size: 1.5rem;
    }

    .main-nav {
        gap: 20px;
    }

    .header-phone {
        display: none;
    }

    .hero-copy {
        padding-left: 64px;
        padding-right: 32px;
    }

    .hero {
        min-height: 600px;
    }

    .care-card {
        padding: 32px;
    }

    .care-card p,
    .care-card .btn {
        margin-left: 0;
    }

    .service-row {
        grid-template-columns: 280px 1fr 50px;
        gap: 30px;
    }

    .recommend-inner {
        padding: 40px;
        gap: 30px;
        grid-template-columns: 55px 1.2fr 1fr;
    }

    .recommend-symbol {
        font-size: 3rem;
    }

}

@media (max-width:991.98px) {
    :root {
        /* SPRUNGZIELE: Abstand für Tablet und Smartphone. */
        --anchor-offset: 100px;
    }

    .container-wide {
        width: calc(100% - 64px);
    }

    .section {
        padding-block: 64px;
    }

    .header-inner {
        min-height: 88px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
    }

    .brand img {
        width: 124px;
    }

    .brand span {
        font-size: 1.1rem;
    }

    .brand strong {
        font-size: 1.4rem;
    }

    .menu-toggle:not([hidden]) {
        display: flex;
    }

    .main-nav {
        width: 100%;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 0 22px;
    }

    .main-nav>a:not(.btn) {
        font-size: 1.15rem;
        padding: 10px 0;
    }

    .main-nav .btn {
        align-self: flex-start;
        margin-top: 12px;
        font-size: 1rem;
    }

    .js-menu .main-nav {
        display: none;
    }

    .js-menu .main-nav.is-open {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-copy {
        padding: 54px 48px 46px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: clamp(2.5rem,5.8vw,3.5rem);
    }

    .hero-lead {
        max-width: 570px;
        font-size: 1.4rem;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 26px;
        flex-wrap: wrap;
    }

    .hero-photo {
        height: auto;
        aspect-ratio: 16/10;
        min-height: 0;
    }

    .hero-photo>img {
        object-position: center 35%;
    }

    .intro-section .row {
        --bs-gutter-y: 36px;
    }

    .care-card p {
        max-width: 600px;
    }

    .referral-strip-inner {
        gap: 20px;
        flex-wrap: wrap;
    }

    .referral-strip p {
        font-size: 1.5rem;
    }

    .referral-strip span {
        border: 0;
        padding-left: 0;
        flex: 1;
        min-width: 200px;
    }

    .referral-strip .text-link {
        margin-left: 0;
    }

    .benefit-amount {
        margin-bottom: 28px;
    }

    .service-row {
        grid-template-columns: 1fr 52px;
        gap: 12px 24px;
    }

    .service-title {
        grid-column: 1;
    }

    .service-row>div:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .service-row>.round-link {
        grid-column: 2;
        grid-row: 1;
    }

    .service-title h3 br {
        display: none;
    }

    .service-title h3 {
        font-size: 1.7rem;
    }

    .service-title>.bi {
        font-size: 1.7rem;
    }

    .service-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .recommend-inner {
        grid-template-columns: 65px 1fr;
        gap: 28px;
    }

    .recommend-how {
        grid-column: 2;
        border-left: 0;
        border-top: 1px solid #d5d1c7;
        padding: 28px 0 0;
    }

    .recommend-copy h2 {
        font-size: 2.5rem;
    }

    .recommend-section {
        padding-block: 0 48px;
    }

    .faq-section {
        padding-top: 24px;
    }

    .contact-person {
        max-width: 100%;
    }

    .form-panel {
        padding: 36px;
    }

    .footer-top {
        gap: 35px;
        grid-template-columns: 1fr 1fr;
    }

    .footer-top nav {
        grid-column: 2;
        grid-row: 1 / span 2;
        padding-left: 35px;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }

    .referral-tab {
        top: auto;
        bottom: 16px;
        left: 16px;
        border-radius: 8px;
        flex-direction: row;
    }

    .referral-tab>a {
        writing-mode: horizontal-tb;
        gap: 10px;
        padding: 12px 15px;
        min-height: 48px;
    }

    .referral-tab>button {
        border-top: 0;
        border-left: 1px solid #99701955;
    }

    .site-footer {
        padding-bottom: 90px;
    }

    .back-top {
        bottom: 16px;
        right: 16px;
    }

}

@media (max-width:575.98px) {
    .container-wide {
        width: calc(100% - 44px);
    }

    .header-inner {
        width: calc(100% - 36px);
        min-height: 82px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 112px;
    }

    .brand span {
        font-size: .95rem;
    }

    .brand strong {
        font-size: 1.25rem;
    }

    .hero-copy {
        padding: 40px 24px 36px;
    }

    .eyebrow {
        font-size: .71rem;
        letter-spacing: .13em;
        margin-bottom: 19px;
    }

    .hero h1 {
        font-size: 2.45rem;
        line-height: 1.1;
        margin-bottom: 23px;
    }

    .hero h1 br {
        display: none;
    }

    .hero-lead {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }

    .hero-actions .btn {
        padding-inline: 12px;
        min-height: 52px;
        font-size: 1.05rem;
    }

    .hero-actions .phone-link {
        justify-content: center;
    }

    .hero-note {
        font-size: .95rem;
        text-align: center;
        width: 100%;
        margin-top: 9px;
    }

    .hero-photo {
        aspect-ratio: 4/3;
    }

    .hero-photo>img {
        object-position: center 34%;
    }

    .photo-credit {
        bottom: 12px;
        right: 12px;
    }

    .section {
        padding-block: 56px;
    }

    h2 {
        font-size: 2.05rem;
        line-height: 1.15;
    }

    .lead-copy {
        font-size: 1.15rem;
    }

    .section-rule {
        width: 48px;
        height: 4px;
        margin-bottom: 22px;
    }

    .care-card {
        padding: 26px;
    }

    .card-heading {
        gap: 16px;
    }

    .card-heading>.bi {
        font-size: 2.1rem;
    }

    .card-heading h3 {
        font-size: 1.45rem;
    }

    .care-card p {
        font-size: 1.05rem;
    }

    .care-card .btn {
        width: 100%;
        font-size: .95rem;
        padding-inline: 10px;
    }

    .referral-strip-inner {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 10px 15px;
        padding-block: 28px;
    }

    .referral-strip-inner>.bi {
        font-size: 2rem;
    }

    .referral-strip p {
        font-size: 1.4rem;
    }

    .referral-strip span {
        grid-column: 2;
        font-size: .95rem;
        min-width: 0;
    }

    .referral-strip span br {
        display: none;
    }

    .referral-strip .text-link {
        grid-column: 2;
        justify-self: start;
        font-size: .98rem;
    }

    .benefit-amount strong {
        font-size: 4rem;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading p:last-child {
        font-size: 1.1rem;
    }

    .service-row {
        padding-block: 30px;
        gap: 10px 14px;
        grid-template-columns: 1fr 44px;
    }

    .service-title {
        gap: 14px;
    }

    .service-title h3 {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }

    .service-title>.bi {
        font-size: 1.5rem;
    }

    .service-title h3 br {
        display: block;
    }

    .round-link {
        width: 44px;
        height: 44px;
    }

    .service-row p {
        font-size: 1.06rem;
    }

    .service-row>div:nth-child(2) {
        grid-column: 1 / -1;
    }

    .service-row .service-examples {
        font-size: .94rem;
    }

    .service-note p {
        font-size: 1.05rem;
    }

    .process-list li {
        padding-right: 12px;
    }

    .process-list h3 {
        font-size: 1.4rem;
    }

    .step-number {
        margin-bottom: 18px;
    }

    .process-list {
        --bs-gutter-y: 30px;
    }

    .recommend-section {
        padding-block: 0 20px;
    }

    .recommend-section .container-wide {
        width: 100%;
    }

    .recommend-inner {
        display: block;
        padding: 36px 24px;
    }

    .recommend-symbol {
        margin-bottom: 22px;
        font-size: 3rem;
    }

    .recommend-copy h2 {
        font-size: 2.2rem;
    }

    .recommend-copy .btn {
        font-size: 1rem;
        padding-inline: 16px;
    }

    .recommend-how {
        margin-top: 30px;
    }

    .faq-section {
        padding-top: 40px;
    }

    .faq-item summary {
        font-size: 1.05rem;
        padding-block: 22px;
        gap: 20px;
    }

    .faq-item>div {
        padding-right: 10px;
    }

    .contact-section .container-wide {
        width: calc(100% - 40px);
    }

    .contact-section .row {
        --bs-gutter-y: 32px;
    }

    .contact-person a {
        font-size: 1.35rem;
    }

    .form-panel {
        padding: 25px 20px;
        margin-inline: -4px;
    }

    .form-panel h3 {
        font-size: 1.7rem;
    }

    .form-group {
        margin-bottom: 17px;
    }

    .form-control,
    .form-select {
        font-size: 1rem;
    }

    .form-panel .row {
        --bs-gutter-y: 0;
    }

    .map-section {
        padding-block: 36px;
    }

    .map-section .container-wide {
        width: calc(100% - 40px);
    }

    .map-placeholder {
        padding: 34px 20px;
    }

    .map-placeholder h2 {
        font-size: 1.7rem;
    }

    .map-notice {
        font-size: .94rem;
    }

    .map-actions {
        gap: 14px;
        flex-direction: column;
    }

    .map-actions .text-link {
        font-size: .94rem;
    }

    .map-frame-iframe {
        height: 380px;
    }

    .map-controls {
        flex-direction: column;
        gap: 2px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-bottom: 35px;
    }

    .footer-top nav {
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 20px;
    }

    .footer-bottom {
        gap: 18px;
        font-size: .84rem;
    }

    .footer-bottom>span:last-child {
        display: none;
    }

    .footer-bottom nav {
        gap: 20px;
    }

    .site-footer {
        padding-top: 44px;
    }

    .referral-tab {
        bottom: 12px;
        left: 12px;
    }

    .referral-tab>a {
        font-size: .88rem;
        padding: 10px 12px;
    }

    .referral-tab>button {
        width: 38px;
    }

    .back-top {
        width: 46px;
        height: 46px;
        right: 12px;
        bottom: 12px;
    }

    .legal-main {
        padding: 48px 0 64px;
    }

    .legal-main h1 {
        font-size: 2.6rem;
    }

    .legal-main h2 {
        font-size: 1.65rem;
    }

}

/* Animationen und reduzierte Bewegung */
@media (prefers-reduced-motion:no-preference) {
    .reveal.will-reveal {
        opacity: 0;
        transform: translateY(48px);
        transition: opacity .95s ease, transform .95s cubic-bezier(.22, 1, .36, 1);
    }

    .reveal.will-reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    /* Header: Text und Kontaktmöglichkeiten nacheinander einblenden. */
    .hero-copy h1,
    .hero-lead,
    .hero-actions .btn,
    .hero-actions .phone-link,
    .hero-note {
        animation: hero-fade-up 1s cubic-bezier(.22, 1, .36, 1) both;
    }

    .hero-lead {
        animation-delay: .15s;
    }

    .hero-actions .btn {
        animation-delay: .3s;
    }

    .hero-actions .phone-link {
        animation-delay: .45s;
    }

    .hero-note {
        animation-delay: .55s;
    }

    /* Das Foto blendet ohne Verschiebung ein. */
    .hero-photo {
        animation: hero-fade-in 1.4s ease both;
    }

    /* Tastaturfokus bleibt auch während des Einstiegs sofort sichtbar. */
    .hero-actions a:focus,
    .hero-photo:focus-within {
        animation: none;
    }

    @keyframes hero-fade-up {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

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

    @keyframes hero-fade-in {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

}

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

    *,
    *::before,
    *::after {
        animation: none!important;
        transition: none!important;
    }

}

@media print {
    .site-header,
    .site-footer,
    .referral-tab,
    .back-top,
    .map-section,
    .hero-actions,
    .btn,
    .photo-credit,
    .form-panel {
        display: none!important;
    }

    .section {
        padding-block: 20px;
    }

    .container-wide {
        width: 100%;
    }

    .hero {
        display: block;
        min-height: 0;
    }

    .hero-copy {
        padding: 20px;
    }

    .hero-photo {
        display: none;
    }

    .reveal {
        opacity: 1!important;
        transform: none!important;
    }

    a {
        color: #000;
    }

    .recommend-inner {
        padding: 20px;
    }

    details>div {
        display: block!important;
    }

}

@media (max-width:575.98px) {
    .container-wide>.row {
        --bs-gutter-x: 0;
    }

    .contact-section .container-wide>.row {
        --bs-gutter-x: 0;
    }

}

.legal-main {
    overflow-wrap: anywhere;
}

/* Desktop-Proportionen an den freigegebenen Entwurf angeglichen. */
@media (min-width:1351px) {
    .hero {
        min-height: 690px;
    }

    .hero-copy {
        padding-right: 24px;
    }

    .hero h1 {
        font-size: clamp(3.25rem,4.05vw,3.65rem);
        letter-spacing: -.045em;
    }

    .hero-lead {
        font-size: 1.75rem;
    }

    .hero-actions .btn {
        font-size: 1.35rem;
        min-width: 390px;
        min-height: 64px;
    }

    .hero-actions .phone-link {
        font-size: 1.6rem;
    }

    .hero-note {
        font-size: 1.15rem;
    }

    .site-header .brand img {
        width: 195px;
    }

    .site-header .brand span {
        font-size: 1.6rem;
    }

    .site-header .brand strong {
        font-size: 2rem;
    }

    .main-nav>a:not(.btn) {
        font-size: 1.08rem;
    }

    .intro-section h2 {
        font-size: 3.25rem;
    }

    .intro-section .lead-copy {
        font-size: 1.4rem;
    }

    .card-heading h3 {
        font-size: 2.1rem;
    }

    .care-card p {
        font-size: 1.2rem;
    }

    .care-card .btn {
        font-size: 1.2rem;
    }

}

/* Fehlerseite und direkter WhatsApp-Kontakt. */
.error-page {
    background: var(--ivory);
    padding: 88px 0 104px;
    min-height: 60vh;
}

.error-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 72px;
    align-items: center;
}

.error-number {
    font-family: Lora,Georgia,serif;
    font-size: clamp(7rem,16vw,14rem);
    font-weight: 600;
    line-height: 1;
    margin: 0;
    color: var(--gold-dark);
    letter-spacing: -.07em;
}

.error-copy {
    max-width: 720px;
}

.error-copy h1 {
    margin-bottom: 24px;
}

.error-copy>p:not(.eyebrow) {
    max-width: 600px;
    color: var(--muted);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 18px;
}

.whatsapp-button {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 40;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 2px solid white;
    border-radius: 50%;
    background: #087f5b;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 2px 8px #09274726;
}

.whatsapp-button:hover {
    background: #066247;
    color: #fff;
}

@media (max-width:991.98px) {
    .whatsapp-button {
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(16px + env(safe-area-inset-bottom,0px));
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }

    .referral-tab,
    .back-top {
        bottom: calc(16px + env(safe-area-inset-bottom,0px));
    }

    .error-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .error-number {
        font-size: 7rem;
    }

    .error-page {
        padding-block: 56px 72px;
    }

}

@media (max-width:575.98px) {
    .whatsapp-button,
    .referral-tab,
    .back-top {
        bottom: calc(12px + env(safe-area-inset-bottom,0px));
    }

    .referral-tab>a {
        font-size: .8rem;
        padding: 10px;
        gap: 0;
        min-height: 48px;
    }

    .referral-tab>a>.bi {
        display: none;
    }

    .referral-tab>button {
        width: 44px;
        height: 48px;
    }

    .error-page {
        padding-block: 40px 56px;
    }

    .error-number {
        font-size: 5rem;
    }

    .error-copy h1 {
        font-size: 2.25rem;
    }

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

}

@media (max-width:359.98px) {
    .referral-tab>a {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .referral-tab>a>.bi {
        display: inline-block;
        font-size: 1.15rem;
    }

    .referral-tab>a>span {
        display: none;
    }

}

@media print {
    .whatsapp-button {
        display: none!important;
    }

}

/* Unsere Leistungen – vollständige Textvariante */
.service-catalog-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
    gap: 56px;
    padding-block: 42px;
    border-top: 1px solid var(--line);
}

.service-catalog-row:last-child {
    padding-bottom: 0;
}

.service-catalog-title {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.service-catalog-title > .bi {
    color: var(--gold-dark);
    font-size: 1.9rem;
    margin-top: 5px;
}

.service-catalog-title h3 {
    font-size: 1.65rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.service-description {
    color: var(--muted);
}

.service-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
    margin-block: 26px;
}

.service-group:only-child {
    grid-column: 1 / -1;
}

.service-group h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 12px;
}

.service-group ul {
    padding-left: 21px;
    margin: 0;
}

.service-group li {
    padding-left: 3px;
    margin-bottom: 7px;
    font-size: 1.06rem;
    line-height: 1.5;
}

.service-group li::marker {
    color: var(--gold-dark);
}

.service-scope-note {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
    border-left: 3px solid var(--gold);
    padding-left: 16px;
    margin-block: 22px;
}

.service-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

/* Unsere Leistungen – zweite Variante mit Bildern, direkt darunter */
.services-photo-section {
    background: var(--blue-light);
}

.service-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 44px 36px;
}

.service-photo-card {
    min-width: 0;
    background: var(--ivory);
    border: 1px solid #e8e3d9;
    border-radius: 8px;
}

.service-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 2;
}

.service-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px 7px 0 0;
}

.service-photo-copy {
    padding: 30px 32px 32px;
}

.service-photo-copy h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.service-photo-copy .service-description {
    font-size: 1.1rem;
}

.service-details {
    margin-block: 24px 14px;
    border-block: 1px solid var(--line);
}

.service-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    list-style: none;
    padding-block: 18px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

.service-details summary::-webkit-details-marker {
    display: none;
}

.service-details[open] .service-details-icon {
    transform: rotate(45deg);
}

.service-details .service-groups {
    grid-template-columns: 1fr;
    margin-top: 4px;
    margin-bottom: 22px;
    gap: 22px;
}

.service-care-link {
    display: flex;
    width: fit-content;
    font-size: 1rem;
}

/* Platz für den zweizeiligen Zusatzlink auf schmalen Desktopansichten. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .service-photo-actions {
        min-height: 58px;
    }
}

/* Desktop: Fotos und Einleitungen bleiben bündig. Der untere Kartenbereich
   wächst unabhängig, damit offene Details die Nachbarkarte nicht aufziehen. */
@media (min-width: 992px) {
    .service-photo-actions {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px 20px;
    }

    .service-photo-actions > .text-link {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .service-photo-actions > .service-care-link {
        flex-shrink: 1;
        white-space: normal;
    }

    @supports (grid-template-rows: subgrid) {
        .service-photo-grid {
            row-gap: 0;
        }

        .service-photo-card {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 3;
            margin-bottom: 44px;
            background: none;
            border: 0;
        }

        .service-photo-card:nth-last-child(-n + 2) {
            margin-bottom: 0;
        }

        .service-photo-copy {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 2;
            padding: 0;
        }

        .service-photo {
            border: 1px solid #e8e3d9;
            border-bottom: 0;
            border-radius: 8px 8px 0 0;
        }

        .service-photo-intro,
        .service-photo-controls {
            background: var(--ivory);
            border-inline: 1px solid #e8e3d9;
        }

        .service-photo-intro {
            padding: 30px 32px 0;
        }

        .service-photo-controls {
            align-self: start;
            padding: 0 32px 32px;
            border-bottom: 1px solid #e8e3d9;
            border-radius: 0 0 8px 8px;
        }


    }
}

@media (max-width: 991.98px) {
    .service-catalog-row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-block: 34px;
    }

    .service-photo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 575.98px) {
    .service-catalog-title h3 {
        font-size: 1.5rem;
    }

    .service-catalog-title > .bi {
        font-size: 1.6rem;
    }

    .service-groups {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-photo-copy {
        padding: 24px 22px;
    }

    .service-photo-copy h3 {
        font-size: 1.55rem;
    }

    .service-catalog-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
