﻿/*
   FUTUROSALUD – Design-Basis für blog_shop_cms
   Auszug aus: asi-manager.de/futurosalud_de/style.css
   Enthält: :root, Basis, Buttons, Sections/Grids/Hero/Cards, Footer, Header/Nav, zentrale Media Queries.
   Ausgeschlossen: Shop-, Checkout-, Portal-, Bauplaner-Styles (ab ca. Zeile 1449 im Original).
*/

/* =========================================================
   FUTUROSALUD – neu strukturierte zentrale styles.css
   Ziel:
   - gleicher Grundaufbau der Landingpages bleibt erhalten
   - Header und Footer bleiben im Charakter erhalten
   - mobile Darstellung sauber integriert
   - Utilities statt Inline-Styles
   ========================================================= */

:root {
    --fs-primary: #92215f;
    --fs-primary-hover: #7a1b50;
    --fs-secondary: #2596be;
    --fs-secondary-hover: #1e7a9e;

    --fs-text: #0f2230;
    --fs-text-muted: #425b6d;
    --fs-white: #ffffff;
    --fs-black: #000000;

    --fs-bg-page: #ffffff;
    --fs-bg-soft: #f7fbfe;
    --fs-bg-soft-2: #eef6fb;
    --fs-bg-warm: #fff7ef;

    --fs-border: rgba(15, 34, 48, 0.10);
    --fs-border-strong: rgba(15, 34, 48, 0.16);

    --fs-shadow-soft: 0 18px 42px rgba(14, 34, 48, 0.08);
    --fs-shadow-card: 0 10px 24px rgba(14, 34, 48, 0.06);

    --fs-radius-xl: 28px;
    --fs-radius-lg: 22px;
    --fs-radius-md: 18px;
    --fs-radius-sm: 12px;

    --fs-space-section: 80px;
    --fs-space-section-sm: 56px;
    --fs-space-card: 28px;
    --fs-space-card-sm: 20px;

    --fs-text-max: 68ch;

    /* Rechtstext-Seiten (Impressum, Datenschutz, AGB, Haftungsausschluss) */
    --fs-legal-content-max: 32rem; /* Lesespalte; zusätzlich Bootstrap col-xl-7 */
    --fs-legal-page-pad-top: 1.5rem;
    --fs-legal-page-pad-bottom: 5.5rem;
    --fs-legal-hero-pad-top: 3.25rem; /* Abstand unter sticky Header */
    --fs-legal-hero-pad-bottom: 2rem;
    --fs-legal-card-pad-y: 2.25rem;
    --fs-legal-card-pad-x: clamp(1.35rem, 4.5vw, 2.75rem);
}

/* =========================================================
   Basis
   ========================================================= */

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--fs-bg-page);
    color: var(--fs-text);
}

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

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

a:hover {
    color: var(--fs-primary-hover);
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* =========================================================
   Utilities
   ========================================================= */

.u-text-center {
    text-align: center;
}

.u-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.u-max-760 {
    max-width: 760px;
}

.u-mt-24 {
    margin-top: 24px;
}

.u-justify-center {
    justify-content: center;
}

/* =========================================================
   Sections + gemeinsame Typografie
   ========================================================= */

.fs-section {
    padding: var(--fs-space-section) 0;
}

.fs-section-soft {
    background: linear-gradient(180deg, var(--fs-bg-soft) 0%, #ffffff 100%);
}

.fs-section-soft-2 {
    background: var(--fs-bg-soft-2);
}

.fs-section-head {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

/* Rechtstext-Seiten: Abstand unter Header / über Footer, schmale Spalte (CSS + Bootstrap-Grid) */
section.hero.fs-legal-hero {
    padding-top: var(--fs-legal-hero-pad-top);
    padding-bottom: var(--fs-legal-hero-pad-bottom);
}

section.hero.fs-legal-hero .hero-content h1 {
    margin-bottom: 0;
}

section.section.fs-legal-page {
    padding-top: var(--fs-legal-page-pad-top);
    padding-bottom: var(--fs-legal-page-pad-bottom);
}

.fs-legal-card {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--fs-legal-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: var(--fs-legal-card-pad-y) var(--fs-legal-card-pad-x);
    border-radius: var(--fs-radius-md);
    background: transparent;
    border: none;
    box-shadow: none;
}

.fs-legal-card > :first-child {
    margin-top: 0 !important; /* vor Bootstrap-Utilities wie .mt-4 am ersten Block */
}

.fs-legal-card h2.h4 {
    margin-top: 1.75rem;
    color: var(--fs-text);
}

.fs-legal-card ul {
    padding-left: 1.25rem;
}

/* CMS landing: section_panel mit Feld html (eine fs-panel-Box, Inhalt direkt im Panel) */
.fs-panel.fs-panel--rich {
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
}

.fs-panel.fs-panel--rich > *:first-child {
    margin-top: 0;
}

.fs-panel.fs-panel--rich h1 {
    margin: 0 0 0.75em;
    font-size: clamp(1.5rem, 1.95vw, 2.22rem);
    line-height: 1.14;
    font-weight: 800;
    color: var(--fs-text);
}

.fs-panel.fs-panel--rich h2 {
    margin: 1.75rem 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fs-text);
    line-height: 1.25;
}

.fs-panel.fs-panel--rich h2:first-of-type {
    margin-top: 1.25rem;
}

.fs-panel.fs-panel--rich p {
    margin: 0 0 0.85em;
    color: var(--fs-text-muted);
    line-height: 1.75;
}

.fs-panel.fs-panel--rich ul {
    margin: 0 0 1em;
    padding-left: 1.25rem;
    color: var(--fs-text-muted);
    line-height: 1.75;
}

.fs-panel.fs-panel--rich li + li {
    margin-top: 0.35em;
}

.fs-panel.fs-panel--rich address {
    margin: 0 0 1em;
    font-style: normal;
    color: var(--fs-text-muted);
    line-height: 1.7;
}

.fs-panel.fs-panel--rich .fs-hero-actions {
    margin-top: 1.5rem;
}

/*
 * Rechtstexte (Impressum, Datenschutz, AGB, Haftungsausschluss):
 * Nur Sektionen mit fs-section-legal-prose (section_class in CMS/Seeds).
 * Hebt das Panel-Default u-text-center auf – andere Landings ohne diese Klasse sind unverändert.
 */
.fs-section.fs-section-legal-prose .fs-panel {
    text-align: left !important;
}

.fs-section.fs-section-legal-prose .fs-panel.fs-panel--rich ul,
.fs-section.fs-section-legal-prose .fs-panel.fs-panel--rich ol {
    list-style-position: outside;
    text-align: left;
    padding-left: 1.5rem;
}

.fs-section.fs-section-legal-prose .fs-panel.fs-panel--rich li {
    text-align: left;
}

@media (min-width: 992px) {
    .fs-section.fs-section-legal-prose .fs-panel.fs-panel--rich {
        max-width: 760px;
    }
}

.fs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 150, 190, 0.10);
    color: var(--fs-secondary-hover);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.fs-title {
    margin: 0 0 14px;
    color: var(--fs-text);
    font-size: clamp(1.5rem, 1.95vw, 2.22rem);
    line-height: 1.14;
    font-weight: 800;
    text-wrap: balance;
}

.fs-lead {
    margin: 0;
    color: var(--fs-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* =========================================================
   Buttons
   ========================================================= */

.fs-button,
.fs-button-outline,
.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.fs-button:hover,
.fs-button-outline:hover,
.footer-button:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.fs-button {
    background: var(--fs-primary);
    border: 1px solid var(--fs-primary);
    color: var(--fs-white) !important;
    box-shadow: 0 10px 24px rgba(146, 33, 95, 0.18);
}

.fs-button:hover {
    background: var(--fs-primary-hover);
    border-color: var(--fs-primary-hover);
}

.fs-button.fs-button-danger {
    background: #dc3545;
    border: 1px solid #dc3545;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.22);
}

.fs-button.fs-button-danger:hover {
    background: #b02a37;
    border-color: #b02a37;
    color: #ffffff !important;
}

.fs-button-outline {
    background: #ffffff;
    border: 1px solid var(--fs-border);
    color: var(--fs-text) !important;
}

.fs-button-outline:hover {
    border-color: var(--fs-secondary);
    color: var(--fs-secondary-hover) !important;
}

.fs-button-sm,
.fs-button-outline.fs-button-sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.875rem;
    border-radius: 10px;
}

.fs-button-lg,
.fs-button-outline.fs-button-lg {
    min-height: 52px;
    padding: 0 24px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.fs-button-outline.fs-button-danger {
    border-color: #dc3545;
    color: #b02a37 !important;
}

.fs-button-outline.fs-button-danger:hover {
    border-color: #b02a37;
    background: rgba(220, 53, 69, 0.06);
    color: #842029 !important;
}

.fs-button:focus-visible,
.fs-button-outline:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(146, 33, 95, 0.35);
}

.fs-button-outline:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(146, 33, 95, 0.22);
}

/* =========================================================
   Layout-Grids
   ========================================================= */

.fs-grid-2,
.fs-grid-3,
.fs-process-grid,
.fs-showcase,
.fs-hero-grid {
    gap: 22px;
}

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

.fs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================================================
   Hero
   ========================================================= */

.fs-hero {
    padding: 72px 0 60px;
    background:
        radial-gradient(circle at top right, rgba(37, 150, 190, 0.14), transparent 30%),
        linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.fs-hero-shell {
    padding: 28px;
    border: 1px solid var(--fs-border);
    border-radius: var(--fs-radius-xl);
    background: #ffffff;
    box-shadow: var(--fs-shadow-soft);
}

.fs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: start;
    gap: 32px;
}

/* Zeile 1: Eyebrow + Titel über beide Spalten */
.fs-hero-head {
    grid-column: 1 / -1;
    text-align: center;
}

.fs-hero-head .fs-eyebrow {
    margin-bottom: 0.65rem;
}

.fs-hero-head h1 {
    margin: 0;
    color: var(--fs-text);
    font-size: clamp(1.72rem, 2.6vw, 2.9rem);
    line-height: 1.12;
    font-weight: 800;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: none;
}

.fs-hero-copy {
    min-width: 0;
    text-align: left;
}

.fs-hero-media {
    min-width: 0;
    align-self: start;
}

.fs-hero-copy p {
    max-width: var(--fs-text-max);
    margin: 0 0 16px;
    color: var(--fs-text-muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.fs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.fs-hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.fs-benefit-chip {
    padding: 14px 16px;
    border: 1px solid var(--fs-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--fs-shadow-card);
    color: var(--fs-text);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.45;
}

.fs-media-card {
    padding: 14px;
    border: 1px solid var(--fs-border);
    border-radius: var(--fs-radius-xl);
    background: #ffffff;
    box-shadow: var(--fs-shadow-soft);
}

.fs-media-card img {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.fs-image-placeholder {
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 28px;
    border: 2px dashed #bfd0dc;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(37, 150, 190, 0.06), rgba(146, 33, 95, 0.05)),
        #f8fbfd;
    text-align: center;
}

.fs-image-placeholder strong,
.fs-screenshot-placeholder strong {
    display: block;
    margin-bottom: 10px;
    color: var(--fs-text);
    font-size: 1.05rem;
}

.fs-image-placeholder span,
.fs-screenshot-placeholder span {
    display: block;
    max-width: 430px;
    color: var(--fs-text-muted);
    line-height: 1.65;
}

/* =========================================================
   Cards / Panels / Listen
   ========================================================= */

.fs-card,
.fs-panel,
.fs-process-card,
.fs-cta-panel {
    background: #ffffff;
    border: 1px solid var(--fs-border);
    border-radius: var(--fs-radius-lg);
    box-shadow: var(--fs-shadow-card);
}

.fs-card,
.fs-panel,
.fs-process-card {
    padding: var(--fs-space-card);
}

.fs-card h2,
.fs-card h3,
.fs-panel h2,
.fs-panel h3,
.fs-process-card h3,
.fs-cta-panel h2,
.fs-cta-panel h3 {
    margin: 0 0 14px;
    color: var(--fs-text);
    line-height: 1.2;
}

.fs-card p,
.fs-card li,
.fs-panel p,
.fs-panel li,
.fs-process-card p,
.fs-cta-panel p {
    color: var(--fs-text-muted);
    line-height: 1.75;
}

.fs-card-warning {
    background: var(--fs-bg-warm);
    border-color: #efd7ba;
}

.fs-clean-list {
    margin: 0;
    padding-left: 1.1rem;
}

.fs-clean-list li + li {
    margin-top: 10px;
}

.fs-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(37, 150, 190, 0.10);
    color: var(--fs-secondary-hover);
    font-weight: 800;
}

/* =========================================================
   Showcase / Produktbereich
   ========================================================= */

.fs-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    align-items: center;
    gap: 34px;
}

.fs-feature-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.fs-feature-row {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--fs-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--fs-shadow-card);
}

.fs-feature-row__num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(37, 150, 190, 0.12);
    color: var(--fs-secondary-hover);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.fs-feature-row__copy {
    min-width: 0;
}

.fs-feature-row__copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--fs-text);
}

.fs-feature-row__copy span {
    display: block;
    color: var(--fs-text-muted);
    line-height: 1.65;
}

.fs-screenshot-frame {
    overflow: hidden;
    padding: 16px;
    border: 1px solid var(--fs-border);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--fs-shadow-soft);
}

.fs-screenshot-frame__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fs-screenshot-label {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 150, 190, 0.10);
    color: var(--fs-secondary-hover);
    font-size: 0.84rem;
    font-weight: 700;
}

.fs-window-dots {
    display: inline-flex;
    gap: 6px;
}

.fs-window-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d4e0e8;
}

.fs-screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    margin: 0 auto;
    border: 1px solid #d8e3ec;
    border-radius: 18px;
    background: #ffffff;
    object-fit: contain;
    cursor: zoom-in;
}

.fs-media-card > img {
    border: 1px solid #d8e3ec;
}

.fs-screenshot-placeholder {
    display: grid;
    place-items: center;
    min-height: 380px;
    padding: 28px;
    border: 1px solid #d8e3ec;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(37, 150, 190, 0.05), rgba(146, 33, 95, 0.04)),
        #fbfdff;
    text-align: center;
}

/* =========================================================
   Lightbox (wie futurosalud_de)
   ========================================================= */

.fs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(10, 20, 30, 0.85);
}

.fs-lightbox.active {
    display: flex;
}

.fs-lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.fs-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: 0;
    line-height: 1;
    padding: 8px;
}

/* =========================================================
   Prozess + CTA
   ========================================================= */

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

.fs-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(146, 33, 95, 0.10);
    color: var(--fs-primary);
    font-weight: 800;
}

.fs-cta-panel {
    padding: 36px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(37, 150, 190, 0.07), rgba(146, 33, 95, 0.05)),
        #ffffff;
}

.fs-cta-panel p {
    max-width: 760px;
    margin: 0 auto 22px;
}

.fs-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 18px;
}

.fs-link-list a {
    font-weight: 700;
}




/* =========================================================
   Footer
   ========================================================= */

.footer {
    padding: 72px 0 32px;
    background: #2596be;
    color: #ffffff;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

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

.footer-kicker {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-heading {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    line-height: 1.15;
    font-weight: 800;
}

.footer-description {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.75;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.footer-button-primary {
    background: #92215f;
    border: 1px solid #92215f;
    color: #ffffff;
}

.footer-button-primary:hover {
    background: #7a1b50;
    border-color: #7a1b50;
    color: #ffffff;
}

.footer-button-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.footer-button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.footer-partner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-partner-link {
    display: inline-flex;
    align-items: center;
}

.logo-footer {
    max-width: 180px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

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

.footer-links li + li {
    margin-top: 10px;
}

/* Alle Links im Footer durchgängig weiß (inkl. :visited – globales a {} würde sonst Primärfarbe setzen) */
.footer a:link,
.footer a:visited,
.footer a:hover,
.footer a:focus,
.footer a:focus-visible,
.footer a:active {
    color: #ffffff !important;
    text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer a:has(> img):hover,
.footer a:has(> img):focus-visible {
    text-decoration: none;
    opacity: 0.94;
}

.footer-links a {
    transition: opacity 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    opacity: 0.92;
}

.footer-divider {
    margin: 28px 0 20px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom {
    text-align: center;
    color: #ffffff;
    font-size: 0.95rem;
}

/* Copyright-Zeile o. ä. ohne eigene Klasse */
.footer > .container > p {
    color: #ffffff;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

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

.top-nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 34, 48, 0.08);
}

.top-nav__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-header {
    display: block;
    width: auto;
    max-height: 52px;
}

.logo-text {
    color: var(--fs-text);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.top-nav__desktop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 6px;
    min-width: 0;
}

.top-nav__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
}

.top-nav .nav-link,
.top-nav .nav-link--subtle,
.nav-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--fs-text);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
}

.top-nav .nav-link:hover,
.top-nav .nav-link--subtle:hover,
.nav-dropdown__toggle:hover {
    background: rgba(37, 150, 190, 0.08);
    color: var(--fs-secondary-hover);
    text-decoration: none;
}

.nav-link--subtle {
    color: var(--fs-text-muted);
}

/* Primär-CTA in der Leiste (z. B. „Kostenlose Erstberatung“) */
.top-nav .nav-link--primary-consult {
    background: var(--fs-primary);
    color: #ffffff !important;
    font-weight: 700;
    padding: 0 20px;
    min-height: 46px;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(180, 20, 80, 0.2);
}

.top-nav .nav-link--primary-consult:hover {
    background: var(--fs-primary-hover);
    color: #ffffff !important;
    text-decoration: none;
}

/* Warenkorb nur als Icon */
.top-nav .nav-link--icon-only {
    padding: 0 12px;
    min-width: 44px;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--fs-text);
}

.top-nav .nav-link--icon-only:hover {
    background: rgba(37, 150, 190, 0.08);
    color: var(--fs-secondary-hover);
}

.top-nav .nav-link--icon-only i {
    display: block;
}

.nav-cta {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-dropdown__toggle i {
    font-size: 0.85rem;
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(15, 34, 48, 0.10);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 34, 48, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown__menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--fs-text);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
}

.nav-dropdown__menu a:hover {
    background: rgba(37, 150, 190, 0.08);
    color: var(--fs-secondary-hover);
    text-decoration: none;
}

.nav-dropdown__divider {
    margin: 8px 6px;
    border: 0;
    border-top: 1px solid rgba(15, 34, 48, 0.1);
    opacity: 1;
}

.nav-dropdown__menu--wide {
    min-width: min(320px, 92vw);
}

/* Mehrstufige Untermenüs (Navigation aus DB / rekursive Kinder) */
.nav-dropdown--nested {
    position: relative;
}

.nav-dropdown__menu .nav-dropdown__toggle--sub {
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
}

.nav-dropdown__menu .nav-dropdown__menu--right {
    top: 0;
    left: calc(100% + 8px);
    margin-top: 0;
    min-width: 220px;
}

.nav-dropdown--nested:hover > .nav-dropdown__menu--right,
.nav-dropdown--nested:focus-within > .nav-dropdown__menu--right {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-toggler {
    border: 1px solid rgba(15, 34, 48, 0.10);
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 12px;
    box-shadow: none;
}

.custom-toggler:focus {
    box-shadow: none;
}

.custom-toggler__icon {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--fs-text);
}

.custom-toggler__icon::before,
.custom-toggler__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--fs-text);
}

.custom-toggler__icon::before {
    top: -6px;
}

.custom-toggler__icon::after {
    top: 6px;
}

.nav-collapse-mobile {
    padding-bottom: 16px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--fs-text);
    font-weight: 600;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: rgba(37, 150, 190, 0.08);
    color: var(--fs-secondary-hover);
    text-decoration: none;
}

.mobile-nav-link--sub {
    padding-left: 28px;
    color: var(--fs-text-muted);
    font-weight: 500;
}

.mobile-nav-link--cta {
    margin-top: 8px;
    background: var(--fs-primary);
    color: #ffffff;
    text-align: center;
}

.mobile-nav-link--cta:hover {
    background: var(--fs-primary-hover);
    color: #ffffff;
}

.mobile-nav-link--consult-cta {
    margin-top: 8px;
    background: var(--fs-primary);
    color: #ffffff !important;
    text-align: center;
    border-radius: 999px;
    font-weight: 700;
}

.mobile-nav-link--consult-cta:hover {
    background: var(--fs-primary-hover);
    color: #ffffff !important;
}

.mobile-nav-link--icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 12px;
}

.mobile-nav-link--icon-only i {
    line-height: 1;
}

/* =========================================================
   Responsive – zentralisiert
   ========================================================= */

@media (max-width: 1199.98px) {
    .top-nav__inner {
        grid-template-columns: auto 1fr auto;
    }

    .fs-hero-head h1 {
        font-size: clamp(1.68rem, 2.6vw, 2.62rem);
    }
}

@media (max-width: 991.98px) {
    .fs-section {
        padding: 60px 0;
    }

    .fs-hero {
        padding: 52px 0 48px;
    }

    .fs-hero-grid,
    .fs-grid-3,
    .fs-grid-2,
    .fs-showcase,
    .fs-process-grid {
        grid-template-columns: 1fr;
    }

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

    .fs-hero-shell,
    .fs-card,
    .fs-panel,
    .fs-process-card,
    .fs-cta-panel {
        padding: 24px;
    }

    .fs-image-placeholder,
    .fs-screenshot-placeholder {
        min-height: 300px;
    }

    .footer {
        padding: 56px 0 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-partner {
        justify-content: flex-start;
    }

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

    .top-nav__inner {
        min-height: 74px;
        gap: 16px;
    }

    .logo-header {
        max-height: 46px;
    }
}

@media (max-width: 767.98px) {
    .fs-section {
        padding: var(--fs-space-section-sm) 0;
    }

    .fs-hero {
        padding: 26px 0 38px;
    }

    .fs-hero-shell {
        padding: 18px;
        border-radius: 20px;
    }

    .fs-hero-grid {
        gap: 24px;
        align-items: start;
    }

    .fs-hero-head h1 {
        margin-bottom: 0;
        font-size: clamp(1.52rem, 6.2vw, 2.06rem);
        line-height: 1.1;
    }

    section.section.fs-legal-page {
        padding-top: 1.25rem;
        padding-bottom: 3.5rem;
    }

    section.hero.fs-legal-hero {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .fs-legal-card {
        padding-top: 1.5rem;
        padding-bottom: 1.75rem;
    }

    .fs-title {
        font-size: clamp(1.28rem, 5vw, 1.72rem);
        line-height: 1.16;
    }

    .fs-lead,
    .fs-hero-copy p,
    .fs-card p,
    .fs-card li,
    .fs-panel p,
    .fs-panel li,
    .fs-process-card p,
    .fs-feature-row__copy span,
    .footer-description,
    .footer-links a,
    .footer-bottom {
        font-size: 0.98rem;
    }

    .fs-section-head {
        margin-bottom: 26px;
    }

    .fs-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 20px;
    }

    .fs-button,
    .fs-button-outline {
        width: 100%;
    }

    .fs-hero-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .fs-benefit-chip {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .fs-card,
    .fs-panel,
    .fs-process-card,
    .fs-cta-panel {
        padding: var(--fs-space-card-sm);
        border-radius: 18px;
    }

    .fs-icon-badge {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
    }

    .fs-feature-row {
        gap: 12px;
        padding: 14px;
    }

    .fs-feature-row__num {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        font-size: 0.88rem;
    }

    .fs-media-card,
    .fs-screenshot-frame {
        padding: 12px;
        border-radius: 18px;
    }

    .fs-image-placeholder,
    .fs-screenshot-placeholder {
        min-height: 220px;
        padding: 20px;
        border-radius: 14px;
    }

    .fs-screenshot-frame img {
        max-height: 320px;
        border-radius: 14px;
    }

    .fs-process-number {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }

    .fs-link-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .fs-link-list a {
        width: 100%;
        text-align: center;
    }

    .footer-top {
        gap: 22px;
        margin-bottom: 28px;
    }

    .footer-heading {
        font-size: clamp(1.35rem, 5vw, 1.8rem);
    }

    .top-nav__inner {
        min-height: 68px;
        gap: 12px;
    }

    .logo-header {
        max-height: 40px;
    }

    .custom-toggler {
        padding: 8px 10px;
        border-radius: 10px;
    }

    .nav-collapse-mobile {
        padding-top: 8px;
        padding-bottom: 12px;
    }

    .mobile-nav-link {
        padding: 11px 12px;
        font-size: 0.98rem;
    }

    .fs-lightbox {
        padding: 16px;
    }

    .fs-lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .fs-hero-shell {
        padding: 14px;
        border-radius: 16px;
    }

    .fs-title {
        font-size: clamp(1.22rem, 5.8vw, 1.52rem);
    }

    .fs-hero-head h1 {
        font-size: clamp(1.38rem, 7.2vw, 1.78rem);
        line-height: 1.12;
    }

    .fs-clean-list {
        padding-left: 1rem;
    }

    .fs-card,
    .fs-panel,
    .fs-process-card,
    .fs-cta-panel,
    .fs-media-card,
    .fs-screenshot-frame {
        border-radius: 16px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-button {
        width: 100%;
    }
}

