﻿:root {
    --ink: #0f1f2e;
    --ink-soft: #405365;
    --navy: #06283b;
    --ocean: #087d91;
    --aqua: #12b7c7;
    --coral: #f26a4f;
    --foam: #f5fafb;
    --line: #d9e5ea;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(6, 40, 59, 0.14);
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

.content-page-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.content-page-navigation__link {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 16px 18px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--foam);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(6, 40, 59, .08);
    transition: transform .18s ease, border-color .18s ease;
}

.content-page-navigation__link:hover {
    border-color: var(--aqua);
    transform: translateY(-2px);
}

.content-page-navigation__link span:not(.content-page-navigation__arrow) {
    min-width: 0;
}

.content-page-navigation__link small {
    display: block;
    margin-bottom: 2px;
    color: var(--ink-soft);
    font-size: .72rem;
}

.content-page-navigation__link strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-page-navigation__arrow {
    flex: 0 0 auto;
    color: var(--ocean);
    font-size: 1.45rem;
}

.content-page-navigation__link--next {
    grid-column: 2;
    justify-content: flex-end;
    text-align: right;
}

@media (max-width: 560px) {
    .content-page-navigation {
        grid-template-columns: 1fr;
    }

    .content-page-navigation__link--next {
        grid-column: 1;
    }

    .content-page-navigation > span[aria-hidden="true"] {
        display: none;
    }
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.layout {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(217, 229, 234, 0.9);
    box-shadow: 0 12px 34px rgba(6, 40, 59, 0.08);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 112px;
    height: auto;
    padding: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand-caption {
    display: block;
}

.brand small {
    color: var(--ocean);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 700;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--ink);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--ocean);
}

.site-search {
    position: relative;
    flex: 0 0 170px;
    align-self: center;
    width: 170px;
    transform: translateY(6px);
}

.site-search-field {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-field:focus-within {
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(8, 125, 145, 0.12);
}

.site-search-field svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    color: var(--ocean);
}

.site-search-field input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font-size: 14px;
}

.site-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 36px));
    max-height: min(620px, calc(100vh - 100px));
    overflow-y: auto;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(6, 40, 59, 0.18);
}

.site-search-result {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.site-search-result + .site-search-result {
    margin-top: 4px;
}

.site-search-result:hover,
.site-search-result:focus {
    color: var(--ink);
    border-color: var(--line);
    background: var(--foam);
    outline: 0;
}

.site-search-result img,
.site-search-result-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 8px;
}

.site-search-result img {
    object-fit: cover;
}

.site-search-result-placeholder {
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(145deg, var(--ocean), var(--navy));
    font-size: 13px;
    font-weight: 900;
}

.site-search-result-copy,
.site-search-result-copy strong,
.site-search-result-copy span,
.site-search-result-copy time {
    display: block;
}

.site-search-result-copy strong {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.15;
}

.site-search-result-copy span,
.site-search-result-copy time {
    margin-top: 2px;
    color: #516278;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.site-search-empty {
    margin: 0;
    padding: 12px;
    color: #516278;
    font-size: 14px;
}

.not-found-page {
    min-height: 68vh;
    padding: clamp(70px, 9vw, 130px) 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(61, 225, 208, 0.18), transparent 28rem),
        linear-gradient(145deg, #062c43, #087d91);
}

.not-found-layout {
    max-width: 850px;
    color: var(--white);
    text-align: center;
}

.not-found-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.18);
    font-size: clamp(76px, 15vw, 150px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.08em;
}

.not-found-bubble {
    width: 0.72em;
    height: 0.72em;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.not-found-layout .eyebrow {
    color: var(--aqua);
}

.not-found-layout h1 {
    max-width: none;
    margin: 10px 0 16px;
    color: var(--white);
}

.not-found-lead {
    max-width: 680px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(17px, 2.2vw, 21px);
}

.not-found-search {
    z-index: 4;
    width: min(620px, 100%);
    margin: 0 auto;
    transform: none;
}

.not-found-search .site-search-field {
    min-height: 58px;
    padding: 0 18px;
    border-color: rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.not-found-search .site-search-field input {
    font-size: 16px;
}

.not-found-search .site-search-results {
    right: auto;
    left: 0;
    width: 100%;
    text-align: left;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.not-found-tip {
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.service-hero {
    position: relative;
    display: grid;
    min-height: clamp(520px, 68vh, 760px);
    overflow: hidden;
    align-items: end;
    color: var(--white);
    background: var(--navy);
}

.preview-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.7rem 1rem;
    color: #fff;
    background: #153c63;
    text-align: center;
    font-weight: 700;
}

.service-hero-media,
.service-hero-media img,
.service-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-hero-media img {
    object-fit: cover;
}

.service-hero-shade {
    background: linear-gradient(90deg, rgba(3, 28, 45, 0.92) 0%, rgba(3, 28, 45, 0.62) 46%, rgba(3, 28, 45, 0.08) 78%);
}

.service-hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: clamp(54px, 8vw, 100px);
}

.service-hero-copy h1 {
    max-width: 780px;
    color: var(--white);
}

.service-hero-copy > p:not(.eyebrow) {
    max-width: 670px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2.2vw, 23px);
}

.service-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
}

.service-page-content {
    display: grid;
    gap: 44px;
}

.service-page-content > h2:first-child {
    margin-bottom: -28px;
}

.service-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-fact-grid > section,
.service-process {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--foam);
}

.service-fact-grid ul,
.service-process ol {
    padding-left: 22px;
}

.service-fact-grid li,
.service-process li {
    margin-bottom: 9px;
}

.service-cta-card {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--aqua);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(6, 40, 59, 0.12);
}

.service-cta-card h2,
.service-cta-card p {
    margin: 0;
}

.service-cta-card .btn {
    justify-content: center;
}

@media (max-width: 880px) {
    .service-page-layout,
    .service-fact-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-card {
        position: static;
    }
}

@media (max-width: 620px) {
    .service-hero {
        min-height: 620px;
    }

    .service-hero-shade {
        background: linear-gradient(0deg, rgba(3, 28, 45, 0.96) 0%, rgba(3, 28, 45, 0.58) 68%, rgba(3, 28, 45, 0.22) 100%);
    }
}

/* English conversion landing page */
.english-header {
    position: absolute;
    color: var(--white);
    background: linear-gradient(180deg, rgba(3, 25, 40, .88), rgba(3, 25, 40, .18));
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.english-header .brand small,
.english-header .main-nav a {
    color: var(--white);
}

.english-header .brand-logo {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3));
}

.english-language-link {
    justify-content: center;
    min-width: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
}

.english-hero {
    position: relative;
    display: grid;
    min-height: min(880px, 92vh);
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.english-hero-media,
.english-hero-media img,
.english-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.english-hero-media img {
    object-fit: cover;
}

.english-hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 25, 40, .93) 0%, rgba(2, 25, 40, .65) 48%, rgba(2, 25, 40, .12) 78%),
        linear-gradient(0deg, rgba(2, 25, 40, .6), transparent 45%);
}

.english-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(62px, 9vw, 120px);
}

.english-hero-content h1 {
    max-width: 850px;
    margin: 12px 0 22px;
    color: var(--white);
    font-size: clamp(46px, 7.5vw, 92px);
    line-height: .98;
    letter-spacing: -.045em;
}

.english-hero-content > p:not(.eyebrow) {
    max-width: 690px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(19px, 2.2vw, 25px);
}

.english-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.english-trust-row span {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(2, 25, 40, .45);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.english-split,
.english-location-card,
.english-faq-layout,
.english-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 8vw, 100px);
    align-items: start;
}

.english-split h2,
.english-location-card h2,
.english-faq-layout h2,
.english-contact-layout h2 {
    margin-top: 8px;
}

.english-prose {
    color: var(--ink-soft);
    font-size: clamp(17px, 2vw, 20px);
}

.english-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.english-offer-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(26px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(6, 40, 59, .08);
}

.english-offer-card h3 {
    margin: 6px 0 12px;
}

.english-offer-card ul {
    flex: 1;
    padding-left: 20px;
}

.english-offer-card li {
    margin-bottom: 7px;
}

.english-offer-card > a {
    color: var(--ocean);
    font-weight: 900;
    text-decoration: none;
}

.english-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.english-service-grid article {
    padding: 25px;
    border-top: 4px solid var(--aqua);
    border-radius: 14px;
    background: var(--foam);
}

.english-service-grid strong {
    color: var(--navy);
    font-size: 18px;
}

.english-service-grid p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.english-location-section {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--ocean));
}

.english-location-card h2,
.english-location-card .eyebrow {
    color: var(--white);
}

.english-address {
    display: grid;
    gap: 8px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
}

.english-address strong {
    margin-bottom: 6px;
    font-size: 22px;
}

.english-address a {
    font-weight: 800;
}

.english-contact-layout {
    align-items: center;
}

.english-form-card {
    padding: clamp(24px, 4vw, 42px);
    border-radius: 20px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .17);
}

@media (max-width: 900px) {
    .english-header {
        padding: 10px 18px;
    }

    .english-header .brand-caption,
    .english-nav a:not(.english-language-link):not([href="#contact"]) {
        display: none;
    }

    .english-offer-grid {
        grid-template-columns: 1fr;
    }

    .english-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .english-hero {
        min-height: 760px;
    }

    .english-hero-overlay {
        background: linear-gradient(0deg, rgba(2, 25, 40, .98) 0%, rgba(2, 25, 40, .67) 62%, rgba(2, 25, 40, .25) 100%);
    }

    .english-split,
    .english-location-card,
    .english-faq-layout,
    .english-contact-layout,
    .english-service-grid {
        grid-template-columns: 1fr;
    }

    .english-hero-content .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .not-found-page {
        padding: 64px 0 80px;
    }

    .not-found-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--foam);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.hero-slide .hero-media img {
    object-position: center center;
}

.hero-pill-nav {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 28px;
    z-index: 4;
    display: flex;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(3, 21, 34, 0.4);
    backdrop-filter: blur(10px);
}

.hero-pill {
    width: 28px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-pill:hover,
.hero-pill:focus-visible {
    background: rgba(255, 255, 255, 0.78);
    transform: scaleY(1.15);
}

@media (max-width: 620px) {
    .hero-slide .hero-media img {
        object-position: 72% center;
    }

    .hero-theme-light .hero-copy-panel,
    .hero-theme-auto.hero-auto-light .hero-copy-panel {
        padding: 18px 18px 20px;
        border-radius: 12px;
        backdrop-filter: blur(10px) saturate(1.05);
    }

    .hero-logo {
        width: min(240px, 64vw);
        margin-bottom: 14px;
    }

    .hero-pill-nav {
        right: 50%;
        bottom: 18px;
        transform: translateX(50%);
    }

    .hero-pill {
        width: 20px;
        height: 10px;
    }

    .hero-pill.is-active {
        width: 36px;
    }
}

.hero-pill.is-active {
    width: 48px;
    background: var(--coral);
}

.hero-pill:focus-visible {
    outline: 3px solid rgba(34, 194, 205, 0.7);
    outline-offset: 3px;
}

@media (max-width: 620px) {
    .hero-pill.is-active {
        width: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-copy-panel {
    width: min(720px, 100%);
    transition: color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.hero-theme-light .hero-overlay,
.hero-theme-auto.hero-auto-light .hero-overlay {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 27%, rgba(255, 255, 255, 0.38) 48%, transparent 70%),
        linear-gradient(0deg, rgba(6, 40, 59, 0.1), transparent 34%);
}

.hero-theme-light .hero-copy-panel,
.hero-theme-auto.hero-auto-light .hero-copy-panel {
    width: min(650px, 100%);
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--navy);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-theme-light .hero-copy,
.hero-theme-auto.hero-auto-light .hero-copy {
    color: rgba(6, 40, 59, 0.82);
}

.hero-theme-light .hero-logo,
.hero-theme-auto.hero-auto-light .hero-logo {
    width: min(260px, 58vw);
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 12px 34px rgba(6, 40, 59, 0.1);
    backdrop-filter: blur(8px);
}

.hero-theme-light h1,
.hero-theme-light .hero-title,
.hero-theme-auto.hero-auto-light h1,
.hero-theme-auto.hero-auto-light .hero-title {
    max-width: 620px;
    font-size: clamp(42px, 4.2vw, 56px);
}

.hero-theme-light .btn-ghost,
.hero-theme-auto.hero-auto-light .btn-ghost {
    border-color: rgba(6, 40, 59, 0.28);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.48);
}

.hero-theme-light .hero-facts .hero-fact,
.hero-theme-auto.hero-auto-light .hero-facts .hero-fact {
    border-color: rgba(6, 40, 59, 0.24);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 5px 16px rgba(6, 40, 59, 0.08);
    text-shadow: none;
}

.hero-theme-light .hero-facts .hero-fact:hover,
.hero-theme-light .hero-facts .hero-fact:focus-visible,
.hero-theme-auto.hero-auto-light .hero-facts .hero-fact:hover,
.hero-theme-auto.hero-auto-light .hero-facts .hero-fact:focus-visible {
    border-color: rgba(18, 183, 199, 0.58);
    background: rgba(255, 255, 255, 0.94);
}

.hero-theme-plain .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 21, 34, 0.38), transparent 68%);
}

.hero-theme-plain .hero-copy-panel {
    text-shadow: 0 2px 18px rgba(3, 21, 34, 0.72);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 21, 34, 0.94), rgba(3, 21, 34, 0.72) 34%, rgba(3, 21, 34, 0.18) 72%),
        linear-gradient(0deg, rgba(3, 21, 34, 0.4), transparent 36%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 92px;
}

.hero-logo {
    width: min(330px, 70vw);
    height: auto;
    margin: 0 0 20px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

@media (max-width: 620px) {
    .hero-logo {
        width: min(240px, 64vw);
        margin-bottom: 14px;
    }

    .hero-theme-light .hero-copy-panel,
    .hero-theme-auto.hero-auto-light .hero-copy-panel {
        padding: 0;
    }

    .hero-theme-light h1,
    .hero-theme-light .hero-title,
    .hero-theme-auto.hero-auto-light h1,
    .hero-theme-auto.hero-auto-light .hero-title {
        font-size: 34px;
    }

    .hero-theme-light .hero-logo,
    .hero-theme-auto.hero-auto-light .hero-logo {
        width: min(220px, 58vw);
    }
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--aqua);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
.hero-title {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: 58px;
    line-height: 1.04;
}

.news-detail-title {
    font-size: 38px;
}

.news-detail-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.news-detail-image--logo {
    max-height: 260px;
    object-fit: contain;
    padding: 32px;
    box-sizing: border-box;
    background: var(--foam);
}

h2 {
    margin-bottom: 14px;
    font-size: 38px;
    line-height: 1.12;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.22;
}

.hero-copy {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.hero-actions,
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

.hero-facts .hero-fact {
    position: relative;
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    cursor: help;
}

.hero-facts .hero-fact:focus-visible {
    outline: 3px solid rgba(34, 194, 205, 0.55);
    outline-offset: 4px;
}

.hero-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    z-index: 10;
    width: min(300px, calc(100vw - 32px));
    padding: 14px 15px;
    border: 1px solid rgba(34, 194, 205, 0.28);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(6, 40, 59, 0.24);
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, 8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
}

.hero-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    border-right: 1px solid rgba(34, 194, 205, 0.28);
    border-bottom: 1px solid rgba(34, 194, 205, 0.28);
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(-50%) rotate(45deg);
}

.hero-fact:hover .hero-tooltip,
.hero-fact:focus-visible .hero-tooltip,
.hero-fact:focus-within .hero-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

@media (hover: none), (max-width: 820px) {
    .hero-facts .hero-fact {
        cursor: default;
    }

    .hero-tooltip {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    color: var(--white);
    background: var(--ocean);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(6, 40, 59, 0.2);
}

.btn-primary {
    background: var(--coral);
}

.btn-secondary {
    background: var(--navy);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.09);
}

.hero-call-button {
    display: none;
}

.btn-small {
    min-height: 42px;
    padding: 9px 15px;
    background: var(--navy);
}

.btn.full {
    width: 100%;
}

.section {
    padding: 92px 0;
}

.section-tight {
    padding: 64px 0;
}

.muted {
    background: var(--foam);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr minmax(240px, 380px);
    gap: 28px;
    align-items: end;
}

.section-heading.compact {
    margin-bottom: 0;
}

.section-heading p {
    color: var(--ink-soft);
}

.notice-grid,
.course-grid,
.process-grid,
.contact-grid,
.testimonial-grid {
    display: grid;
    gap: 18px;
}

.notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-more {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notice-card,
.course-card,
.process-grid article,
.inquiry-form,
.admin-panel,
.testimonial-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.06);
}

.testimonial-card {
    margin: 0;
    padding: 22px;
}

.testimonial-card p {
    margin: 10px 0;
    color: var(--ink);
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-weight: 800;
    color: var(--ink-soft);
}

.testimonial-stars {
    color: var(--coral);
    letter-spacing: 2px;
}

.testimonial-source {
    margin-top: 18px;
    font-weight: 700;
    color: var(--ink-soft);
}

.review-summary-quote {
    margin: 0 auto 28px;
    padding: 0;
    max-width: 720px;
    text-align: center;
}

.review-summary-quote p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
}

.review-summary-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    color: var(--ink-soft);
}

.notice-card,
.course-card {
    position: relative;
}

.notice-card {
    padding: 24px;
}

.notice-card[hidden] {
    display: none;
}

.notice-image-frame {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    height: 180px;
    margin: -6px 0 18px;
    border-radius: 8px;
    background: var(--foam);
}

.notice-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.notice-image-frame--logo .notice-image {
    padding: 20px;
    box-sizing: border-box;
}

.pill {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--navy);
    background: #dff6f8;
    font-size: 12px;
    font-weight: 800;
}

.text-link {
    color: var(--ocean);
    font-weight: 800;
    text-decoration: none;
}

.feature-strip,
.service-layout,
.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 34px;
    align-items: center;
}

.feature-strip {
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
}

.feature-strip img,
.service-layout img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-strip p {
    color: rgba(255, 255, 255, 0.78);
}

.course-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-more {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.course-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(6, 40, 59, 0.12);
}

.course-card[hidden] {
    display: none;
}

.course-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.course-image-frame,
.course-detail-image-frame {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    background: var(--foam);
}

.course-image-frame {
    width: calc(100% + 44px);
    aspect-ratio: 16 / 9;
    margin: -22px -22px 18px;
    border-radius: 8px 8px 0 0;
}

.course-detail-image-frame {
    width: min(100%, 920px);
    aspect-ratio: 16 / 9;
    margin: 0 0 18px;
    border-radius: 8px;
}

.frame-blur {
    position: absolute;
    inset: -14%;
    z-index: 0;
    width: calc(100% + 28%);
    height: calc(100% + 28%);
    max-width: none;
    object-fit: cover;
    filter: blur(28px) saturate(1.35) brightness(0.92);
    transform: scale(1.05);
}

.course-image-frame::after,
.course-detail-image-frame::after,
.notice-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.22));
    backdrop-filter: blur(3px) saturate(1.15);
    -webkit-backdrop-filter: blur(3px) saturate(1.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.course-image,
.course-detail-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    background: transparent;
}

.course-summary p,
.course-summary ul,
.course-summary ol,
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 10px;
}

.course-summary ul,
.course-summary ol,
.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
}

.course-summary a,
.faq-answer a {
    color: var(--ocean);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.course-summary h2,
.course-summary h3,
.faq-answer h2,
.faq-answer h3 {
    margin: 14px 0 8px;
    font-size: 18px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.course-meta span + span::before {
    content: '\00B7';
    margin-right: 4px;
    color: var(--line);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.page-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page-share-row .eyebrow {
    margin-bottom: 0;
}

.share-widget {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.share-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

.share-trigger:hover,
.share-trigger[aria-expanded="true"] {
    border-color: var(--ocean);
    background: var(--foam);
}

.share-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    min-width: 200px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(6, 40, 59, 0.16);
}

.share-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.share-menu-item svg {
    flex-shrink: 0;
}

.share-menu-item:hover {
    background: var(--foam);
    color: var(--ocean);
}

.share-menu-item.is-copied {
    color: var(--ocean);
}

.main-nav .share-widget--icon {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 0;
}

.share-widget--icon .share-trigger {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    vertical-align: middle;
}

.share-widget--icon .share-menu {
    right: 0;
    left: auto;
}

@media (max-width: 480px) {
    .page-share-row {
        flex-wrap: wrap;
    }
}

.course-intro-card {
    margin: 0 0 32px;
    padding: 26px 28px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.06);
}

.course-intro-card .course-summary {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.course-intro-card .course-summary > *:last-child {
    margin-bottom: 0;
}

.course-intro-card .tag-list {
    margin: 0 0 22px;
}

.course-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.course-intro-card .tag-list:last-child,
.course-intro-card .course-summary:last-child {
    margin-bottom: 0;
}

.course-price-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.course-price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--coral);
}

.tag-list li {
    padding: 4px 8px;
    border-radius: 999px;
    color: #077783;
    background: #edf8fa;
    font-size: 12px;
    font-weight: 700;
}

.faq-list {
    margin-top: auto;
}

details {
    border-top: 1px solid var(--line);
}

summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 800;
}

details p {
    margin-bottom: 14px;
    color: var(--ink-soft);
}

.faq-toggle {
    display: block;
    width: 100%;
    padding: 10px 0 0;
    border: 0;
    background: none;
    color: var(--ocean);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-toggle:hover {
    text-decoration: underline;
}

.course-card .btn {
    margin-top: 16px;
}

.admin-card-edit {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--white);
    background: var(--coral);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-card-edit::before {
    content: "\270E";
    font-size: 12px;
}

.admin-card-edit:hover {
    background: var(--navy);
}

.notice-card .admin-card-edit {
    float: right;
}

.process-grid {
    grid-template-columns: 1.05fr repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.process-grid article {
    padding: 24px;
}

.external-frame-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.06);
}

.external-frame-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    inset: 0;
    background: var(--white);
    color: var(--ink-soft);
    font-weight: 700;
}

.external-frame-loader[hidden] {
    display: none;
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(8, 125, 145, 0.18);
    border-top-color: var(--ocean);
    border-radius: 50%;
    animation: spinner-spin 700ms linear infinite;
}

@keyframes spinner-spin {
    to {
        transform: rotate(360deg);
    }
}

.admin-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 40, 59, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
}

.admin-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.admin-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 40px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 22px 50px rgba(6, 40, 59, 0.28);
}

.admin-loading-box .spinner {
    width: 36px;
    height: 36px;
    border-width: 4px;
}

.admin-loading-text {
    margin: 0;
    max-width: 320px;
    color: var(--ink);
    font-weight: 800;
    text-align: center;
}

.external-frame-placeholder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 24px;
    background: var(--foam);
}

.external-frame-placeholder[hidden] {
    display: none;
}

.external-frame-placeholder h3 {
    margin-bottom: 6px;
}

.external-frame-placeholder p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.external-frame-status {
    margin-top: 10px;
    font-weight: 700;
    color: var(--ocean);
}

.external-frame {
    display: none;
    width: 100%;
    min-height: 720px;
    border: 0;
    background: var(--white);
}

.external-frame-panel.is-loaded .external-frame {
    display: block;
}

.contact-anfahrt {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.contact-anfahrt .external-frame-panel {
    margin-top: 12px;
}

.external-frame--compact {
    min-height: 340px;
}

.step {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--coral);
    font-size: 28px;
    font-weight: 900;
}

.service-layout {
    grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1fr);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 26px 0;
}

.trust-badge {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: center;
    margin: 0 0 26px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.trust-badge img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.trust-badge span {
    color: var(--ink-soft);
    font-weight: 800;
    line-height: 1.35;
}

.service-list span {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--foam);
    font-weight: 800;
}

.inquiry-section {
    color: var(--white);
    background: var(--navy);
}

.inquiry-section .eyebrow {
    color: #7ce4ec;
}

.inquiry-section p {
    color: rgba(255, 255, 255, 0.8);
}

.privacy-note {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

.inquiry-form {
    padding: 26px;
    color: var(--ink);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cddde4;
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    color: var(--ink-soft);
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
    color: var(--ocean);
    background: var(--foam);
}

.password-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

textarea {
    resize: vertical;
}

small,
.field-error {
    color: #b53625;
    font-weight: 700;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.check-row input {
    width: 18px;
    min-width: 18px;
    margin-top: 4px;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.form-message {
    margin-bottom: 16px;
    padding: 13px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-message.success {
    color: #0f5132;
    background: #d9f4e7;
}

.form-message.info {
    color: #08465c;
    background: #dff6f8;
}

.form-message.error {
    color: #842029;
    background: #f8d7da;
}

.contact-section {
    background: var(--foam);
}

.contact-grid {
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.contact-grid a {
    color: var(--ocean);
    font-weight: 800;
    text-decoration: none;
}

.shop-note {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
    border: 1px solid rgba(18, 183, 199, 0.36);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.06);
}

.shop-note h3 {
    margin-bottom: 10px;
}

.shop-note-content p,
.shop-note-content ul,
.shop-note-content ol {
    margin-bottom: 12px;
}

.shop-note-content p:last-child,
.shop-note-content ul:last-child,
.shop-note-content ol:last-child {
    margin-bottom: 0;
}

.editable-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.admin-edit-note {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px dashed var(--aqua);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(18, 183, 199, 0.08);
    font-size: 14px;
}

.admin-edit-note.compact {
    margin-top: 8px;
}

.admin-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    white-space: nowrap;
    color: var(--white);
    background: var(--coral);
    font-weight: 900;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-edit-link::before {
    content: "\270E";
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-size: 12px;
}

.admin-edit-link:hover {
    background: var(--navy);
}

.site-footer {
    padding: 28px 0;
    color: rgba(255, 255, 255, 0.76);
    background: #061925;
}

.site-footer .layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    border-radius: 8px;
    background: var(--white);
}

.footer-brand img {
    width: 150px;
    height: auto;
}

.footer-copy {
    display: grid;
    gap: 4px;
}

.footer-copy p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
}

.footer-links a {
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--aqua);
}

.footer-ai-note {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4);
}

.legal-content {
    max-width: 860px;
}

.legal-content h2,
.legal-content h3 {
    margin-top: 28px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--ocean);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.legal-content a.btn {
    color: var(--white);
    text-decoration: none;
}

/* Additions for the dynamic news/startpage markup introduced after the original stylesheet. */
.hero-section {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-section .hero-bg,
.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-section .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.hero-facts {
    padding: 0;
    list-style: none;
}

.hero-facts li {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 34px;
    align-items: center;
}

.two-column.compact {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.rich-text > :first-child {
    margin-top: 0;
}

.rich-text > :last-child {
    margin-bottom: 0;
}

.image-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.image-stack img,
.wide-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.image-stack img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8;
}

.news-board {
    display: grid;
    gap: 28px;
}

.news-lane {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.lane-heading {
    position: sticky;
    top: 96px;
}

.lane-heading h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.lane-heading p:last-child {
    margin-bottom: 0;
}

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card,
.notice-panel,
.contact-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.06);
}

.news-card {
    overflow: hidden;
}

.news-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--foam);
}

.news-card-image img,
.course-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body,
.course-card-body,
.notice-panel,
.contact-box {
    padding: 22px;
}

.news-card h3,
.course-card h3,
.notice-panel h3,
.contact-box h3 {
    margin-top: 0;
}

.news-card h3 a,
.course-card h3 a {
    text-decoration: none;
}

.course-card > img {
    height: 150px;
    margin: -22px -22px 18px;
    width: calc(100% + 44px);
    max-width: none;
}

.course-card-body {
    display: grid;
    gap: 10px;
    padding: 0;
}

.card-actions,
.center-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.center-actions {
    justify-content: center;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.06);
}

.step-grid span {
    display: inline-grid;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: var(--ocean);
    font-weight: 900;
}

.notice-band {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 26px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 6px solid var(--aqua);
    border-radius: 8px;
    background: var(--white);
}

.contact-box {
    margin-top: 24px;
}

@media (max-width: 1080px) {
    .news-card-grid,
    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-lane,
    .two-column,
    .notice-band {
        grid-template-columns: 1fr;
    }

    .lane-heading {
        position: static;
    }
}

@media (max-width: 620px) {
    .news-card-grid,
    .step-grid,
    .image-stack {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 680px;
    }

    .card-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

.course-ccard-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: 22px;
    align-items: center;
    margin: 18px 0 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--foam);
}


.course-ccard-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.course-ccard-panel p:last-child {
    margin-bottom: 0;
}

.course-ccard-image-frame {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.08);
}

.course-ccard-image-frame img {
    width: 100%;
    height: auto;
}

@media (max-width: 620px) {
    .course-ccard-panel {
        grid-template-columns: 1fr;
    }
}

/* --- Breadcrumbs (sichtbare Brotkrumen-Navigation auf Unterseiten) --- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
}

.breadcrumbs a {
    color: var(--ocean);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span[aria-current="page"] {
    color: var(--ink-soft);
}

.listing-intro .breadcrumbs {
    justify-content: center;
}

/* --- Kontakt-Modal (Footer "Kontakt aufnehmen") --- */
.contact-modal {
    width: min(560px, calc(100vw - 32px));
    max-height: min(860px, calc(100vh - 32px));
    overflow: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(6, 40, 59, 0.28);
}

.contact-modal::backdrop {
    background: rgba(6, 40, 59, 0.62);
}

.contact-modal-inner {
    padding: 26px;
}

.contact-modal-inner h2 {
    margin: 4px 0 8px;
}

.contact-modal-inner > p {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.contact-modal .inquiry-form {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.footer-contact-action {
    margin: 0;
}

.footer-contact-action .btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: transparent;
}

.footer-contact-action .btn:hover {
    border-color: var(--aqua);
    color: var(--aqua);
}

/* --- Spam-Schutz (Rechenaufgabe) im Anfrageformular --- */
.captcha-field {
    margin-bottom: 14px;
}

.captcha-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--foam);
    cursor: text;
}

.captcha-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--white);
    background: var(--ocean);
}

.captcha-text {
    display: grid;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.captcha-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ocean);
}

.captcha-question {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.captcha-field .captcha-input {
    flex: none;
    width: 64px;
    padding: 10px 8px;
    text-align: center;
    font-weight: 800;
    background: var(--white);
}

.captcha-field .field-error {
    display: block;
    margin-top: 6px;
}

/* --- Kontakt-E-Mail im Footer --- */
.footer-contact-email {
    margin: 0;
}

.footer-contact-email a {
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.footer-contact-email a:hover {
    color: var(--aqua);
}

/* --- Lokaler SEO-/Standortbereich auf der Startseite --- */
.local-seo-section {
    padding-top: 52px;
    padding-bottom: 52px;
    background: linear-gradient(180deg, #ffffff 0%, #f2fbfd 100%);
}

.local-seo-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: start;
    padding: 26px;
    border: 1px solid rgba(18, 183, 199, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(6, 40, 59, 0.08);
}

.local-seo-content {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.local-seo-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.local-seo-images img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(6, 40, 59, 0.1);
}

.local-seo-images img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.local-seo-content p + p {
    margin-top: 10px;
}

.local-seo-content h2,
.local-seo-content h3 {
    margin-top: 26px;
    color: var(--ink);
}

.local-seo-content h2:first-child,
.local-seo-content h3:first-child {
    margin-top: 0;
}

.local-seo-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.local-seo-content ul li {
    position: relative;
    padding-left: 24px;
}

.local-seo-content ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--aqua);
    font-weight: 900;
}

@media (max-width: 820px) {
    .local-seo-panel {
        grid-template-columns: 1fr;
    }

    .local-seo-images img:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 620px) {
    .local-seo-content ul,
    .local-seo-images {
        grid-template-columns: 1fr;
    }

    .local-seo-images img:first-child {
        aspect-ratio: 4 / 3;
    }
}
