:root {
    --bg: #fffaff;
    --bg-soft: #f8eefb;
    --surface: #ffffff;
    --surface-2: #fff7fc;
    --text: #172d42;
    --muted: #647080;
    --primary: #e23a8b;
    --primary-dark: #8f3f98;
    --primary-soft: #fce6f2;
    --accent: #f6cf4f;
    --accent-soft: #fff6d6;
    --blue-soft: #e9f6fc;
    --border: #ead8ea;
    --shadow: 0 24px 70px rgba(23, 45, 66, .12);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1160px;
}

* { box-sizing: border-box; }
html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@supports (overflow-x: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 1rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text);
}

h1 {
    font-size: clamp(2.75rem, 7vw, 5.8rem);
    max-width: 980px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

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

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

.section-pad {
    padding: clamp(70px, 8vw, 125px) 0;
}

.section-pad--top-small {
    padding-top: 34px;
}

.section-alt {
    background: #fbf4fd;
}

.js-reveal {
    opacity: 0;
    transform: translate3d(var(--reveal-x, 0), 44px, 0);
    transition:
        opacity 1100ms ease,
        transform 1700ms cubic-bezier(0.2, 0.78, 0.2, 1);
    will-change: opacity, transform;
}

.js-reveal--left {
    --reveal-x: -150px;
}

.js-reveal--right {
    --reveal-x: 150px;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.site-footer .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -50px;
    background: var(--primary);
    color: white;
    padding: 10px 14px;
    z-index: 99;
    border-radius: 10px;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 255, .9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(234, 216, 234, .78);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    margin-top: 2px;
}

.brand--footer small {
    color: rgba(255,255,255,.74);
}

.brand--footer strong {
    color: white;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 12px 14px;
    color: #263b55;
    font-weight: 650;
    font-size: .95rem;
    border-radius: 999px;
    transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.main-nav .nav-cta {
    background: var(--primary);
    color: white;
    margin-left: 8px;
    box-shadow: 0 10px 24px rgba(226,58,139,.20);
}

.main-nav .nav-cta:hover {
    background: var(--primary-dark);
    color: white;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 46px;
    height: 46px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 6px auto;
    border-radius: 999px;
    transition: .2s;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 21px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 14px 34px rgba(226,58,139,.24);
}

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--secondary {
    background: white;
    color: var(--primary-dark);
    border-color: var(--border);
    box-shadow: 0 12px 30px rgba(23,45,66,.08);
}

.btn--light {
    background: white;
    color: var(--primary-dark);
}

.btn--ghost-light {
    border-color: rgba(255,255,255,.42);
    color: white;
}

.btn--wide {
    width: 100%;
}

.text-link {
    color: var(--primary);
    font-weight: 850;
    border-bottom: 2px solid var(--accent);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(246,207,79,.26), transparent 30%),
        radial-gradient(circle at 13% 4%, rgba(226,58,139,.12), transparent 34%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -23% 45%;
    height: 460px;
    background: rgba(143, 63, 152, .08);
    border-radius: 999px;
    transform: rotate(-9deg);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: clamp(42px, 6vw, 86px);
    align-items: center;
}

.hero-copy p {
    font-size: 1.15rem;
    max-width: 680px;
}

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

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points li {
    background: white;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 13px;
    color: #263b55;
    font-weight: 700;
    font-size: .92rem;
}

.hero-points li::before {
    content: "\2713";
    color: var(--primary);
    margin-right: 7px;
}

.hero-card {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, white, #fff1f8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card img {
    width: min(88%, 560px);
}

.floating-card {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 18px 46px rgba(23, 45, 66, .12);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card span {
    color: var(--muted);
    font-size: .88rem;
}

.floating-card--top {
    top: 32px;
    right: 28px;
}

.floating-card--bottom {
    bottom: 32px;
    left: 28px;
}

.split {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(34px, 5vw, 84px);
}

.split p {
    font-size: 1.08rem;
}

.mission-card {
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.16), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(246,207,79,.14), transparent 24%),
        linear-gradient(135deg, #6F907A 0%, #8FA894 55%, #AFC3B3 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: clamp(34px, 5vw, 64px);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 38px;
    box-shadow: var(--shadow);
}

.mission-card h2,
.mission-card p {
    color: white;
}

.mission-card p {
    color: rgba(255,255,255,.78);
}

.mission-card .eyebrow {
    color: var(--accent-soft);
}

.mission-list {
    display: grid;
    gap: 14px;
}

.mission-list div {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    padding: 22px;
}

.mission-list span {
    display: block;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 8px;
}

.mission-list strong {
    display: block;
    color: white;
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.section-head {
    text-align: center;
    max-width: 790px;
    margin-inline: auto;
    margin-bottom: 46px;
}

.section-head p {
    font-size: 1.08rem;
}

.section-head--left {
    text-align: left;
    margin-left: 0;
}

.service-stack {
    display: grid;
    gap: 28px;
}

.service-feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: stretch;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 18px 50px rgba(23,45,66,.07);
}

.service-feature--reverse {
    grid-template-columns: .9fr 1.1fr;
}

.service-feature--reverse > div:first-child {
    order: 2;
}

.service-number {
    color: var(--accent);
    font-weight: 950;
    letter-spacing: .12em;
}

.check-list {
    padding: 0;
    margin: 18px 0 26px;
    list-style: none;
    display: grid;
    gap: 10px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: #263b55;
    font-weight: 650;
}

.check-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 900;
}

.check-list li::after {
    content: none;
}

.check-list--large li {
    font-size: 1.03rem;
}

.feature-box {
    min-height: 290px;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--accent-soft), white);
    border: 1px solid #f6e6a8;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-box--green {
    background: linear-gradient(145deg, var(--primary-soft), white);
    border-color: #f3c8e2;
}

.feature-box--blue {
    background: linear-gradient(145deg, var(--blue-soft), white);
    border-color: #cce9f6;
}

.feature-box h4 {
    font-size: 1.6rem;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tile-grid article {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    min-height: 210px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tile-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(23,45,66,.10);
}

.tile-grid span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 13px;
    margin-bottom: 22px;
}

.tile-grid h3 {
    font-size: 1.08rem;
    margin-bottom: .55rem;
}

.tile-grid p {
    font-size: .95rem;
    margin: 0;
}

.reviews-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(30px, 5vw, 58px);
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(23,45,66,.08);
}

.review-placeholder {
    background: var(--bg-soft);
    border: 1px dashed #dfb8df;
    border-radius: 24px;
    padding: 30px;
    display: grid;
    gap: 8px;
}

.review-placeholder strong {
    font-size: 1.25rem;
}

.review-placeholder span {
    color: var(--muted);
}

/* FAQ Accordion smooth */
.faq-list {
    max-width: 900px;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(23, 45, 66, 0.08);
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(23, 45, 66, 0.07);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: #172d42;
}

.faq-question span:first-child {
    font-weight: 800;
    line-height: 1.35;
}

.faq-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 999px;
    background: rgba(111, 144, 122, 0.12);
    color: #6F907A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}

/* Fallback, falls JavaScript verzögert oder nicht sofort greift */
.faq-item.is-open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    color: #50635a;
    line-height: 1.75;
}

.faq-answer-inner p {
    margin: 0;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background: #6F907A;
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(34px, 6vw, 76px);
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 110px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.contact-cards > * {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.contact-cards strong,
.contact-cards span {
    display: block;
}

.contact-cards strong {
    margin-bottom: 5px;
}

.contact-cards span {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--shadow);
}

.form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form label {
    display: grid;
    gap: 7px;
    color: #263b55;
    font-weight: 750;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid #ead8ea;
    background: #fffafd;
    border-radius: 14px;
    padding: 14px 15px;
    color: var(--text);
    outline: none;
    transition: border .2s ease, box-shadow .2s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(226,58,139,.12);
}

.checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: 550 !important;
    font-size: .93rem;
    color: var(--muted) !important;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.checkbox a {
    color: var(--primary);
    font-weight: 800;
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.flash {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
}

.flash--success {
    background: #e9f6fc;
    color: #1f6683;
    border: 1px solid #cce9f6;
}

.flash--error {
    background: #fff0f6;
    color: #9a245d;
    border: 1px solid #f4c3dc;
}

.subhero,
.career-hero {
    background:
        radial-gradient(circle at 88% 8%, rgba(246,207,79,.24), transparent 30%),
        linear-gradient(180deg, #fffaff, #f8eefb);
}

.subhero-grid,
.career-hero__inner {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.value-panel,
.benefit-card,
.soft-card,
.job-card,
.notice-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 18px 50px rgba(23,45,66,.08);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr .82fr;
    gap: 44px;
    align-items: start;
}

.icon-list {
    display: grid;
    gap: 16px;
}

.icon-list div {
    border-left: 4px solid var(--accent);
    padding-left: 16px;
}

.icon-list strong,
.icon-list span {
    display: block;
}

.icon-list span {
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.steps div {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
}

.steps span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 900;
    margin-bottom: 20px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.job-card ul {
    padding-left: 20px;
    color: var(--muted);
    margin: 0;
}

.job-card li {
    margin-bottom: 9px;
}

.job-card--highlight {
    background: var(--primary-dark);
}

.job-card--highlight h3,
.job-card--highlight li {
    color: white;
}

.notice-box {
    background: var(--accent-soft);
    box-shadow: none;
    margin-top: 28px;
}

.notice-box p {
    margin: 0;
}

.legal-card {
    max-width: 920px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(26px, 5vw, 58px);
    box-shadow: var(--shadow);
}

.legal-card h2 {
    font-size: 1.65rem;
    margin-top: 2.2rem;
}

.legal-card a {
    color: var(--primary);
    font-weight: 800;
}

.legal-note {
    background: var(--accent-soft);
    border: 1px solid #f6e6a8;
    border-radius: 16px;
    padding: 16px;
    color: #5c4a16;
}

.site-footer {
    background: #172d42;
    color: white;
}

.footer-cta {
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.22), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(246,207,79,.18), transparent 24%),
        linear-gradient(135deg, #6F907A 0%, #8FA894 55%, #AFC3B3 100%);
}

.footer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px 0;
}

.footer-cta h2,
.footer-cta p {
    color: white;
}

.footer-cta p {
    color: rgba(255,255,255,.79);
    margin: 0;
}

.footer-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-cta .eyebrow,
.footer-cta h2,
.footer-cta p {
    color: white;
}

.footer-cta .btn--light {
    background: white;
    color: #4F735C;
    border-color: white;
}

.footer-cta .btn--light:hover {
    background: #F4F8F5;
    color: #3F624D;
}

.footer-cta .btn--ghost-light {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,.72);
}

.footer-cta .btn--ghost-light:hover {
    background: rgba(255,255,255,.14);
    border-color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .9fr .9fr;
    gap: 38px;
    padding: 54px 0;
}

.footer-grid h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 14px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: rgba(255,255,255,.74);
    margin-bottom: 9px;
}

.footer-text {
    margin-top: 18px;
    max-width: 360px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255,255,255,.64);
}

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

.to-top {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--primary);
    color: white;
    box-shadow: 0 16px 30px rgba(0,0,0,.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: .2s ease;
    cursor: pointer;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .hero-grid,
    .split,
    .mission-card,
    .reviews-card,
    .contact-grid,
    .subhero-grid,
    .career-hero__inner,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }

    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps,
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-feature,
    .service-feature--reverse {
        grid-template-columns: 1fr;
    }

    .service-feature--reverse > div:first-child {
        order: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 76px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 19px;
        right: 19px;
        top: calc(100% + 10px);
        display: grid;
        gap: 4px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 22px;
        padding: 12px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 12px 14px;
    }

    .main-nav .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero-card {
        min-height: 380px;
    }

    .floating-card {
        position: static;
        margin: 8px;
        justify-self: stretch;
    }

    .hero-card {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .js-reveal--left {
        --reveal-x: 0;
    }

    .js-reveal--right {
        --reveal-x: 0;
    }

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

    .section-pad {
        padding: 62px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .hero-actions,
    .footer-cta__actions {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .tile-grid,
    .steps,
    .job-grid,
    .contact-cards,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta__inner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .social-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
    }

    .social-link .social-icon {
        width: 18px;
        height: 18px;
        max-width: 18px;
        max-height: 18px;
        display: inline-block;
        fill: currentColor;
        flex: 0 0 18px;
    }

    .social-link--instagram:hover .social-icon {
        transform: translateY(-1px);
    }

    .social-link--instagram .social-icon {
        transition: transform .2s ease;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 18px;
    }

    .faq-answer-inner {
        padding: 0 18px 20px 18px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }
}

/* Illustrationen in den farbigen Boxen */
.feature-box {
    position: relative;
    overflow: hidden;
    padding-top: 170px;
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20220%20140%27%3E%0A%20%20%3Cpath%20d%3D%27M35%2074%20L110%2026%20L185%2074%27%20fill%3D%27none%27%20stroke%3D%27%23E23A8B%27%20stroke-width%3D%278%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%0A%20%20%3Ccircle%20cx%3D%2772%27%20cy%3D%2782%27%20r%3D%2712%27%20fill%3D%27%23F6CF4F%27/%3E%0A%20%20%3Ccircle%20cx%3D%27110%27%20cy%3D%2772%27%20r%3D%2710%27%20fill%3D%27%236F907A%27/%3E%0A%20%20%3Ccircle%20cx%3D%27148%27%20cy%3D%2782%27%20r%3D%2712%27%20fill%3D%27%238F3F98%27/%3E%0A%20%20%3Cpath%20d%3D%27M58%20118c2-15%2012-24%2024-24s22%209%2024%2024%27%20fill%3D%27%23E23A8B%27/%3E%0A%20%20%3Cpath%20d%3D%27M93%20118c1-12%208-19%2017-19s16%207%2017%2019%27%20fill%3D%27%236F907A%27/%3E%0A%20%20%3Cpath%20d%3D%27M124%20118c2-15%2012-24%2024-24s22%209%2024%2024%27%20fill%3D%27%23172D42%27/%3E%0A%20%20%3Cpath%20d%3D%27M67%20116c26%2010%2060%2010%2086%200%27%20fill%3D%27none%27%20stroke%3D%27%23F0BFD8%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%0A%3C/svg%3E");
}

.feature-box--green::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20220%20140%27%3E%0A%20%20%3Ccircle%20cx%3D%27110%27%20cy%3D%2742%27%20r%3D%2716%27%20fill%3D%27%23F6CF4F%27/%3E%0A%20%20%3Cpath%20d%3D%27M94%2067h32c7%200%2012%205%2012%2012v22H82V79c0-7%205-12%2012-12z%27%20fill%3D%27%23E23A8B%27/%3E%0A%20%20%3Crect%20x%3D%2796%27%20y%3D%2778%27%20width%3D%2710%27%20height%3D%2724%27%20rx%3D%274%27%20fill%3D%27%23FFF%27/%3E%0A%20%20%3Crect%20x%3D%27114%27%20y%3D%2778%27%20width%3D%2710%27%20height%3D%2724%27%20rx%3D%274%27%20fill%3D%27%23FFF%27/%3E%0A%20%20%3Cpath%20d%3D%27M96%20101l-12%2024%27%20stroke%3D%27%23172D42%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27round%27/%3E%0A%20%20%3Cpath%20d%3D%27M124%20101l12%2024%27%20stroke%3D%27%23172D42%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27round%27/%3E%0A%20%20%3Cpath%20d%3D%27M82%2077L64%2090%27%20stroke%3D%27%238F3F98%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27round%27/%3E%0A%20%20%3Cpath%20d%3D%27M138%2077l18%2013%27%20stroke%3D%27%238F3F98%27%20stroke-width%3D%276%27%20stroke-linecap%3D%27round%27/%3E%0A%20%20%3Ccircle%20cx%3D%2760%27%20cy%3D%2798%27%20r%3D%2710%27%20fill%3D%27%236F907A%27/%3E%0A%20%20%3Cpath%20d%3D%27M51%20110c5%204%2013%204%2018%200%27%20fill%3D%27none%27%20stroke%3D%27%23172D42%27%20stroke-width%3D%273%27%20stroke-linecap%3D%27round%27/%3E%0A%3C/svg%3E");
}

.feature-box--blue::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20220%20140%27%3E%0A%20%20%3Cpath%20d%3D%27M44%2063%20L110%2028%20L176%2063%27%20fill%3D%27none%27%20stroke%3D%27%23E23A8B%27%20stroke-width%3D%278%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%0A%20%20%3Crect%20x%3D%2756%27%20y%3D%2763%27%20width%3D%27108%27%20height%3D%2756%27%20rx%3D%278%27%20fill%3D%27%23FFFFFF%27%20stroke%3D%27%23BFDDEA%27%20stroke-width%3D%273%27/%3E%0A%20%20%3Crect%20x%3D%2799%27%20y%3D%2786%27%20width%3D%2722%27%20height%3D%2733%27%20rx%3D%274%27%20fill%3D%27%23F6CF4F%27/%3E%0A%20%20%3Crect%20x%3D%2770%27%20y%3D%2775%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%274%27%20fill%3D%27%23E9F6FC%27/%3E%0A%20%20%3Crect%20x%3D%27132%27%20y%3D%2775%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%274%27%20fill%3D%27%23E9F6FC%27/%3E%0A%20%20%3Cpath%20d%3D%27M110%2028v22%27%20stroke%3D%27%23172D42%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27round%27/%3E%0A%20%20%3Cpath%20d%3D%27M110%2034c9-5%2015%201%2022-4v14c-7%205-13-1-22%204z%27%20fill%3D%27%236F907A%27/%3E%0A%20%20%3Ccircle%20cx%3D%2744%27%20cy%3D%27101%27%20r%3D%2710%27%20fill%3D%27%23F6CF4F%27/%3E%0A%20%20%3Ccircle%20cx%3D%27176%27%20cy%3D%27101%27%20r%3D%2710%27%20fill%3D%27%238F3F98%27/%3E%0A%3C/svg%3E");
}

.feature-box h4,
.feature-box p {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .feature-box {
        padding-top: 150px;
    }

    .feature-box::before {
        width: 160px;
        height: 100px;
        top: 20px;
    }
}

/* WonderCMS integration */
.main-nav ul,
.main-nav .wcms-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav li a {
    display: inline-flex;
}

.wcms-content .content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(23,45,66,.08);
    padding: clamp(28px, 5vw, 54px);
}

.wcms-content .content-card > *:last-child {
    margin-bottom: 0;
}

.wcms-editable :is(h1,h2,h3,h4) {
    color: var(--text);
}

.wcms-editable ul,
.wcms-editable ol {
    color: var(--muted);
}

.wondercms-footer-text,
.wondercms-footer-text * {
    color: rgba(255,255,255,.70);
}

.contact-note {
    font-size: .92rem;
    color: var(--muted);
    margin-top: 12px;
}

@media (max-width: 760px) {
    .main-nav ul,
    .main-nav .wcms-menu {
        display: grid;
        gap: 2px;
    }
}

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

    .js-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Leistungsbilder, 2026-10-12: ausschliesslich die drei Karten in #leistungen. */
#leistungen .service-feature > .feature-box {
    padding-top: 0;
    justify-content: flex-start;
}
#leistungen .service-feature > .feature-box::before {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex: 0 0 auto;
    width: calc(100% + 64px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 0 -32px 24px;
    background-position: center;
    background-size: cover;
    background-image: url('../img/01-schulbegleitung.webp');
}
#leistungen .service-feature > .feature-box--green::before {
    background-image: url('../img/02-selbststaendigkeit.webp');
}
#leistungen .service-feature > .feature-box--blue::before {
    background-image: url('../img/03-zusammenarbeit.webp');
}


/* Kontakt- und Bewerbungsformulare auf Mobilgeraeten direkt sichtbar. */
@media (max-width: 760px) {
    #kontakt .js-reveal,
    #bewerbung .js-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
