/* ==========================================================
   PRAXIS NERLICH
   Zentrale Website Styles
   ==========================================================

   Aufbau:

   01. Variablen und Basis
   02. Layout
   03. Header und Navigation
   04. Buttons
   05. Startseite / Hero
   06. Karten und allgemeine Inhalte
   07. Footer
   08. CMS-Inhaltselemente
   09. Google Maps
   10. Sprechzeiten
   11. Notfall- und Servicenummern
   12. Rechtliche Inhalte
   13. Kontaktformular
   14. Präventionsmedizin
   15. Praxisschwerpunkte
   16. Responsive Anpassungen

   ========================================================== */


/* ==========================================================
   01. DESIGN-VARIABLEN
   ========================================================== */

:root {
    --green: #2f7d26;
    --green2: #73ad25;
    --lime: #a9cc55;

    --yellow: #f5bf24;

    --ink: #173019;
    --muted: #607064;

    --paper: #fbfdf8;
    --white: #ffffff;

    --line: #dfe9da;

    --blue: #176478;

    --shadow:
        0 18px 50px rgba(29, 70, 31, 0.11);

    --shadow-soft:
        0 12px 36px rgba(29, 70, 31, 0.06);

    --radius: 22px;

    --content-width: 1180px;
}


/* ==========================================================
   02. RESET UND BASIS
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;

    scroll-behavior: smooth;

    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;

    margin: 0;

    overflow-x: hidden;

    color: var(--ink);

    background:
        radial-gradient(
            circle at 85% 0,
            #f8f4c7 0,
            transparent 28%
        ),
        var(--paper);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.65;
}


/* ==========================================================
   LINKS
   ========================================================== */

a {
    color: inherit;
}


/* ==========================================================
   BILDER
   ========================================================== */

img {
    display: block;

    max-width: 100%;

    height: auto;
}


/* ==========================================================
   ALLGEMEINER SEITENCONTAINER
   ========================================================== */

.shell {
    width: min(
        var(--content-width),
        calc(100% - 32px)
    );

    min-width: 0;

    margin-inline: auto;
}


/* ==========================================================
   TEXT-HILFSKLASSE
   ========================================================== */

.eyebrow {
    display: inline-block;

    color: var(--green);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* ==========================================================
   03. HEADER
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;

    z-index: 50;

    width: 100%;

    background:
        rgba(251, 253, 248, 0.94);

    border-bottom:
        1px solid rgba(47, 125, 38, 0.1);

    backdrop-filter: blur(16px);
}


/* ==========================================================
   HEADER TOPBAR
   ========================================================== */

.topbar {
    width: 100%;

    background: var(--green);

    color: #ffffff;

    font-size: 0.86rem;
}

.topbar-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-block: 7px;
}

.topbar a {
    color: inherit;

    text-decoration: none;
}


/* ==========================================================
   LOGO UND NAVIGATION
   ========================================================== */

.brand-row {
    display: flex;

    align-items: center;

    gap: 32px;

    min-height: 96px;
}

.brand {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: flex-start;

    width: 205px;
    height: 88px;

    text-decoration: none;
}

.brand img {
    width: auto;
    height: 82px;

    max-width: 205px;

    object-fit: contain;
    object-position: left center;
}


/* ==========================================================
   HAUPTNAVIGATION
   ========================================================== */

.mainnav {
    margin-left: auto;
}

.mainnav ul {
    display: flex;

    align-items: center;

    gap: 5px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.mainnav li {
    position: relative;
}

.mainnav a {
    display: block;

    padding: 10px 12px;

    border-radius: 10px;

    color: var(--ink);

    font-size: 0.94rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.mainnav a:hover,
.mainnav a:focus-visible {
    background: #eef6e9;

    color: var(--green);
}


/* ==========================================================
   SUBNAVIGATION
   ========================================================== */

.has-sub > a {
    padding-right: 28px;
}

.sub-toggle {
    position: absolute;

    top: 9px;
    right: 4px;

    border: 0;

    background: transparent;

    color: var(--green);

    cursor: pointer;
}

.submenu {
    position: absolute !important;

    top: 44px;
    left: 0;

    display: none !important;

    flex-direction: column;

    align-items: stretch !important;

    min-width: 260px;

    margin: 0;
    padding: 8px !important;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 14px;

    box-shadow: var(--shadow);
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.sub-open .submenu {
    display: flex !important;
}


/* ==========================================================
   MOBILE MENÜ BUTTON
   ========================================================== */

.menu-toggle {
    display: none;

    margin-left: auto;

    padding: 9px 12px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 10px;

    color: var(--ink);

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}


/* ==========================================================
   04. BUTTONS
   ========================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 18px;

    border: 1px solid transparent;
    border-radius: 12px;

    font: inherit;
    font-weight: 800;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    color: #ffffff;

    box-shadow:
        0 10px 26px rgba(47, 125, 38, 0.22);
}

.btn.secondary {
    background: #ffffff;

    border-color: var(--line);

    color: var(--ink);
}


/* ==========================================================
   05. STARTSEITE / HERO
   ========================================================== */

.hero {
    padding: 72px 0 48px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.07),
            rgba(245, 191, 36, 0.10)
        );
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);

    align-items: center;

    gap: 64px;
}

.hero h1 {
    max-width: 760px;

    margin: 12px 0 22px;

    font-size:
        clamp(
            2.6rem,
            5vw,
            5.2rem
        );

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.hero p {
    max-width: 650px;

    color: var(--muted);

    font-size: 1.16rem;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


/* ==========================================================
   HERO KARTE
   ========================================================== */

.hero-card {
    min-width: 0;

    padding: 18px;

    background: #ffffff;

    border: 1px solid rgba(47, 125, 38, 0.12);
    border-radius: 30px;

    box-shadow: var(--shadow);
}

.hero-card > img {
    width: 100%;

    aspect-ratio: 1.5;

    object-fit: cover;

    border-radius: 20px;
}

.mini-card {
    margin-top: 12px;

    padding: 12px 14px;

    background: #fffcdf;

    border-left: 4px solid var(--yellow);
    border-radius: 10px;
}

.mini-card span {
    display: block;

    color: var(--muted);
}


/* ==========================================================
   06. STARTSEITE FEATURE KARTEN
   ========================================================== */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 34px;
}

.feature-card {
    min-width: 0;

    padding: 26px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 10px 30px rgba(29, 70, 31, 0.06);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.feature-card > span {
    color: var(--yellow);

    font-weight: 900;
}

.feature-card h2 {
    margin: 10px 0 6px;
}

.feature-card p {
    margin: 0;

    color: var(--muted);
}


/* ==========================================================
   ALLGEMEINE SEITENABSCHNITTE
   ========================================================== */

.page-section {
    width: 100%;

    min-width: 0;

    padding: 72px 0;
}

.narrow {
    max-width: 920px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2,
.content-card h1 {
    max-width: 100%;

    margin: 8px 0 0;

    font-size:
        clamp(
            2.2rem,
            4vw,
            3.6rem
        );

    line-height: 1.05;

    letter-spacing: -0.04em;

    overflow-wrap: anywhere;
}


/* ==========================================================
   ALLGEMEINE PANELS
   ========================================================== */

.panel,
.content-card {
    min-width: 0;

    padding:
        clamp(
            22px,
            4vw,
            48px
        );

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.content-card h2 {
    margin-top: 36px;

    color: var(--green);
}

.content-card a {
    color: var(--green);
}


/* ==========================================================
   NEWS
   ========================================================== */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.news-card {
    min-width: 0;

    padding: 24px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 18px;
}

.news-card time,
.content-card time {
    color: var(--green);

    font-size: 0.85rem;
    font-weight: 800;
}

.news-card h3,
.news-card h2 {
    margin: 9px 0;
}

.news-card p {
    color: var(--muted);
}

.news-card a,
.backlink {
    color: var(--green);

    font-weight: 800;

    text-decoration: none;
}


/* ==========================================================
   SPRECHZEITEN
   ========================================================== */

.hours-table {
    margin: 28px 0;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 16px;
}

.hours-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.2fr)
        minmax(0, 2fr);

    gap: 14px;

    padding: 14px 16px;

    border-bottom: 1px solid var(--line);
}

.hours-row:last-child {
    border-bottom: 0;
}

.hours-row:nth-child(odd) {
    background: #f7fbf4;
}


/* ==========================================================
   LINK KARTEN
   ========================================================== */

.link-cards {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 28px;
}

.link-cards a {
    min-width: 0;

    padding: 18px;

    background: #fbfdf9;

    border: 1px solid var(--line);
    border-radius: 14px;

    text-decoration: none;
}

.link-cards span {
    display: block;

    color: var(--muted);

    font-size: 0.9rem;
}


/* ==========================================================
   GESUNDHEITSRECHNER
   ========================================================== */

.calculator {
    margin-top: 28px;

    padding: 22px;

    background: #f4f9ef;

    border: 1px solid var(--line);
    border-radius: 18px;
}

.calc-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 16px;
}

.calculator label {
    font-size: 0.9rem;
    font-weight: 700;
}

.calculator input,
.calculator select {
    width: 100%;

    margin-top: 6px;

    padding: 11px 12px;

    background: #ffffff;

    border: 1px solid #cddbc7;
    border-radius: 10px;

    color: var(--ink);

    font: inherit;
}

.result {
    margin-top: 16px;

    padding: 14px;

    background: #ffffff;

    border-left: 4px solid var(--yellow);
    border-radius: 10px;
}


/* ==========================================================
   07. FOOTER
   ========================================================== */

.site-footer {
    margin-top: 40px;

    padding: 56px 0 20px;

    background: #173019;

    color: #e9f1e6;
}

.footer-grid {
    display: grid;

    /* Praxis | Praxis-Navigation | Rechtliches | Kontakt */
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 0.8fr)
        minmax(0, 0.8fr)
        minmax(0, 1.1fr);

    gap: 50px;
}

.footer-logo {
    display: block;

    width: auto;
    height: 115px;

    max-width: 230px;

    object-fit: contain;
    object-position: left center;
}

.site-footer h3 {
    color: #ffffff;
}

.site-footer ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer a {
    color: #d8e9d2;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 30px;

    padding-top: 18px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    color: #bdd0b8;

    font-size: 0.88rem;
}

.footer-bottom a {
    color: #f5d24c;

    font-weight: 800;
}


/* ==========================================================
   08. CMS-INHALTSELEMENTE
   ========================================================== */

.page-builder-page {
    width: 100%;

    max-width: 1180px;

    min-width: 0;
}

.page-content-elements {
    display: grid;

    gap: 28px;

    width: 100%;

    min-width: 0;
}

.content-element {
    width: 100%;

    min-width: 0;

    margin-inline: auto;
}

.ce-width-normal {
    max-width: 920px;
}

.ce-width-wide {
    max-width: 1080px;
}

.ce-width-full {
    max-width: none;
}

.content-element:not(.ce-heading):not(.ce-spacer) {
    padding:
        clamp(
            22px,
            4vw,
            42px
        );

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);
}

.content-element > h2,
.ce-heading h2 {
    max-width: 100%;

    margin: 0 0 16px;

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.65rem
        );

    line-height: 1.08;

    letter-spacing: -0.035em;

    overflow-wrap: anywhere;
}

.content-element > h3 {
    color: var(--green);
}

.ce-richtext > :first-child,
.ce-lead > :first-child,
.ce-map-intro > :first-child {
    margin-top: 0;
}

.ce-richtext > :last-child,
.ce-lead > :last-child,
.ce-map-intro > :last-child {
    margin-bottom: 0;
}

.ce-richtext,
.ce-lead,
.ce-map-intro {
    min-width: 0;

    overflow-wrap: anywhere;
}

.ce-lead {
    color: var(--muted);

    font-size: 1.08rem;
}


/* ==========================================================
   CMS INFO BOX
   ========================================================== */

.ce-box {
    padding: 20px 22px;

    background: #f3f8ef;

    border-left: 4px solid var(--green);
    border-radius: 15px;
}

.ce-box-warning {
    background: #fff9dc;

    border-left-color: var(--yellow);
}

.ce-box-success {
    background: #eef8eb;

    border-left-color: var(--green2);
}

.ce-box-title {
    display: block;

    margin-bottom: 6px;

    font-size: 1.05rem;
}

.ce-box p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   CMS ABSTAND
   ========================================================== */

.ce-spacer-small {
    height: 18px;
}

.ce-spacer-medium {
    height: 42px;
}

.ce-spacer-large {
    height: 76px;
}


/* ==========================================================
   09. GOOGLE MAPS
   ========================================================== */

.ce-google_maps {
    overflow: hidden;
}

.ce-map-intro {
    max-width: 760px;

    margin-bottom: 24px;

    color: var(--muted);
}

.ce-map-layout {
    display: grid;

    grid-template-columns:
        minmax(220px, 0.7fr)
        minmax(0, 1.3fr);

    align-items: stretch;

    gap: 24px;
}

.ce-map-details {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    min-width: 0;

    padding: 6px 0;
}

.ce-map-details > strong {
    font-size: 1.15rem;
}

.ce-map-details p {
    margin: 8px 0 22px;

    color: var(--muted);

    white-space: pre-line;
}


/* ==========================================================
   MAP CONTAINER
   ========================================================== */

.google-map-shell {
    position: relative;

    width: 100%;

    min-width: 0;

    min-height:
        var(
            --map-height,
            480px
        );

    height:
        var(
            --map-height,
            480px
        );

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #edf5e8,
            #fff8d9
        );

    border: 1px solid var(--line);
    border-radius: 18px;
}

.google-map-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;
    height: 100%;

    padding: 28px;

    color: var(--muted);

    text-align: center;
}

.google-map-placeholder strong {
    color: var(--ink);

    font-size: 1.25rem;
}

.google-map-placeholder span {
    max-width: 520px;
}

.google-map-icon {
    display: grid !important;

    place-items: center;

    width: 54px;
    height: 54px;

    background: var(--green);

    border-radius: 16px;

    color: #ffffff !important;

    font-size: 2rem;

    box-shadow:
        0 12px 28px rgba(47, 125, 38, 0.2);
}

.google-map-unavailable {
    background: #fff9dc;
}

.google-map-frame {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

.google-map-shell.is-loaded {
    background: #e8eee5;
}


/* ==========================================================
   10. NOTFALL- UND SERVICENUMMERN
   ========================================================== */

.emergency-page {
    --emergency-red: #b42318;
    --emergency-red-dark: #8f1d14;
    --emergency-red-soft: #fff2f0;

    --emergency-yellow: #f5bf24;
    --emergency-yellow-soft: #fff9dc;

    --emergency-green-soft: #f3f8ef;

    --emergency-border: #dce8d7;
}

.emergency-section {
    margin-top: 52px;
}

.emergency-section:first-of-type {
    margin-top: 36px;
}

.emergency-section > h2 {
    margin: 0 0 22px;

    color: var(--green);

    font-size:
        clamp(
            1.4rem,
            2.2vw,
            1.9rem
        );

    line-height: 1.2;

    letter-spacing: -0.025em;
}


/* ==========================================================
   NOTRUF 112 BOX
   ========================================================== */

.emergency-alert {
    position: relative;

    margin: 10px 0 42px;

    padding:
        clamp(
            26px,
            4vw,
            42px
        );

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fff5f3 0%,
            #ffffff 52%,
            #fff9df 100%
        );

    border: 1px solid rgba(180, 35, 24, 0.18);
    border-left: 6px solid var(--emergency-red);
    border-radius: 22px;

    box-shadow:
        0 18px 45px rgba(97, 36, 23, 0.08);
}

.emergency-alert::after {
    content: "";

    position: absolute;

    top: -90px;
    right: -80px;

    width: 220px;
    height: 220px;

    background:
        rgba(245, 191, 36, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.emergency-alert__content {
    position: relative;

    z-index: 1;

    max-width: 760px;
}

.emergency-alert__label {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 8px;

    color: var(--emergency-red);

    font-size: 0.78rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.emergency-alert__label::before {
    content: "";

    flex: 0 0 auto;

    width: 9px;
    height: 9px;

    background: var(--emergency-red);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(180, 35, 24, 0.1);
}

.emergency-alert h2 {
    margin: 2px 0 12px;

    font-size:
        clamp(
            3.3rem,
            7vw,
            5.6rem
        );

    line-height: 0.95;

    letter-spacing: -0.055em;
}

.emergency-alert h2 a {
    color: var(--emergency-red);

    text-decoration: none;
}

.emergency-alert p {
    max-width: 680px;

    margin: 0;

    color: #5f514d;

    font-size: 1rem;
    line-height: 1.7;
}


/* ==========================================================
   NOTRUF SCHRITTE
   ========================================================== */

.emergency-steps {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.emergency-step {
    min-width: 0;
    min-height: 125px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--emergency-border);
    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(29, 70, 31, 0.045);
}

.emergency-step strong {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--green);

    font-size: 1.05rem;
    font-weight: 900;
}

.emergency-step p {
    margin: 0;

    color: var(--muted);

    font-size: 0.94rem;
    line-height: 1.6;
}

.emergency-step:last-child {
    background:
        linear-gradient(
            135deg,
            #fffdf0,
            #ffffff
        );

    border-color:
        rgba(245, 191, 36, 0.35);
}


/* ==========================================================
   INFO BOX
   ========================================================== */

.info-box {
    position: relative;

    margin-top: 18px;

    padding:
        20px
        22px
        20px
        56px;

    background:
        var(--emergency-green-soft);

    border:
        1px solid var(--emergency-border);

    border-radius: 16px;
}

.info-box::before {
    content: "i";

    position: absolute;

    top: 21px;
    left: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    background: var(--green);

    border-radius: 50%;

    color: #ffffff;

    font-family: Georgia, serif;
    font-weight: 700;
}

.info-box strong {
    display: block;

    margin-bottom: 4px;
}

.info-box p {
    margin: 0;

    color: var(--muted);
}


/* ==========================================================
   BEREITSCHAFTSDIENST
   ========================================================== */

.service-number {
    display: grid;

    grid-template-columns:
        minmax(220px, 0.75fr)
        minmax(0, 1.25fr);

    align-items: center;

    gap: 28px;

    padding: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.08),
            rgba(169, 204, 85, 0.08)
        );

    border: 1px solid var(--line);
    border-radius: 18px;
}

.service-number__label {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}

.service-number strong {
    display: block;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1;
}

.service-number strong a {
    color: var(--green);

    text-decoration: none;
}

.service-number p {
    margin: 0;

    color: var(--muted);
}


/* ==========================================================
   WARNBOX
   ========================================================== */

.warning-box {
    margin-top: 16px;

    padding: 18px 20px;

    background:
        var(--emergency-yellow-soft);

    border:
        1px solid rgba(245, 191, 36, 0.32);

    border-left:
        4px solid var(--emergency-yellow);

    border-radius: 13px;
}

.warning-box p {
    margin: 5px 0 0;

    color: #5e6259;
}


/* ==========================================================
   SERVICENUMMERN KARTEN
   ========================================================== */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.service-card {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;
    min-height: 135px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 16px;

    box-shadow:
        0 10px 28px rgba(29, 70, 31, 0.055);
}

.service-card > span {
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.85rem;
    font-weight: 700;
}

.service-card strong {
    font-size:
        clamp(
            1.35rem,
            3vw,
            1.75rem
        );

    line-height: 1.2;
}

.service-card strong a {
    color: var(--green);

    text-decoration: none;
}

.service-card small {
    margin-top: 5px;

    color: var(--muted);
}


/* ==========================================================
   GIFTRUF TABELLE
   ========================================================== */

.emergency-table-wrap {
    width: 100%;
    max-width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 16px;

    box-shadow:
        0 10px 28px rgba(29, 70, 31, 0.05);
}

.emergency-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 0.94rem;
}

.emergency-table th,
.emergency-table td {
    padding: 14px 18px;

    border-bottom:
        1px solid var(--line);

    text-align: left;

    vertical-align: middle;
}

.emergency-table thead {
    background:
        linear-gradient(
            135deg,
            var(--green),
            #3d8d32
        );

    color: #ffffff;
}

.emergency-table th {
    font-size: 0.82rem;
    font-weight: 900;

    letter-spacing: 0.025em;
}

.emergency-table tbody tr:last-child td {
    border-bottom: 0;
}

.emergency-table tbody tr:nth-child(even) {
    background: #f7faf5;
}

.emergency-table td:last-child {
    width: 190px;

    white-space: nowrap;

    font-weight: 800;
}

.emergency-table a {
    color: var(--green);
}


/* ==========================================================
   CHECKLISTE
   ========================================================== */

.check-list {
    display: grid;

    gap: 12px;
}

.check-list__item {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr);

    align-items: center;

    gap: 15px;

    padding: 15px 18px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 14px;
}

.check-list__item > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 50%;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 900;
}

.check-list__item p {
    margin: 0;

    color: var(--muted);
}


/* ==========================================================
   SERVICE LISTE
   ========================================================== */

.service-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.service-list__item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-width: 0;
    min-height: 92px;

    padding: 18px 20px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 15px;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 7px 22px rgba(29, 70, 31, 0.04);
}

.service-list__item > span {
    color: var(--ink);

    font-weight: 700;
}

.service-list__item small {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 0.76rem;
    font-weight: 500;
}

.service-list__item strong {
    flex: 0 0 auto;

    color: var(--green);

    font-size: 1rem;

    white-space: nowrap;
}

.emergency-final-warning {
    margin-top: 46px;

    padding: 24px;

    background:
        linear-gradient(
            135deg,
            #fff2ef,
            #fffaf0
        );

    border:
        1px solid rgba(180, 35, 24, 0.18);

    border-left:
        5px solid var(--emergency-red);
}

.emergency-final-warning > strong {
    display: block;

    color: var(--emergency-red);

    font-size: 1.15rem;
}


/* ==========================================================
   11. RECHTLICHE CONTENT-ELEMENTE
   ========================================================== */

.legal-plugin {
    display: grid;

    gap: 26px;

    min-width: 0;
}

.legal-plugin-head {
    max-width: 820px;
}

.legal-plugin-head h2 {
    margin: 7px 0 12px;

    font-size:
        clamp(
            2rem,
            3.5vw,
            3.2rem
        );

    line-height: 1.05;

    letter-spacing: -0.04em;
}

.legal-intro {
    color: var(--muted);

    font-size: 1.02rem;
}

.legal-intro > :first-child {
    margin-top: 0;
}

.legal-intro > :last-child {
    margin-bottom: 0;
}


/* ==========================================================
   RECHTLICHE KARTEN
   ========================================================== */

.legal-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.legal-card {
    min-width: 0;

    padding: 22px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border: 1px solid var(--line);
    border-radius: 17px;

    box-shadow:
        0 8px 26px rgba(29, 70, 31, 0.045);
}

.legal-card-full {
    margin: 0;
}

.legal-card h3,
.legal-text-section h3,
.cookie-info-card h3 {
    margin: 0 0 14px;

    color: var(--green);

    font-size: 1.06rem;
}

.legal-card dl {
    margin: 0;
}

.legal-row {
    display: grid;

    grid-template-columns:
        minmax(130px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 14px;

    padding: 10px 0;

    border-bottom:
        1px solid var(--line);
}

.legal-row:first-child {
    padding-top: 0;
}

.legal-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.legal-row dt {
    color: var(--muted);

    font-size: 0.86rem;
    font-weight: 700;
}

.legal-row dd {
    min-width: 0;

    margin: 0;

    color: var(--ink);

    font-weight: 650;

    overflow-wrap: anywhere;
}

.legal-row a {
    color: var(--green);

    text-decoration: none;
}

.legal-row a:hover {
    text-decoration: underline;

    text-underline-offset: 3px;
}


/* ==========================================================
   RECHTLICHE TEXTABSCHNITTE
   ========================================================== */

.legal-text-section {
    padding: 22px 0;

    border-top: 1px solid var(--line);
}

.legal-text-section > :last-child,
.legal-text-section > div > :last-child {
    margin-bottom: 0;
}

.legal-text-section p,
.legal-text-section li {
    color: var(--muted);
}


/* ==========================================================
   COOKIE KARTEN
   ========================================================== */

.cookie-info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.cookie-info-card {
    min-width: 0;

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 17px;
}

.cookie-info-card p:last-child {
    margin-bottom: 0;
}

.legal-cookie .cookie-info-card:nth-child(3) {
    background:
        linear-gradient(
            135deg,
            #f3f8ef,
            #ffffff
        );
}


/* ==========================================================
   BERUFSRECHTLICHE REGELUNGEN
   ========================================================== */

.legal-section {
    margin-top: 36px;
}

.legal-section > h2 {
    margin-bottom: 12px;

    color: var(--green);

    font-size:
        clamp(
            1.45rem,
            2.4vw,
            2rem
        );

    line-height: 1.2;

    letter-spacing: -0.025em;
}

.legal-section > p {
    color: var(--muted);
}


/* ==========================================================
   RECHTLICHE LINKS
   ========================================================== */

.legal-links {
    display: grid;

    gap: 14px;

    margin: 24px 0;

    padding: 0;

    list-style: none;
}

.legal-links > li {
    min-width: 0;

    padding: 20px 22px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(29, 70, 31, 0.045);
}

.legal-links strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ink);

    font-size: 1rem;
    font-weight: 800;
}

.legal-links p {
    margin: 0;

    color: var(--muted);
}

.legal-links a {
    display: inline-flex;

    margin-top: 12px;

    color: var(--green);

    font-size: 0.9rem;
    font-weight: 800;

    text-decoration: none;
}

.legal-links a::after {
    content: " ↗";

    margin-left: 4px;
}

.legal-links a:hover {
    text-decoration: underline;

    text-underline-offset: 3px;
}

.legal-note {
    padding: 16px 18px;

    background: #f4f9ef;

    border-left:
        4px solid var(--green);

    border-radius: 12px;

    color: var(--muted);
}


/* ==========================================================
   12. KONTAKTFORMULAR
   ========================================================== */

.contact-form-wrapper {
    width: 100%;

    min-width: 0;

    margin-top: 24px;
}

.contact-form {
    display: grid;

    gap: 20px;

    width: 100%;

    min-width: 0;
}

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.form-field {
    display: grid;

    min-width: 0;

    gap: 7px;
}

.form-field label {
    color: var(--ink);

    font-size: 0.9rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    min-width: 0;

    padding: 12px 14px;

    background: #ffffff;

    border: 1px solid #cddbc7;
    border-radius: 12px;

    color: var(--ink);

    font: inherit;
}

.form-field textarea {
    min-height: 150px;

    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;

    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(47, 125, 38, 0.12);
}

.form-help {
    color: var(--muted);

    font-size: 0.82rem;
}


/* ==========================================================
   DATENSCHUTZ CHECKBOX
   ========================================================== */

.form-checkbox {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 16px;

    background: #f5f9f2;

    border: 1px solid var(--line);
    border-radius: 12px;

    color: var(--muted);

    font-size: 0.9rem;
}

.form-checkbox input {
    flex: 0 0 auto;

    margin-top: 4px;

    accent-color: var(--green);
}


/* ==========================================================
   KONTAKTFORMULAR HINWEIS
   ========================================================== */

.contact-form-notice {
    margin-bottom: 24px;

    padding: 18px 20px;

    background: #fff9df;

    border:
        1px solid rgba(245, 191, 36, 0.35);

    border-left:
        4px solid var(--yellow);

    border-radius: 14px;
}

.contact-form-notice strong {
    display: block;

    margin-bottom: 4px;
}

.contact-form-notice p {
    margin: 0;

    color: var(--muted);
}


/* ==========================================================
   HONEYPOT
   ========================================================== */

.form-honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* ==========================================================
   KONTAKTFORMULAR STATUS
   ========================================================== */

.contact-form-status {
    width: 100%;

    min-height: 0;

    margin: 0 0 24px;
}

.contact-form-status:empty {
    display: none;
}


/* ==========================================================
   ALLGEMEINE FORMULARMELDUNG
   ========================================================== */

.form-message {
    position: relative;

    width: 100%;

    padding:
        18px
        20px
        18px
        52px;

    border: 1px solid transparent;
    border-radius: 14px;

    font-size: 0.95rem;
    font-weight: 600;

    line-height: 1.6;

    box-shadow:
        0 8px 24px rgba(29, 70, 31, 0.06);
}


/* ==========================================================
   ERFOLGSMELDUNG
   ========================================================== */

.form-message-success {
    background: #f0f8ec;

    border-color: #cfe3c7;
    border-left:
        4px solid var(--green);

    color: #24551f;
}

.form-message-success::before {
    content: "✓";

    position: absolute;

    top: 17px;
    left: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    background: var(--green);

    border-radius: 50%;

    color: #ffffff;

    font-size: 0.8rem;
    font-weight: 900;
}


/* ==========================================================
   FEHLERMELDUNG
   ========================================================== */

.form-message-error {
    background: #fff3f1;

    border-color: #efcbc6;
    border-left:
        4px solid #b42318;

    color: #8b2b22;
}

.form-message-error::before {
    content: "!";

    position: absolute;

    top: 17px;
    left: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    background: #b42318;

    border-radius: 50%;

    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 900;
}


/* ==========================================================
   13. PRÄVENTIONSMEDIZIN
   ========================================================== */

.prevention-section {
    display: grid;

    gap: 34px;

    width: 100%;

    min-width: 0;
}


/* ==========================================================
   PRÄVENTIONSMEDIZIN EINLEITUNG
   ========================================================== */

.prevention-intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, 0.85fr);

    align-items: center;

    gap:
        clamp(
            28px,
            5vw,
            56px
        );

    width: 100%;

    min-width: 0;

    padding:
        clamp(
            24px,
            4vw,
            42px
        );

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow:
        0 14px 38px rgba(29, 70, 31, 0.07);
}

.prevention-intro__content {
    min-width: 0;
}

.prevention-intro__content h2 {
    max-width: 100%;

    margin: 8px 0 18px;

    color: var(--green);

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.6rem
        );

    line-height: 1.12;

    letter-spacing: -0.035em;

    overflow-wrap: anywhere;
}

.prevention-intro p,
.prevention-intro__content p {
    margin: 0 0 14px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}

.prevention-intro p:last-child,
.prevention-intro__content p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   PRÄVENTIONSMEDIZIN BILD
   ========================================================== */

.prevention-intro__media {
    position: relative;

    width: 100%;

    min-width: 0;
    min-height: 340px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.08),
            rgba(245, 191, 36, 0.12)
        );

    border-radius: 18px;
}

.prevention-intro__media img {
    width: 100%;
    height: 100%;

    min-height: 340px;

    object-fit: cover;
}


/* ==========================================================
   PRÄVENTIONSMEDIZIN ANGEBOT
   ========================================================== */

.prevention-offer {
    width: 100%;

    min-width: 0;

    padding:
        clamp(
            24px,
            4vw,
            38px
        );

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow:
        0 14px 38px rgba(29, 70, 31, 0.07);
}

.prevention-offer__head {
    width: 100%;

    max-width: 760px;

    min-width: 0;

    margin-bottom: 28px;
}

.prevention-offer__head h2 {
    max-width: 100%;

    margin: 8px 0 10px;

    color: var(--green);

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.6rem
        );

    line-height: 1.15;

    letter-spacing: -0.03em;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.prevention-offer__head p {
    margin: 0;

    color: var(--muted);
}


/* ==========================================================
   PRÄVENTIONSMEDIZIN LEISTUNGSKARTEN
   ========================================================== */

.prevention-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    width: 100%;

    min-width: 0;
}

.prevention-card {
    display: flex;

    gap: 16px;

    min-width: 0;

    padding: 20px;

    background: #f8fbf5;

    border: 1px solid #dfe9da;
    border-radius: 16px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.prevention-card:hover {
    transform: translateY(-3px);

    border-color: #c9ddc1;

    box-shadow:
        0 12px 28px rgba(29, 70, 31, 0.08);
}

.prevention-card > div:last-child {
    min-width: 0;
}

.prevention-card__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-top: 2px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 50%;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 900;

    box-shadow:
        0 6px 14px rgba(47, 125, 38, 0.18);
}

.prevention-card h3 {
    max-width: 100%;

    margin: 0 0 5px;

    color: var(--ink);

    font-size: 1.05rem;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.prevention-card p {
    max-width: 100%;

    margin: 0;

    color: var(--muted);

    font-size: 0.94rem;

    line-height: 1.65;

    overflow-wrap: anywhere;
}


/* ==========================================================
   PRÄVENTIONSMEDIZIN ABSCHLUSS
   ========================================================== */

.prevention-highlight {
    position: relative;

    width: 100%;

    min-width: 0;

    overflow: hidden;

    padding:
        clamp(
            26px,
            5vw,
            44px
        );

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.08),
            rgba(245, 191, 36, 0.12)
        );

    border:
        1px solid rgba(47, 125, 38, 0.12);

    border-radius: 22px;
}

.prevention-highlight::after {
    content: "";

    position: absolute;

    right: -50px;
    bottom: -70px;

    width: 180px;
    height: 180px;

    background:
        rgba(115, 173, 37, 0.12);

    border-radius: 50%;
}

.prevention-highlight__content {
    position: relative;

    z-index: 1;

    max-width: 760px;

    min-width: 0;
}

.prevention-highlight h2 {
    max-width: 100%;

    margin: 8px 0 14px;

    color: var(--green);

    font-size:
        clamp(
            1.7rem,
            3vw,
            2.4rem
        );

    line-height: 1.15;

    letter-spacing: -0.03em;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.prevention-highlight p {
    margin: 0 0 12px;

    color: var(--muted);

    line-height: 1.75;
}

.prevention-highlight p:last-child {
    margin-bottom: 0;

    color: var(--ink);

    font-weight: 700;
}


/* ==========================================================
   14. PRAXISSCHWERPUNKTE
   ========================================================== */

.focus-section {
    display: grid;

    gap: 28px;

    width: 100%;

    min-width: 0;
}

.focus-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(300px, 0.95fr);

    align-items: center;

    gap:
        clamp(
            28px,
            5vw,
            60px
        );

    width: 100%;

    min-width: 0;

    padding:
        clamp(
            26px,
            5vw,
            48px
        );

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 24px;

    box-shadow:
        0 18px 46px rgba(29, 70, 31, 0.08);
}

.focus-hero__content {
    max-width: 760px;

    min-width: 0;
}

.focus-hero__content h2 {
    max-width: 100%;

    margin: 8px 0 18px;

    color: var(--green);

    font-size:
        clamp(
            2rem,
            4vw,
            3.1rem
        );

    line-height: 1.08;

    letter-spacing: -0.04em;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.focus-hero__content p {
    margin: 0 0 14px;

    color: var(--muted);

    font-size: 1.02rem;

    line-height: 1.8;
}

.focus-hero__content p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   PRAXISSCHWERPUNKTE BILD
   ========================================================== */

.focus-hero__media {
    position: relative;

    width: 100%;

    min-width: 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.08),
            rgba(245, 191, 36, 0.12)
        );

    border-radius: 20px;
}

.focus-hero__media img {
    width: 100%;
    height: 100%;

    min-height: 340px;

    object-fit: cover;
}


/* ==========================================================
   PRAXISSCHWERPUNKTE HINWEIS
   ========================================================== */

.focus-highlight {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    width: 100%;

    min-width: 0;

    padding: 22px 24px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.07),
            rgba(115, 173, 37, 0.08)
        );

    border:
        1px solid rgba(47, 125, 38, 0.14);

    border-radius: 18px;
}

.focus-highlight__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 50%;

    color: #ffffff;

    font-size: 1.35rem;
    font-weight: 800;

    box-shadow:
        0 8px 18px rgba(47, 125, 38, 0.18);
}

.focus-highlight__content {
    min-width: 0;
}

.focus-highlight__content h3 {
    margin: 0 0 6px;

    color: var(--ink);

    font-size: 1.08rem;
}

.focus-highlight__content p {
    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


/* ==========================================================
   15. RESPONSIVE
   TABLET BIS 980 PX
   ========================================================== */

@media (max-width: 980px) {

    /* Header */

    .brand-row {
        min-height: 84px;
    }

    .brand {
        width: 170px;
        height: 76px;
    }

    .brand img {
        height: 70px;

        max-width: 170px;
    }


    /* Navigation */

    .menu-toggle {
        display: block;
    }

    .mainnav {
        position: absolute;

        top: 100%;
        left: 16px;
        right: 16px;

        display: none;

        margin-left: 0;

        padding: 10px;

        background: #ffffff;

        border: 1px solid var(--line);
        border-radius: 16px;

        box-shadow: var(--shadow);
    }

    .mainnav.open {
        display: block;
    }

    .mainnav ul {
        display: block;
    }

    .mainnav a {
        width: 100%;
    }

    .submenu {
        position: static !important;

        width: 100%;

        min-width: 0;

        margin: 4px 10px !important;

        box-shadow: none;
    }


    /* Hero */

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 620px;
    }


    /* Startseite Karten */

    .feature-grid,
    .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Footer */

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 32px;
    }
}


/* ==========================================================
   TABLET BIS 860 PX
   ========================================================== */

@media (max-width: 860px) {

    .focus-hero {
        grid-template-columns: 1fr;
    }

    .focus-hero__media {
        order: -1;
    }

    .focus-hero__media img {
        min-height: 260px;
    }


    .prevention-intro {
        grid-template-columns: 1fr;
    }

    .prevention-intro__media {
        order: -1;

        min-height: 260px;
    }

    .prevention-intro__media img {
        min-height: 260px;
    }
}


/* ==========================================================
   TABLET BIS 780 PX
   ========================================================== */

@media (max-width: 780px) {

    /* Maps */

    .ce-map-layout {
        grid-template-columns: 1fr;
    }

    .google-map-shell {
        min-height:
            min(
                var(--map-height, 480px),
                420px
            );

        height:
            min(
                var(--map-height, 480px),
                420px
            );
    }


    /* Notfallseite */

    .emergency-steps,
    .service-list {
        grid-template-columns: 1fr;
    }

    .service-number {
        grid-template-columns: 1fr;

        gap: 14px;
    }
}


/* ==========================================================
   TABLET BIS 760 PX
   ========================================================== */

@media (max-width: 760px) {

    /* Rechtliche Elemente */

    .legal-grid,
    .cookie-info-grid {
        grid-template-columns: 1fr;
    }

    .legal-row {
        grid-template-columns: 1fr;

        gap: 3px;
    }

    .legal-row dt {
        font-size: 0.8rem;
    }

    .legal-card {
        padding: 19px;
    }


    /* Prävention */

    .prevention-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   16. SMARTPHONE BIS 650 PX
   ========================================================== */

@media (max-width: 650px) {

    /* ------------------------------------------------------
       Allgemeiner Container
       ------------------------------------------------------ */

    .shell {
        width:
            calc(
                100% - 24px
            );
    }


    /* ------------------------------------------------------
       Topbar
       ------------------------------------------------------ */

    .topbar-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding-block: 9px;
    }


    /* ------------------------------------------------------
       Header
       ------------------------------------------------------ */

    .brand-row {
        min-height: 78px;

        gap: 14px;
    }

    .brand {
        width: 145px;
        height: 66px;
    }

    .brand img {
        height: 60px;

        max-width: 145px;
    }


    /* ------------------------------------------------------
       Hero
       ------------------------------------------------------ */

    .hero {
        padding-top: 46px;
    }

    .hero h1 {
        font-size: 2.7rem;

        overflow-wrap: anywhere;
    }


    /* ------------------------------------------------------
       Hauptlayouts
       ------------------------------------------------------ */

    .feature-grid,
    .news-grid,
    .footer-grid,
    .link-cards,
    .calc-grid {
        grid-template-columns: 1fr;
    }


    /* ------------------------------------------------------
       Seitenabstände
       ------------------------------------------------------ */

    .page-section {
        padding-top: 36px;
        padding-bottom: 36px;
    }


    /* ------------------------------------------------------
       CMS CONTENT ELEMENT
       ------------------------------------------------------ */

    .content-element:not(.ce-heading):not(.ce-spacer) {
        width: 100%;

        max-width: 100%;

        padding: 18px;

        border-radius: 18px;
    }

    .page-builder-page,
    .page-content-elements,
    .content-element {
        width: 100%;

        max-width: 100%;

        min-width: 0;
    }


    /* ------------------------------------------------------
       Sprechzeiten
       ------------------------------------------------------ */

    .hours-row {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .hours-row span {
        display: block;
    }


    /* ------------------------------------------------------
       Footer
       ------------------------------------------------------ */

    .footer-bottom {
        flex-direction: column;
    }


    /* ------------------------------------------------------
       Google Maps
       ------------------------------------------------------ */

    .google-map-shell {
        min-height: 340px;

        height: 340px;
    }

    .ce-map-details {
        padding: 0;
    }

    .ce-spacer-large {
        height: 54px;
    }


    /* ------------------------------------------------------
       Notfallseite
       ------------------------------------------------------ */

    .emergency-alert {
        padding: 24px 20px;
    }

    .emergency-alert h2 {
        font-size: 3.7rem;
    }

    .emergency-steps,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .emergency-step {
        min-height: 0;
    }

    .info-box {
        padding:
            54px
            18px
            18px;
    }

    .check-list__item {
        grid-template-columns:
            38px
            minmax(0, 1fr);

        align-items: start;
    }

    .service-list__item {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

    .service-list__item strong {
        white-space: normal;
    }

    .emergency-table {
        min-width: 620px;
    }


    /* ------------------------------------------------------
       Rechtliche Inhalte
       ------------------------------------------------------ */

    .legal-links > li {
        padding: 18px;
    }


    /* ------------------------------------------------------
       Kontaktformular
       ------------------------------------------------------ */

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-message {
        padding:
            16px
            16px
            16px
            48px;
    }


    /* ------------------------------------------------------
       Präventionsmedizin
       ------------------------------------------------------ */

    .prevention-section {
        gap: 22px;
    }

    .prevention-intro {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 18px;

        border-radius: 18px;
    }

    .prevention-intro__media {
        order: -1;

        min-height: 220px;

        border-radius: 14px;
    }

    .prevention-intro__media img {
        min-height: 220px;
    }

    .prevention-intro__content h2 {
        font-size:
            clamp(
                1.55rem,
                7.5vw,
                2rem
            );

        line-height: 1.1;
    }

    .prevention-intro p,
    .prevention-intro__content p {
        font-size: 0.96rem;

        line-height: 1.7;
    }


    /* Präventionsangebot */

    .prevention-offer {
        width: 100%;

        max-width: 100%;

        padding: 20px 16px;

        border-radius: 18px;
    }

    .prevention-offer__head {
        max-width: 100%;

        margin-bottom: 22px;
    }

    .prevention-offer__head h2 {
        max-width: 100%;

        margin: 7px 0 10px;

        font-size:
            clamp(
                1.55rem,
                7.5vw,
                2rem
            );

        line-height: 1.08;

        letter-spacing: -0.035em;

        overflow-wrap: anywhere;

        hyphens: auto;
    }

    .prevention-offer__head p {
        max-width: 100%;

        font-size: 0.96rem;

        line-height: 1.65;

        overflow-wrap: anywhere;
    }


    /* Präventionskarten */

    .prevention-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .prevention-card {
        width: 100%;

        max-width: 100%;

        gap: 13px;

        padding: 16px;
    }

    .prevention-card__icon {
        width: 32px;
        height: 32px;
    }

    .prevention-card h3 {
        max-width: 100%;

        font-size: 1rem;

        overflow-wrap: anywhere;

        hyphens: auto;
    }

    .prevention-card p {
        max-width: 100%;

        font-size: 0.9rem;

        line-height: 1.55;

        overflow-wrap: anywhere;
    }


    /* Prävention Abschluss */

    .prevention-highlight {
        padding: 22px 18px;

        border-radius: 18px;
    }

    .prevention-highlight h2 {
        max-width: 100%;

        font-size: 1.65rem;

        line-height: 1.12;

        overflow-wrap: anywhere;

        hyphens: auto;
    }


    /* ------------------------------------------------------
       Praxisschwerpunkte
       ------------------------------------------------------ */

    .focus-section {
        gap: 20px;
    }

    .focus-hero {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 18px;

        border-radius: 18px;
    }

    .focus-hero__media {
        order: -1;

        width: 100%;

        min-height: 0;

        border-radius: 14px;
    }

    .focus-hero__media img {
        width: 100%;
        height: auto;

        min-height: 0;

        aspect-ratio: 16 / 10;

        object-fit: cover;
    }

    .focus-hero__content h2 {
        font-size:
            clamp(
                1.6rem,
                7.5vw,
                2.05rem
            );

        line-height: 1.1;

        overflow-wrap: anywhere;

        hyphens: auto;
    }

    .focus-hero__content p {
        font-size: 0.96rem;

        line-height: 1.7;
    }

    .focus-highlight {
        flex-direction: column;

        gap: 12px;

        padding: 18px;
    }


    /* ------------------------------------------------------
       Globale Absicherung langer Texte
       ------------------------------------------------------ */

    h1,
    h2,
    h3,
    p,
    a,
    span,
    strong {
        max-width: 100%;
    }

    h1,
    h2,
    h3 {
        overflow-wrap: anywhere;

        hyphens: auto;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES BIS 420 PX
   ========================================================== */

@media (max-width: 420px) {

    .shell {
        width:
            calc(
                100% - 20px
            );
    }

    .brand {
        width: 130px;
    }

    .brand img {
        max-width: 130px;

        height: 56px;
    }

    .menu-toggle {
        padding: 8px 11px;

        font-size: 0.95rem;
    }

    .section-heading h1,
    .section-heading h2,
    .content-card h1 {
        font-size: 2rem;
    }

    .content-element:not(.ce-heading):not(.ce-spacer) {
        padding: 16px;
    }

    .prevention-offer {
        padding: 18px 14px;
    }

    .prevention-card {
        padding: 14px;
    }

    .prevention-card__icon {
        width: 30px;
        height: 30px;
    }

    .form-checkbox {
        padding: 14px;
    }
}

/* ==========================================================
   UNSER LEISTUNGSSPEKTRUM
   ========================================================== */

.services-overview {
    display: grid;

    gap: 30px;

    width: 100%;

    min-width: 0;
}


/* ==========================================================
   EINLEITUNG
   ========================================================== */

.services-overview__intro {
    max-width: 760px;

    min-width: 0;
}

.services-overview__intro h2 {
    max-width: 100%;

    margin: 8px 0 14px;

    color: var(--green);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.08;

    letter-spacing: -0.04em;

    overflow-wrap: anywhere;
}

.services-overview__intro p {
    margin: 0;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ==========================================================
   KARTEN-GRID
   ========================================================== */

.services-overview__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;

    min-width: 0;
}


/* ==========================================================
   EINZELNE LEISTUNGSKARTE
   ========================================================== */

.services-overview__card {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    min-width: 0;

    padding:
        clamp(
            22px,
            4vw,
            30px
        );

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border: 1px solid var(--line);
    border-radius: 20px;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 12px 34px rgba(29, 70, 31, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.services-overview__card:hover {
    transform: translateY(-4px);

    border-color: #c7ddbf;

    box-shadow:
        0 18px 42px rgba(29, 70, 31, 0.10);
}


/* ==========================================================
   ALTERNATIVE KARTE
   ========================================================== */

.services-overview__card--accent {
    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.06),
            rgba(245, 191, 36, 0.08)
        );
}


/* ==========================================================
   ICON
   ========================================================== */

.services-overview__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 14px;

    color: #ffffff;

    font-size: 1.25rem;
    font-weight: 900;

    box-shadow:
        0 8px 18px rgba(47, 125, 38, 0.18);
}


/* ==========================================================
   KARTENINHALT
   ========================================================== */

.services-overview__content {
    min-width: 0;
}

.services-overview__type {
    display: block;

    margin-bottom: 6px;

    color: var(--green);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.services-overview__card h3 {
    max-width: 100%;

    margin: 0 0 10px;

    color: var(--ink);

    font-size:
        clamp(
            1.35rem,
            2vw,
            1.7rem
        );

    line-height: 1.2;

    letter-spacing: -0.025em;

    overflow-wrap: anywhere;
}

.services-overview__card p {
    margin: 0 0 18px;

    color: var(--muted);

    line-height: 1.7;

    overflow-wrap: anywhere;
}


/* ==========================================================
   LINKTEXT
   ========================================================== */

.services-overview__link {
    display: inline-flex;

    align-items: center;

    color: var(--green);

    font-size: 0.9rem;
    font-weight: 800;
}

.services-overview__link::after {
    content: " →";

    margin-left: 5px;
}


/* ==========================================================
   HINWEISBOX
   ========================================================== */

.services-overview__note {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            #f4f9ef,
            #fffdf1
        );

    border: 1px solid var(--line);
    border-radius: 16px;
}

.services-overview__note-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: var(--green);

    border-radius: 50%;

    color: #ffffff;

    font-family: Georgia, serif;
    font-weight: 700;
}

.services-overview__note h3 {
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 1.05rem;
}

.services-overview__note p {
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 760px) {

    .services-overview__grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .services-overview {
        gap: 22px;
    }

    .services-overview__intro h2 {
        font-size:
            clamp(
                1.65rem,
                8vw,
                2.1rem
            );

        line-height: 1.1;

        hyphens: auto;
    }

    .services-overview__intro p {
        font-size: 0.96rem;

        line-height: 1.7;
    }

    .services-overview__card {
        gap: 14px;

        padding: 18px;

        border-radius: 17px;
    }

    .services-overview__icon {
        width: 38px;
        height: 38px;

        border-radius: 11px;

        font-size: 1rem;
    }

    .services-overview__card h3 {
        font-size: 1.25rem;

        hyphens: auto;
    }

    .services-overview__card p {
        font-size: 0.92rem;

        line-height: 1.6;
    }

    .services-overview__note {
        padding: 18px;

        gap: 12px;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .services-overview__card {
        flex-direction: column;
    }

    .services-overview__note {
        flex-direction: column;
    }
}

/* ==========================================================
   ALLGEMEINE LEISTUNGEN
   ========================================================== */

.general-services {
    display: grid;

    gap: 30px;

    width: 100%;

    min-width: 0;
}


/* ==========================================================
   EINLEITUNG
   ========================================================== */

.general-services__intro {
    width: 100%;

    max-width: 780px;

    min-width: 0;
}

.general-services__intro h2 {
    max-width: 100%;

    margin: 8px 0 16px;

    color: var(--green);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.08;

    letter-spacing: -0.04em;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.general-services__intro p {
    margin: 0 0 12px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}

.general-services__intro p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   LEISTUNGS-GRID
   ========================================================== */

.general-services__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;

    min-width: 0;
	margin-bottom: 25px;
}


/* ==========================================================
   LEISTUNGS-KARTE
   ========================================================== */

.general-services__card {
    position: relative;

    min-width: 0;

    padding:
        clamp(
            22px,
            4vw,
            30px
        );

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border: 1px solid var(--line);
    border-radius: 20px;

    box-shadow:
        0 12px 34px rgba(29, 70, 31, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.general-services__card:hover {
    transform: translateY(-3px);

    border-color: #c8ddc1;

    box-shadow:
        0 18px 42px rgba(29, 70, 31, 0.09);
}


/* ==========================================================
   AKZENTKARTE
   ========================================================== */

.general-services__card--accent {
    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.06),
            rgba(245, 191, 36, 0.08)
        );
}


/* ==========================================================
   KARTENKOPF
   ========================================================== */

.general-services__card-head {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 20px;
}

.general-services__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 13px;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 900;

    box-shadow:
        0 8px 18px rgba(47, 125, 38, 0.18);
}

.general-services__number {
    display: block;

    margin-bottom: 3px;

    color: var(--yellow);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.general-services__card h3 {
    max-width: 100%;

    margin: 0;

    color: var(--ink);

    font-size:
        clamp(
            1.3rem,
            2.2vw,
            1.7rem
        );

    line-height: 1.15;

    letter-spacing: -0.025em;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.general-services__card h3 span {
    color: var(--muted);

    font-size: 0.8em;

    font-weight: 700;
}


/* ==========================================================
   LEISTUNGSLISTE
   ========================================================== */

.general-services__list {
    display: grid;

    gap: 0;

    margin: 0;

    padding: 0;

    list-style: none;
}

.general-services__list li {
    position: relative;

    min-width: 0;

    padding:
        12px
        0
        12px
        26px;

    border-bottom:
        1px solid var(--line);

    color: var(--ink);

    line-height: 1.55;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.general-services__list li:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.general-services__list li::before {
    content: "✓";

    position: absolute;

    top: 12px;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    background:
        rgba(47, 125, 38, 0.1);

    border-radius: 50%;

    color: var(--green);

    font-size: 0.68rem;
    font-weight: 900;
}

.general-services__list li span {
    color: var(--muted);

    font-size: 0.9em;
}


/* ==========================================================
   HINWEISBOX
   ========================================================== */

.general-services__note {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    width: 100%;

    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            #f4f9ef,
            #fffdf1
        );

    border: 1px solid var(--line);
    border-radius: 16px;
}

.general-services__note-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: var(--green);

    border-radius: 50%;

    color: #ffffff;

    font-family: Georgia, serif;
    font-weight: 700;
}

.general-services__note h3 {
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 1.05rem;
}

.general-services__note p {
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 760px) {

    .general-services__grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .general-services {
        gap: 22px;
    }


    /* Einleitung */

    .general-services__intro h2 {
        font-size:
            clamp(
                1.65rem,
                8vw,
                2.1rem
            );

        line-height: 1.1;
    }

    .general-services__intro p {
        font-size: 0.96rem;

        line-height: 1.7;
    }


    /* Karten */

    .general-services__card {
        padding: 18px;

        border-radius: 17px;
    }

    .general-services__card-head {
        gap: 12px;

        margin-bottom: 16px;
    }

    .general-services__icon {
        width: 38px;
        height: 38px;

        border-radius: 11px;

        font-size: 0.95rem;
    }

    .general-services__card h3 {
        font-size: 1.25rem;
    }


    /* Liste */

    .general-services__list li {
        padding:
            11px
            0
            11px
            24px;

        font-size: 0.92rem;
    }

    .general-services__list li::before {
        top: 11px;
    }


    /* Hinweis */

    .general-services__note {
        gap: 12px;

        padding: 18px;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .general-services__card-head {
        flex-direction: column;
    }

    .general-services__note {
        flex-direction: column;
    }
}

/* ==========================================================
   LEISTUNGS-DETAILSEITEN
   Wird für alle medizinischen Unterseiten verwendet.
   ========================================================== */

.service-detail {
    display: grid;
    gap: 28px;

    width: 100%;
    min-width: 0;
}


/* ==========================================================
   EINLEITUNG
   ========================================================== */

.service-detail__intro {
    position: relative;

    overflow: hidden;

    padding: clamp(24px, 4vw, 38px);

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.07),
            rgba(245, 191, 36, 0.08)
        );

    border: 1px solid var(--line);
    border-radius: 20px;
}

.service-detail__intro::after {
    content: "";

    position: absolute;

    right: -55px;
    bottom: -75px;

    width: 180px;
    height: 180px;

    background:
        rgba(115, 173, 37, 0.10);

    border-radius: 50%;
}

.service-detail__intro-content {
    position: relative;

    z-index: 1;

    max-width: 780px;
}

.service-detail__intro h2 {
    max-width: 100%;

    margin: 8px 0 15px;

    color: var(--green);

    font-size:
        clamp(
            1.8rem,
            3.5vw,
            2.7rem
        );

    line-height: 1.1;

    letter-spacing: -0.035em;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.service-detail__intro p {
    margin: 0;

    color: var(--muted);

    font-size: 1.03rem;

    line-height: 1.8;
}


/* ==========================================================
   INHALTSKARTEN
   ========================================================== */

.service-detail__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.service-detail__card {
    min-width: 0;

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 17px;

    box-shadow:
        0 10px 30px rgba(29, 70, 31, 0.055);
}

.service-detail__card h3 {
    margin: 0 0 8px;

    color: var(--green);

    font-size: 1.08rem;
}

.service-detail__card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


/* ==========================================================
   INFOBOX
   ========================================================== */

.service-detail__note {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px 22px;

    background: #f5f9f2;

    border: 1px solid var(--line);
    border-radius: 16px;
}

.service-detail__note-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 50%;

    color: #ffffff;

    font-weight: 900;
}

.service-detail__note h3 {
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 1.05rem;
}

.service-detail__note p {
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 700px) {

    .service-detail {
        gap: 20px;
    }

    .service-detail__grid {
        grid-template-columns: 1fr;
    }

    .service-detail__intro {
        padding: 20px 18px;

        border-radius: 17px;
    }

    .service-detail__intro h2 {
        font-size:
            clamp(
                1.55rem,
                7vw,
                2rem
            );
    }

    .service-detail__intro p {
        font-size: 0.96rem;

        line-height: 1.7;
    }

    .service-detail__card {
        padding: 18px;
    }

    .service-detail__note {
        padding: 18px;
    }
}

@media (max-width: 420px) {

    .service-detail__note {
        flex-direction: column;
    }
}

/* ==========================================================
   GESUNDHEITSLEISTUNGEN
   ========================================================== */

.health-services__intro {
    width: 100%;
    max-width: 820px;
    min-width: 0;

    margin-bottom: 30px;
}

.health-services__intro h2 {
    max-width: 100%;

    margin: 8px 0 16px;

    color: var(--green);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.08;

    letter-spacing: -0.04em;

    overflow-wrap: anywhere;
    hyphens: auto;
}

.health-services__intro p {
    margin: 0;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ==========================================================
   GRID
   ========================================================== */

.health-services__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    min-width: 0;
}


/* ==========================================================
   KARTEN
   ========================================================== */

.health-services__card {
    min-width: 0;

    padding:
        clamp(
            22px,
            4vw,
            30px
        );

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border: 1px solid var(--line);
    border-radius: 20px;

    box-shadow:
        0 12px 34px rgba(29, 70, 31, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.health-services__card:hover {
    transform: translateY(-3px);

    border-color: #c8ddc1;

    box-shadow:
        0 18px 42px rgba(29, 70, 31, 0.09);
}


/*
 * Die Therapie enthält deutlich mehr Leistungen.
 * Deshalb darf sie über die gesamte Breite laufen.
 */

.health-services__card--therapy {
    grid-column: 1 / -1;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.045),
            rgba(245, 191, 36, 0.055)
        );
}


/* ==========================================================
   KARTENKOPF
   ========================================================== */

.health-services__card-head {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 20px;
}

.health-services__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 13px;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 900;

    box-shadow:
        0 8px 18px rgba(47, 125, 38, 0.18);
}

.health-services__number {
    display: block;

    margin-bottom: 3px;

    color: var(--yellow);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.health-services__card h3 {
    margin: 0;

    color: var(--ink);

    font-size:
        clamp(
            1.3rem,
            2.2vw,
            1.7rem
        );

    line-height: 1.15;

    letter-spacing: -0.025em;
}


/* ==========================================================
   LEISTUNGSLISTEN
   ========================================================== */

.health-services__list {
    display: grid;

    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.health-services__list > li {
    position: relative;

    min-width: 0;

    padding:
        12px
        0
        12px
        26px;

    border-bottom:
        1px solid var(--line);

    color: var(--ink);

    line-height: 1.55;

    overflow-wrap: anywhere;

    hyphens: auto;
}

.health-services__list > li:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}


/* Grüner Haken */

.health-services__list > li::before {
    content: "✓";

    position: absolute;

    top: 13px;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    background:
        rgba(47, 125, 38, 0.10);

    border-radius: 50%;

    color: var(--green);

    font-size: 0.68rem;
    font-weight: 900;
}

.health-services__list > li > span:not(.health-services__list-title) {
    color: var(--muted);

    font-size: 0.9em;
}


/* ==========================================================
   UNTERPUNKTE
   Eignungsuntersuchung und Ernährungsberatung
   ========================================================== */

.health-services__list-title {
    display: block;

    color: var(--ink);

    font-weight: 700;
}

.health-services__sublist {
    display: grid;

    gap: 6px;

    margin: 9px 0 2px;
    padding: 0;

    list-style: none;
}

.health-services__sublist li {
    position: relative;

    padding-left: 17px;

    color: var(--muted);

    font-size: 0.92rem;

    line-height: 1.5;
}

.health-services__sublist li::before {
    content: "";

    position: absolute;

    top: 0.68em;
    left: 1px;

    width: 6px;
    height: 6px;

    background: var(--yellow);

    border-radius: 50%;
}


/* ==========================================================
   THERAPIE ALS ZWEISPALTIGE LISTE
   ========================================================== */

.health-services__list--columns {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 30px;
}


/*
 * Da die Liste zweispaltig ist, bekommt jeder Eintrag
 * seine eigene horizontale Trennlinie.
 */

.health-services__list--columns > li:last-child {
    padding-bottom: 12px;

    border-bottom:
        1px solid var(--line);
}


/* ==========================================================
   ABSCHLUSSBEREICH
   ========================================================== */

.health-services__highlight {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-top: 20px;

    padding:
        clamp(
            22px,
            4vw,
            30px
        );

    background:
        linear-gradient(
            135deg,
            #f4f9ef,
            #fffdf1
        );

    border: 1px solid var(--line);
    border-radius: 18px;
}

.health-services__highlight-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 50%;

    color: #ffffff;

    font-weight: 900;

    box-shadow:
        0 8px 18px rgba(47, 125, 38, 0.16);
}

.health-services__highlight h3 {
    margin: 5px 0 8px;

    color: var(--ink);

    font-size:
        clamp(
            1.25rem,
            2vw,
            1.55rem
        );

    line-height: 1.2;
}

.health-services__highlight p {
    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 760px) {

    .health-services__grid {
        grid-template-columns: 1fr;
    }

    .health-services__card--therapy {
        grid-column: auto;
    }

    .health-services__list--columns {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .health-services__intro {
        margin-bottom: 22px;
    }

    .health-services__intro h2 {
        font-size:
            clamp(
                1.65rem,
                8vw,
                2.1rem
            );

        line-height: 1.1;
    }

    .health-services__intro p {
        font-size: 0.96rem;

        line-height: 1.7;
    }


    /* Karten */

    .health-services__card {
        padding: 18px;

        border-radius: 17px;
    }

    .health-services__card-head {
        gap: 12px;

        margin-bottom: 16px;
    }

    .health-services__icon {
        width: 38px;
        height: 38px;

        border-radius: 11px;

        font-size: 0.95rem;
    }

    .health-services__card h3 {
        font-size: 1.25rem;
    }


    /* Listen */

    .health-services__list > li {
        padding:
            11px
            0
            11px
            24px;

        font-size: 0.92rem;
    }

    .health-services__list > li::before {
        top: 12px;
    }


    /* Abschluss */

    .health-services__highlight {
        gap: 14px;

        padding: 18px;

        border-radius: 16px;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .health-services__highlight {
        flex-direction: column;
    }
}

/* ==========================================================
   MEDIZINLEXIKA
   ========================================================== */

.medical-lexicon {
    display: grid;
    gap: 34px;

    width: 100%;
    min-width: 0;
}


/* ==========================================================
   EINLEITUNG
   ========================================================== */

.medical-lexicon__intro {
    max-width: 760px;
}

/* ==========================================================
   MEDIZINLEXIKA – EINLEITUNGSÜBERSCHRIFT

   Diese Überschrift ist bewusst kleiner als der eigentliche
   Seitentitel "Medizinlexika".
   ========================================================== */

.medical-lexicon__intro h2 {
    width: 100%;
    max-width: 760px;

    margin: 8px 0 24px;

    color: var(--green);

    /*
     * Desktop:
     * maximal 2.25rem, damit die Überschrift nicht mit
     * dem eigentlichen Seitentitel konkurriert.
     */
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);

    font-weight: 800;
    line-height: 1.12;

    letter-spacing: -0.025em;

    /*
     * Verhindert aggressive Worttrennungen wie:
     * "Ge- sundheit"
     */
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.medical-lexicon__intro p {
    margin: 0 0 14px;

    color: var(--muted);

    font-size: 1.02rem;
    line-height: 1.8;
}

.medical-lexicon__salutation {
    color: var(--ink) !important;

    font-weight: 800;
}


/* ==========================================================
   DOCMEDICUS HAUPTBEREICH
   ========================================================== */

.medical-lexicon__portal {
    position: relative;

    overflow: hidden;

    padding: clamp(26px, 4vw, 40px);

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.055),
            rgba(255, 255, 255, 0.96) 55%,
            rgba(245, 191, 36, 0.08)
        );

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow:
        0 14px 38px rgba(29, 70, 31, 0.065);
}

.medical-lexicon__portal::after {
    content: "";

    position: absolute;

    right: -80px;
    bottom: -110px;

    width: 260px;
    height: 260px;

    background: rgba(115, 173, 37, 0.08);

    border-radius: 50%;

    pointer-events: none;
}

.medical-lexicon__portal-main {
    position: relative;

    z-index: 1;

    max-width: 720px;
}

.medical-lexicon__label {
    display: block;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 0.75rem;
    font-weight: 900;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* ==========================================================
   DOCMEDICUS WORTMARKE
   ========================================================== */

.docmedicus-logo {
    display: inline-block;

    margin: 4px 0 18px;

    font-size: clamp(2.7rem, 5vw, 4.3rem);
    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -0.065em;

    text-decoration: none;
}

.docmedicus-logo__doc {
    color: #d82f2f;
}

.docmedicus-logo__medicus {
    color: #146b99;
}

.docmedicus-link {
    font-weight: 850;

    text-decoration: none;

    white-space: nowrap;
}

.docmedicus-link__doc {
    color: #d82f2f;
}

.docmedicus-link__medicus {
    color: #146b99;
}

.docmedicus-logo:hover,
.docmedicus-link:hover {
    opacity: 0.82;
}


/* ==========================================================
   PORTAL TEXT
   ========================================================== */

.medical-lexicon__portal-main p {
    max-width: 650px;

    margin: 0 0 22px;

    color: var(--muted);

    line-height: 1.8;
}


/* ==========================================================
   THEMEN ALS CHIPS
   ========================================================== */

.medical-lexicon__topics {
    position: relative;

    z-index: 1;

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;
}

.medical-lexicon__topics span {
    display: inline-flex;

    align-items: center;

    padding: 8px 12px;

    background: rgba(255, 255, 255, 0.85);

    border: 1px solid var(--line);
    border-radius: 999px;

    color: var(--ink);

    font-size: 0.86rem;
    font-weight: 700;
}


/* ==========================================================
   QUALITÄTSBEREICH
   ========================================================== */

.medical-lexicon__quality {
    display: grid;

    grid-template-columns:
        46px
        minmax(0, 1fr);

    gap: 18px;

    align-items: start;

    padding: 26px 28px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 18px;
}

.medical-lexicon__quality-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 50%;

    color: #ffffff;

    font-weight: 900;

    box-shadow:
        0 8px 18px rgba(47, 125, 38, 0.18);
}

.medical-lexicon__quality h3 {
    margin: 5px 0 8px;

    color: var(--ink);

    font-size: clamp(1.3rem, 2.3vw, 1.65rem);
    line-height: 1.2;
}

.medical-lexicon__quality p {
    margin: 0;

    color: var(--muted);

    line-height: 1.75;
}


/* ==========================================================
   ABSCHLUSS
   ========================================================== */

.medical-lexicon__closing {
    padding: 4px 0 0 22px;

    border-left: 3px solid var(--yellow);
}

.medical-lexicon__closing p {
    margin: 0 0 4px;

    color: var(--muted);
}

.medical-lexicon__closing strong {
    color: var(--ink);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 760px) {

    .medical-lexicon {
        gap: 24px;
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .medical-lexicon__intro h2 {
        max-width: 100%;

        font-size: clamp(1.7rem, 7vw, 2.15rem);

        line-height: 1.1;
    }

    .medical-lexicon__intro p {
        font-size: 0.96rem;

        line-height: 1.7;
    }


    .medical-lexicon__portal {
        padding: 20px 18px;

        border-radius: 17px;
    }

    .docmedicus-logo {
        font-size: clamp(2.3rem, 12vw, 3.2rem);
    }

    .medical-lexicon__portal-main p {
        font-size: 0.95rem;

        line-height: 1.7;
    }

    .medical-lexicon__button {
        width: 100%;
    }

    .medical-lexicon__topics {
        margin-top: 22px;
    }


    .medical-lexicon__quality {
        grid-template-columns: 40px minmax(0, 1fr);

        gap: 14px;

        padding: 20px 18px;
    }

}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .medical-lexicon__quality {
        grid-template-columns: 1fr;
    }

    .medical-lexicon__closing {
        padding-left: 16px;
    }

}

/* ==========================================================
   GESUNDHEIT & MEDIZIN
   ========================================================== */

.health-medicine {
    display: grid;
    gap: 30px;

    width: 100%;
    min-width: 0;
}


/* ==========================================================
   HERO / EINLEITUNG
   ========================================================== */

.health-medicine__hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(300px, 0.92fr);

    align-items: center;

    gap: clamp(28px, 5vw, 56px);

    width: 100%;
    min-width: 0;

    padding: clamp(24px, 4vw, 42px);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfdf9 65%,
            #fffdf2 100%
        );

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow:
        0 14px 38px rgba(29, 70, 31, 0.07);
	margin-bottom: 30px;
}


/* ==========================================================
   HERO TEXT
   ========================================================== */

.health-medicine__intro {
    min-width: 0;
}

.health-medicine__intro h2 {
    max-width: 720px;

    margin: 8px 0 18px;

    color: var(--green);

    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -0.03em;

    /*
     * Bei Überschriften keine unschönen Trennungen
     * wie "Gesund- heit".
     */
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.health-medicine__intro p {
    max-width: 720px;

    margin: 0;

    color: var(--muted);

    font-size: 1.02rem;
    line-height: 1.8;
}


/* ==========================================================
   HERO BILD
   ========================================================== */

.health-medicine__media {
    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.08),
            rgba(245, 191, 36, 0.1)
        );

    border-radius: 18px;
}

.health-medicine__media img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 320px;

    object-fit: cover;
}


/* ==========================================================
   THEMEN-GRID
   ========================================================== */

.health-medicine__topics {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
    min-width: 0;
}


/* ==========================================================
   THEMENKARTE
   ========================================================== */

.health-medicine__card {
    position: relative;

    min-width: 0;

    padding: 22px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border: 1px solid var(--line);
    border-radius: 17px;

    box-shadow:
        0 9px 26px rgba(29, 70, 31, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.health-medicine__card:hover {
    transform: translateY(-3px);

    border-color: #c8ddc1;

    box-shadow:
        0 14px 34px rgba(29, 70, 31, 0.08);
}


/* ==========================================================
   KATEGORIE
   ========================================================== */

.health-medicine__category {
    display: inline-flex;

    align-items: center;

    margin-bottom: 10px;

    padding: 5px 9px;

    background:
        rgba(47, 125, 38, 0.08);

    border-radius: 999px;

    color: var(--green);

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


/* ==========================================================
   KARTENÜBERSCHRIFT
   ========================================================== */

.health-medicine__card h3 {
    max-width: 100%;

    margin: 0;

    color: var(--ink);

    font-size: 1.05rem;
    font-weight: 750;

    line-height: 1.45;

    letter-spacing: -0.015em;

    overflow-wrap: anywhere;
    hyphens: auto;
}


/* ==========================================================
   HINWEISBOX
   ========================================================== */

.health-medicine__note {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    width: 100%;

    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            #f4f9ef,
            #fffdf1
        );

    border: 1px solid var(--line);
    border-radius: 16px;
	margin-top:30px;
}

.health-medicine__note-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: var(--green);

    border-radius: 50%;

    color: #ffffff;

    font-family: Georgia, serif;
    font-weight: 700;

    box-shadow:
        0 7px 16px rgba(47, 125, 38, 0.16);
}

.health-medicine__note > div:last-child {
    min-width: 0;
}

.health-medicine__note h3 {
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 1.05rem;
}

.health-medicine__note p {
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .health-medicine__hero {
        grid-template-columns: 1fr;
    }

    /*
     * Auf Tablet erscheint das Bild oberhalb des Textes.
     */
    .health-medicine__media {
        order: -1;
    }

    .health-medicine__media img {
        min-height: 260px;

        aspect-ratio: 16 / 8;
    }

    .health-medicine__topics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .health-medicine {
        gap: 22px;
    }


    /* ------------------------------------------------------
       Hero
       ------------------------------------------------------ */

    .health-medicine__hero {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 18px;

        border-radius: 17px;
    }


    /* ------------------------------------------------------
       Bild
       ------------------------------------------------------ */

    .health-medicine__media {
        order: -1;

        border-radius: 14px;
    }

    .health-medicine__media img {
        width: 100%;
        height: auto;

        min-height: 0;

        aspect-ratio: 16 / 10;

        object-fit: cover;
    }


    /* ------------------------------------------------------
       Überschrift
       ------------------------------------------------------ */

    .health-medicine__intro h2 {
        max-width: 100%;

        margin: 6px 0 15px;

        font-size:
            clamp(
                1.55rem,
                6.8vw,
                1.95rem
            );

        line-height: 1.14;

        letter-spacing: -0.02em;

        hyphens: none;
        word-break: normal;
        overflow-wrap: normal;
    }

    .health-medicine__intro p {
        max-width: 100%;

        font-size: 0.95rem;

        line-height: 1.7;
    }


    /* ------------------------------------------------------
       Themen
       ------------------------------------------------------ */

    .health-medicine__topics {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .health-medicine__card {
        padding: 18px;

        border-radius: 15px;
    }

    .health-medicine__category {
        margin-bottom: 8px;

        font-size: 0.66rem;
    }

    .health-medicine__card h3 {
        font-size: 1rem;

        line-height: 1.4;
    }


    /* ------------------------------------------------------
       Hinweis
       ------------------------------------------------------ */

    .health-medicine__note {
        padding: 18px;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .health-medicine__hero {
        padding: 16px;
    }

    .health-medicine__intro h2 {
        font-size: 1.55rem;
    }

    .health-medicine__card {
        padding: 16px;
    }

    .health-medicine__note {
        flex-direction: column;
    }
}

/* ==========================================================
   GESUNDHEIT & MEDIZIN
   VERLINKTE ARTIKELKARTEN
   ========================================================== */

.health-medicine__card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 180px;

    color: inherit;

    text-decoration: none;
}


/* ----------------------------------------------------------
   Überschrift
   ---------------------------------------------------------- */

.health-medicine__card h3 {
    flex: 1;

    color: var(--ink);

    transition:
        color 0.2s ease;
}


/* ----------------------------------------------------------
   Artikel-Link am Kartenende
   ---------------------------------------------------------- */

.health-medicine__more {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 18px;

    color: var(--green);

    font-size: 0.82rem;
    font-weight: 800;
}

.health-medicine__more::after {
    content: "→";

    transition:
        transform 0.2s ease;
}


/* ----------------------------------------------------------
   Hover
   ---------------------------------------------------------- */

.health-medicine__card:hover h3 {
    color: var(--green);
}

.health-medicine__card:hover .health-medicine__more::after {
    transform: translateX(4px);
}


/* ----------------------------------------------------------
   Tastatur-Navigation
   ---------------------------------------------------------- */

.health-medicine__card:focus-visible {
    outline:
        3px solid rgba(47, 125, 38, 0.22);

    outline-offset: 3px;
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .health-medicine__card {
        min-height: 0;
    }

    .health-medicine__more {
        margin-top: 14px;
    }
}

/* ==========================================================
   GESUNDHEIT & MEDIZIN
   LINKS INNERHALB DER BESTEHENDEN KARTEN
   ========================================================== */

.health-medicine__card h3 a {
    color: var(--ink);
    text-decoration: none;

    transition: color 0.2s ease;
}

.health-medicine__card h3 a:hover {
    color: var(--green);
}

.health-medicine__card h3 a:focus-visible {
    color: var(--green);

    outline: 2px solid rgba(47, 125, 38, 0.25);
    outline-offset: 4px;

    border-radius: 4px;
}

/* ==========================================================
   Gesundheit & Medizin
   Links innerhalb der Themenkarten
   ========================================================== */

.health-medicine__card h3 a {
    color: inherit;
    text-decoration: none;
    transition:
        color 0.2s ease;
}

.health-medicine__card h3 a:hover {
    color: var(--green);
}

.health-medicine__card h3 a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ==========================================================
   RECHTLICHES ÜBERSICHT
   ========================================================== */

.legal-overview-intro {
    width: 100%;
    max-width: 760px;

    margin-bottom: 26px;

    color: var(--muted);

    font-size: 1.02rem;

    line-height: 1.8;
}

.legal-overview-intro > :first-child {
    margin-top: 0;
}

.legal-overview-intro > :last-child {
    margin-bottom: 0;
}


/* ==========================================================
   GRID
   ========================================================== */

.legal-overview-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
    min-width: 0;
}


/* ==========================================================
   KARTE
   ========================================================== */

.legal-overview-card {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    min-width: 0;

    padding: 22px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border: 1px solid var(--line);
    border-radius: 17px;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 9px 28px rgba(29, 70, 31, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.legal-overview-card:hover {
    transform: translateY(-3px);

    border-color: #c7ddbf;

    box-shadow:
        0 14px 36px rgba(29, 70, 31, 0.09);
}


/* ==========================================================
   ICON
   ========================================================== */

.legal-overview-card__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius: 13px;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 900;

    box-shadow:
        0 7px 17px rgba(47, 125, 38, 0.17);
}


/* ==========================================================
   INHALT
   ========================================================== */

.legal-overview-card__content {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.legal-overview-card__content > strong {
    margin-bottom: 5px;

    color: var(--ink);

    font-size: 1.12rem;
    font-weight: 800;

    line-height: 1.3;

    transition:
        color 0.2s ease;
}


.legal-overview-card:hover
.legal-overview-card__content > strong {
    color: var(--green);
}


/* ==========================================================
   BESCHREIBUNG
   ========================================================== */

.legal-overview-card__description {
    color: var(--muted);

    font-size: 0.92rem;

    line-height: 1.65;

    overflow-wrap: anywhere;
}


/* ==========================================================
   LINKTEXT
   ========================================================== */

.legal-overview-card__link {
    display: inline-flex;

    align-items: center;

    margin-top: 14px;

    color: var(--green);

    font-size: 0.82rem;
    font-weight: 800;
}


.legal-overview-card__link::after {
    content: "→";

    margin-left: 5px;

    transition:
        transform 0.2s ease;
}


.legal-overview-card:hover
.legal-overview-card__link::after {
    transform: translateX(4px);
}


/* ==========================================================
   FOCUS
   ========================================================== */

.legal-overview-card:focus-visible {
    outline:
        3px solid rgba(47, 125, 38, 0.22);

    outline-offset: 3px;
}


/* ==========================================================
   TABLET / SMARTPHONE
   ========================================================== */

@media (max-width: 700px) {

    .legal-overview-grid {
        grid-template-columns: 1fr;
    }

    .legal-overview-card {
        padding: 18px;

        gap: 14px;
    }

    .legal-overview-card__icon {
        width: 38px;
        height: 38px;

        border-radius: 11px;
    }
}


@media (max-width: 420px) {

    .legal-overview-card {
        flex-direction: column;
    }
}

/* ==========================================================
   17. NEWS-SYSTEM
   ==========================================================
 *
 * Zentrale Gestaltung für das komplette News-System.
 *
 * Enthalten:
 *
 * - News auf der Startseite
 * - Beitragsbilder
 * - Kategorien
 * - hervorgehobene Meldungen
 * - News-Archiv
 * - große hervorgehobene Meldung
 * - News-Detailseite
 * - vorherige / nächste Meldung
 * - weitere Meldungen
 * - Leerzustände
 * - responsive Darstellung
 *
 *
 * VERWENDETE FRONTEND-KLASSEN
 * ----------------------------------------------------------
 *
 * Startseite:
 *
 * .home-news
 * .home-news__head
 * .home-news__grid
 * .home-news__card
 * .home-news__image
 * .home-news__meta
 * .home-news__more
 *
 *
 * Archiv:
 *
 * .news-archive
 * .news-archive__hero
 * .news-archive__section-head
 * .news-archive__grid
 * .news-archive__card
 * .news-archive__image
 * .news-archive__meta
 * .news-archive__more
 *
 *
 * Hervorgehobene Meldung:
 *
 * .news-featured
 * .news-featured__media
 * .news-featured__content
 * .news-featured__meta
 * .news-featured-badge
 *
 *
 * Detailseite:
 *
 * .news-detail
 * .news-detail__article
 * .news-detail__header
 * .news-detail__meta
 * .news-detail__category
 * .news-detail__lead
 * .news-detail__image
 * .news-detail__content
 * .news-detail__navigation
 * .news-detail__nav-item
 *
 *
 * Weitere Meldungen:
 *
 * .news-related
 * .news-related__head
 * .news-related__grid
 * .news-related__card
 * .news-related__image
 * .news-related__category
 * .news-related__more
 */


/* ==========================================================
   GEMEINSAME NEWS-BILDER
   ==========================================================
 *
 * Alle News-Bilder verwenden ein einheitliches Verhältnis.
 *
 * Dadurch bleiben Karten unabhängig von der Originalgröße
 * des hochgeladenen Bildes sauber ausgerichtet.
 */

.home-news__image,
.news-archive__image,
.news-featured__media {
    display: block;

    width: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.07),
            rgba(245, 191, 36, 0.08)
        );

    text-decoration: none;
}


.home-news__image img,
.news-archive__image img,
.news-featured__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.home-news__card:hover .home-news__image img,
.news-archive__card:hover .news-archive__image img,
.news-featured:hover .news-featured__media img {
    transform: scale(1.025);
}


/* ==========================================================
   HERVORGEHOBEN BADGE
   ========================================================== */

.news-featured-badge {
    display: inline-flex;

    align-items: center;

    width: max-content;

    max-width: 100%;

    padding:
        6px
        10px;

    background:
        linear-gradient(
            135deg,
            #fff7d8,
            #fffbee
        );

    border:
        1px solid
        rgba(245, 191, 36, 0.32);

    border-radius:
        999px;

    color:
        #765b08;

    font-size:
        0.68rem;

    font-weight:
        900;

    letter-spacing:
        0.055em;

    line-height:
        1.2;

    text-transform:
        uppercase;
}


/* ==========================================================
   STARTSEITE
   NEWS-BEREICH
   ========================================================== */

.home-news {
    position: relative;

    width: 100%;

    margin-top: 58px;

    padding:
        clamp(
            58px,
            7vw,
            88px
        )
        0;

    background:
        linear-gradient(
            180deg,
            rgba(47, 125, 38, 0.035),
            rgba(255, 255, 255, 0.82)
        );

    border-top:
        1px solid
        rgba(47, 125, 38, 0.08);
}


/* ==========================================================
   STARTSEITE
   KOPFBEREICH
   ========================================================== */

.home-news__head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 32px;

    margin-bottom: 30px;
}


.home-news__head-copy {
    width: 100%;

    max-width: 760px;

    min-width: 0;
}


.home-news__head h2 {
    max-width: 760px;

    margin:
        8px
        0
        12px;

    color:
        var(--ink);

    font-size:
        clamp(
            2rem,
            3.6vw,
            3.15rem
        );

    line-height: 1.04;

    letter-spacing:
        -0.045em;

    hyphens: none;

    overflow-wrap: normal;
}


.home-news__head p {
    max-width: 650px;

    margin: 0;

    color:
        var(--muted);

    font-size:
        1rem;

    line-height:
        1.72;
}


/* ==========================================================
   STARTSEITE
   ALLE MELDUNGEN
   ========================================================== */

.home-news__all {
    display: inline-flex;

    flex:
        0
        0
        auto;

    align-items: center;

    gap: 7px;

    padding:
        10px
        14px;

    color:
        var(--green);

    border-radius:
        10px;

    font-size:
        0.9rem;

    font-weight:
        800;

    text-decoration:
        none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.home-news__all:hover,
.home-news__all:focus-visible {
    background:
        rgba(47, 125, 38, 0.07);

    transform:
        translateY(-1px);
}


.home-news__all span {
    transition:
        transform 0.2s ease;
}


.home-news__all:hover span,
.home-news__all:focus-visible span {
    transform:
        translateX(4px);
}


/* ==========================================================
   STARTSEITE
   NEWS-GRID
   ========================================================== */

.home-news__grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;

    width: 100%;

    min-width: 0;
}


/*
 * Wenn nur eine Meldung vorhanden ist, soll sie auf dem
 * Desktop nicht wie eine verlorene kleine Karte wirken.
 */

.home-news__grid > :only-child {
    grid-column:
        span 2;
}


/* ==========================================================
   STARTSEITE
   NEWS-KARTE
   ========================================================== */

.home-news__card {
    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border:
        1px solid
        var(--line);

    border-radius:
        20px;

    box-shadow:
        0 12px 32px
        rgba(29, 70, 31, 0.055);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.home-news__card:hover {
    transform:
        translateY(-4px);

    border-color:
        #c9ddc2;

    box-shadow:
        0 18px 42px
        rgba(29, 70, 31, 0.09);
}


/* ==========================================================
   STARTSEITE
   BEITRAGSBILD
   ========================================================== */

.home-news__image {
    aspect-ratio:
        16 / 9;

    border-bottom:
        1px solid
        var(--line);
}


/* ==========================================================
   STARTSEITE
   KARTENINHALT
   ==========================================================
 *
 * Da das vorhandene HTML keinen zusätzlichen Content-Wrapper
 * besitzt, erhalten die einzelnen Inhalte seitlich Abstand.
 */

.home-news__card > .home-news__meta,
.home-news__card > .news-featured-badge,
.home-news__card > h3,
.home-news__card > p,
.home-news__card > .home-news__more {
    margin-left:
        clamp(
            20px,
            3vw,
            28px
        );

    margin-right:
        clamp(
            20px,
            3vw,
            28px
        );
}


.home-news__card > .home-news__meta {
    margin-top:
        22px;
}


/* ==========================================================
   STARTSEITE
   META
   ========================================================== */

.home-news__meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap:
        8px
        10px;

    margin-bottom:
        12px;
}


.home-news__meta time {
    color:
        var(--muted);

    font-size:
        0.75rem;

    font-weight:
        750;
}


.home-news__meta span {
    display: inline-flex;

    align-items: center;

    padding:
        5px
        9px;

    background:
        rgba(47, 125, 38, 0.075);

    border-radius:
        999px;

    color:
        var(--green);

    font-size:
        0.67rem;

    font-weight:
        850;

    letter-spacing:
        0.035em;
}


/* ==========================================================
   STARTSEITE
   TITEL
   ========================================================== */

.home-news__card h3 {
    margin-top:
        12px;

    margin-bottom:
        12px;

    color:
        var(--ink);

    font-size:
        clamp(
            1.16rem,
            1.7vw,
            1.4rem
        );

    line-height:
        1.32;

    letter-spacing:
        -0.02em;

    overflow-wrap:
        anywhere;
}


.home-news__card h3 a {
    color:
        inherit;

    text-decoration:
        none;

    transition:
        color 0.2s ease;
}


.home-news__card h3 a:hover,
.home-news__card h3 a:focus-visible {
    color:
        var(--green);
}


/* ==========================================================
   STARTSEITE
   KURZTEXT
   ========================================================== */

.home-news__card p {
    flex: 1;

    margin-top: 0;

    margin-bottom:
        20px;

    color:
        var(--muted);

    font-size:
        0.94rem;

    line-height:
        1.7;
}


/* ==========================================================
   STARTSEITE
   WEITERLESEN
   ========================================================== */

.home-news__more {
    display: inline-flex;

    align-items: center;

    align-self:
        flex-start;

    gap: 6px;

    margin-top: auto;

    margin-bottom:
        24px;

    color:
        var(--green);

    font-size:
        0.86rem;

    font-weight:
        850;

    text-decoration:
        none;
}


.home-news__more span {
    transition:
        transform 0.2s ease;
}


.home-news__more:hover span,
.home-news__more:focus-visible span {
    transform:
        translateX(4px);
}


/* ==========================================================
   STARTSEITE
   LEERZUSTAND
   ========================================================== */

.home-news__empty {
    max-width:
        680px;

    padding:
        24px;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        18px;

    box-shadow:
        var(--shadow-soft);
}


.home-news__empty strong {
    display: block;

    margin-bottom:
        5px;
}


.home-news__empty p {
    margin: 0;

    color:
        var(--muted);
}


/* ==========================================================
   NEWS-ARCHIV
   ========================================================== */

.news-archive {
    width: 100%;

    padding:
        clamp(
            52px,
            7vw,
            86px
        )
        0
        clamp(
            72px,
            8vw,
            110px
        );

    background:
        linear-gradient(
            180deg,
            rgba(47, 125, 38, 0.025),
            rgba(255, 255, 255, 0.76)
        );
}


/* ==========================================================
   NEWS-ARCHIV
   HERO
   ========================================================== */

.news-archive__hero {
    position:
        relative;

    overflow:
        hidden;

    margin-bottom:
        34px;

    padding:
        clamp(
            30px,
            5vw,
            52px
        );

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.08),
            rgba(255, 255, 255, 0.97) 58%,
            rgba(245, 191, 36, 0.08)
        );

    border:
        1px solid
        var(--line);

    border-radius:
        24px;

    box-shadow:
        0 16px 42px
        rgba(29, 70, 31, 0.07);
}


.news-archive__hero::after {
    content: "";

    position: absolute;

    top: -110px;
    right: -80px;

    width: 280px;
    height: 280px;

    background:
        rgba(115, 173, 37, 0.08);

    border-radius:
        50%;
}


.news-archive__hero-content {
    position:
        relative;

    z-index: 1;

    max-width:
        760px;
}


.news-archive__hero h1 {
    margin:
        8px
        0
        14px;

    color:
        var(--ink);

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.2rem
        );

    line-height:
        1;

    letter-spacing:
        -0.05em;
}


.news-archive__hero p,
.news-archive__intro {
    max-width:
        700px;

    margin: 0;

    color:
        var(--muted);

    font-size:
        1.04rem;

    line-height:
        1.75;
}


/* ==========================================================
   HERVORGEHOBENE NEWS
   ========================================================== */

.news-featured {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(320px, 0.92fr);

    align-items:
        stretch;

    min-width: 0;

    margin-bottom:
        clamp(
            44px,
            6vw,
            70px
        );

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        24px;

    box-shadow:
        0 20px 54px
        rgba(29, 70, 31, 0.09);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.news-featured:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 25px 62px
        rgba(29, 70, 31, 0.12);
}


/* ==========================================================
   HERVORGEHOBENE NEWS
   BILD
   ========================================================== */

.news-featured__media {
    min-height:
        420px;
}


.news-featured__media img {
    min-height:
        420px;
}


/* ==========================================================
   HERVORGEHOBENE NEWS
   INHALT
   ========================================================== */

.news-featured__content {
    display: flex;

    flex-direction:
        column;

    justify-content:
        center;

    min-width: 0;

    padding:
        clamp(
            30px,
            5vw,
            52px
        );
}


.news-featured__meta {
    display: flex;

    flex-wrap: wrap;

    align-items:
        center;

    gap:
        8px
        12px;

    margin-bottom:
        14px;
}


.news-featured__meta span {
    display: inline-flex;

    padding:
        5px
        9px;

    background:
        rgba(47, 125, 38, 0.08);

    border-radius:
        999px;

    color:
        var(--green);

    font-size:
        0.69rem;

    font-weight:
        850;

    letter-spacing:
        0.04em;
}


.news-featured__meta time {
    color:
        var(--muted);

    font-size:
        0.78rem;

    font-weight:
        750;
}


.news-featured__content h2 {
    margin:
        15px
        0
        16px;

    color:
        var(--ink);

    font-size:
        clamp(
            2rem,
            3.6vw,
            3.25rem
        );

    line-height:
        1.04;

    letter-spacing:
        -0.045em;

    overflow-wrap:
        anywhere;
}


.news-featured__content h2 a {
    color:
        inherit;

    text-decoration:
        none;
}


.news-featured__content h2 a:hover {
    color:
        var(--green);
}


.news-featured__content p {
    margin:
        0
        0
        26px;

    color:
        var(--muted);

    font-size:
        1rem;

    line-height:
        1.75;
}


.news-featured__content .btn {
    align-self:
        flex-start;
}


/* ==========================================================
   NEWS-ARCHIV
   WEITERE MELDUNGEN KOPF
   ========================================================== */

.news-archive__section-head {
    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        24px;

    margin-bottom:
        22px;
}


.news-archive__section-head h2 {
    margin:
        6px
        0
        0;

    color:
        var(--ink);

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.6rem
        );

    line-height:
        1.1;

    letter-spacing:
        -0.035em;
}


/* ==========================================================
   NEWS-ARCHIV
   GRID
   ========================================================== */

.news-archive__grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 20px;

    width: 100%;

    min-width: 0;
}


/* ==========================================================
   NEWS-ARCHIV
   KARTE
   ========================================================== */

.news-archive__card {
    display: flex;

    flex-direction:
        column;

    min-width: 0;

    overflow:
        hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border:
        1px solid
        var(--line);

    border-radius:
        20px;

    box-shadow:
        0 12px 34px
        rgba(29, 70, 31, 0.055);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.news-archive__card:hover {
    transform:
        translateY(-4px);

    border-color:
        #c8ddc1;

    box-shadow:
        0 18px 42px
        rgba(29, 70, 31, 0.09);
}


/* ==========================================================
   NEWS-ARCHIV
   BILD
   ========================================================== */

.news-archive__image {
    aspect-ratio:
        16 / 9;

    border-bottom:
        1px solid
        var(--line);
}


/* ==========================================================
   NEWS-ARCHIV
   KARTENABSTÄNDE
   ========================================================== */

.news-archive__card > .news-archive__meta,
.news-archive__card > h2,
.news-archive__card > p,
.news-archive__card > .news-archive__more {
    margin-left:
        clamp(
            20px,
            3vw,
            30px
        );

    margin-right:
        clamp(
            20px,
            3vw,
            30px
        );
}


.news-archive__card > .news-archive__meta {
    margin-top:
        22px;
}


/* ==========================================================
   NEWS-ARCHIV
   META
   ========================================================== */

.news-archive__meta {
    display: flex;

    flex-wrap: wrap;

    align-items:
        center;

    gap:
        8px
        10px;

    margin-bottom:
        13px;
}


.news-archive__meta time {
    color:
        var(--muted);

    font-size:
        0.77rem;

    font-weight:
        750;
}


.news-archive__meta span {
    display: inline-flex;

    padding:
        5px
        9px;

    background:
        rgba(47, 125, 38, 0.075);

    border-radius:
        999px;

    color:
        var(--green);

    font-size:
        0.68rem;

    font-weight:
        850;

    letter-spacing:
        0.035em;
}


/* ==========================================================
   NEWS-ARCHIV
   TITEL
   ========================================================== */

.news-archive__card h2 {
    margin-top: 0;

    margin-bottom:
        13px;

    color:
        var(--ink);

    font-size:
        clamp(
            1.35rem,
            2.4vw,
            1.85rem
        );

    line-height:
        1.25;

    letter-spacing:
        -0.025em;
}


.news-archive__card h2 a {
    color:
        inherit;

    text-decoration:
        none;

    transition:
        color 0.2s ease;
}


.news-archive__card h2 a:hover,
.news-archive__card h2 a:focus-visible {
    color:
        var(--green);
}


/* ==========================================================
   NEWS-ARCHIV
   TEXT
   ========================================================== */

.news-archive__card p {
    flex: 1;

    margin-top: 0;

    margin-bottom:
        20px;

    color:
        var(--muted);

    font-size:
        0.95rem;

    line-height:
        1.72;
}


/* ==========================================================
   NEWS-ARCHIV
   WEITERLESEN
   ========================================================== */

.news-archive__more {
    display: inline-flex;

    align-items:
        center;

    align-self:
        flex-start;

    gap:
        7px;

    margin-top:
        auto;

    margin-bottom:
        24px;

    color:
        var(--green);

    font-size:
        0.87rem;

    font-weight:
        850;

    text-decoration:
        none;
}


.news-archive__more span {
    transition:
        transform 0.2s ease;
}


.news-archive__more:hover span,
.news-archive__more:focus-visible span {
    transform:
        translateX(4px);
}


/* ==========================================================
   NEWS-ARCHIV
   LEERZUSTAND
   ========================================================== */

.news-archive__empty {
    padding:
        28px;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        18px;

    box-shadow:
        var(--shadow-soft);
}


.news-archive__empty strong {
    display: block;

    margin-bottom:
        5px;
}


.news-archive__empty p {
    margin: 0;

    color:
        var(--muted);
}


/* ==========================================================
   NEWS-DETAILSEITE
   ========================================================== */

.news-detail {
    width: 100%;

    padding:
        clamp(
            42px,
            6vw,
            72px
        )
        0
        clamp(
            76px,
            9vw,
            120px
        );

    background:
        linear-gradient(
            180deg,
            rgba(47, 125, 38, 0.025),
            rgba(255, 255, 255, 0.85)
        );
}


/* ==========================================================
   ZURÜCK-LINK
   ========================================================== */

.news-detail .backlink {
    display: inline-flex;

    align-items: center;

    margin-bottom:
        24px;

    color:
        var(--green);

    font-size:
        0.88rem;

    font-weight:
        800;

    text-decoration:
        none;
}


.news-detail .backlink:hover {
    text-decoration:
        underline;

    text-underline-offset:
        4px;
}


/* ==========================================================
   NEWS-DETAIL
   ARTIKEL
   ========================================================== */

.news-detail__article {
    width: min(
        940px,
        100%
    );

    margin-inline:
        auto;

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        26px;

    box-shadow:
        0 22px 64px
        rgba(29, 70, 31, 0.085);
}


/* ==========================================================
   NEWS-DETAIL
   KOPFBEREICH
   ========================================================== */

.news-detail__header {
    padding:
        clamp(
            28px,
            5vw,
            56px
        )
        clamp(
            24px,
            6vw,
            64px
        )
        clamp(
            26px,
            4vw,
            42px
        );

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(245, 191, 36, 0.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f8fbf5
        );
}


/* ==========================================================
   NEWS-DETAIL
   META
   ========================================================== */

.news-detail__meta {
    display: flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        9px
        13px;

    margin-bottom:
        14px;
}


.news-detail__category {
    display: inline-flex;

    padding:
        5px
        9px;

    background:
        rgba(47, 125, 38, 0.08);

    border:
        1px solid
        rgba(47, 125, 38, 0.09);

    border-radius:
        999px;

    color:
        var(--green);

    font-size:
        0.7rem;

    font-weight:
        850;

    letter-spacing:
        0.04em;
}


.news-detail__meta time {
    color:
        var(--muted);

    font-size:
        0.8rem;

    font-weight:
        700;
}


/* ==========================================================
   NEWS-DETAIL
   TITEL
   ========================================================== */

.news-detail__header h1 {
    max-width:
        820px;

    margin:
        16px
        0
        18px;

    color:
        var(--ink);

    font-size:
        clamp(
            2.35rem,
            5vw,
            4.6rem
        );

    line-height:
        1;

    letter-spacing:
        -0.052em;

    overflow-wrap:
        anywhere;
}


/* ==========================================================
   NEWS-DETAIL
   EINLEITUNG
   ========================================================== */

.news-detail__lead {
    max-width:
        760px;

    margin:
        0;

    color:
        var(--muted);

    font-size:
        clamp(
            1.05rem,
            1.6vw,
            1.18rem
        );

    line-height:
        1.75;
}


/* ==========================================================
   NEWS-DETAIL
   HAUPTBILD
   ========================================================== */

/* ==========================================================
   NEWS-DETAIL
   HAUPTBILD
   ==========================================================
 *
 * Auf der Detailseite wird das Beitragsbild vollständig
 * dargestellt.
 *
 * Im Gegensatz zu den News-Karten wird hier bewusst nicht
 * mit object-fit: cover gearbeitet.
 *
 * Dadurch werden Logos, Grafiken und andere Motive nicht
 * abgeschnitten.
 */

.news-detail__image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0;

    padding:
        clamp(
            28px,
            5vw,
            52px
        );

    background:
        linear-gradient(
            135deg,
            #f5faf2,
            #fbfdf9
        );

    border-top:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);
}


.news-detail__image img {
    display: block;

    width: auto;
    max-width: min(720px, 100%);

    height: auto;

    max-height: 520px;

    object-fit: contain;
}

/* ==========================================================
   NEWS-DETAIL
   HAUPTBILD - SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .news-detail__image {
        padding:
            22px
            16px;
    }


    .news-detail__image img {
        max-width: 100%;

        max-height: 400px;
    }

}


/* ==========================================================
   NEWS-DETAIL
   ARTIKELTEXT
   ========================================================== */

.news-detail__content {
    padding:
        clamp(
            30px,
            5vw,
            54px
        )
        clamp(
            24px,
            6vw,
            64px
        )
        clamp(
            42px,
            6vw,
            66px
        );

    color:
        var(--ink);

    font-size:
        1rem;

    line-height:
        1.82;
}


.news-detail__content > :first-child {
    margin-top: 0;
}


.news-detail__content > :last-child {
    margin-bottom: 0;
}


.news-detail__content p {
    margin:
        0
        0
        1.35em;
}


.news-detail__content h2 {
    margin:
        2em
        0
        0.65em;

    color:
        var(--green);

    font-size:
        clamp(
            1.55rem,
            2.7vw,
            2.2rem
        );

    line-height:
        1.15;

    letter-spacing:
        -0.028em;
}


.news-detail__content h3 {
    margin:
        1.7em
        0
        0.55em;

    color:
        var(--ink);

    font-size:
        1.25rem;

    line-height:
        1.3;
}


.news-detail__content a {
    color:
        var(--green);

    font-weight:
        700;

    text-underline-offset:
        3px;
}


.news-detail__content img {
    max-width:
        100%;

    height:
        auto;

    margin:
        28px
        auto;

    border-radius:
        16px;
}


/* ==========================================================
   VORHERIGE / NÄCHSTE NEWS
   ========================================================== */

.news-detail__navigation {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        16px;

    width: min(
        940px,
        100%
    );

    margin:
        28px
        auto
        0;
}


/* ==========================================================
   NAVIGATIONSKARTE
   ========================================================== */

.news-detail__nav-item {
    display: flex;

    flex-direction:
        column;

    min-width: 0;

    padding:
        20px
        22px;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        17px;

    color:
        inherit;

    text-decoration:
        none;

    box-shadow:
        0 9px 28px
        rgba(29, 70, 31, 0.045);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.news-detail__nav-item:hover {
    transform:
        translateY(-3px);

    border-color:
        #c8ddc1;

    box-shadow:
        0 14px 34px
        rgba(29, 70, 31, 0.075);
}


.news-detail__nav-item > span {
    margin-bottom:
        6px;

    color:
        var(--green);

    font-size:
        0.72rem;

    font-weight:
        850;

    letter-spacing:
        0.045em;

    text-transform:
        uppercase;
}


.news-detail__nav-item strong {
    color:
        var(--ink);

    font-size:
        0.96rem;

    line-height:
        1.45;

    overflow-wrap:
        anywhere;
}


.news-detail__nav-item--next {
    text-align:
        right;
}


/* ==========================================================
   WEITERE MELDUNGEN
   ========================================================== */

.news-related {
    width: min(
        1080px,
        100%
    );

    margin:
        clamp(
            52px,
            7vw,
            82px
        )
        auto
        0;
}


/* ==========================================================
   WEITERE MELDUNGEN
   KOPF
   ========================================================== */

.news-related__head {
    max-width:
        760px;

    margin-bottom:
        24px;
}


.news-related__head h2 {
    margin:
        7px
        0
        0;

    color:
        var(--ink);

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.65rem
        );

    line-height:
        1.1;

    letter-spacing:
        -0.035em;
}


/* ==========================================================
   WEITERE MELDUNGEN
   GRID
   ========================================================== */

.news-related__grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        18px;
}


/* ==========================================================
   WEITERE MELDUNGEN
   KARTE
   ========================================================== */

.news-related__card {
    display: flex;

    flex-direction:
        column;

    min-width: 0;

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        18px;

    box-shadow:
        0 10px 30px
        rgba(29, 70, 31, 0.05);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.news-related__card:hover {
    transform:
        translateY(-4px);

    border-color:
        #c8ddc1;

    box-shadow:
        0 16px 38px
        rgba(29, 70, 31, 0.085);
}


/* ==========================================================
   WEITERE MELDUNGEN
   BILD
   ==========================================================
 *
 * Empfohlene Meldungen können Fotos, Logos, Grafiken oder
 * Illustrationen enthalten.
 *
 * Deshalb wird das Motiv vollständig angezeigt.
 * object-fit: contain verhindert, dass Logos angeschnitten
 * werden.
 */

.news-related__image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 220px;

    padding: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f3f8f0,
            #fbfcf7
        );

    border-bottom:
        1px solid
        var(--line);

    text-decoration: none;
}


.news-related__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition:
        transform 0.25s ease;
}


.news-related__card:hover .news-related__image img {
    transform: scale(1.012);
}


/* ==========================================================
   WEITERE MELDUNGEN
   INHALTSABSTÄNDE
   ========================================================== */

.news-related__card > .news-related__category,
.news-related__card > h3,
.news-related__card > p,
.news-related__card > .news-related__more {
    margin-left:
        20px;

    margin-right:
        20px;
}


.news-related__category {
    display: inline-flex;

    align-self:
        flex-start;

    width:
        max-content;

    max-width:
        calc(100% - 40px);

    margin-top:
        19px;

    margin-bottom:
        10px;

    padding:
        5px
        8px;

    background:
        rgba(47, 125, 38, 0.075);

    border-radius:
        999px;

    color:
        var(--green);

    font-size:
        0.66rem;

    font-weight:
        850;

    letter-spacing:
        0.035em;
}


.news-related__card h3 {
    margin-top: 0;

    margin-bottom:
        10px;

    color:
        var(--ink);

    font-size:
        1.12rem;

    line-height:
        1.35;

    letter-spacing:
        -0.018em;
}


.news-related__card h3 a {
    color:
        inherit;

    text-decoration:
        none;
}


.news-related__card h3 a:hover {
    color:
        var(--green);
}


.news-related__card p {
    flex: 1;

    margin-top: 0;

    margin-bottom:
        18px;

    color:
        var(--muted);

    font-size:
        0.9rem;

    line-height:
        1.65;
}


.news-related__more {
    display: inline-flex;

    align-self:
        flex-start;

    margin-top:
        auto;

    margin-bottom:
        20px;

    color:
        var(--green);

    font-size:
        0.82rem;

    font-weight:
        850;

    text-decoration:
        none;
}


/* ==========================================================
   FOCUS-ZUSTÄNDE
   ==========================================================
 *
 * Wichtige Links erhalten einen sichtbaren Tastatur-Fokus.
 */

.home-news__image:focus-visible,
.news-archive__image:focus-visible,
.news-featured__media:focus-visible,
.news-related__image:focus-visible,
.news-detail__nav-item:focus-visible {
    outline:
        3px solid
        rgba(47, 125, 38, 0.28);

    outline-offset:
        3px;
}


/* ==========================================================
   TABLET BIS 980 PX
   ========================================================== */

@media (max-width: 980px) {

    /* ------------------------------------------------------
       Hervorgehobene Meldung
       ------------------------------------------------------ */

    .news-featured {
        grid-template-columns:
            1fr;
    }


    .news-featured__media {
        min-height:
            0;

        aspect-ratio:
            16 / 8;
    }


    .news-featured__media img {
        min-height:
            0;
    }


    /* ------------------------------------------------------
       Weitere Meldungen
       ------------------------------------------------------ */

    .news-related__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}


/* ==========================================================
   TABLET BIS 900 PX
   ========================================================== */

@media (max-width: 900px) {

    .home-news__head {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            16px;
    }


    .home-news__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .home-news__grid > :only-child {
        grid-column:
            1 / -1;
    }
}


/* ==========================================================
   TABLET BIS 800 PX
   ========================================================== */

@media (max-width: 800px) {

    .news-archive__grid {
        grid-template-columns:
            1fr;
    }


    .news-detail__navigation {
        grid-template-columns:
            1fr;
    }


    .news-detail__nav-item--next {
        text-align:
            left;
    }
}


/* ==========================================================
   SMARTPHONE BIS 650 PX
   ========================================================== */

@media (max-width: 650px) {

    /* ------------------------------------------------------
       Startseite
       ------------------------------------------------------ */

    .home-news {
        margin-top:
            36px;

        padding:
            44px
            0;
    }


    .home-news__head {
        margin-bottom:
            22px;
    }


    .home-news__head h2 {
        font-size:
            clamp(
                1.75rem,
                8vw,
                2.25rem
            );

        line-height:
            1.08;
    }


    .home-news__head p {
        font-size:
            0.94rem;

        line-height:
            1.65;
    }


    .home-news__grid {
        grid-template-columns:
            1fr;

        gap:
            14px;
    }


    .home-news__grid > :only-child {
        grid-column:
            auto;
    }


    .home-news__card {
        border-radius:
            17px;
    }


    /* ------------------------------------------------------
       News-Archiv
       ------------------------------------------------------ */

    .news-archive {
        padding:
            42px
            0
            64px;
    }


    .news-archive__hero {
        margin-bottom:
            24px;

        padding:
            22px
            18px;

        border-radius:
            18px;
    }


    .news-archive__hero h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                2.8rem
            );
    }


    .news-archive__section-head h2 {
        font-size:
            1.75rem;
    }


    .news-archive__grid {
        gap:
            14px;
    }


    .news-archive__card {
        border-radius:
            17px;
    }


    /* ------------------------------------------------------
       Hervorgehobene Meldung
       ------------------------------------------------------ */

    .news-featured {
        margin-bottom:
            42px;

        border-radius:
            18px;
    }


    .news-featured__media {
        aspect-ratio:
            16 / 10;
    }


    .news-featured__content {
        padding:
            24px
            20px
            28px;
    }


    .news-featured__content h2 {
        font-size:
            clamp(
                1.75rem,
                8vw,
                2.35rem
            );

        line-height:
            1.08;
    }


    /* ------------------------------------------------------
       Detailseite
       ------------------------------------------------------ */

    .news-detail {
        padding:
            32px
            0
            64px;
    }


    .news-detail__article {
        border-radius:
            18px;
    }


    .news-detail__header {
        padding:
            24px
            20px
            26px;
    }


    .news-detail__header h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                3rem
            );

        line-height:
            1.03;
    }


    .news-detail__lead {
        font-size:
            1rem;

        line-height:
            1.7;
    }


    .news-detail__content {
        padding:
            28px
            20px
            38px;

        font-size:
            0.96rem;

        line-height:
            1.75;
    }


    .news-detail__nav-item {
        padding:
            18px;
    }


    /* ------------------------------------------------------
       Weitere Meldungen
       ------------------------------------------------------ */

    .news-related {
        margin-top:
            48px;
    }


    .news-related__grid {
        grid-template-columns:
            1fr;

        gap:
            14px;
    }


    .news-related__card {
        border-radius:
            17px;
    }


    .news-related__image {
        height: 190px;

        padding: 14px;
    }


    .news-related__image img {
        max-width: 100%;
        max-height: 100%;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES BIS 420 PX
   ========================================================== */

@media (max-width: 420px) {

    .home-news__card > .home-news__meta,
    .home-news__card > .news-featured-badge,
    .home-news__card > h3,
    .home-news__card > p,
    .home-news__card > .home-news__more {
        margin-left:
            17px;

        margin-right:
            17px;
    }


    .news-archive__card > .news-archive__meta,
    .news-archive__card > h2,
    .news-archive__card > p,
    .news-archive__card > .news-archive__more {
        margin-left:
            17px;

        margin-right:
            17px;
    }


    .news-detail__header {
        padding:
            21px
            17px
            23px;
    }


    .news-detail__content {
        padding:
            24px
            17px
            34px;
    }


    .news-featured__content {
        padding:
            22px
            17px
            25px;
    }
}


/* ==========================================================
   REDUZIERTE BEWEGUNG
   ==========================================================
 *
 * Respektiert die Systemeinstellung von Besuchern,
 * die Animationen reduzieren möchten.
 */

@media (prefers-reduced-motion: reduce) {

    .home-news__card,
    .news-archive__card,
    .news-featured,
    .news-related__card,
    .home-news__image img,
    .news-archive__image img,
    .news-featured__media img,
    .news-related__image img {
        transition:
            none;
    }


    .home-news__card:hover,
    .news-archive__card:hover,
    .news-featured:hover,
    .news-related__card:hover {
        transform:
            none;
    }


    .home-news__card:hover .home-news__image img,
    .news-archive__card:hover .news-archive__image img,
    .news-featured:hover .news-featured__media img,
    .news-related__card:hover .news-related__image img {
        transform:
            none;
    }
}

/* ==========================================================
   BREADCRUMBS
   ========================================================== */

.breadcrumbs {
    padding-top: 22px;
    padding-bottom: 4px;
}


.breadcrumbs ol {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.breadcrumbs li {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--muted);

    font-size: 0.82rem;

    line-height: 1.4;
}


.breadcrumbs li:not(:last-child)::after {
    content: "›";

    color: rgba(47, 125, 38, 0.45);

    font-size: 1rem;
}


.breadcrumbs a {
    color: var(--muted);

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.breadcrumbs a:hover {
    color: var(--green);
}


.breadcrumbs [aria-current="page"] {
    color: var(--ink);

    font-weight: 700;
}

/* ==========================================================
   SCROLL-ANIMATIONEN
   ========================================================== */

.reveal-on-scroll {
    opacity: 0;

    transform:
        translateY(18px);

    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}


.reveal-on-scroll.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/*
 * Animationen reduzieren, wenn dies im Betriebssystem
 * gewünscht wurde.
 */
@media (prefers-reduced-motion: reduce) {

    .reveal-on-scroll {
        opacity: 1;

        transform: none;

        transition: none;
    }
}

/* ==========================================================
   NACH-OBEN-BUTTON
   ========================================================== */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    background:
        linear-gradient(
            135deg,
            var(--green),
            #6ca624
        );

    border: 0;
    border-radius: 14px;

    color: #ffffff;

    font: inherit;
    font-size: 1.15rem;
    font-weight: 900;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    box-shadow:
        0 10px 26px
        rgba(47, 125, 38, 0.22);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.back-to-top.is-visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


.back-to-top:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 14px 32px
        rgba(47, 125, 38, 0.28);
}


.back-to-top:focus-visible {
    outline:
        3px solid
        rgba(245, 191, 36, 0.55);

    outline-offset: 3px;
}


@media (max-width: 650px) {

    .back-to-top {
        right: 14px;
        bottom: 14px;

        width: 42px;
        height: 42px;

        border-radius: 12px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .back-to-top {
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
    }
}

/* ==========================================================
   SKIP LINK
   ========================================================== */

.skip-link {
    position: fixed;

    top: 10px;
    left: 10px;

    z-index: 99999;

    padding: 10px 14px;

    background: var(--green);

    border-radius: 9px;

    color: #ffffff;

    font-size: 0.88rem;
    font-weight: 800;

    text-decoration: none;

    transform: translateY(-150%);

    transition:
        transform 0.15s ease;
}


.skip-link:focus {
    transform: translateY(0);

    outline:
        3px solid
        rgba(245, 191, 36, 0.7);

    outline-offset: 3px;
}

/* ==========================================================
   404 FEHLERSEITE
   ========================================================== */

.error-page {
    padding:
        clamp(50px, 8vw, 90px)
        0
        clamp(70px, 10vw, 120px);

    background:
        linear-gradient(
            180deg,
            rgba(47, 125, 38, 0.025),
            rgba(255, 255, 255, 0.9)
        );
}


/* ==========================================================
   KARTE
   ========================================================== */

.error-page__card {
    display: grid;

    grid-template-columns:
        minmax(220px, 0.7fr)
        minmax(0, 1.5fr);

    gap:
        clamp(
            28px,
            6vw,
            70px
        );

    align-items: center;

    padding:
        clamp(
            28px,
            5vw,
            58px
        );

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f5faf2
        );

    border:
        1px solid var(--line);

    border-radius:
        clamp(
            20px,
            3vw,
            28px
        );

    box-shadow:
        0 24px 70px
        rgba(28, 66, 31, 0.08);

    overflow: hidden;

    position: relative;
}


/* ==========================================================
   VISUAL
   ========================================================== */

.error-page__visual {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 270px;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(245, 191, 36, 0.18),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(47, 125, 38, 0.12),
            rgba(109, 167, 45, 0.04)
        );
}


.error-page__visual::before,
.error-page__visual::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.error-page__visual::before {
    width: 160px;
    height: 160px;

    top: -45px;
    right: -35px;

    background:
        rgba(109, 167, 45, 0.08);
}


.error-page__visual::after {
    width: 110px;
    height: 110px;

    left: -28px;
    bottom: -25px;

    background:
        rgba(245, 191, 36, 0.1);
}


/* ==========================================================
   404 ZAHL
   ========================================================== */

.error-page__code {
    position: relative;

    z-index: 1;

    color: var(--green);

    font-size:
        clamp(
            4.2rem,
            9vw,
            7.8rem
        );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.07em;

    text-shadow:
        0 10px 24px
        rgba(47, 125, 38, 0.08);
}


/* ==========================================================
   MEDIZINISCHES PLUS
   ========================================================== */

.error-page__symbol {
    position: absolute;

    right: 28px;
    bottom: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--g2, #6da72d)
        );

    border-radius: 14px;

    color: #ffffff;

    font-size: 1.5rem;
    font-weight: 900;

    box-shadow:
        0 10px 26px
        rgba(47, 125, 38, 0.2);
}


/* ==========================================================
   CONTENT
   ========================================================== */

.error-page__content {
    min-width: 0;

    max-width: 740px;
}


.error-page__content h1 {
    margin:
        8px
        0
        16px;

    color: var(--ink);

    font-size:
        clamp(
            2.2rem,
            4.5vw,
            4rem
        );

    line-height: 1.03;

    letter-spacing: -0.05em;
}


.error-page__content p {
    margin:
        0
        0
        14px;

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.75;
}


.error-page__lead {
    max-width: 650px;

    font-size: 1.08rem !important;
}


/* ==========================================================
   AKTIONEN
   ========================================================== */

.error-page__actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}


/* ==========================================================
   SCHNELLZUGRIFFE
   ========================================================== */

.error-page__links {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-top: 32px;
}


.error-page__links a {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;

    padding: 14px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 14px;

    color: inherit;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.error-page__links a:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(47, 125, 38, 0.32);

    box-shadow:
        0 9px 24px
        rgba(28, 66, 31, 0.07);
}


.error-page__link-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background:
        rgba(47, 125, 38, 0.08);

    border-radius: 10px;

    color: var(--green);

    font-size: 0.72rem;
    font-weight: 900;
}


.error-page__links a > span:last-child {
    display: flex;

    flex-direction: column;

    min-width: 0;

    gap: 2px;
}


.error-page__links strong {
    color: var(--ink);

    font-size: 0.9rem;
}


.error-page__links small {
    color: var(--muted);

    font-size: 0.75rem;

    line-height: 1.4;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 850px) {

    .error-page__card {
        grid-template-columns: 1fr;
    }


    .error-page__visual {
        min-height: 190px;
    }


    .error-page__code {
        font-size:
            clamp(
                4rem,
                17vw,
                7rem
            );
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 600px) {

    .error-page {
        padding:
            34px
            0
            60px;
    }


    .error-page__card {
        gap: 24px;

        padding: 18px;

        border-radius: 18px;
    }


    .error-page__visual {
        min-height: 150px;

        border-radius: 15px;
    }


    .error-page__content h1 {
        font-size:
            clamp(
                1.9rem,
                10vw,
                2.7rem
            );
    }


    .error-page__lead {
        font-size: 1rem !important;
    }


    .error-page__actions {
        display: grid;

        grid-template-columns: 1fr;
    }


    .error-page__actions .btn {
        width: 100%;
    }


    .error-page__links {
        grid-template-columns: 1fr;

        margin-top: 24px;
    }


    .error-page__symbol {
        right: 18px;
        bottom: 16px;

        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: 1.2rem;
    }
}

/* ==========================================================
   VIDEO-SPRECHSTUNDE IM HERO
   ========================================================== */

.mini-card--video {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}


.mini-card__eyebrow {
    color: var(--g, #2f7d26);

    font-size: 0.7rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.mini-card--video > strong {
    font-size: 1rem;
}


.mini-card__text {
    color: var(--muted, #68776a);

    font-size: 0.84rem;
    line-height: 1.5;
}


.mini-card__action {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    margin-top: 5px;

    color: var(--g, #2f7d26);

    font-size: 0.82rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}


.mini-card__action:hover {
    gap: 10px;

    color: #205c1b;
}


.mini-card__action:focus-visible {
    outline: 3px solid rgba(47, 125, 38, 0.25);
    outline-offset: 4px;
    border-radius: 4px;
}





/* ==========================================================
   LIVE-SUCHE
   ==========================================================
 *
 * Desktop:
 *
 * - kompakter Suchbutton direkt neben der Navigation
 * - Suchpanel schwebt unterhalb des Buttons
 *
 * Mobil:
 *
 * - Suche wird Bestandteil des geöffneten Menüs
 * - volle Breite
 *
 * Die Gestaltung verwendet ausschließlich die vorhandenen
 * Designvariablen der Website.
 */


/* ==========================================================
   NAVIGATION + SUCHE IN EINER ZEILE
   ========================================================== */

.mainnav {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-left: auto;
}


/* ==========================================================
   SUCHBEREICH
   ========================================================== */

.live-search {
    position: relative;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
}


/* ==========================================================
   SUCHBUTTON
   ========================================================== */

.live-search__toggle {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 44px;
    min-height: 44px;

    padding:
        9px
        12px;

    background:
        rgba(
            47,
            125,
            38,
            0.055
        );

    border:
        1px solid
        rgba(
            47,
            125,
            38,
            0.12
        );

    border-radius: 12px;

    color: var(--green);

    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.live-search__toggle:hover {
    background:
        rgba(
            47,
            125,
            38,
            0.09
        );

    border-color:
        rgba(
            47,
            125,
            38,
            0.22
        );

    transform:
        translateY(-1px);
}


.live-search__toggle:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 4px
        rgba(
            47,
            125,
            38,
            0.12
        );
}


/* ==========================================================
   LUPEN-ICON
   ========================================================== */

.live-search__icon {
    position: relative;

    display: block;

    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    border:
        2px solid
        currentColor;

    border-radius: 50%;
}


.live-search__icon::after {
    content: "";

    position: absolute;

    right: -5px;
    bottom: -3px;

    width: 7px;
    height: 2px;

    background:
        currentColor;

    border-radius: 2px;

    transform:
        rotate(45deg);

    transform-origin:
        center;
}


/* ==========================================================
   SUCHFENSTER
   ========================================================== */

.live-search__panel {
    position: absolute;

    top:
        calc(
            100% + 16px
        );

    right: 0;

    z-index: 1000;

    width:
        min(
            560px,
            calc(
                100vw - 32px
            )
        );

    padding: 20px;

    overflow: hidden;

    background:
        rgba(
            255,
            255,
            255,
            0.985
        );

    border:
        1px solid
        rgba(
            47,
            125,
            38,
            0.13
        );

    border-radius: 20px;

    box-shadow:
        0 24px 65px
        rgba(
            29,
            70,
            31,
            0.16
        );

    backdrop-filter:
        blur(18px);
}


.live-search__panel[hidden] {
    display: none;
}


/* Kleiner Pfeil zum Suchbutton */

.live-search__panel::before {
    content: "";

    position: absolute;

    top: -7px;
    right: 24px;

    width: 14px;
    height: 14px;

    background: #ffffff;

    border-top:
        1px solid
        rgba(
            47,
            125,
            38,
            0.13
        );

    border-left:
        1px solid
        rgba(
            47,
            125,
            38,
            0.13
        );

    transform:
        rotate(45deg);
}


/* ==========================================================
   FORMULAR
   ========================================================== */

.live-search__form {
    position: relative;

    z-index: 1;

    margin: 0;
}


.live-search__label {
    display: block;

    margin-bottom: 9px;

    color: var(--ink);

    font-size: 0.78rem;
    font-weight: 850;

    letter-spacing: 0.025em;
}


/* ==========================================================
   SUCHZEILE
   ========================================================== */

.live-search__field {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 8px;
}


/* ==========================================================
   SUCHFELD
   ========================================================== */

.live-search__field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;

    margin: 0;

    padding:
        11px
        15px;

    background:
        #fbfdf9;

    border:
        1px solid
        #d5e2d1;

    border-radius: 12px;

    color: var(--ink);

    font: inherit;
    font-size: 0.94rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.live-search__field input::placeholder {
    color:
        rgba(
            96,
            112,
            100,
            0.72
        );
}


.live-search__field input:hover {
    border-color:
        #bdd1b7;
}


.live-search__field input:focus {
    background:
        #ffffff;

    border-color:
        var(--green);

    box-shadow:
        0 0 0 4px
        rgba(
            47,
            125,
            38,
            0.09
        );
}


/* ==========================================================
   SUCHEN BUTTON
   ========================================================== */

.live-search__field button {
    min-height: 48px;

    padding:
        10px
        18px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border: 0;
    border-radius: 12px;

    color: #ffffff;

    font: inherit;
    font-size: 0.87rem;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(
            47,
            125,
            38,
            0.17
        );

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.live-search__field button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 11px 25px
        rgba(
            47,
            125,
            38,
            0.23
        );
}


.live-search__field button:focus-visible {
    outline:
        3px solid
        rgba(
            47,
            125,
            38,
            0.22
        );

    outline-offset: 3px;
}


/* ==========================================================
   ERGEBNISBEREICH
   ========================================================== */

.live-search__results {
    position: relative;

    z-index: 1;

    margin-top: 14px;
}


.live-search__results:empty {
    display: none;
}


/* ==========================================================
   STATUS
   ========================================================== */

.live-search__status {
    padding:
        16px
        14px;

    background:
        #f5f9f2;

    border:
        1px solid
        var(--line);

    border-radius: 12px;

    color: var(--muted);

    font-size: 0.86rem;

    line-height: 1.5;
}


/* ==========================================================
   TREFFERLISTE
   ========================================================== */

.live-search__result-list {
    display: grid;

    gap: 5px;

    max-height: 390px;

    overflow-y: auto;

    padding-right: 5px;

    scrollbar-width: thin;

    scrollbar-color:
        #cbd9c7
        transparent;
}


.live-search__result-list::-webkit-scrollbar {
    width: 5px;
}


.live-search__result-list::-webkit-scrollbar-track {
    background:
        transparent;
}


.live-search__result-list::-webkit-scrollbar-thumb {
    background:
        #cbd9c7;

    border-radius: 999px;
}


/* ==========================================================
   EINZELNER TREFFER
   ========================================================== */

.live-search__result {
    display: grid;

    gap: 5px;

    min-width: 0;

    padding:
        13px
        14px;

    background:
        transparent;

    border:
        1px solid
        transparent;

    border-radius: 13px;

    color: inherit;

    text-decoration: none;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.live-search__result:hover {
    background:
        linear-gradient(
            135deg,
            rgba(
                47,
                125,
                38,
                0.055
            ),
            rgba(
                245,
                191,
                36,
                0.035
            )
        );

    border-color:
        rgba(
            47,
            125,
            38,
            0.1
        );

    transform:
        translateX(2px);
}


.live-search__result:focus-visible {
    outline:
        2px solid
        rgba(
            47,
            125,
            38,
            0.28
        );

    outline-offset: 1px;
}


/* ==========================================================
   TREFFER-TYP
   ========================================================== */

.live-search__result-type {
    width: max-content;

    padding:
        3px
        7px;

    background:
        rgba(
            47,
            125,
            38,
            0.075
        );

    border-radius: 999px;

    color: var(--green);

    font-size: 0.61rem;
    font-weight: 900;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


/* ==========================================================
   TREFFER-TITEL
   ========================================================== */

.live-search__result strong {
    max-width: 100%;

    color: var(--ink);

    font-size: 0.94rem;
    font-weight: 800;

    line-height: 1.35;

    overflow-wrap: anywhere;
}


/* ==========================================================
   TREFFER-TEXT
   ========================================================== */

.live-search__result-text {
    display: -webkit-box;

    max-width: 100%;

    overflow: hidden;

    color: var(--muted);

    font-size: 0.8rem;

    line-height: 1.5;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        2;
}


/* ==========================================================
   ALLE ERGEBNISSE
   ========================================================== */

.live-search__all {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 12px;

    padding:
        13px
        14px
        2px;

    border-top:
        1px solid
        var(--line);

    color: var(--green);

    font-size: 0.84rem;
    font-weight: 850;

    text-decoration: none;
}


.live-search__all:hover {
    color:
        #205d1b;
}


/* ==========================================================
   TABLET / MOBILE NAVIGATION
   ========================================================== */

@media (max-width: 980px) {

    /*
     * Deine vorhandene mobile Navigation nutzt:
     *
     * .mainnav { display:none }
     * .mainnav.open { display:block }
     *
     * Deshalb wird hier die Desktop-Flexstruktur wieder
     * aufgehoben.
     */

    .mainnav.open {
        display: block;
    }


    .live-search {
        display: block;

        width: 100%;

        margin:
            10px
            0
            0;
    }


    .live-search__toggle {
        justify-content:
            flex-start;

        width: 100%;

        min-height: 46px;

        padding:
            10px
            12px;

        background:
            #f5f9f2;

        border-color:
            var(--line);

        color:
            var(--ink);
    }


    .live-search__panel {
        position: static;

        width: 100%;

        margin-top: 8px;

        padding: 14px;

        border-radius: 14px;

        box-shadow: none;
    }


    .live-search__panel::before {
        display: none;
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 520px) {

    .live-search__field {
        grid-template-columns:
            1fr;
    }


    .live-search__field button {
        width: 100%;
    }


    .live-search__panel {
        padding: 12px;
    }


    .live-search__result-list {
        max-height: 330px;
    }


    .live-search__result {
        padding:
            12px
            10px;
    }
}

/* ==========================================================
   WEBSITE-SUCHE
   Vollständige Suchergebnisse
   ==========================================================
 *
 * Dieser Bereich gestaltet die virtuelle Systemseite:
 *
 * ?page=suche
 *
 * sowie:
 *
 * ?page=suche&q=Impfung
 *
 * Die Gestaltung orientiert sich an den vorhandenen
 * Website-Komponenten:
 *
 * - ruhiger Seitenkopf
 * - großzügiges Suchformular
 * - Ergebnis-Karten
 * - klare Typ-Badges
 * - responsive Darstellung
 */


/* ==========================================================
   SUCHSEITE
   ========================================================== */

.site-search-page {
    width: 100%;

    padding:
        clamp(46px, 7vw, 80px)
        0
        clamp(70px, 9vw, 110px);

    background:
        linear-gradient(
            180deg,
            rgba(47, 125, 38, 0.025),
            rgba(255, 255, 255, 0.82)
        );
}


/* ==========================================================
   KOPFBEREICH
   ========================================================== */

.site-search-page__head {
    position: relative;

    max-width: 820px;

    margin-bottom: 28px;

    padding:
        clamp(
            26px,
            4vw,
            42px
        );

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.075),
            rgba(255, 255, 255, 0.96) 58%,
            rgba(245, 191, 36, 0.075)
        );

    border:
        1px solid
        var(--line);

    border-radius:
        22px;

    box-shadow:
        var(--shadow-soft);
}


.site-search-page__head::after {
    content: "";

    position: absolute;

    top: -90px;
    right: -70px;

    width: 230px;
    height: 230px;

    background:
        rgba(115, 173, 37, 0.08);

    border-radius: 50%;

    pointer-events: none;
}


.site-search-page__head > * {
    position: relative;

    z-index: 1;
}


.site-search-page__head h1 {
    max-width: 760px;

    margin:
        8px
        0
        14px;

    color:
        var(--ink);

    font-size:
        clamp(
            2.3rem,
            4.8vw,
            4rem
        );

    line-height: 1;

    letter-spacing:
        -0.05em;
}


.site-search-page__head p {
    max-width: 680px;

    margin: 0;

    color:
        var(--muted);

    font-size: 1.02rem;

    line-height: 1.75;
}


/* ==========================================================
   SUCHFORMULAR
   ========================================================== */

.site-search-form {
    max-width: 920px;

    margin-bottom: 34px;

    padding:
        22px;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        18px;

    box-shadow:
        0 12px 34px
        rgba(29, 70, 31, 0.06);
}


.site-search-form__label {
    display: block;

    margin-bottom: 8px;

    color:
        var(--ink);

    font-size: 0.83rem;
    font-weight: 800;

    letter-spacing: 0.02em;
}


.site-search-form__row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 10px;
}


/* ==========================================================
   SUCHFELD
   ========================================================== */

.site-search-form__input {
    width: 100%;
    min-width: 0;
    min-height: 54px;

    padding:
        13px
        16px;

    background:
        #fbfdf9;

    border:
        1px solid
        #d2dfce;

    border-radius:
        13px;

    color:
        var(--ink);

    font: inherit;

    font-size: 1rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.site-search-form__input::placeholder {
    color:
        rgba(
            96,
            112,
            100,
            0.7
        );
}


.site-search-form__input:hover {
    border-color:
        #bdd1b7;
}


.site-search-form__input:focus {
    background:
        #ffffff;

    border-color:
        var(--green);

    box-shadow:
        0 0 0 4px
        rgba(
            47,
            125,
            38,
            0.09
        );
}


/* ==========================================================
   SUCHBUTTON
   ========================================================== */

.site-search-form__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 54px;

    padding:
        12px
        20px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border: 0;
    border-radius: 13px;

    color:
        #ffffff;

    font: inherit;

    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 10px 24px
        rgba(47, 125, 38, 0.2);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.site-search-form__button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 13px 29px
        rgba(47, 125, 38, 0.25);
}


.site-search-form__button span:last-child {
    transition:
        transform 0.2s ease;
}


.site-search-form__button:hover span:last-child {
    transform:
        translateX(3px);
}


.site-search-form__button:focus-visible {
    outline:
        3px solid
        rgba(47, 125, 38, 0.22);

    outline-offset:
        3px;
}


/* ==========================================================
   WILLKOMMEN / HINWEIS / LEERZUSTAND
   ========================================================== */

.site-search-page__welcome,
.site-search-page__message,
.site-search-page__empty {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    max-width: 920px;

    padding:
        22px;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        18px;

    box-shadow:
        var(--shadow-soft);
}


.site-search-page__welcome-icon,
.site-search-page__empty-icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    border-radius:
        14px;

    color:
        #ffffff;

    font-size: 1.25rem;
    font-weight: 900;

    box-shadow:
        0 8px 18px
        rgba(47, 125, 38, 0.18);
}


.site-search-page__welcome strong,
.site-search-page__message strong {
    display: block;

    margin-bottom: 5px;

    color:
        var(--ink);

    font-size: 1.05rem;
}


.site-search-page__welcome p,
.site-search-page__message p,
.site-search-page__empty p {
    margin: 0;

    color:
        var(--muted);

    line-height: 1.7;
}


/* ==========================================================
   ERGEBNIS-KOPF
   ========================================================== */

.site-search-results__head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    max-width: 920px;

    margin:
        40px
        0
        18px;
}


.site-search-results__head h2 {
    margin:
        6px
        0
        0;

    color:
        var(--ink);

    font-size:
        clamp(
            1.7rem,
            3vw,
            2.4rem
        );

    line-height: 1.1;

    letter-spacing:
        -0.03em;
}


.site-search-results__count {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding:
        7px
        11px;

    background:
        rgba(
            47,
            125,
            38,
            0.08
        );

    border:
        1px solid
        rgba(
            47,
            125,
            38,
            0.12
        );

    border-radius:
        999px;

    color:
        var(--green);

    font-size: 0.79rem;
    font-weight: 850;
}


/* ==========================================================
   ERGEBNISLISTE
   ========================================================== */

.site-search-results {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 16px;

    max-width: 920px;
}


/* ==========================================================
   EINZELNES SUCHERGEBNIS
   ========================================================== */

.site-search-result {
    display: flex;

    flex-direction: column;

    min-width: 0;

    padding:
        22px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    border:
        1px solid
        var(--line);

    border-radius:
        18px;

    box-shadow:
        0 10px 30px
        rgba(29, 70, 31, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.site-search-result:hover {
    transform:
        translateY(-3px);

    border-color:
        #c8ddc1;

    box-shadow:
        0 16px 38px
        rgba(29, 70, 31, 0.085);
}


/* ==========================================================
   ERGEBNISTYP
   ========================================================== */

.site-search-result__meta {
    margin-bottom:
        10px;
}


.site-search-result__meta span {
    display: inline-flex;

    align-items: center;

    width: max-content;

    padding:
        4px
        8px;

    background:
        rgba(
            47,
            125,
            38,
            0.075
        );

    border-radius:
        999px;

    color:
        var(--green);

    font-size: 0.66rem;
    font-weight: 900;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;
}


/* ==========================================================
   ERGEBNISTITEL
   ========================================================== */

.site-search-result h2 {
    margin:
        0
        0
        10px;

    color:
        var(--ink);

    font-size:
        1.17rem;

    line-height:
        1.35;

    letter-spacing:
        -0.018em;
}


.site-search-result h2 a {
    color:
        inherit;

    text-decoration:
        none;

    transition:
        color 0.2s ease;
}


.site-search-result h2 a:hover {
    color:
        var(--green);
}


.site-search-result h2 a:focus-visible {
    outline:
        2px solid
        rgba(
            47,
            125,
            38,
            0.28
        );

    outline-offset:
        4px;

    border-radius:
        4px;
}


/* ==========================================================
   ERGEBNIS-KURZTEXT
   ========================================================== */

.site-search-result p {
    flex: 1;

    margin:
        0
        0
        18px;

    color:
        var(--muted);

    font-size:
        0.92rem;

    line-height:
        1.7;
}


/* ==========================================================
   ERGEBNIS-LINK
   ========================================================== */

.site-search-result__link {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 6px;

    margin-top: auto;

    color:
        var(--green);

    font-size: 0.84rem;
    font-weight: 850;

    text-decoration:
        none;
}


.site-search-result__link span {
    transition:
        transform 0.2s ease;
}


.site-search-result__link:hover span {
    transform:
        translateX(4px);
}


/* ==========================================================
   KEINE TREFFER
   ========================================================== */

.site-search-page__empty {
    margin-top:
        24px;
}


.site-search-page__empty h2 {
    margin:
        6px
        0
        10px;

    color:
        var(--ink);

    font-size:
        clamp(
            1.45rem,
            3vw,
            2rem
        );

    line-height:
        1.2;

    letter-spacing:
        -0.025em;
}


/* ==========================================================
   SUCHVORSCHLÄGE
   ========================================================== */

.site-search-page__suggestions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-top:
        18px;
}


.site-search-page__suggestions > span {
    color:
        var(--muted);

    font-size:
        0.82rem;
    font-weight:
        700;
}


.site-search-page__suggestions a {
    display: inline-flex;

    align-items: center;

    padding:
        6px
        10px;

    background:
        #f5f9f2;

    border:
        1px solid
        var(--line);

    border-radius:
        999px;

    color:
        var(--green);

    font-size:
        0.8rem;
    font-weight:
        800;

    text-decoration:
        none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.site-search-page__suggestions a:hover {
    background:
        #eef6e9;

    border-color:
        #c9ddc2;

    transform:
        translateY(-1px);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 780px) {

    .site-search-results {
        grid-template-columns:
            1fr;
    }


    .site-search-results__head {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            10px;
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .site-search-page {
        padding:
            32px
            0
            58px;
    }


    .site-search-page__head {
        padding:
            22px
            18px;

        border-radius:
            18px;
    }


    .site-search-page__head h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                2.8rem
            );
    }


    .site-search-page__head p {
        font-size:
            0.95rem;

        line-height:
            1.65;
    }


    .site-search-form {
        padding:
            16px;

        border-radius:
            16px;
    }


    .site-search-form__row {
        grid-template-columns:
            1fr;
    }


    .site-search-form__button {
        width:
            100%;
    }


    .site-search-results {
        gap:
            12px;
    }


    .site-search-result {
        padding:
            18px;

        border-radius:
            16px;
    }


    .site-search-page__welcome,
    .site-search-page__message,
    .site-search-page__empty {
        padding:
            18px;
    }
}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .site-search-page__welcome,
    .site-search-page__message,
    .site-search-page__empty {
        flex-direction:
            column;
    }


    .site-search-result {
        padding:
            16px;
    }
}

/* ==========================================================
   WEBSITE-SUCHE
   VISUELLES FEINTUNING
   ========================================================== */


/* ==========================================================
   SUCHSEITE KOMPAKTER UND ZENTRIERTER
   ========================================================== */

.site-search-page > .shell {
    max-width: 1080px;
}


/* ==========================================================
   HERO
   ========================================================== */

.site-search-page__head {
    max-width: 100%;

    margin-bottom: 22px;

    padding:
        clamp(
            30px,
            4vw,
            46px
        );

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 88% 24%,
            rgba(245, 191, 36, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 15%,
            rgba(47, 125, 38, 0.09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f8fbf5
        );

    box-shadow:
        0 18px 50px
        rgba(29, 70, 31, 0.07);
}


.site-search-page__head::after {
    width: 190px;
    height: 190px;

    top: -55px;
    right: -45px;

    background:
        rgba(
            115,
            173,
            37,
            0.07
        );
}


.site-search-page__head h1 {
    max-width: 780px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.3rem
        );
}


/* ==========================================================
   SUCHFORMULAR
   ========================================================== */

.site-search-form {
    max-width: 100%;

    margin-bottom: 40px;

    padding: 14px;

    background:
        rgba(
            255,
            255,
            255,
            0.9
        );

    border-radius: 18px;

    box-shadow:
        0 14px 36px
        rgba(29, 70, 31, 0.06);
}


.site-search-form__label {
    margin:
        0
        0
        8px
        4px;
}


.site-search-form__row {
    gap: 10px;
}


.site-search-form__input {
    min-height: 58px;

    padding:
        14px
        17px;

    background:
        #ffffff;

    border-radius: 14px;

    font-size: 1.02rem;
}


.site-search-form__button {
    min-height: 58px;

    padding:
        12px
        22px;

    border-radius: 14px;
}


/* ==========================================================
   ERGEBNIS-KOPF
   ========================================================== */

.site-search-results__head {
    max-width: 100%;

    margin:
        0
        0
        18px;

    padding:
        0
        2px;
}


.site-search-results__head h2 {
    font-size:
        clamp(
            1.9rem,
            3vw,
            2.55rem
        );
}


.site-search-results__count {
    min-height: 34px;

    padding:
        6px
        11px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.1),
            rgba(115, 173, 37, 0.08)
        );
}


/* ==========================================================
   ERGEBNIS-GRID
   ========================================================== */

.site-search-results {
    max-width: 100%;

    gap: 18px;
}


/* ==========================================================
   SUCHERGEBNIS-KARTE
   ========================================================== */

.site-search-result {
    position: relative;

    overflow: hidden;

    min-height: 240px;

    padding:
        24px;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdf9
        );

    box-shadow:
        0 10px 30px
        rgba(29, 70, 31, 0.045);
}


.site-search-result::after {
    content: "";

    position: absolute;

    top: -45px;
    right: -45px;

    width: 120px;
    height: 120px;

    background:
        rgba(
            47,
            125,
            38,
            0.035
        );

    border-radius: 50%;

    pointer-events: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}


.site-search-result:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(
            47,
            125,
            38,
            0.22
        );

    box-shadow:
        0 20px 46px
        rgba(29, 70, 31, 0.095);
}


.site-search-result:hover::after {
    transform:
        scale(1.12);

    background:
        rgba(
            47,
            125,
            38,
            0.055
        );
}


/* ==========================================================
   META-BADGE
   ========================================================== */

.site-search-result__meta {
    position: relative;

    z-index: 1;
}


.site-search-result__meta span {
    padding:
        5px
        9px;

    background:
        #eef7ea;

    border:
        1px solid
        rgba(
            47,
            125,
            38,
            0.1
        );

    font-size: 0.64rem;
}


/* ==========================================================
   TITEL
   ========================================================== */

.site-search-result h2 {
    position: relative;

    z-index: 1;

    margin-bottom: 12px;

    font-size:
        clamp(
            1.18rem,
            1.7vw,
            1.42rem
        );

    line-height: 1.28;
}


/* ==========================================================
   BESCHREIBUNG
   ========================================================== */

.site-search-result p {
    position: relative;

    z-index: 1;

    margin-bottom: 22px;

    color:
        #667469;

    font-size:
        0.94rem;

    line-height:
        1.72;
}


/* ==========================================================
   LINK UNTEN
   ========================================================== */

.site-search-result__link {
    position: relative;

    z-index: 1;

    padding:
        7px
        0;

    font-size: 0.86rem;
}


.site-search-result__link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 1px;

    width: 0;
    height: 1px;

    background:
        var(--green);

    transition:
        width 0.2s ease;
}


.site-search-result__link:hover::after {
    width: 100%;
}


/* ==========================================================
   LETZTE EINZELNE KARTE
   ==========================================================
 *
 * Wenn die Trefferanzahl ungerade ist, soll die letzte Karte
 * nicht verloren wirken.
 */

.site-search-results
.site-search-result:last-child:nth-child(odd) {
    grid-column: 1 / -1;

    max-width: calc(50% - 9px);
}


/* ==========================================================
   KEINE TREFFER / WILLKOMMEN
   ========================================================== */

.site-search-page__welcome,
.site-search-page__message,
.site-search-page__empty {
    max-width: 100%;

    border-radius: 20px;

    box-shadow:
        0 12px 32px
        rgba(29, 70, 31, 0.05);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 780px) {

    .site-search-results
    .site-search-result:last-child:nth-child(odd) {
        grid-column: auto;

        max-width: 100%;
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .site-search-page__head {
        padding:
            24px
            20px;
    }


    .site-search-page__head h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                2.75rem
            );
    }


    .site-search-form {
        padding:
            12px;
    }


    .site-search-result {
        min-height: 0;

        padding:
            19px;
    }

}

/* ==========================================================
   MOBILE NAVIGATION – FINALER FIX
   ========================================================== */

@media (max-width: 980px) {

    .brand-row {
        position: relative;
        gap: 16px;
    }


    /* ------------------------------------------------------
       MENÜ-CONTAINER
       ------------------------------------------------------ */

    .mainnav {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        z-index: 100;

        display: none;

        width: 100%;
        max-height: calc(100vh - 150px);

        margin: 0;
        padding: 14px;

        overflow-y: auto;
        overscroll-behavior: contain;

        background: #ffffff;

        border: 1px solid var(--line);
        border-radius: 0 0 20px 20px;

        box-shadow:
            0 20px 45px rgba(23, 48, 25, 0.14);
    }


    .mainnav.open {
        display: block;
    }


    /* ------------------------------------------------------
       HAUPTLISTE
       ------------------------------------------------------ */

    .mainnav > ul {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 2px;

        width: 100%;

        margin: 0;
        padding: 0;
    }


    .mainnav > ul > li {
        position: relative;

        width: 100%;
        min-width: 0;
    }


    /* ------------------------------------------------------
       MENÜPUNKTE
       ------------------------------------------------------ */

    .mainnav > ul > li > a {
        display: flex;

        align-items: center;

        width: 100%;
        min-height: 48px;

        padding: 11px 48px 11px 14px;

        border-radius: 11px;

        font-size: 1rem;
        line-height: 1.25;
    }


    .mainnav > ul > li:not(.has-sub) > a {
        padding-right: 14px;
    }


    .mainnav > ul > li > a:hover,
    .mainnav > ul > li > a:focus-visible,
    .mainnav > ul > li > a[aria-current="page"] {
        background: #f2f8ee;

        color: var(--green);
    }


    /* ------------------------------------------------------
       UNTERMENÜ-PFEIL
       ------------------------------------------------------ */

    .mainnav .sub-toggle {
        position: absolute;

        top: 4px;
        right: 4px;

        display: flex;

        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        padding: 0;

        border: 0;
        border-radius: 10px;

        background: transparent;

        color: var(--green);

        font-size: 1.15rem;
        line-height: 1;

        cursor: pointer;
    }


    .mainnav .sub-toggle:hover,
    .mainnav .sub-toggle:focus-visible {
        background: #eef6e9;
    }


    /* ------------------------------------------------------
       UNTERMENÜ
       ------------------------------------------------------ */

    .mainnav .submenu {
        position: static !important;

        display: none !important;

        flex-direction: column;
        align-items: stretch !important;

        gap: 2px;

        width: 100%;
        min-width: 0;

        margin: 2px 0 8px;
        padding: 5px 0 5px 14px !important;

        background: transparent;

        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;

        box-shadow: none;
    }


    /*
     * Wichtig:
     * Auf Touch-Geräten darf :focus-within das Untermenü
     * nicht dauerhaft gegen JS offenhalten.
     */
    .mainnav .has-sub:hover .submenu,
    .mainnav .has-sub:focus-within .submenu {
        display: none !important;
    }


    .mainnav .has-sub.sub-open > .submenu {
        display: flex !important;
    }


    .mainnav .submenu li {
        width: 100%;
    }


    .mainnav .submenu a {
        width: 100%;

        padding: 9px 12px;

        border-radius: 9px;

        font-size: 0.92rem;
        font-weight: 650;
    }


    /* ------------------------------------------------------
       LIVE-SUCHE IM MENÜ
       ------------------------------------------------------ */

    .mainnav .live-search {
        position: relative;

        display: block;

        width: 100%;

        margin: 8px 0 0;
        padding-top: 10px;

        border-top: 1px solid var(--line);
    }


    .mainnav .live-search__toggle {
        display: flex;

        align-items: center;
        justify-content: flex-start;

        gap: 10px;

        width: 100%;
        min-height: 46px;

        margin: 0;
        padding: 10px 14px;

        background: #f5f9f2;

        border: 1px solid var(--line);
        border-radius: 11px;

        color: var(--ink);
    }


    .mainnav .live-search__panel {
        position: static;

        width: 100%;

        margin-top: 8px;
    }
}


/* ==========================================================
   KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 520px) {

    .brand-row {
        min-height: 86px;
    }


    .brand {
        width: 150px;
        height: 76px;
    }


    .brand img {
        height: 70px;
        max-width: 150px;
    }


    .menu-toggle {
        padding: 9px 13px;

        font-size: 0.95rem;
    }


    .mainnav {
        max-height: calc(100dvh - 140px);

        padding: 10px;

        border-radius: 0 0 16px 16px;
    }


    .mainnav > ul > li > a {
        min-height: 44px;

        padding-top: 9px;
        padding-bottom: 9px;

        font-size: 0.96rem;
    }


    .mainnav .sub-toggle {
        top: 2px;

        width: 40px;
        height: 40px;
    }
}

/* ==========================================================
   KALORIENBEDARFS-RECHNER
   ==========================================================
 *
 * Gestaltung der erweiterten Ergebnisanzeige.
 *
 * Enthalten:
 *
 * - Tagesbedarf
 * - Aktivitätsniveau
 * - Ruheenergieverbrauch
 * - PAL-Wert
 * - Orientierungsbereich
 * - Ernährungshinweise
 * - medizinischer Hinweis
 * - Fehlerzustand
 * - responsive Darstellung
 */


/* ==========================================================
   ERGEBNISBEREICH
   ========================================================== */

.calorie-result {
    display: grid;

    gap: 20px;

    width: 100%;

    margin-top: 20px;
}


/* ==========================================================
   ZUSAMMENFASSUNG
   ========================================================== */

.calorie-result__summary {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}


/* ==========================================================
   TAGESBEDARF + AKTIVITÄTSNIVEAU
   ========================================================== */

.calorie-result__value,
.calorie-result__activity {
    position: relative;

    overflow: hidden;

    min-width: 0;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f6faf3
        );

    border: 1px solid var(--line);
    border-radius: 16px;

    box-shadow:
        0 10px 28px
        rgba(29, 70, 31, 0.05);
}


.calorie-result__value::after,
.calorie-result__activity::after {
    content: "";

    position: absolute;

    top: -40px;
    right: -40px;

    width: 120px;
    height: 120px;

    background:
        rgba(47, 125, 38, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.calorie-result__value span,
.calorie-result__activity span {
    position: relative;

    z-index: 1;

    display: block;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 850;

    letter-spacing: 0.055em;

    text-transform: uppercase;
}


.calorie-result__value strong,
.calorie-result__activity strong {
    position: relative;

    z-index: 1;

    display: block;

    color: var(--ink);

    line-height: 1.05;
}


/* ----------------------------------------------------------
   TAGESBEDARF BESONDERS HERVORHEBEN
   ---------------------------------------------------------- */

.calorie-result__value strong {
    color: var(--green);

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.6rem
        );

    letter-spacing: -0.04em;
}


/* ----------------------------------------------------------
   AKTIVITÄTSNIVEAU
   ---------------------------------------------------------- */

.calorie-result__activity strong {
    font-size:
        clamp(
            1.25rem,
            2.5vw,
            1.65rem
        );

    letter-spacing: -0.025em;
}


/* ==========================================================
   DETAILWERTE
   ========================================================== */

.calorie-result__details {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.calorie-result__details > div {
    min-width: 0;

    padding: 16px;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 14px;
}


.calorie-result__details span {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.045em;

    text-transform: uppercase;
}


.calorie-result__details strong {
    display: block;

    color: var(--ink);

    font-size: 0.95rem;
    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* ==========================================================
   AKTIVITÄTSBESCHREIBUNG
   ========================================================== */

.calorie-result__message {
    margin: 0;

    padding: 18px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.055),
            rgba(245, 191, 36, 0.055)
        );

    border: 1px solid var(--line);
    border-radius: 15px;

    color: var(--muted);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* ==========================================================
   ERNÄHRUNG & ALLTAG
   ========================================================== */

.calorie-result__tips {
    padding: 20px 22px;

    background:
        #f5f9f2;

    border:
        1px solid var(--line);

    border-left:
        4px solid var(--green);

    border-radius: 15px;
}


.calorie-result__tips > strong {
    display: block;

    margin-bottom: 12px;

    color: var(--ink);

    font-size: 1rem;
}


.calorie-result__tips ul {
    display: grid;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.calorie-result__tips li {
    position: relative;

    padding-left: 25px;

    color: var(--muted);

    font-size: 0.92rem;
    line-height: 1.6;
}


.calorie-result__tips li::before {
    content: "✓";

    position: absolute;

    top: 0.15em;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    background:
        rgba(47, 125, 38, 0.11);

    border-radius: 50%;

    color: var(--green);

    font-size: 0.65rem;
    font-weight: 900;
}


/* ==========================================================
   HINWEIS
   ========================================================== */

.calorie-result__notice {
    padding: 18px 20px;

    background:
        #fff9df;

    border:
        1px solid
        rgba(245, 191, 36, 0.35);

    border-left:
        4px solid var(--yellow);

    border-radius: 14px;
}


.calorie-result__notice > strong {
    display: block;

    margin-bottom: 6px;

    color: var(--ink);

    font-size: 0.92rem;
}


.calorie-result__notice p {
    margin: 0;

    color: var(--muted);

    font-size: 0.87rem;
    line-height: 1.6;
}


/* ==========================================================
   AKTIVITÄTSNIVEAU – DEZENTE DIFFERENZIERUNG
   ========================================================== */

.calorie-activity-low
.calorie-result__activity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7faf6
        );
}


.calorie-activity-light
.calorie-result__activity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f3f8ef
        );
}


.calorie-activity-medium
.calorie-result__activity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #eef7ea
        );
}


.calorie-activity-high
.calorie-result__activity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #edf7e8
        );
}


/* ==========================================================
   FEHLERZUSTAND
   ========================================================== */

.calorie-result--error {
    padding: 18px 20px;

    background:
        #fff3f1;

    border:
        1px solid #efcbc6;

    border-left:
        4px solid #b42318;

    border-radius: 14px;

    color: #8b2b22;
}


.calorie-result--error > strong {
    display: block;

    margin-bottom: 5px;

    color: #8b2b22;
}


.calorie-result--error p {
    margin: 0;

    color: #8b2b22;

    font-size: 0.9rem;
    line-height: 1.6;
}


/* ==========================================================
   CALCULATOR INTRO
   ==========================================================
 *
 * Wird sowohl vom BMI- als auch vom Kalorienbedarfs-Rechner
 * verwendet.
 */

.calculator-intro {
    margin-bottom: 20px;

    padding: 18px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.06),
            rgba(245, 191, 36, 0.05)
        );

    border: 1px solid var(--line);
    border-radius: 15px;
}


.calculator-intro > strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ink);

    font-size: 1rem;
}


.calculator-intro p {
    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.6;
}


/* ==========================================================
   RECHNER FORMULAR ETWAS VERFEINERN
   ========================================================== */

.calculator .calc-grid {
    align-items: end;
}


.calculator label {
    display: grid;

    gap: 6px;

    min-width: 0;

    color: var(--ink);

    font-size: 0.86rem;
    font-weight: 800;
}


.calculator input,
.calculator select {
    min-height: 46px;
}


/* ==========================================================
   RESULT STANDARDABSTAND
   ==========================================================
 *
 * Deine bestehende .result-Klasse besitzt bereits
 * Hintergrund und Rahmen.
 *
 * Für die neuen großen Ergebnisblöcke neutralisieren wir
 * diese Eigenschaften, damit keine doppelte Box entsteht.
 */

.result:has(.calorie-result),
.result:has(.bmi-result) {
    margin-top: 20px;

    padding: 0;

    background: transparent;

    border-left: 0;
    border-radius: 0;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 760px) {

    .calorie-result__details {
        grid-template-columns:
            1fr;
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .calorie-result {
        gap: 14px;
    }


    .calorie-result__summary {
        grid-template-columns:
            1fr;
    }


    .calorie-result__value,
    .calorie-result__activity {
        padding: 17px;
    }


    .calorie-result__details > div {
        padding: 14px;
    }


    .calorie-result__message,
    .calorie-result__tips,
    .calorie-result__notice {
        padding: 16px;
    }


    .calorie-result__tips li {
        font-size: 0.88rem;
    }

}


/* ==========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 420px) {

    .calculator-intro {
        padding: 16px;
    }


    .calorie-result__value strong {
        font-size: 1.8rem;
    }


    .calorie-result__activity strong {
        font-size: 1.2rem;
    }

}

/* ==========================================================
   KALORIENVERBRAUCHS-RECHNER
   ==========================================================
 *
 * Gestaltung für:
 *
 * - geschätzten Energieverbrauch
 * - Aktivität
 * - Dauer
 * - MET-Wert
 * - Verbrauch pro Minute
 * - Belastungsniveau
 * - Orientierungsbereich
 * - Hinweise
 */


/* ==========================================================
   HAUPTBEREICH
   ========================================================== */

.burn-result {
    display: grid;

    gap: 20px;

    width: 100%;

    margin-top: 20px;
}


/* ==========================================================
   ZUSAMMENFASSUNG
   ========================================================== */

.burn-result__summary {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}


/* ==========================================================
   VERBRAUCH + AKTIVITÄT
   ========================================================== */

.burn-result__value,
.burn-result__activity {
    position: relative;

    overflow: hidden;

    min-width: 0;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f6faf3
        );

    border:
        1px solid var(--line);

    border-radius:
        16px;

    box-shadow:
        0 10px 28px
        rgba(29, 70, 31, 0.05);
}


.burn-result__value::after,
.burn-result__activity::after {
    content: "";

    position: absolute;

    top: -40px;
    right: -40px;

    width: 120px;
    height: 120px;

    background:
        rgba(47, 125, 38, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.burn-result__value span,
.burn-result__activity span {
    position: relative;

    z-index: 1;

    display: block;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 850;

    letter-spacing: 0.055em;

    text-transform: uppercase;
}


.burn-result__value strong {
    position: relative;

    z-index: 1;

    display: block;

    color: var(--green);

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.6rem
        );

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.burn-result__activity strong {
    position: relative;

    z-index: 1;

    display: block;

    color: var(--ink);

    font-size:
        clamp(
            1.2rem,
            2.5vw,
            1.55rem
        );

    line-height: 1.15;

    letter-spacing: -0.025em;
}


/* ==========================================================
   DETAILWERTE
   ========================================================== */

.burn-result__details {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.burn-result__details > div {
    min-width: 0;

    padding: 16px;

    background: #ffffff;

    border:
        1px solid var(--line);

    border-radius: 14px;
}


.burn-result__details span,
.burn-result__range span {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.045em;

    text-transform: uppercase;
}


.burn-result__details strong,
.burn-result__range strong {
    display: block;

    color: var(--ink);

    font-size: 0.95rem;

    line-height: 1.4;
}


/* ==========================================================
   BELASTUNGSNIVEAU
   ========================================================== */

.burn-result__intensity {
    padding: 18px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.055),
            rgba(245, 191, 36, 0.055)
        );

    border:
        1px solid var(--line);

    border-radius: 15px;
}


.burn-result__intensity > span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


.burn-result__intensity > strong {
    display: block;

    color: var(--ink);

    font-size: 1.1rem;
}


.burn-result__intensity p {
    margin:
        7px
        0
        0;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.6;
}


/* ==========================================================
   ORIENTIERUNGSBEREICH
   ========================================================== */

.burn-result__range {
    padding: 16px 18px;

    background: #ffffff;

    border:
        1px solid var(--line);

    border-radius: 14px;
}


/* ==========================================================
   HINWEISE
   ========================================================== */

.burn-result__tips {
    padding: 20px 22px;

    background: #f5f9f2;

    border:
        1px solid var(--line);

    border-left:
        4px solid var(--green);

    border-radius: 15px;
}


.burn-result__tips > strong {
    display: block;

    margin-bottom: 12px;

    color: var(--ink);
}


.burn-result__tips ul {
    display: grid;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.burn-result__tips li {
    position: relative;

    padding-left: 25px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.6;
}


.burn-result__tips li::before {
    content: "✓";

    position: absolute;

    top: 0.15em;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    background:
        rgba(47, 125, 38, 0.11);

    border-radius: 50%;

    color: var(--green);

    font-size: 0.65rem;
    font-weight: 900;
}


/* ==========================================================
   SICHERHEITSHINWEIS
   ========================================================== */

.burn-result__notice {
    padding: 18px 20px;

    background: #fff9df;

    border:
        1px solid
        rgba(245, 191, 36, 0.35);

    border-left:
        4px solid var(--yellow);

    border-radius: 14px;
}


.burn-result__notice > strong {
    display: block;

    margin-bottom: 6px;

    color: var(--ink);
}


.burn-result__notice p {
    margin: 0;

    color: var(--muted);

    font-size: 0.87rem;
    line-height: 1.6;
}


/* ==========================================================
   INTENSITÄT DEZENT DIFFERENZIEREN
   ========================================================== */

.burn-intensity-light
.burn-result__intensity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f6faf4
        );
}


.burn-intensity-medium
.burn-result__intensity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f2f8ee
        );
}


.burn-intensity-high
.burn-result__intensity {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #eef7e9
        );
}


/* ==========================================================
   FEHLER
   ========================================================== */

.burn-result--error {
    padding: 18px 20px;

    background: #fff3f1;

    border:
        1px solid #efcbc6;

    border-left:
        4px solid #b42318;

    border-radius: 14px;

    color: #8b2b22;
}


.burn-result--error p {
    margin:
        5px
        0
        0;

    color: #8b2b22;
}


/* ==========================================================
   TAILLE-HÜFT-VERHÄLTNIS
   ========================================================== */

.whr-result {
    display: grid;

    gap: 20px;

    width: 100%;

    margin-top: 20px;
}


/* ==========================================================
   ZUSAMMENFASSUNG
   ========================================================== */

.whr-result__summary {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.whr-result__value,
.whr-result__category {
    position: relative;

    overflow: hidden;

    min-width: 0;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f6faf3
        );

    border:
        1px solid var(--line);

    border-radius: 16px;

    box-shadow:
        0 10px 28px
        rgba(29, 70, 31, 0.05);
}


.whr-result__value::after,
.whr-result__category::after {
    content: "";

    position: absolute;

    top: -40px;
    right: -40px;

    width: 120px;
    height: 120px;

    background:
        rgba(47, 125, 38, 0.055);

    border-radius: 50%;
}


.whr-result__value span,
.whr-result__category span {
    position: relative;

    z-index: 1;

    display: block;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 850;

    letter-spacing: 0.055em;

    text-transform: uppercase;
}


.whr-result__value strong {
    position: relative;

    z-index: 1;

    display: block;

    color: var(--green);

    font-size:
        clamp(
            1.9rem,
            4vw,
            2.7rem
        );

    line-height: 1;

    letter-spacing: -0.04em;
}


.whr-result__category strong {
    position: relative;

    z-index: 1;

    display: block;

    color: var(--ink);

    font-size:
        clamp(
            1.1rem,
            2.5vw,
            1.45rem
        );

    line-height: 1.2;
}


/* ==========================================================
   DETAILWERTE
   ========================================================== */

.whr-result__details {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.whr-result__details > div {
    padding: 16px;

    background: #ffffff;

    border:
        1px solid var(--line);

    border-radius: 14px;
}


.whr-result__details span {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.045em;

    text-transform: uppercase;
}


.whr-result__details strong {
    display: block;

    color: var(--ink);

    font-size: 0.95rem;
}


/* ==========================================================
   EINORDNUNG
   ========================================================== */

.whr-result__message {
    margin: 0;

    padding: 18px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(47, 125, 38, 0.055),
            rgba(245, 191, 36, 0.055)
        );

    border:
        1px solid var(--line);

    border-radius: 15px;

    color: var(--muted);

    line-height: 1.7;
}


/* ==========================================================
   MESSHINWEISE
   ========================================================== */

.whr-result__measure {
    padding: 20px 22px;

    background: #f5f9f2;

    border:
        1px solid var(--line);

    border-left:
        4px solid var(--green);

    border-radius: 15px;
}


.whr-result__measure > strong {
    display: block;

    margin-bottom: 12px;

    color: var(--ink);
}


.whr-result__measure ul {
    display: grid;

    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.whr-result__measure li {
    position: relative;

    padding-left: 25px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.6;
}


.whr-result__measure li::before {
    content: "✓";

    position: absolute;

    top: 0.15em;
    left: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    background:
        rgba(47, 125, 38, 0.11);

    border-radius: 50%;

    color: var(--green);

    font-size: 0.65rem;
    font-weight: 900;
}


/* ==========================================================
   MEDIZINISCHER HINWEIS
   ========================================================== */

.whr-result__notice {
    padding: 18px 20px;

    background: #fff9df;

    border:
        1px solid
        rgba(245, 191, 36, 0.35);

    border-left:
        4px solid var(--yellow);

    border-radius: 14px;
}


.whr-result__notice > strong {
    display: block;

    margin-bottom: 6px;

    color: var(--ink);
}


.whr-result__notice p {
    margin: 0;

    color: var(--muted);

    font-size: 0.87rem;
    line-height: 1.6;
}


/* ==========================================================
   ERHÖHTER ORIENTIERUNGSWERT
   ==========================================================
 *
 * Bewusst keine aggressive Rotfärbung.
 *
 * Der Wert ist eine Orientierung und keine Diagnose.
 */

.whr-elevated
.whr-result__category {
    border-color:
        rgba(196, 142, 31, 0.35);

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fff9e9
        );
}


/* ==========================================================
   FEHLER
   ========================================================== */

.whr-result--error {
    padding: 18px 20px;

    background: #fff3f1;

    border:
        1px solid #efcbc6;

    border-left:
        4px solid #b42318;

    border-radius: 14px;

    color: #8b2b22;
}


.whr-result--error p {
    margin:
        5px
        0
        0;

    color: #8b2b22;
}


/* ==========================================================
   ALTE RESULT-BOX NEUTRALISIEREN
   ========================================================== */

.result:has(.burn-result),
.result:has(.whr-result) {
    margin-top: 20px;

    padding: 0;

    background: transparent;

    border-left: 0;

    border-radius: 0;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 760px) {

    .burn-result__details,
    .whr-result__details {
        grid-template-columns:
            1fr;
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 650px) {

    .burn-result,
    .whr-result {
        gap: 14px;
    }


    .burn-result__summary,
    .whr-result__summary {
        grid-template-columns:
            1fr;
    }


    .burn-result__value,
    .burn-result__activity,
    .whr-result__value,
    .whr-result__category {
        padding: 17px;
    }


    .burn-result__intensity,
    .burn-result__tips,
    .burn-result__notice,
    .whr-result__message,
    .whr-result__measure,
    .whr-result__notice {
        padding: 16px;
    }

}

/* ==========================================================
   PUSH-BENACHRICHTIGUNGEN
   ==========================================================
 *
 * Footer-Button und Hinweis auf der News-Seite.
 * Beide Bereiche sind standardmäßig verborgen und werden von
 * assets/js/push.js nur eingeblendet, wenn der Browser
 * Push-Benachrichtigungen unterstützt.
 */

.push-optin[hidden],
.push-optin [hidden] {
    display: none !important;
}

.push-optin__button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

    border: 1px solid transparent;
    border-radius: 12px;

    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.push-optin__button:hover {
    transform: translateY(-1px);
}

.push-optin__button:disabled {
    cursor: default;

    opacity: 0.6;

    transform: none;
}

.push-optin__button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

.push-optin__bell {
    flex: 0 0 auto;
}

.push-optin__status {
    margin: 8px 0 0;

    font-size: 0.86rem;

    line-height: 1.45;
}


/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */

.push-optin--footer {
    margin-top: 20px;
}

.push-optin--footer .push-optin__button {
    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.28);

    color: #ffffff;
}

.push-optin--footer .push-optin__button:hover {
    background: rgba(255, 255, 255, 0.16);

    border-color: rgba(255, 255, 255, 0.5);
}

.push-optin--footer[data-push-state="on"] .push-optin__button {
    border-color: var(--lime);
}

.push-optin--footer .push-optin__status {
    max-width: 420px;

    color: #cfdccb;
}


/* ----------------------------------------------------------
   News-Seite
   ---------------------------------------------------------- */

.push-optin--news {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    margin: -10px 0 34px;

    padding: 20px 22px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 18px;

    box-shadow: var(--shadow-soft);
}

.push-optin--news .push-optin__icon {
    display: grid;

    place-items: center;

    width: 46px;
    height: 46px;

    border-radius: 14px;

    background: rgba(47, 125, 38, 0.1);

    color: var(--green);
}

.push-optin--news .push-optin__icon svg {
    width: 24px;
    height: 24px;
}

.push-optin--news .push-optin__content strong {
    display: block;

    margin-bottom: 4px;

    color: var(--ink);

    font-size: 1.05rem;
}

.push-optin--news .push-optin__content p {
    margin: 0;

    color: var(--muted);

    font-size: 0.94rem;

    line-height: 1.55;
}

.push-optin--news .push-optin__content a {
    color: var(--green);
}

.push-optin--news .push-optin__status {
    margin-top: 8px;

    color: var(--ink);

    font-weight: 600;
}

.push-optin--news .push-optin__button {
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    color: #ffffff;

    box-shadow: 0 10px 26px rgba(47, 125, 38, 0.22);

    white-space: nowrap;
}

.push-optin--news[data-push-state="on"] .push-optin__button {
    background: var(--white);

    border-color: var(--line);

    color: var(--ink);

    box-shadow: none;
}

@media (max-width: 650px) {

    .push-optin--news {
        grid-template-columns:
            auto
            minmax(0, 1fr);

        align-items: start;
    }

    .push-optin--news .push-optin__button {
        grid-column: 1 / -1;

        justify-content: center;

        white-space: normal;
    }
}

/* ----------------------------------------------------------
   Push-Einblendung
   ----------------------------------------------------------
 * Unten links, damit sie den Nach-oben-Button (unten rechts)
 * nicht verdeckt. Auf kleinen Bildschirmen über die volle
 * Breite oberhalb des Nach-oben-Buttons.
 */

.push-prompt {
    position: fixed;

    left: 22px;
    bottom: 22px;

    z-index: 950;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    gap: 14px;

    width: min(400px, calc(100vw - 44px));

    padding: 20px 20px 18px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 20px;

    box-shadow:
        0 24px 60px rgba(23, 48, 25, 0.22),
        0 4px 14px rgba(23, 48, 25, 0.08);

    color: var(--ink);

    opacity: 0;

    transform: translateY(16px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.push-prompt[hidden] {
    display: none !important;
}

.push-prompt.is-visible {
    opacity: 1;

    transform: translateY(0);
}

.push-prompt [hidden] {
    display: none !important;
}

.push-prompt__icon {
    display: grid;

    place-items: center;

    width: 44px;
    height: 44px;

    border-radius: 14px;

    background: rgba(47, 125, 38, 0.1);

    color: var(--green);
}

.push-prompt__body strong {
    display: block;

    margin: 2px 28px 6px 0;

    font-size: 1.02rem;

    line-height: 1.3;
}

.push-prompt__body p {
    margin: 0;

    color: var(--muted);

    font-size: 0.92rem;

    line-height: 1.5;
}

.push-prompt__close {
    position: absolute;

    top: 10px;
    right: 10px;

    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: var(--muted);

    font-size: 1.4rem;

    line-height: 1;

    cursor: pointer;
}

.push-prompt__close:hover {
    background: rgba(23, 48, 25, 0.06);

    color: var(--ink);
}

.push-prompt__actions {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 14px;
}

.push-prompt__primary,
.push-prompt__secondary {
    padding: 10px 16px;

    border: 1px solid transparent;
    border-radius: 12px;

    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;
}

.push-prompt__primary {
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green2)
        );

    color: #ffffff;

    box-shadow: 0 10px 24px rgba(47, 125, 38, 0.22);
}

.push-prompt__primary:disabled {
    opacity: 0.6;

    cursor: default;
}

.push-prompt__secondary {
    background: var(--white);

    border-color: var(--line);

    color: var(--ink);
}

.push-prompt__secondary:hover {
    border-color: var(--green);
}

.push-prompt__close:focus-visible,
.push-prompt__primary:focus-visible,
.push-prompt__secondary:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

.push-prompt__steps {
    margin: 12px 0 0;

    padding-left: 20px;

    color: var(--ink);

    font-size: 0.92rem;

    line-height: 1.5;
}

.push-prompt__steps li + li {
    margin-top: 8px;
}

.push-prompt__key {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    padding: 1px 7px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: #f4f8f1;

    font-weight: 700;

    white-space: nowrap;
}

.push-prompt__glyph {
    color: #0a7aff;
}

.push-prompt__status {
    margin-top: 10px !important;

    color: var(--ink) !important;

    font-weight: 600;
}

@media (max-width: 650px) {

    .push-prompt {
        left: 12px;
        right: 12px;
        bottom: 72px;

        width: auto;

        max-height: calc(100vh - 96px);

        overflow-y: auto;

        padding: 18px 16px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .push-prompt {
        transition: none;
    }
}
