:root {
    --page-width: 1180px;

    --navy: #123247;
    --navy-dark: #0d2534;
    --navy-soft: #173f58;

    --green: #a8c3a7;
    --green-dark: #7fa37d;

    --text: #26343b;
    --muted: #66747b;
    --border: #dde5e7;

    --background: #ffffff;
    --background-soft: #f4f7f5;
    --background-warm: #f8f6f1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
}

a {
    color: inherit;
}

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


/* Topbar */

.topbar {
    background: var(--navy-dark);
    color: #d8e1e5;
    font-size: 0.78rem;
}

.topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}


/* Header */

.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--navy);
    color: white;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.logo-accent {
    color: var(--green-dark);
}

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

.site-nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--green-dark);
}

.site-nav .nav-contact {
    padding: 10px 18px;
    border: 1px solid var(--navy);
    border-radius: 999px;
}

.site-nav .nav-contact:hover {
    background: var(--navy);
    color: white;
}


/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: #f4f6f3;
    color: var(--navy);
    padding: 92px 0 96px;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(18, 52, 74, 0.035);
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 88px;
}

.hero-eyebrow {
    margin-bottom: 20px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero h1 {
    max-width: 760px;
    margin: 0;

    font-size: clamp(2.9rem, 5.6vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 650;
}

.hero-lead {
    max-width: 680px;
    margin: 30px 0 34px;

    color: var(--muted);
    font-size: 1.16rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;

    text-decoration: none;
    font-weight: 700;
}

.button-primary {
    background: var(--green);
    color: var(--navy-dark);
    border-radius: 999px;
}

.button-primary:hover {
    background: white;
}

.button-link {
    padding-inline: 0;
    color: var(--navy);
}

.button-link:hover {
    color: var(--green);
}

.hero-trust {
    margin: 34px 0 0;
    padding: 0;
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;

    color: var(--muted);
    font-size: 0.88rem;
}

.hero-trust li {
    position: relative;
    padding-left: 16px;
}

.hero-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}


/* Portrait */

.portrait-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

.portrait-placeholder {
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.12),
            rgba(255,255,255,0.03)
        );

    color: rgba(255,255,255,0.58);
    font-size: 0.9rem;
}

.portrait-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 15px 6px 4px;
}

.portrait-meta strong {
    font-size: 0.95rem;
}

.portrait-meta span {
    color: #c6d3d8;
    font-size: 0.82rem;
}


/* Intro */

.intro {
    padding: 105px 0;
    background: var(--background-soft);
}

.intro-grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 72px;
}

.section-label {
    padding-top: 7px;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.intro-content {
    max-width: 790px;
}

.intro-content h2 {
    margin: 0 0 26px;

    color: var(--navy);
    font-size: clamp(2.1rem, 3.4vw, 3.35rem);
    line-height: 1.12;
    letter-spacing: -0.038em;
}

.intro-content p {
    font-size: 1.08rem;
    color: var(--muted);
}



/* Services */

.services {
    padding: 110px 0 120px;
    background: var(--background);
}

.services-heading {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 72px;
    margin-bottom: 62px;
}

.services-heading-content {
    max-width: 790px;
}

.services-heading h2 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(2.1rem, 3.4vw, 3.35rem);
    line-height: 1.12;
    letter-spacing: -0.038em;
}

.services-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.service-card {
    min-height: 310px;
    padding: 42px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.service-card:hover {
    position: relative;
    z-index: 1;
    background: var(--background-soft);
}

.service-number {
    margin-bottom: 62px;
    color: var(--green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-card h3 {
    margin: 0 0 17px;
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.service-card p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}


/* About home */

.about-home {
    padding: 120px 0;
    background: var(--background-warm);
}

.about-home-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 90px;
    align-items: center;
}

.about-home-visual {
    max-width: 470px;
}

.about-photo-placeholder {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #e7ebe8;
    border-radius: 22px;

    color: var(--muted);
    font-size: 0.9rem;
}

.about-home-content h2 {
    margin: 18px 0 7px;
    color: var(--navy);

    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-role {
    margin-bottom: 30px;
    color: var(--green-dark);

    font-size: 0.95rem;
    font-weight: 700;
}

.about-text {
    max-width: 720px;
    margin: 0 0 30px;

    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.about-facts {
    margin: 0 0 38px;
    padding: 0;
    list-style: none;

    display: grid;
    gap: 13px;
}

.about-facts li {
    position: relative;
    padding-left: 25px;
    color: var(--text);
}

.about-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;

    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-dark);
}

.button-outline {
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
}

.button-outline:hover {
    background: var(--navy);
    color: white;
}


/* Contact CTA */

.contact-cta {
    padding: 90px 0;
    background: var(--navy);
    color: white;
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 80px;
    align-items: center;
}

.contact-eyebrow {
    margin-bottom: 18px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.contact-cta h2 {
    max-width: 760px;
    margin: 0 0 22px;

    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.contact-cta p {
    max-width: 720px;
    margin: 0;
    color: #cbd8dd;
    font-size: 1.05rem;
}

.contact-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.contact-button-primary {
    background: var(--green);
    color: var(--navy-dark);
    border-radius: 999px;
}

.contact-button-primary:hover {
    background: white;
}

.contact-button-secondary {
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    color: white;
}

.contact-button-secondary:hover {
    border-color: white;
    background: white;
    color: var(--navy);
}

/* Default pages */

.content {
    padding: 80px 0;
}

.content h1 {
    color: var(--navy);
    font-size: clamp(2.2rem, 4vw, 4rem);
}





/* About page */

.about-page {
    background: #fff;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 90px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 110px;
}

.about-portrait {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;
    background: #e8eeeb;
    color: #74838a;
}

.about-intro {
    max-width: 680px;
}

.about-intro .section-eyebrow {
    margin-bottom: 22px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.about-intro h1 {
    margin: 0 0 14px;

    color: var(--navy);
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.about-role {
    margin-bottom: 34px;
    color: var(--green);
    font-weight: 700;
}

.about-lead {
    margin: 0;
    color: #5f7078;
    font-size: 1.12rem;
    line-height: 1.8;
}

.about-biography {
    padding: 100px 0 120px;
    background: #f7f7f3;
}

.about-biography .page-content {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.about-biography .page-content h2 {
    margin: 58px 0 20px;

    color: var(--navy);
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.about-biography .page-content h2:first-child {
    margin-top: 0;
}

.about-biography .page-content p {
    margin: 0 0 20px;
    color: #5f7078;
    font-size: 1rem;
    line-height: 1.8;
}

.about-biography .page-content ul {
    margin: 25px 0 30px;
    padding: 0;
    list-style: none;
}

.about-biography .page-content li {
    position: relative;
    margin: 11px 0;
    padding-left: 24px;
    color: #34434a;
    line-height: 1.6;
}

.about-biography .page-content li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;

    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

@media (max-width: 760px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .about-portrait {
        min-height: 430px;
    }

    .about-biography {
        padding: 70px 0 85px;
    }
}

/* Default content pages */

.default-page {
    padding: 105px 0 120px;
}

.default-page > .container {
    max-width: 1180px;
}

.default-page h1 {
    max-width: 850px;
    margin: 0 0 70px;

    color: var(--navy);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.default-page .page-content {
    max-width: 850px;
}

.default-page .page-content h2 {
    margin: 55px 0 20px;

    color: var(--navy);
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.default-page .page-content h2:first-child {
    margin-top: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.default-page .page-content h2:first-child + p strong {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--green-dark, #7fa47c);
    font-size: 0.95rem;
}

.default-page .page-content p {
    max-width: 800px;
    margin: 0 0 20px;

    color: #5f7078;
    font-size: 1rem;
    line-height: 1.8;
}

.default-page .page-content strong {
    color: var(--navy);
}

.default-page .page-content ul {
    margin: 25px 0 30px;
    padding: 0;
    list-style: none;
}

.default-page .page-content li {
    position: relative;
    margin: 11px 0;
    padding-left: 24px;

    color: #34434a;
    line-height: 1.6;
}

.default-page .page-content li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;

    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

@media (max-width: 760px) {
    .default-page {
        padding: 70px 0 85px;
    }

    .default-page h1 {
        margin-bottom: 48px;
    }

    .default-page .page-content h2 {
        margin-top: 42px;
    }
}

/* Footer */

.site-footer {
    background: var(--navy-dark);
    color: #c9d4d9;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.5fr) minmax(180px, 0.5fr);
    gap: 70px;
    padding-top: 70px;
    padding-bottom: 62px;
}

.footer-brand {
    max-width: 520px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-logo-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 1.18rem;
    font-weight: 700;
}

.footer-brand p {
    max-width: 470px;
    margin: 0;
    color: #aebec5;
    line-height: 1.75;
}

.footer-heading {
    margin-bottom: 18px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

.footer-nav,
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-nav a,
.footer-legal a {
    color: #d5dfe3;
    text-decoration: none;
    font-size: 0.93rem;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--green);
}

.footer-bottom {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    border-top: 1px solid rgba(255,255,255,0.12);

    color: #8fa2ab;
    font-size: 0.82rem;
}


/* Responsive */

@media (max-width: 920px) {

    .topbar-inner {
        justify-content: center;
    }

    .topbar-inner span:last-child {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-visual {
        max-width: 560px;
    }

    .portrait-placeholder {
        min-height: 340px;
    }

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


@media (max-width: 760px) {

    .container {
        width: min(calc(100% - 32px), var(--page-width));
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
        gap: 17px;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero {
        padding: 66px 0 72px;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .intro {
        padding: 72px 0;
    }
}

@media (max-width: 760px) {
    .services {
        padding: 72px 0;
    }

    .services-heading {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 42px;
    }

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

    .service-card {
        min-height: auto;
        padding: 32px;
    }

    .service-number {
        margin-bottom: 38px;
    }
}

@media (max-width: 760px) {
    .about-home {
        padding: 72px 0;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-photo-placeholder {
        min-height: 380px;
    }
}

@media (max-width: 760px) {
    .contact-cta {
        padding: 70px 0;
    }

    .contact-cta-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .contact-cta-actions {
        max-width: 340px;
    }
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 52px;
        padding-bottom: 46px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

/* Portrait images */

.about-portrait {
    overflow: hidden;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center center;
}

.about-photo {
    overflow: hidden;
    border-radius: 22px;
    background: #e7ebe8;
}

.about-photo img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 760px) {
    .about-portrait img,
    .about-photo img {
        height: 430px;
    }
}

/* Brand mark */
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}

.logo-mark-image {
    display: block;
    width: 84%;
    height: 84%;
    object-fit: contain;
}


/* ---------------------------------------------------------
   Leistungen
   --------------------------------------------------------- */

.page-leistungen .content {
    padding-bottom: 0;
}

.page-leistungen .content > .container {
    max-width: 1180px;
}

.page-leistungen .content > .container > h1 {
    margin-bottom: 56px;
}

.services-intro {
    max-width: 780px;
    margin-bottom: 80px;
}

.page-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #82a982;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.services-intro h2,
.services-closing h2 {
    margin: 0 0 24px;
    color: #12344a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.page-lead {
    max-width: 720px;
    margin: 0;
    color: #607480;
    font-size: 18px;
    line-height: 1.8;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d7e0e4;
    border-left: 1px solid #d7e0e4;
}

.service-detail {
    min-height: 340px;
    padding: 48px;
    border-right: 1px solid #d7e0e4;
    border-bottom: 1px solid #d7e0e4;
}

.service-number {
    display: block;
    margin-bottom: 48px;
    color: #82a982;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

.service-detail h2 {
    margin: 0 0 22px;
    color: #12344a;
    font-size: 25px;
    line-height: 1.2;
}

.service-detail p {
    margin: 0 0 16px;
    color: #607480;
    font-size: 15px;
    line-height: 1.75;
}

.service-detail p:last-child {
    margin-bottom: 0;
}

.services-closing {
    margin-top: 96px;
    padding: 72px;
    background: #f4f6f3;
}

.services-closing p {
    max-width: 700px;
    margin: 0 0 32px;
    color: #607480;
    font-size: 17px;
    line-height: 1.75;
}

.services-closing .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
}

.services-closing .button-primary {
    background: #aecbad;
    color: #12344a;
    font-weight: 700;
}

@media (max-width: 760px) {
    .services-intro {
        margin-bottom: 52px;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        min-height: 0;
        padding: 36px 28px;
    }

    .service-number {
        margin-bottom: 28px;
    }

    .services-closing {
        margin-top: 60px;
        padding: 48px 28px;
    }
}


/* Leistungen polish */

.page-leistungen .content > .container {
    max-width: 1240px;
}

.services-intro {
    max-width: 860px;
    margin-bottom: 92px;
}

.services-detail-grid {
    max-width: 980px;
}

.service-detail {
    min-height: 360px;
    padding: 52px 50px;
}

.service-detail h2 {
    font-size: 27px;
}

.service-detail p {
    font-size: 15.5px;
    line-height: 1.8;
}

.services-closing {
    max-width: 980px;
    margin-top: 90px;
    padding: 72px 68px;
    border-radius: 2px;
}

.services-closing h2 {
    max-width: 720px;
}

@media (max-width: 760px) {
    .service-detail {
        min-height: 0;
        padding: 36px 28px;
    }

    .services-closing {
        margin-top: 56px;
        padding: 48px 28px;
    }
}


/* ---------------------------------------------------------
   Praxiswissen
   --------------------------------------------------------- */

.knowledge-hero {
    padding: 110px 0 85px;
    background: #fff;
}

.knowledge-hero h1 {
    max-width: 850px;
    margin: 28px 0 28px;
    color: var(--navy);
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.knowledge-lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.knowledge-list {
    padding: 85px 0 110px;
    background: #f7f8f6;
}

.knowledge-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 60px;
}

.knowledge-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.knowledge-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.knowledge-card {
    display: flex;
    min-height: 390px;
    padding: 42px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: transform 160ms ease, background 160ms ease;
}

.knowledge-card:hover {
    position: relative;
    z-index: 1;
    background: #f1f5ef;
    transform: translateY(-3px);
}

.knowledge-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.knowledge-type {
    color: var(--green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.knowledge-arrow {
    color: var(--navy);
    font-size: 1.4rem;
}

.knowledge-card h2 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.knowledge-card p {
    margin: 0 0 32px;
    color: var(--muted);
    line-height: 1.75;
}

.knowledge-more {
    margin-top: auto;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-card {
        min-height: 300px;
    }

    .knowledge-card-top {
        margin-bottom: 45px;
    }
}

@media (max-width: 760px) {
    .knowledge-hero {
        padding: 75px 0 60px;
    }

    .knowledge-list {
        padding: 65px 0 80px;
    }

    .knowledge-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .knowledge-card {
        padding: 32px 28px;
    }
}

/* Hero without portrait card */

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

.hero-content {
    max-width: 900px;
}


/* Footer brand emphasis */

.footer-logo {
    padding: 9px 14px 9px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.footer-logo-text .logo-main {
    color: #f2f6f7;
}

.footer-logo-text .logo-accent {
    color: var(--green);
}


/* Light homepage hero interactions */

.hero .button-primary:hover {
    background: var(--navy);
    color: #fff;
}

.hero .button-link:hover {
    color: var(--green-dark);
}


/* ---------------------------------------------------------
   Kontakt
   --------------------------------------------------------- */

.contact-page-hero {
    padding: 110px 0 80px;
    background: #fff;
}

.contact-page-hero h1 {
    max-width: 900px;
    margin: 28px 0 28px;
    color: var(--navy);
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.contact-page-lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-page-body {
    padding: 85px 0 110px;
    background: #f7f8f6;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 80px;
    align-items: start;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.contact-detail {
    min-height: 180px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.contact-detail-label {
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

.contact-detail a,
.contact-detail > span:last-child {
    color: var(--navy);
    text-decoration: none;
    font-size: 1.15rem;
    line-height: 1.4;
}

.contact-appointment {
    padding: 48px;
    background: var(--navy);
    color: white;
}

.contact-appointment h2 {
    margin: 20px 0 22px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.contact-appointment p {
    margin: 0 0 30px;
    color: #cbd8dd;
    line-height: 1.75;
}

.contact-appointment .page-eyebrow {
    color: var(--green);
}

@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .contact-page-hero {
        padding: 75px 0 60px;
    }

    .contact-page-body {
        padding: 65px 0 80px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-detail {
        min-height: auto;
    }

    .contact-appointment {
        padding: 36px 28px;
    }
}


/* ---------------------------------------------------------
   Lexikon
   --------------------------------------------------------- */

.lexikon-hero {
    padding: 110px 0 85px;
    background: #fff;
}

.lexikon-hero h1 {
    max-width: 900px;
    margin: 28px 0 28px;
    color: var(--navy);
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.lexikon-lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.lexikon-list {
    padding: 85px 0 110px;
    background: #f7f8f6;
}

.lexikon-heading {
    margin-bottom: 48px;
}

.lexikon-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.lexikon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.lexikon-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 18px;
    min-height: 82px;
    padding: 18px 24px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 160ms ease, transform 160ms ease;
}

.lexikon-card:hover {
    z-index: 1;
    background: #f1f5ef;
    transform: translateY(-2px);
}

.lexikon-letter {
    color: var(--green-dark);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 700;
}

.lexikon-category {
    margin-bottom: 7px;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 700;
}

.lexikon-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.18rem;
    line-height: 1.2;
}

.lexikon-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.lexikon-arrow {
    color: var(--navy);
    font-size: 1.2rem;
}

.term-page {
    padding: 90px 0 120px;
    background: #fff;
}

.term-back {
    display: inline-block;
    margin-bottom: 60px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.term-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 820px);
    gap: 70px;
}

.term-content h1 {
    margin: 0 0 28px;
    color: var(--navy);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.term-summary {
    margin: 0 0 48px;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.75;
}

.term-content .page-content h2 {
    margin: 48px 0 18px;
    color: var(--navy);
    font-size: 1.7rem;
    line-height: 1.2;
}

.term-content .page-content p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 900px) {
    .lexikon-grid {
        grid-template-columns: 1fr;
    }

    .term-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 760px) {
    .lexikon-hero {
        padding: 75px 0 60px;
    }

    .lexikon-list {
        padding: 65px 0 80px;
    }

    .lexikon-card {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 28px;
    }

    .lexikon-arrow {
        display: none;
    }

    .term-page {
        padding: 70px 0 90px;
    }

    .term-back {
        margin-bottom: 42px;
    }
}

.lexikon-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.lexikon-count {
    padding-bottom: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .lexikon-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

/* ---------------------------------------------------------
   Lexikon compact 4-column index
   --------------------------------------------------------- */

.lexikon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.lexikon-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 14px;

    min-height: 72px;
    padding: 14px 18px;

    color: inherit;
    text-decoration: none;
    background: #fff;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lexikon-letter {
    color: var(--green-dark);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 700;
}

.lexikon-card-content {
    min-width: 0;
}

.lexikon-card .lexikon-category,
.lexikon-card p {
    display: none;
}

.lexikon-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
}

.lexikon-arrow {
    justify-self: end;
    color: var(--navy);
    font-size: 1rem;
}

.lexikon-card:hover {
    background: #f1f5ef;
    transform: none;
}

@media (max-width: 1050px) {
    .lexikon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .lexikon-grid {
        grid-template-columns: 1fr;
    }

    .lexikon-card {
        min-height: 64px;
        padding: 12px 16px;
    }
}

/* Lexikon term page polish */

.term-page {
    padding-top: 72px;
}

.term-back {
    color: var(--navy);
    font-weight: 600;
}

.term-back:hover {
    color: var(--green-dark);
}


/* ---------------------------------------------------------
   Language switcher
   --------------------------------------------------------- */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 30px;
    padding: 0 8px;

    border-radius: 999px;

    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.language-switcher a:hover {
    color: var(--navy);
    background: var(--background-soft);
}

.language-switcher a.active {
    color: #fff;
    background: var(--navy);
}

.site-footer .language-switcher a {
    color: #aebec5;
}

.site-footer .language-switcher a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer .language-switcher a.active {
    color: var(--navy-dark);
    background: var(--green);
}

@media (max-width: 760px) {
    .language-switcher {
        order: 20;
    }
}


/* Protected contact e-mail */

.contact-email-button {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;

    color: var(--navy);
    font: inherit;
    font-size: 1.15rem;
    line-height: 1.4;

    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.contact-email-button:hover {
    color: var(--green-dark);
}

/* Consent link in footer */

.footer-consent-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;

    color: #d5dfe3;
    font: inherit;
    font-size: 0.93rem;
    line-height: inherit;

    cursor: pointer;
    text-align: left;
}

.footer-consent-link:hover {
    color: #fff;
}

.contact-appointment-button {
    border: 0;
    font: inherit;
    cursor: pointer;
}


/* ---------------------------------------------------------
   Mobile navigation
   --------------------------------------------------------- */

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--navy);
    transition: transform 160ms ease, opacity 160ms ease;
}

@media (max-width: 760px) {

    .header-inner {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 0;
    }

    .site-logo {
        min-width: 0;
    }

    .logo-text {
        font-size: 1.08rem;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 42px;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 4px;
        border-top: 1px solid var(--border);
    }

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

    .site-nav > a {
        padding: 10px 2px;
    }

    .site-nav .nav-contact {
        align-self: flex-start;
        margin-top: 8px;
        padding: 9px 18px;
    }

    .site-nav .language-switcher {
        order: initial;
        margin: 10px 0 4px;
    }

    .header-inner.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .header-inner.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header-inner.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}


/* ---------------------------------------------------------
   Responsive navigation and long headings
   --------------------------------------------------------- */

@media (max-width: 920px) {

    .header-inner {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 0;
    }

    .site-logo {
        min-width: 0;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 42px;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 4px;
        border-top: 1px solid var(--border);
    }

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

    .site-nav > a {
        padding: 10px 2px;
    }

    .site-nav .nav-contact {
        align-self: flex-start;
        margin-top: 8px;
        padding: 9px 18px;
    }

    .site-nav .language-switcher {
        order: initial;
        margin: 10px 0 4px;
    }

    .header-inner.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .header-inner.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header-inner.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 2.35rem;
        line-height: 1.05;
        letter-spacing: -0.035em;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    html[lang="ru"] .hero h1 {
        font-size: 2.25rem;
    }

    .hero-lead {
        font-size: 1.05rem;
        line-height: 1.65;
    }

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

    .hero-actions .button-primary {
        width: 100%;
        padding-inline: 18px;
        text-align: center;
    }
}


/* Original homepage editorial content */

.home-original-content .intro-content {
    max-width: 820px;
}

.home-original-content .intro-content p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.82;
}

@media (max-width: 760px) {
    .home-original-content .intro-content p {
        font-size: 1rem;
        line-height: 1.72;
    }
}


/* Homepage editorial adjustments */

@media (min-width: 1000px) {
    .hero-content h1 {
        font-size: clamp(3rem, 4.2vw, 4rem);
        line-height: 1.06;
        max-width: 820px;
    }
}

.home-original-content .intro-content {
    max-width: 780px;
}

.home-original-content .intro-content p {
    margin: 0 0 1.65em;
    line-height: 1.8;
}

.home-original-content .intro-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .home-original-content .intro-content {
        max-width: none;
    }

    .home-original-content .intro-content p {
        line-height: 1.7;
        margin-bottom: 1.4em;
    }
}


/* Contact page without duplicate appointment CTA */

.contact-page-grid {
    grid-template-columns: 1fr;
}

.contact-details {
    max-width: 980px;
}

@media (max-width: 760px) {
    .contact-details {
        max-width: none;
    }
}


/* Praxiswissen downloads */

.knowledge-downloads {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.knowledge-downloads h2 {
    margin-bottom: 24px;
}

.knowledge-download-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* Lexikon translation */

.term-translation {
    margin: -6px 0 24px;
    color: var(--green-dark);
    font-size: 1.1rem;
    font-weight: 600;
}


/* Sticky main navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header {
    box-shadow: 0 1px 0 rgba(15, 45, 61, 0.08);
}
