:root {
    /* PRIMARY */
    --bs-primary: #1E6FA8;
    --bs-primary-rgb: 30, 111, 168;

    /* CUSTOM COLORS */
    --color-primary: #1E6FA8;
    --color-primary-hover: #2C84C6;
    --color-primary-light: #EAF4FB;
    --color-white: #ffffff;

    /* LINKS */
    --bs-link-color: #1E6FA8;
    --bs-link-hover-color: #2C84C6;
    --frame-link-color: #1E6FA8 !important;

    /* BUTTONS */
    --bs-btn-border-radius: 8px;

    /* TEXT */
    --bs-body-color: #2A2A2A;

    /* BACKGROUNDS */
    --bs-body-bg: #ffffff;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    color: #1E6FA8;
    margin-bottom: 20px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.frame a:not([class]) {
    color: var(--frame-link-color) !important;
}

/* Spacer */
.nav-spacer {
    flex-grow: 1;
}

/* Desktop Navigation Buttons */
@media (min-width: 992px) {
    /* Online Termin buchen (Primary Button) */
    .navbar-nav .nav-item:nth-last-child(2) .nav-link {
        background: var(--bs-primary);
        color: #fff !important;
        padding: 10px 18px;
        border-radius: 8px;
        font-weight: 600;
        margin-right: 10px;
        transition: all 0.2s ease;
    }

    .navbar-nav .nav-item:nth-last-child(2) .nav-link:hover {
        background: #2C84C6;
    }

    /* Anrufen (Secondary Button) */
    .navbar-nav .nav-item:last-child .btn {
        background: transparent;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
        padding: 10px 18px;
        border-radius: 8px;
        font-weight: 600;
    }

    .navbar-nav .nav-item:last-child .btn:hover {
        background: #EAF4FB;
        color: var(--bs-primary);
    }
}

.navbar-mainnavigation .nav-link:hover {
    color: var(--bs-primary);
}

.navbar-mainnavigation .nav-link.active {
    color: var(--bs-primary);
}

.navbar-mainnavigation .nav-link.active::after {
    background-color: var(--bs-primary) !important;
}

.navbar-mainnavigation {
    --mainnavigation-hightlight: var(--bs-primary);
}

.navbar-mainnavigation .nav-link {
    color: var(--bs-body-color);
    font-weight: 500;
}

.navbar-mainnavigation .nav-link:hover {
    color: var(--bs-primary);
}

.navbar-mainnavigation .nav-link.active {
    color: var(--bs-primary);
}

.navbar-mainnavigation .nav-link.active::after {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #2C84C6;
    border-color: #2C84C6;
}

/* Secondary = Outline */
.btn-secondary {
    background: transparent;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    border-radius: 8px;
}

.btn-secondary:hover {
    background: #EAF4FB;
}

.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.dropdown-item:hover {
    background: #EAF4FB;
    color: var(--bs-primary);
}

.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-3px);
    transition: 0.2s ease;
}

a {
    color: var(--bs-primary);
}

a:hover {
    color: #2C84C6;
}

.footer-language .language-menu a {
    color: var(--bs-link-color);
    text-decoration: none;
}

.footer-language .language-menu a:hover {
    color: var(--bs-link-hover-color);
}

/* AKTIVE SPRACHE */
.footer-language .language-menu .active a {
    color: var(--bs-primary);
    font-weight: 600;
}

.footer-language .language-menu .active a {
    color: var(--bs-primary) !important;
}

.footer-language .language-menu .active a {
    color: var(--bs-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary);
}

a {
    color: var(--bs-link-color);
}

/*
        Hero
 */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;

    /* Bild rechts als Background */
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.85) 40%,
        rgba(30,111,168,0.15) 70%,
        rgba(30,111,168,0.25) 100%
    ),
    url('/fileadmin/user_upload/hero-bg-stefan-thelen.png') no-repeat right center;
    background-position-y: -15px;
    background-size: cover;
}

/* Textbereich */
.hero-content {
    z-index: 2;
}

/* Headline */
.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #1E6FA8;
    margin-bottom: 20px;
}

/* Subline */
.hero-subline {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

/* Buttons */
.hero .btn-primary {
    background: #1E6FA8;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
}

.hero .btn-primary:hover {
    background: #2C84C6;
}

.hero .btn-outline-primary {
    border: 1px solid #1E6FA8;
    color: #1E6FA8;
    border-radius: 8px;
    padding: 12px 20px;
    width: 194px;
}

.hero .btn-outline-primary:hover {
    background: #EAF4FB;
}

#c18 {
    padding-top: 0px;
}

/*
        Leistungen
 */
.leistungen {
    background: #f5f7f9;
}

.leistung-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    transition: 0.2s ease;
}

.leistung-card:hover {
    transform: translateY(-5px);
}

.leistung-card .icon {
    font-size: 40px;
    color: #7FBF7F;
}

.leistung-card h5 {
    margin-bottom: 10px;
    color: #2568a8;
    font-weight: 600;
}

.leistung-card p {
    font-size: 0.9rem;
    color: #666;
}

.leistung-card a {
    color: #7FBF7F;
    text-decoration: none;
    font-weight: 500;
}

/* IMAGE CARD */
.leistung-image-card {
    position: relative;
    height: 100%;
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: url('/fileadmin/praxis.jpg') center/cover no-repeat;
}

.leistung-image-card .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leistung-image-card .btn {
    background: #7FBF7F;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
}

.frame-type-html {
    padding: 0px;
}

@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1140px;
    }
}

.trust-section {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-image: url('/fileadmin/user_upload/trust-dr-thelen.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position-y: -65px;
}

.trust-overlay {
    width: 100%;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: linear-gradient(
        270deg,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.92) 38%,
        rgba(255,255,255,0.72) 55%,
        rgba(255,255,255,0.18) 72%,
        rgba(255,255,255,0.02) 100%
    );
}

.trust-content {
    max-width: 620px;
    padding: 80px 0;
}

.trust-content h2 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 500;
    color: #222;
    margin-bottom: 28px;
}

.trust-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2a2a2a;
    margin-bottom: 8px;
}

.trust-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 40px;
    max-width: 560px;
}

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

.trust-list li {
    position: relative;
    padding-left: 56px;
    margin-bottom: 28px;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #222;
    font-weight: 400;
}

.trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 36px;
    height: 36px;
    border: 2px solid #7a8f2a;
    border-radius: 50%;
    color: #7a8f2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .trust-section,
    .trust-overlay {
        min-height: 620px;
    }

    .trust-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .trust-section {
        background-position: 68% center;
    }

    .trust-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0.88) 45%,
                rgba(255, 255, 255, 0.82) 100%
            );
    }

    .trust-content {
        padding: 60px 0;
    }

    .trust-content h2 {
        font-size: 2.2rem;
    }

    .trust-intro,
    .trust-text,
    .trust-list li {
        font-size: 1.05rem;
    }
}

@media (max-width: 575px) {
    .trust-section,
    .trust-overlay {
        min-height: auto;
    }

    .trust-content {
        padding: 48px 0;
    }

    .trust-content h2 {
        font-size: 1.9rem;
    }

    .trust-list li {
        padding-left: 48px;
        margin-bottom: 20px;
    }

    .trust-list li::before {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

.cta-section {
    background: linear-gradient(180deg, #eaf4fb 0%, #f7fbff 100%);
    padding: 80px 0;
}

.cta-mascot {
    max-width: 260px;
}

/* Headline */
.cta-content h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1E6FA8;
}

/* Card */
.cta-card {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    align-items: center;
}

/* Left */
.cta-left {
    flex: 1;
}

.cta-phone {
    font-size: 1.5rem;
    color: #1E6FA8;
    margin-bottom: 10px;
}

.cta-info {
    font-size: 0.9rem;
    color: #666;
}

/* Right */
.cta-right {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
}

.cta-contact {
    margin-top: 10px;
}

/* Button */
.btn-primary {
    background: #1E6FA8;
    border: none;
    border-radius: 8px;
    color: #fff;
}

.btn-primary:hover {
    background: #155a88;
}

.benefits-section {
    position: relative;
    background-image: url('/fileadmin/user_upload/benefits-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.benefits-overlay {
    padding: 100px;
}

.benefits-header {
    max-width: 860px;
    margin: 0 auto 60px;
}

.benefits-header h2 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 600;
    color: #1E6FA8;
    margin-bottom: 18px;
}

.py-5 {
    padding-top: 100px !important;
    padding-bottom: 3rem !important;
}

.benefits-header p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #445;
    margin: 0;
}

.benefit-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 34px 28px;
    box-shadow: 0 10px 30px rgba(25, 55, 90, 0.08);
    border: 1px solid rgba(30, 111, 168, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(25, 55, 90, 0.12);
}

.benefit-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #eef6fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    max-width: 44px;
    max-height: 44px;
}

.benefit-card h3 {
    font-size: 1.6rem;
    line-height: 1.3;
    color: #23395d;
    margin-bottom: 14px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #5b6675;
    margin: 0;
}

@media (max-width: 1199px) {
    .benefits-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .benefits-section,
    .benefits-overlay {
        padding: 70px 0;
    }

    .benefits-header {
        margin-bottom: 40px;
    }

    .benefits-header h2 {
        font-size: 2.1rem;
    }

    .benefits-header p {
        font-size: 1.05rem;
    }

    .benefit-card {
        padding: 28px 22px;
    }

    .benefit-card h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 575px) {
    .benefits-header h2 {
        font-size: 1.8rem;
    }

    .benefit-icon {
        width: 72px;
        height: 72px;
    }

    .benefit-icon img {
        max-width: 38px;
        max-height: 38px;
    }
}

/*
        Footer
 */

.footer-main {
    background: #f5f7f9;
    border-top: 1px solid #e5e5e5;
}

.footer-section-content {
    background: #f5f7f9;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.frame-background-none {
    --frame-background: #f5f7f9;
    color: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #2A2A2A;
}

.footer-links a:hover {
    color: var(--bs-primary);
}

.footer-rating .stars {
    color: #f4b400;
}

.footer-col {
    border-right: 1px solid #e5e5e5;
}

.footer-col:last-child {
    border-right: none;
}

.footer-section-meta {
    --frame-color: #ffffff;
    --frame-link-color: var(--bs-link-color);
    --frame-link-hover-color: var(--bs-link-color);
}

@media (min-width: 768px) {
    .col-md-3.footer-col {
        flex: 0 0 auto;
        width: 25%;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .navbar-mainnavigation .navbar-brand-image img {
        max-height: calc(var(--mainnavigation-nav-height) * .8) !important;
    }
}

@media (min-width: 576px) {
    .footer-info-section {
        text-align: left;
    }
}

.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f7fbff 0%, #eef6fd 100%);
}

/* Headline */
.contact-title {
    font-size: 2.6rem;
    color: #1E6FA8;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #666;
    margin-bottom: 40px;
}

/* MAIN BUTTON */
.contact-main-action {
    margin-bottom: 40px;
}

.contact-main-action .btn {
    font-size: 1.3rem;
    padding: 16px 32px;
    border-radius: 10px;
    background: #1E6FA8;
    border: none;
    box-shadow: 0 8px 20px rgba(30,111,168,0.25);
}

/* ACTION CARDS */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-actions .col-md-4 {
    padding: 0 10px;
}

.contact-action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.contact-action-card:hover {
    transform: translateY(-3px);
}

/* ICON */
.contact-action-card .icon {
    font-size: 1.8rem;
}

/* INFO */
.contact-info {
    margin-top: 20px;
    color: #555;
}

.action-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 90px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.action-box:hover {
    transform: translateY(-3px);
}

/* PRIMARY BUTTON (Online Termin) */
.action-box.primary {
    background: #1E6FA8;
    color: #fff;
    font-weight: 600;
}

.faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.faq-title {
    font-size: 2.5rem;
    color: #1E6FA8;
}

.faq-subtitle {
    color: #666;
    margin-top: 10px;
}

/* Accordion Styling */
.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 18px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #1E6FA8;
    color: #fff;
}

.accordion-body {
    padding: 20px;
    color: #555;
}

/* CTA */
.faq-cta .btn {
    background: #1E6FA8;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
}

.reviews-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

/* Headline */
.reviews-title {
    font-size: 2.5rem;
    color: #1E6FA8;
}

.reviews-subtitle {
    color: #666;
    margin-top: 10px;
}

/* Summary */
.reviews-summary .stars {
    font-size: 1.8rem;
    color: #f5b301;
}

.reviews-summary .rating {
    font-weight: 600;
    margin-top: 5px;
}

.reviews-summary .source {
    color: #888;
    font-size: 0.9rem;
}

/* Cards */
.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.review-card p {
    color: #444;
    font-style: italic;
}

.review-card strong {
    display: block;
    margin-top: 15px;
    color: #1E6FA8;
}

/* CTA */
.reviews-section .btn {
    background: #1E6FA8;
    border: none;
    padding: 14px 28px;
}

.leistungen .icon.mb-3 img {
    max-width: 50%;
    padding-top: 15px;
}

/*
    Prophylaxe
 */

.prophylaxe-info-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-image: url("/fileadmin/user_upload/prophylaxe-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.prophylaxe-info-content {
    display: flex;
    align-items: center;
    min-height: 420px;
}

.prophylaxe-text {
    max-width: 620px;
}

.prophylaxe-text h2 {
    margin: 0 0 28px;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    color: #2568a8;
    letter-spacing: -0.02em;
}

.prophylaxe-text p {
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    color: #5f6670;
    max-width: 560px;
}

/* Optional: leichter Overlay für bessere Lesbarkeit */
.prophylaxe-info-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

.prophylaxe-info-content,
.container {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .prophylaxe-text h2 {
        font-size: 42px;
    }

    .prophylaxe-text p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .prophylaxe-info-section {
        padding: 80px 0;
    }

    .prophylaxe-text h2 {
        font-size: 32px;
    }
}

.prophylaxe-split {
    padding: 120px 0;
    background: #f7fafd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ROW */
.split-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 15px;
}

/* REVERSE für Desktop */
.split-row.reverse {
    flex-direction: row-reverse;
}

/* TEXT */
.split-text {
    flex: 2;
}

.split-text h2 {
    font-size: 48px;
    margin-bottom: 24px;
    color: #2568a8;
}

.split-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #5f6670;
    margin-bottom: 16px;
}

/* IMAGE */
.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* =========================
   MOBILE FIX (WICHTIG)
   ========================= */
@media (max-width: 992px) {
    .split-row {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }

    /* Erzwingt IMMER: Text -> Bild */
    .split-text {
        order: 1;
    }

    .split-image {
        order: 2;
    }

    /* reverse neutralisieren */
    .split-row.reverse {
        flex-direction: column;
    }

    .split-text h2 {
        font-size: 34px;
    }

    .split-text p {
        font-size: 16px;
    }
}

.split-image img {
    width: 85%;
}

.prophylaxe-target {
    padding: 100px 0;
    background: #f7fafd;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 42px;
    color: #2568a8;
    margin: 0;
}

/* GRID */
.target-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* CARD */
.target-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.target-card:hover {
    transform: translateY(-6px);
}

/* ICON */
.target-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

/* TEXT */
.target-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2568a8;
    font-weight: 600;
}

.target-card p {
    font-size: 14px;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .target-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.hero-prophylaxe {
    padding: 80px 0 140px 0;
    background: linear-gradient(180deg, #f5f9ff 0%, #eef4fb 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* LAYOUT */
.hero-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* TEXT */
.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.1;
    color: #2568a8;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subline {
    font-size: 20px;
    color: #5f6670;
    margin-bottom: 30px;
}

/* BULLETS */
.hero-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.hero-benefits li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #2c3e50;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2ecc71;
    font-weight: bold;
}

/* BUTTONS */
.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: #2568a8;
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: #1e5a91;
}

.btn-secondary {
    border: 1px solid #2568a8;
    color: #2568a8;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
}

/* IMAGE */
.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-row {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-content h1 {
        font-size: 36px;
    }
}

/* =========================================================
   IMPLANTATE-SEITE
   Scope: body#p18
   Fügt nur neue Styles hinzu und greift keine anderen Seiten an
========================================================= */

body#p18 .implantate-page-content {
    overflow: hidden;
}

/* ---------- Sektionen / Layout ---------- */

body#p18 .implant-section {
    padding: 110px 0;
    position: relative;
}

body#p18 .implant-section--light {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
}

body#p18 .implant-section--soft {
    background: #f7fbff;
}

body#p18 .implant-section-head {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

body#p18 .implant-section-head p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5d6a79;
    margin: 0;
}

body#p18 .implant-section-label,
body#p18 .implant-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 111, 168, 0.08);
    color: #1E6FA8;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}

body#p18 .implant-section h2,
body#p18 .implant-trust h2,
body#p18 .implant-final-cta h2 {
    font-size: 3rem;
    line-height: 1.12;
    font-weight: 700;
    color: #1E6FA8;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */

body#p18 .implant-hero {
    position: relative;
    padding: 90px 0 120px;
    background:
        radial-gradient(circle at top left, rgba(30,111,168,0.10) 0%, transparent 22%),
        radial-gradient(circle at bottom right, rgba(30,111,168,0.10) 0%, transparent 20%),
        linear-gradient(180deg, #f4f9ff 0%, #edf5fc 100%);
    overflow: hidden;
}

body#p18 .implant-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -90px -10%;
    height: 180px;
    background: rgba(255,255,255,0.55);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}

body#p18 .implant-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

body#p18 .implant-hero__content h1 {
    font-size: 4.3rem;
    line-height: 1.02;
    font-weight: 800;
    color: #2469ab;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

body#p18 .implant-hero__text {
    font-size: 1.18rem;
    line-height: 1.8;
    color: #566473;
    max-width: 700px;
    margin-bottom: 34px;
}

body#p18 .implant-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

body#p18 .implant-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: #5a6775;
    font-size: 0.98rem;
    font-weight: 500;
}

body#p18 .implant-hero__trust span {
    position: relative;
    padding-left: 18px;
}

body#p18 .implant-hero__trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6bb07a;
}

body#p18 .implant-hero__media {
    position: relative;
}

body#p18 .implant-hero__media img {
    width: 100%;
    min-height: 560px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(25, 55, 90, 0.16);
}

/* ---------- Checkliste ---------- */

body#p18 .implant-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
}

body#p18 .implant-checklist li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #27384a;
}

body#p18 .implant-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eaf6ee;
    color: #6ca96d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

body#p18 .implant-checklist--dark li {
    color: #32475c;
}

/* ---------- Split ---------- */

body#p18 .implant-split {
    display: grid;
    grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: center;
}

body#p18 .implant-split__media img {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 20px 48px rgba(25, 55, 90, 0.12);
}

body#p18 .implant-split__content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #596877;
    margin-bottom: 16px;
}

/* ---------- Cards ---------- */

body#p18 .implant-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

body#p18 .implant-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(30,111,168,0.08);
    border-radius: 22px;
    padding: 30px 28px;
    box-shadow: 0 14px 36px rgba(31, 63, 96, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body#p18 .implant-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(31, 63, 96, 0.12);
}

body#p18 .implant-card h3 {
    font-size: 1.42rem;
    line-height: 1.3;
    color: #23496d;
    margin-bottom: 12px;
}

body#p18 .implant-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #5e6a78;
}

/* ---------- Steps ---------- */

body#p18 .implant-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

body#p18 .implant-step {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 14px 34px rgba(31, 63, 96, 0.06);
    border: 1px solid rgba(30,111,168,0.06);
    min-height: 230px;
}

body#p18 .implant-step__number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1E6FA8 0%, #2f87c5 100%);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(30,111,168,0.22);
}

body#p18 .implant-step h3 {
    font-size: 1.25rem;
    color: #25476a;
    margin-bottom: 10px;
}

body#p18 .implant-step p {
    margin: 0;
    color: #607080;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* ---------- Audience ---------- */

body#p18 .implant-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

body#p18 .implant-audience-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 12px 28px rgba(31, 63, 96, 0.06);
    border: 1px solid rgba(30,111,168,0.06);
}

body#p18 .implant-audience-card h3 {
    font-size: 1.22rem;
    color: #23486b;
    margin-bottom: 10px;
}

body#p18 .implant-audience-card p {
    margin: 0;
    color: #62707c;
    line-height: 1.7;
    font-size: 0.98rem;
}

/* ---------- Trust ---------- */

body#p18 .implant-trust {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}

body#p18 .implant-trust__grid {
    display: grid;
    grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
    gap: 70px;
    align-items: center;
}

body#p18 .implant-trust__media img {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 24px 56px rgba(25, 55, 90, 0.14);
}

body#p18 .implant-trust__content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #5d6a79;
    margin-bottom: 26px;
}

/* ---------- Benefits ---------- */

body#p18 .implant-benefits {
    background:
        radial-gradient(circle at bottom right, rgba(30,111,168,0.10) 0%, transparent 20%),
        linear-gradient(180deg, #eef6fd 0%, #f8fbff 100%);
}

body#p18 .implant-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

body#p18 .implant-benefit-card {
    background: rgba(255,255,255,0.94);
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: 0 14px 34px rgba(31, 63, 96, 0.08);
    border: 1px solid rgba(30,111,168,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body#p18 .implant-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(31, 63, 96, 0.12);
}

body#p18 .implant-benefit-card h3 {
    font-size: 1.34rem;
    color: #23486b;
    margin-bottom: 10px;
}

body#p18 .implant-benefit-card p {
    margin: 0;
    color: #60707d;
    line-height: 1.7;
}

/* ---------- FAQ ---------- */

body#p18 .implant-faq {
    max-width: 980px;
    margin: 0 auto;
}

body#p18 .implant-faq__item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(31, 63, 96, 0.06);
    border: 1px solid rgba(30,111,168,0.06);
    margin-bottom: 16px;
    overflow: hidden;
}

body#p18 .implant-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 24px 26px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #22486d;
    position: relative;
}

body#p18 .implant-faq__item summary::-webkit-details-marker {
    display: none;
}

body#p18 .implant-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 22px;
    font-size: 1.4rem;
    color: #1E6FA8;
    line-height: 1;
}

body#p18 .implant-faq__item[open] summary::after {
    content: "–";
}

body#p18 .implant-faq__content {
    padding: 0 26px 24px;
    color: #5d6b79;
    line-height: 1.8;
    font-size: 1rem;
}

/* ---------- Final CTA ---------- */

body#p18 .implant-final-cta {
    padding: 0 0 110px;
    background: #ffffff;
}

body#p18 .implant-final-cta__box {
    background:
        radial-gradient(circle at top left, rgba(30,111,168,0.10) 0%, transparent 20%),
        radial-gradient(circle at bottom right, rgba(30,111,168,0.08) 0%, transparent 20%),
        #f6fbff;
    border-radius: 34px;
    padding: 56px 44px;
    text-align: center;
    box-shadow: 0 22px 52px rgba(25, 55, 90, 0.08);
    border: 1px solid rgba(30,111,168,0.06);
}

body#p18 .implant-final-cta__box p {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #5a6775;
}

body#p18 .implant-final-cta__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Buttons Feinschliff nur p18 ---------- */

body#p18 .implant-hero .btn-primary,
body#p18 .implant-final-cta .btn-primary {
    box-shadow: 0 10px 24px rgba(30,111,168,0.22);
}

body#p18 .implant-hero .btn-primary:hover,
body#p18 .implant-final-cta .btn-primary:hover {
    transform: translateY(-2px);
}

body#p18 .implant-hero .btn-secondary,
body#p18 .implant-final-cta .btn-secondary {
    background: rgba(255,255,255,0.92);
}

/* ---------- Responsive ---------- */

@media (max-width: 1399px) {
    body#p18 .implant-hero__content h1 {
        font-size: 3.6rem;
    }

    body#p18 .implant-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    body#p18 .implant-hero__grid,
    body#p18 .implant-split,
    body#p18 .implant-trust__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    body#p18 .implant-hero__media img {
        min-height: 440px;
    }

    body#p18 .implant-card-grid,
    body#p18 .implant-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body#p18 .implant-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body#p18 .implant-section h2,
    body#p18 .implant-trust h2,
    body#p18 .implant-final-cta h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    body#p18 .implant-section,
    body#p18 .implant-trust {
        padding: 80px 0;
    }

    body#p18 .implant-hero {
        padding: 70px 0 90px;
    }

    body#p18 .implant-hero__content h1 {
        font-size: 2.9rem;
    }

    body#p18 .implant-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body#p18 .implant-card-grid,
    body#p18 .implant-benefit-grid,
    body#p18 .implant-audience-grid {
        grid-template-columns: 1fr;
    }

    body#p18 .implant-section-head {
        margin-bottom: 38px;
    }

    body#p18 .implant-final-cta__box {
        padding: 40px 28px;
    }
}

@media (max-width: 575px) {
    body#p18 .implant-hero__content h1 {
        font-size: 2.25rem;
    }

    body#p18 .implant-section h2,
    body#p18 .implant-trust h2,
    body#p18 .implant-final-cta h2 {
        font-size: 1.95rem;
    }

    body#p18 .implant-hero__actions,
    body#p18 .implant-final-cta__actions {
        flex-direction: column;
    }

    body#p18 .implant-hero__actions .btn,
    body#p18 .implant-final-cta__actions .btn {
        width: 100%;
    }

    body#p18 .implant-steps {
        grid-template-columns: 1fr;
    }

    body#p18 .implant-hero__media img {
        min-height: 320px;
    }

    body#p18 .implant-faq__item summary {
        padding-right: 56px;
    }
}

/* =========================================================
   ÄSTHETISCHE ZAHNMEDIZIN – p19
========================================================= */

body#p19 .aesthetic-section {
    padding: 110px 0;
}

body#p19 .aesthetic-section--light {
    background: #f8fbff;
}

/* HERO */
body#p19 .aesthetic-hero {
    padding: 90px 0;
    background: linear-gradient(180deg, #f4f9ff 0%, #edf5fc 100%);
}

body#p19 .aesthetic-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

body#p19 .aesthetic-hero__content h1 {
    font-size: 3.8rem;
    color: #2568a8;
    margin-bottom: 20px;
}

body#p19 .aesthetic-hero__text {
    color: #5f6670;
    margin-bottom: 25px;
}

body#p19 .aesthetic-hero__media img {
    width: 100%;
    border-radius: 20px;
}

/* CHECKLIST */
body#p19 .aesthetic-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

body#p19 .aesthetic-checklist li {
    margin-bottom: 10px;
}

/* SPLIT */
body#p19 .aesthetic-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

body#p19 .aesthetic-split__media img {
    width: 100%;
    border-radius: 20px;
}

/* CARDS */
body#p19 .aesthetic-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

body#p19 .aesthetic-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* BENEFITS */
body#p19 .aesthetic-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CTA */
body#p19 .aesthetic-cta__box {
    text-align: center;
    padding: 50px;
    background: #f4f9ff;
    border-radius: 20px;
}

/* =========================================================
   WURZELBEHANDLUNG – p20
========================================================= */

body#p20 .endo-section {
    padding: 110px 0;
}

body#p20 .endo-section--light {
    background: #f8fbff;
}

/* HERO */
body#p20 .endo-hero {
    padding: 90px 0;
    background: linear-gradient(180deg, #f4f9ff 0%, #edf5fc 100%);
}

body#p20 .endo-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

body#p20 .endo-hero__content h1 {
    font-size: 3.6rem;
    color: #2568a8;
    margin-bottom: 20px;
}

body#p20 .endo-hero__media img {
    width: 100%;
    border-radius: 20px;
}

/* SPLIT */
body#p20 .endo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

body#p20 .endo-split__media img {
    width: 100%;
    border-radius: 20px;
}

/* STEPS */
body#p20 .endo-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

body#p20 .endo-step {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
}

/* BENEFITS */
body#p20 .endo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* FAQ */
body#p20 .endo-faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* CTA */
body#p20 .endo-cta__box {
    text-align: center;
    padding: 50px;
    background: #f4f9ff;
    border-radius: 20px;
}

body#p20 .endo-seo {
    padding: 100px 0;
}

body#p20 .endo-seo h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #1E6FA8;
}

body#p20 .endo-seo h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #2568a8;
}

body#p20 .endo-seo p {
    color: #5f6670;
    line-height: 1.8;
    margin-bottom: 15px;
}

body#p20 .endo-seo-list {
    margin: 20px 0;
    padding-left: 20px;
}

#p6 .section.section-light .frame-default,
#p8 section-light .frame-default {
    width: 1170px !important;
    margin: auto !important;
}

#c10 {
    width: 1170px;
    margin: auto;
}

/* =========================================================
   MOBILE MAIN NAVIGATION FIX
========================================================= */

@media (max-width: 991.98px) {
    body:has(#mainnavigation.show) {
        overflow: hidden;
    }

    .navbar-mainnavigation {
        position: relative;
        z-index: 10000;
    }

    .navbar-mainnavigation .navbar-toggler {
        position: relative;
        z-index: 10001;
    }

    #mainnavigation.navbar-collapse:not(.show) {
        display: none !important;
    }

    #mainnavigation.navbar-collapse.show {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: block !important;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        padding: 96px 24px 32px;
        overflow-y: auto;
    }

    #mainnavigation .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 0;
    }

    #mainnavigation .nav-item {
        width: 100%;
    }

    #mainnavigation .nav-link-main {
        display: flex;
        align-items: center;
        min-height: 52px;
        width: 100%;
        padding: 0;
        font-size: 18px;
        line-height: 1.25;
        font-weight: 500;
        color: var(--bs-body-color);
        text-align: left;
        background: transparent;
        border-radius: 0;
        margin: 0;
    }

    #mainnavigation .nav-link-main:hover,
    #mainnavigation .nav-link-main.active {
        color: var(--bs-primary);
    }

    #mainnavigation .nav-link-main.active {
        font-weight: 700;
    }

    #mainnavigation .nav-link-main.active::after {
        display: none;
    }

    #mainnavigation .nav-style-simple {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #mainnavigation .nav-style-simple > .nav-link-main {
        width: calc(100% - 48px);
    }

    #mainnavigation .nav-link-toggle {
        width: 48px;
        min-height: 52px;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mainnavigation .nav-link-indicator {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--bs-body-color);
        border-bottom: 2px solid var(--bs-body-color);
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    #mainnavigation .nav-link-toggle[aria-expanded="true"] .nav-link-indicator {
        transform: rotate(-135deg);
    }

    #mainnavigation .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        min-width: 0;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 12px 16px;
        margin: 0;
        background: transparent;
    }

    #mainnavigation .dropdown-menu:not(.show) {
        display: none;
    }

    #mainnavigation .dropdown-menu.show {
        display: block;
    }

    #mainnavigation .dropdown-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #mainnavigation .nav-link-dropdown {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0;
        font-size: 16px;
        line-height: 1.25;
        color: #555;
        text-decoration: none;
    }

    #mainnavigation .nav-link-dropdown:hover {
        color: var(--bs-primary);
    }

    #mainnavigation .nav-spacer {
        display: none;
    }

    /* Online Termin buchen */
    #mainnavigation .navbar-nav > .nav-item:nth-last-child(2) .nav-link-main {
        justify-content: center;
        min-height: 50px;
        margin-top: 24px;
        padding: 0 20px;
        border-radius: 8px;
        background: var(--bs-primary);
        color: #ffffff !important;
        font-weight: 700;
        text-align: center;
    }

    #mainnavigation .navbar-nav > .nav-item:nth-last-child(2) .nav-link-main:hover {
        background: #2C84C6;
        color: #ffffff !important;
    }

    /* Anrufen */
    #mainnavigation .navbar-nav > .nav-item:last-child .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 50px;
        margin-top: 12px;
        padding: 0 20px;
        border: 1px solid var(--bs-primary);
        border-radius: 8px;
        background: transparent;
        color: var(--bs-primary);
        font-weight: 700;
        text-align: center;
    }

    #mainnavigation .navbar-nav > .nav-item:last-child .btn:hover {
        background: #EAF4FB;
        color: var(--bs-primary);
    }
}



@media screen and (max-width: 991.98px) {

    nav#mainnavigation.navbar-collapse.show,
    nav#mainnavigation.navbar-collapse.collapsing {
        padding-top: 78px !important;
    }

    nav#mainnavigation .navbar-nav > .nav-item {
        margin-bottom: 2px !important;
    }

    nav#mainnavigation .nav-link,
    nav#mainnavigation .nav-link-main {
        min-height: 46px !important;
        font-size: 17px !important;
    }

    nav#mainnavigation .nav-style-simple {
        display: grid !important;
        grid-template-columns: 1fr 48px !important;
        grid-template-areas:
            "link toggle"
            "dropdown dropdown" !important;
        align-items: center !important;
        width: 100% !important;
    }

    nav#mainnavigation .nav-style-simple > .nav-link-main {
        grid-area: link !important;
        width: auto !important;
    }

    nav#mainnavigation .nav-style-simple > .nav-link-toggle {
        grid-area: toggle !important;
        width: 48px !important;
        min-height: 46px !important;
    }

    nav#mainnavigation .nav-style-simple > .dropdown-menu {
        grid-area: dropdown !important;
    }

    nav#mainnavigation .nav-link-indicator {
        width: 9px !important;
        height: 9px !important;
        transform: rotate(45deg) !important;
    }

    nav#mainnavigation .nav-link-toggle[aria-expanded="true"] .nav-link-indicator {
        transform: rotate(-135deg) !important;
    }

    nav#mainnavigation .navbar-nav > .nav-item:nth-last-child(2) > .nav-link-main,
    nav#mainnavigation .navbar-nav > .nav-item:nth-last-child(2) > .nav-link {
        margin-top: 18px !important;
        min-height: 48px !important;
    }

    nav#mainnavigation .navbar-nav > .nav-item:last-child > .btn {
        min-height: 48px !important;
        margin-top: 10px !important;
    }

}
@media screen and (max-width: 575px) {
    .btn.btn-primary.me-2 {
        margin-bottom: 15px !important;
    }
}


/* =========================================================
   CTA CARD RESPONSIVE FIX
========================================================= */

.cta-card {
    display: flex;
    align-items: stretch;
    gap: 40px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cta-left,
.cta-right {
    flex: 1;
}

.cta-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 56px;
    padding: 14px 24px;
    border-radius: 8px;
    background: #1E6FA8;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.cta-card .btn-primary:hover {
    background: #2C84C6;
    color: #ffffff;
}

.cta-phone {
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: 1.5rem;
    line-height: 1.35;
    color: #1E6FA8;
}

.cta-phone strong {
    font-weight: 800;
}

.cta-info {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
}

.cta-right {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
}

.cta-right p {
    margin: 0 0 18px;
}

.cta-contact {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .cta-section {
        padding: 56px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 28px;
        text-align: center;
    }

    .cta-card {
        flex-direction: column;
        gap: 26px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .cta-left,
    .cta-right {
        width: 100%;
        flex: none;
    }

    .cta-left {
        align-items: stretch;
        text-align: center;
    }

    .cta-card .btn-primary {
        width: 100%;
        min-height: 56px;
        padding: 14px 18px;
        font-size: 1.05rem;
    }

    .cta-phone {
        margin-top: 20px;
        margin-bottom: 8px;
        font-size: 1.45rem;
        line-height: 1.35;
        text-align: center;
    }

    .cta-phone strong {
        display: inline-block;
        word-break: keep-all;
    }

    .cta-info {
        font-size: 0.95rem;
        line-height: 1.55;
        text-align: center;
    }

    .cta-right {
        padding-top: 22px;
        border-top: 1px solid rgba(30,111,168,0.16);
        text-align: left;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .cta-right p {
        margin-bottom: 18px;
    }

    .cta-contact {
        margin-top: 14px;
        padding-left: 0;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .prophylaxe-split {
        padding: 60px 0;
        background: #f7fafd;
    }

    .py-5 {
        padding-top: 35px !important;
        padding-bottom: 1rem !important;
    }
    .contact-section {
        padding: 30px 0;
        background: linear-gradient(180deg,#f7fbff 0%,#eef6fd 100%);
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
    .cta-card {
        padding: 22px 16px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-phone {
        font-size: 1.3rem;
    }

    .cta-card .btn-primary {
        font-size: 1rem;
    }

}


