/* --- GRUNDLAGEN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-text: #333;
    --color-bg: #f9fafb;
    --color-dark: #111827;
    --color-secondary: #4b5563;
    --color-primary: #479e98;
    --color-primary-dark: #367d78;
    --color-accent: #6b7280;
    --color-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --color-label: #374151;
    --color-border-light: #d1d5db;
    --color-divider: #f3f4f6;
    --shadow-light: rgba(0, 0, 0, 0.03);
    --shadow-strong: rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

p {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* --- NAVIGATION --- */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px var(--shadow-strong);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-dark);
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--color-primary);
}

/* --- MOBILE NAVIGATION --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* --- HERO SEKTION STARTSEITE --- */
.hero {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--color-white);
    max-width: 100%;
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

/* --- HERO: Rotierende CEO-Fragen --- */
.hero-rotating-question {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    min-height: 2.2rem;
    transition: opacity 0.4s ease;
    margin-top: 0.75rem;
}

.hero-rotating-question.fade {
    opacity: 0;
}

/* --- 3D COVER FLOW KARUSSELL --- */
.symptoms-section {
    overflow: hidden;
    background-color: var(--color-bg);
    padding: 4rem 0;
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
}
.symptoms-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.35;
    text-align: center;
}
/* Wrapper: buttons flank the stage */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.carousel-btn {
    flex-shrink: 0;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    color: var(--color-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    z-index: 30;
}

.carousel-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(71, 158, 152, 0.2);
}

.carousel-stage {
    position: relative;
    flex: 1;
    height: 300px;
    perspective: 2000px;
    transform-style: preserve-3d;
    overflow: hidden;
}

.carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 200px;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.carousel-card h4 {
    color: var(--color-dark);
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}
/* Conclusion text below carousel */
.symptoms-conclusion {
    text-align: center;
    margin-top: 2.25rem;
    padding: 0 5%;
}

.symptoms-conclusion p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin: 0;
}

.symptoms-conclusion strong {
    color: var(--color-dark);
}
@media (min-width: 1024px) {
    .carousel-stage { height: 320px; }
    .carousel-card  { width: 340px; height: 220px; }
}

@media (max-width: 640px) {
    .carousel-btn  { display: none; }
    .carousel-stage { height: 240px; }
    .carousel-card  { width: 260px; height: 180px; }
}

/* --- BRÜCKEN-SEKTION --- */
.bridge-section {
    background-color: var(--color-white);
    padding: 5rem 5%;
    max-width: 100%;
    border-bottom: 1px solid var(--color-divider);
}

.bridge-inner {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 4rem;
    align-items: start;
}

.bridge-author { text-align: center; }

.bridge-author-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    margin-bottom: 1rem;
    background-color: var(--color-bg);
}

.bridge-author-photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.bridge-author-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-dark);
    display: block;
    margin-bottom: 0.2rem;
}

.bridge-author-role {
    font-size: 0.85rem;
    color: var(--color-secondary);
    line-height: 1.4;
}

.bridge-text h2 {
    font-size: 1.7rem;
    color: var(--color-dark);
    margin-bottom: 1.2rem;
    text-align: left;
    line-height: 1.3;
}

.bridge-text p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.bridge-text p strong { color: var(--color-dark); }

.bridge-cta-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.bridge-cta-link:hover { border-bottom-color: var(--color-primary); }

@media (max-width: 700px) {
    .bridge-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bridge-author {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        text-align: left;
    }

    .bridge-author-photo-placeholder { margin: 0; flex-shrink: 0; }
}

/* --- SOUVERÄNE FRAGEN SEKTION --- */
.sovereign-question-section {
    background-color: var(--color-white);
    max-width: 100%;
}

/* --- LAYOUT FÜR TEXTLASTIGE UNTERSEITEN --- */
.page-hero {
    background-color: var(--color-bg);
    padding: 3rem 5%;
    text-align: center;
    max-width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}

.page-hero .tagline { color: var(--color-primary); }

.page-hero h1 {
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.page-hero .lead-text {
    color: var(--color-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- LEGAL PAGES (Impressum, Datenschutz) --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
    line-height: 1.6;
}

.legal-content h1 {
    color: var(--color-dark);
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--color-primary);
    margin-top: 2rem;
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

/* --- BUTTONS --- */
.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover { border-color: var(--color-dark); }

/* --- DOMAIN GRID (Startseite) --- */
.domain-grid-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.domain-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.domain-card {
    background: var(--color-bg);
    padding: 1.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-light);
    border-top: 3px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.domain-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--color-primary);
    display: block;
}

.domain-card h3 {
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.45;
    font-weight: 700;
    margin: 0;
}

.from-to {
    background-color: var(--color-white);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-divider);
}

.ft-from, .ft-to {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ft-label-from {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #c4c9d4;
}

.ft-label-to {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-primary);
}

.ft-text-from {
    font-size: 0.83rem;
    color: #9ca3af;
    line-height: 1.45;
}

.ft-text-to {
    font-size: 0.83rem;
    color: var(--color-dark);
    line-height: 1.45;
    font-weight: 500;
}

.ft-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--color-primary);
    opacity: 0.55;
    flex-shrink: 0;
}

.ft-divider-line {
    width: 1px;
    height: 14px;
    background: currentColor;
    opacity: 0.4;
}

.ft-divider-arrow {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 300;
}

/* --- OPEN SOURCE BADGE --- */
.opensource-strip {
    max-width: 1100px;
    margin: 4.5rem auto 0 auto;
    padding: 0 5%;
}

.opensource-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f0fdfb;
    border: 1px solid rgba(71, 158, 152, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.opensource-badge strong { color: var(--color-primary); }

.opensource-badge a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.opensource-badge a:hover { text-decoration: underline; }

/* --- FAQ AKKORDEON --- */
details {
    background: var(--color-white);
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px var(--shadow-light);
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

details[open] {
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(71, 158, 152, 0.1);
}

summary {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: normal;
}

details[open] summary::after { content: '−'; }

.faq-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-divider);
    color: var(--color-secondary);
}

/* --- GLOBALE PAGE COMPONENTS --- */
.page-content {
    max-width: 800px;
    margin: 3rem auto 5rem auto;
    padding: 4rem 5%;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-divider);
    padding-bottom: 0.5rem;
    text-align: left;
}

/* Layout-Container (Sidebar + Content) */
.layout-container {
    display: flex;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
    gap: 4rem;
    align-items: flex-start;
}

.sidebar-toc {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    border: 1px solid var(--color-border);
}

.sidebar-toc h4 {
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--color-divider);
    padding-bottom: 0.5rem;
}

.sidebar-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-toc li { margin-bottom: 0.5rem; }

.sidebar-toc a {
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 0.95rem;
    transition: color 0.2s;
    display: block;
}

.sidebar-toc a:hover {
    color: var(--color-primary);
    font-weight: 600;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.text-section { margin-bottom: 2.5rem; }

.text-section h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-divider);
}

.text-section h3 {
    font-size: 1.4rem;
    color: var(--color-dark);
    margin: 2rem 0 1rem 0;
}

.text-section p,
.text-section ul {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-label);
    margin-bottom: 1.5rem;
}

.text-section ul { margin-left: 1.5rem; }
.text-section li { margin-bottom: 0.5rem; }

/* Typografie */
.pull-quote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    color: var(--color-primary);
    margin: 2.5rem 0;
    padding: 0 2rem;
    border-left: 4px solid var(--color-primary);
    line-height: 1.4;
}

.info-box {
    background: var(--color-bg);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box h4 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-box p:last-child { margin-bottom: 0; }

.phase-box {
    background-color: var(--color-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.phase-box h4 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

/* --- MANIFESTO --- */
.manifesto-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 5%;
    line-height: 1.6;
}

.manifesto-header {
    margin-bottom: 100px;
    text-align: center;
}

.manifesto-header h1 {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--color-dark);
    line-height: 1.1;
    font-weight: 900;
}

.manifesto-header p {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.manifesto-callout {
    margin-top: 50px;
    font-style: italic;
    font-size: 1.75rem;
    color: var(--color-secondary);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    border-bottom: 1px solid var(--color-divider);
    padding-bottom: 4rem;
}

.statement { margin-bottom: 80px; }

.statement h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    text-align: left;
}

.statement h2 span {
    color: var(--color-primary);
    margin-right: 25px;
    font-family: Georgia, serif;
    font-style: italic;
    opacity: 0.4;
    font-size: 3.5rem;
    font-weight: 400;
}

.statement p {
    font-size: 1.25rem;
    color: var(--color-secondary);
    padding-left: 85px;
    max-width: 800px;
}

.manifesto-footer { margin-top: 5rem; }

/* CTA Box */
.cta-box {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--color-border);
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-dark);
    color: var(--color-muted);
    text-align: center;
    padding: 3rem 5%;
    margin-top: 0;
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--color-muted);
    text-decoration: none;
    margin: 0 10px;
}

/* --- BOOKING / KONTAKTFORMULAR --- */
#booking {
    max-width: 800px;
    margin: 4rem auto;
}

.contact-form {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(71, 158, 152, 0.1);
}

::placeholder {
    color: var(--color-muted);
    opacity: 0.7;
}

/* --- VISUALS & BILDER --- */
.wp-image-wrapper {
    text-align: center;
    margin: 3rem 0;
    padding: 0 1rem;
}

.wp-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-strong);
}

.wp-caption {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-top: 0.75rem;
    font-style: italic;
}

/* --- PURPOSE LIST --- */
.purpose-list {
    list-style: none !important;
    margin-left: 0 !important;
}

.purpose-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-divider);
}

.purpose-list li:last-child { border-bottom: none; }

.purpose-list a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.purpose-list a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* --- GENESIS SPEZIFISCH --- */
.pull-out-box {
    width: 320px;
    float: right;
    margin: 1rem 0 2rem 2rem;
    background: #f8fafc;
    border-left: 4px solid var(--color-primary);
    padding: 1.8rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pull-out-box h4 {
    margin-top: 0;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.pull-out-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--color-secondary);
}

.image-separator {
    width: 100%;
    height: 250px;
    margin: 4rem 0;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--color-divider);
}

.image-separator img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    opacity: 0.9;
}

.genesis-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    width: 180px;
    float: left;
    margin-left: -220px;
    display: none;
}

.timeline-nav ul {
    list-style: none;
    padding: 0;
    border-left: 1px solid var(--color-border-light);
}

.timeline-nav li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-nav li::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 8px;
    width: 7px;
    height: 7px;
    background: var(--color-border-light);
    border-radius: 50%;
    transition: background 0.3s;
}

.timeline-nav a {
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 0.85rem;
    display: block;
}

.timeline-nav .year {
    display: block;
    font-weight: bold;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.timeline-nav a:hover { color: var(--color-primary); }
.timeline-nav li:hover::before { background: var(--color-primary); }

.timeline-nav li.active .year { color: var(--color-primary) !important; opacity: 1; }
.timeline-nav li.active a { color: var(--color-primary) !important; font-weight: 800 !important; }
.timeline-nav li.active::before {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    transform: scale(1.4);
}

/* --- MOBILE ANPASSUNGEN --- */
@media (max-width: 900px) {
    .layout-container {
        flex-direction: column;
        gap: 2rem;
    }

    .sidebar-toc {
        position: static;
        flex: auto;
        width: 100%;
    }

    .hero h1,
    .manifesto-header h1 {
        font-size: 2.5rem;
    }

    .statement p { padding-left: 0; }

    .statement h2 span {
        display: block;
        margin-bottom: 10px;
    }

    .statement h2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-toggle { display: block; }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: 0 10px 15px var(--shadow-light);
        padding: 1.5rem 5%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 99;
        border-top: 1px solid var(--color-border);
    }

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

    nav a {
        margin-left: 0;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--color-divider);
        width: 100%;
    }

    nav a.btn {
        border-bottom: none;
        text-align: center;
        margin-top: 1rem;
    }

    .pull-out-box {
        width: 100%;
        float: none;
        margin: 2rem 0;
    }

    .contact-form { padding: 1.5rem; }

    .domain-row { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
    .genesis-sidebar { display: block; }
}

@media (max-width: 480px) {
    .from-to { grid-template-columns: 1fr; }
    .ft-divider { flex-direction: row; justify-content: flex-start; }
    .ft-divider-line { display: none; }
    .ft-divider-arrow { font-size: 1rem; transform: rotate(90deg); }
}
.sovereign-question-section {
    background-color: var(--color-bg);
    padding: 5rem 5%;
    max-width: 100%;
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
    text-align: center;
}

.sq-intro {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.sq-questions {
    max-width: 680px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sq-question {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.55;
    margin: 0;
    padding: 1.75rem 2rem;
    border-left: 3px solid var(--color-primary);
    text-align: left;
    background: var(--color-bg);
    border-radius: 0 8px 8px 0;
}

.sq-outro {
    font-size: 1.05rem;
    color: var(--color-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.sq-question {
    position: relative;
    padding-left: 3.5rem; /* mehr Platz für das Label */
}

.sq-label {
    position: absolute;
    left: 1rem;
    top: 1.75rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* --- JOURNEY MAP (weg.html) --- */
.journey-intro { text-align: center; margin-bottom: 1.5rem; }
.journey-intro p { font-size: 1rem; color: var(--color-secondary); }

/* Zeitachse */
.journey-time-axis {
    display: flex;
    margin-bottom: 2rem;
    padding-left: calc(5% + 0px);
    padding-right: 5%;
}
.journey-time-cell {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    color: var(--color-muted);
    letter-spacing: 0.5px;
}
.journey-time-cell strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.1rem;
}

/* Track */
.journey-track {
    position: relative;
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
}
.journey-track::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(to right,
        #5b8fa8 0%, #5b8fa8 10%, #a8c9d8 10%, #a8c9d8 20%,
        #7ab8b5 20%, #7ab8b5 30%, #b8d9d7 30%, #b8d9d7 40%,
        #e8a44a 40%, #e8a44a 50%, #f0c98a 50%, #f0c98a 60%,
        #e8734a 60%, #e8734a 70%, #f0a88a 70%, #f0a88a 80%,
        #8b6bbf 80%, #8b6bbf 90%, #b8a8d9 90%, #b8a8d9 100%
    );
    z-index: 0;
}

/* Phase Kacheln */
.phase-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    padding: 0 0.25rem;
}
.phase-blocks { display: flex; width: 80%; gap: 3px; margin-bottom: 0.6rem; }
.phase-block  { flex: 1; height: 20px; border-radius: 3px; }

.phase-node {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    margin-bottom: 0.6rem;
}
.phase-col:hover .phase-node,
.phase-col.active .phase-node {
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.phase-col.active .phase-node {
    outline: 3px solid white;
    box-shadow: 0 0 0 5px rgba(71,158,152,0.3);
}
.phase-label    { font-size: 0.82rem; font-weight: 600; color: var(--color-text); text-align: center; }
.phase-sublabel { font-size: 0.72rem; color: var(--color-muted); text-align: center; }
.phase-col.active .phase-label { color: var(--color-primary); }

/* Phase-Farben */
.phase-col[data-phase="trust"]    .phase-node { background: #5b8fa8; }
.phase-col[data-phase="equity"]   .phase-node { background: #7ab8b5; }
.phase-col[data-phase="market"]   .phase-node { background: #e8a44a; }
.phase-col[data-phase="focus"]    .phase-node { background: #e8734a; }
.phase-col[data-phase="identity"] .phase-node { background: #8b6bbf; }

.phase-col[data-phase="trust"]    .phase-block.hot  { background: #5b8fa8; }
.phase-col[data-phase="trust"]    .phase-block.cool { background: #a8c9d8; }
.phase-col[data-phase="equity"]   .phase-block.hot  { background: #7ab8b5; }
.phase-col[data-phase="equity"]   .phase-block.cool { background: #b8d9d7; }
.phase-col[data-phase="market"]   .phase-block.hot  { background: #e8a44a; }
.phase-col[data-phase="market"]   .phase-block.cool { background: #f0c98a; }
.phase-col[data-phase="focus"]    .phase-block.hot  { background: #e8734a; }
.phase-col[data-phase="focus"]    .phase-block.cool { background: #f0a88a; }
.phase-col[data-phase="identity"] .phase-block.hot  { background: #8b6bbf; }
.phase-col[data-phase="identity"] .phase-block.cool { background: #b8a8d9; }

/* Desktop Detail Panel */
.desktop-journey { display: block; }
.mobile-journey  { display: none;  }

.desktop-detail {
    background: white; border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 1.75rem 2rem;
    display: none;
    animation: journeyFadeIn 0.22s ease;
}
.desktop-detail.visible { display: block; }

@keyframes journeyFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.detail-header {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1.25rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-divider);
}
.detail-phase-dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
.detail-header h3 { font-size: 1.1rem; margin: 0; }
.detail-subtitle  { font-size: 0.82rem; color: var(--color-muted); margin: 0; }

.detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.25rem; margin-bottom: 1.25rem;
}
.detail-block h4 {
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--color-muted); margin-bottom: 0.4rem;
}
.detail-block p { font-size: 0.9rem; color: var(--color-secondary); line-height: 1.6; margin: 0; }

.detail-close {
    display: block; text-align: right;
    font-size: 0.8rem; color: var(--color-muted);
    cursor: pointer; margin-top: 1rem;
    border: none; background: none; padding: 0;
}
.detail-close:hover { color: var(--color-primary); }

/* Rhythmus-Zeile */
.rhythm-row {
    display: flex; gap: 0.75rem;
    margin-top: 1.25rem; padding-top: 1.25rem;
    border-top: 1px solid var(--color-divider);
}
.rhythm-block { flex: 1; border-radius: 8px; padding: 0.75rem 1rem; }
.rhythm-block h5 {
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.35rem;
}
.rhythm-block p { font-size: 0.83rem; line-height: 1.5; margin: 0; }

/* Rhythmus-Farben pro Phase – Desktop */
#d-detail-trust .rhythm-block.hot  { background: #dbeaf0; border: 1px solid #5b8fa8; }
#d-detail-trust .rhythm-block.hot  h5 { color: #3a6d82; }
#d-detail-trust .rhythm-block.cool { background: #eef5f8; border: 1px solid #a8c9d8; }
#d-detail-trust .rhythm-block.cool h5 { color: #6a9db5; }

#d-detail-equity .rhythm-block.hot  { background: #e0f2f1; border: 1px solid #7ab8b5; }
#d-detail-equity .rhythm-block.hot  h5 { color: #4a9490; }
#d-detail-equity .rhythm-block.cool { background: #eef8f7; border: 1px solid #b8d9d7; }
#d-detail-equity .rhythm-block.cool h5 { color: #7ab8b5; }

#d-detail-market .rhythm-block.hot  { background: #fef3e2; border: 1px solid #e8a44a; }
#d-detail-market .rhythm-block.hot  h5 { color: #b87820; }
#d-detail-market .rhythm-block.cool { background: #fdf8ee; border: 1px solid #f0c98a; }
#d-detail-market .rhythm-block.cool h5 { color: #c8942a; }

#d-detail-focus .rhythm-block.hot  { background: #fff0ea; border: 1px solid #e8734a; }
#d-detail-focus .rhythm-block.hot  h5 { color: #c04820; }
#d-detail-focus .rhythm-block.cool { background: #fdf5f1; border: 1px solid #f0a88a; }
#d-detail-focus .rhythm-block.cool h5 { color: #d0684a; }

#d-detail-identity .rhythm-block.hot  { background: #f3eff8; border: 1px solid #8b6bbf; }
#d-detail-identity .rhythm-block.hot  h5 { color: #6b4b9f; }
#d-detail-identity .rhythm-block.cool { background: #f7f4fb; border: 1px solid #b8a8d9; }
#d-detail-identity .rhythm-block.cool h5 { color: #8b6bbf; }

/* Rhythmus-Farben pro Phase – Mobile */
.mobile-phase[data-phase="trust"] .rhythm-block.hot  { background: #dbeaf0; border: 1px solid #5b8fa8; }
.mobile-phase[data-phase="trust"] .rhythm-block.hot  h5 { color: #3a6d82; }
.mobile-phase[data-phase="trust"] .rhythm-block.cool { background: #eef5f8; border: 1px solid #a8c9d8; }
.mobile-phase[data-phase="trust"] .rhythm-block.cool h5 { color: #6a9db5; }

.mobile-phase[data-phase="equity"] .rhythm-block.hot  { background: #e0f2f1; border: 1px solid #7ab8b5; }
.mobile-phase[data-phase="equity"] .rhythm-block.hot  h5 { color: #4a9490; }
.mobile-phase[data-phase="equity"] .rhythm-block.cool { background: #eef8f7; border: 1px solid #b8d9d7; }
.mobile-phase[data-phase="equity"] .rhythm-block.cool h5 { color: #7ab8b5; }

.mobile-phase[data-phase="market"] .rhythm-block.hot  { background: #fef3e2; border: 1px solid #e8a44a; }
.mobile-phase[data-phase="market"] .rhythm-block.hot  h5 { color: #b87820; }
.mobile-phase[data-phase="market"] .rhythm-block.cool { background: #fdf8ee; border: 1px solid #f0c98a; }
.mobile-phase[data-phase="market"] .rhythm-block.cool h5 { color: #c8942a; }

.mobile-phase[data-phase="focus"] .rhythm-block.hot  { background: #fff0ea; border: 1px solid #e8734a; }
.mobile-phase[data-phase="focus"] .rhythm-block.hot  h5 { color: #c04820; }
.mobile-phase[data-phase="focus"] .rhythm-block.cool { background: #fdf5f1; border: 1px solid #f0a88a; }
.mobile-phase[data-phase="focus"] .rhythm-block.cool h5 { color: #d0684a; }

.mobile-phase[data-phase="identity"] .rhythm-block.hot  { background: #f3eff8; border: 1px solid #8b6bbf; }
.mobile-phase[data-phase="identity"] .rhythm-block.hot  h5 { color: #6b4b9f; }
.mobile-phase[data-phase="identity"] .rhythm-block.cool { background: #f7f4fb; border: 1px solid #b8a8d9; }
.mobile-phase[data-phase="identity"] .rhythm-block.cool h5 { color: #8b6bbf; }

/* Mobile Timeline */
@media (max-width: 640px) {
    .desktop-journey { display: none; }
    .mobile-journey  { display: block; }
    .detail-grid     { grid-template-columns: 1fr; }
    .rhythm-row      { flex-direction: column; }
}

.mobile-timeline { position: relative; padding-left: 2.5rem; }
.mobile-timeline::before {
    content: ''; position: absolute;
    left: 19px; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(to bottom,
        #5b8fa8 0%, #a8c9d8 20%, #7ab8b5 20%, #b8d9d7 40%,
        #e8a44a 40%, #f0c98a 60%, #e8734a 60%, #f0a88a 80%,
        #8b6bbf 80%, #b8a8d9 100%
    );
}
.mobile-phase { position: relative; margin-bottom: 0.75rem; }

.mobile-node {
    position: absolute; left: -2.5rem; top: 0.9rem;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
    color: white; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s; z-index: 1;
}
.mobile-phase.active .mobile-node {
    transform: scale(1.1);
    outline: 2px solid white;
    box-shadow: 0 0 0 4px rgba(71,158,152,0.3);
}
.mobile-phase-header {
    background: white; border: 1px solid var(--color-border);
    border-radius: 10px; padding: 0.9rem 1rem 0.9rem 1.1rem;
    cursor: pointer; display: flex; align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s; user-select: none;
}
.mobile-phase.active .mobile-phase-header {
    border-color: var(--color-primary);
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.mobile-phase-header-left { display: flex; flex-direction: column; gap: 0.1rem; }
.mobile-phase-title       { font-size: 0.95rem; font-weight: 600; color: var(--color-text); }
.mobile-phase.active .mobile-phase-title { color: var(--color-primary); }
.mobile-phase-sub         { font-size: 0.78rem; color: var(--color-muted); }
.mobile-phase-bars        { display: flex; gap: 3px; align-items: center; }
.mobile-bar               { width: 18px; height: 10px; border-radius: 2px; }
.mobile-chevron           { font-size: 0.75rem; color: var(--color-muted); margin-left: 0.5rem; transition: transform 0.2s; }
.mobile-phase.active .mobile-chevron { transform: rotate(180deg); color: var(--color-primary); }

.mobile-phase-body {
    display: none; background: white;
    border: 1px solid var(--color-primary); border-top: none;
    border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
    padding: 1.25rem 1rem 1rem 1.1rem;
    animation: journeyFadeIn 0.2s ease;
}
.mobile-phase.active .mobile-phase-body { display: block; }

.mobile-phase[data-phase="trust"]    .mobile-node { background: #5b8fa8; }
.mobile-phase[data-phase="equity"]   .mobile-node { background: #7ab8b5; }
.mobile-phase[data-phase="market"]   .mobile-node { background: #e8a44a; }
.mobile-phase[data-phase="focus"]    .mobile-node { background: #e8734a; }
.mobile-phase[data-phase="identity"] .mobile-node { background: #8b6bbf; }

.mobile-phase[data-phase="trust"]    .mobile-bar.hot  { background: #5b8fa8; }
.mobile-phase[data-phase="trust"]    .mobile-bar.cool { background: #a8c9d8; }
.mobile-phase[data-phase="equity"]   .mobile-bar.hot  { background: #7ab8b5; }
.mobile-phase[data-phase="equity"]   .mobile-bar.cool { background: #b8d9d7; }
.mobile-phase[data-phase="market"]   .mobile-bar.hot  { background: #e8a44a; }
.mobile-phase[data-phase="market"]   .mobile-bar.cool { background: #f0c98a; }
.mobile-phase[data-phase="focus"]    .mobile-bar.hot  { background: #e8734a; }
.mobile-phase[data-phase="focus"]    .mobile-bar.cool { background: #f0a88a; }
.mobile-phase[data-phase="identity"] .mobile-bar.hot  { background: #8b6bbf; }
.mobile-phase[data-phase="identity"] .mobile-bar.cool { background: #b8a8d9; }
/* ── GANTT ── in style.css übertragen unter JOURNEY MAP */
.gantt-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gantt-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 28px;
}
.gantt-label {
    width: 58px;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-secondary);
    text-align: right;
}
.gantt-bar-area {
    flex: 1;
    position: relative;
    height: 20px;
    background: var(--color-divider);
    border-radius: 4px;
    overflow: hidden;
}
.gantt-bar {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 3px;
    background: var(--color);
}

/* Position via CSS custom properties + JS */
.gantt-axis {
    display: flex;
    justify-content: space-between;
    padding-left: calc(58px + 0.75rem);
    font-size: 0.68rem;
    color: var(--color-muted);
    margin-top: 2px;
}
/* --- LÖSUNGSKARTEN AUF DEM TISCH --- */
.solution-cards-section {
    padding: 6rem 5%;
    background-color: var(--color-white);
    overflow: hidden; 
}

.cards-table {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    padding: 2rem;
}

/* Basis-Styling für alle Karten */
.table-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 4px; /* Sehr leichter Radius, passend zu echtem Papier */
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Sichtbare Karten */
.visible-card {
    position: relative;
    z-index: 10;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Der "Weggeworfen"-Effekt (Subtil!) */
.vc-1 { transform: rotate(-1.5deg) translateY(10px); }
.vc-2 { transform: rotate(1.5deg) translateY(-5px); }
.vc-3 { transform: rotate(2deg) translateX(-10px); }
.vc-4 { transform: rotate(-2deg) translateX(10px); }

/* Interaktion: Beim Hovern Karte "in die Hand nehmen" */
.visible-card:hover {
    transform: rotate(0deg) translateY(-5px) scale(1.02);
    z-index: 20;
    box-shadow: 5px 12px 25px rgba(0, 0, 0, 0.08);
}

/* Symptom-Label oben */
.card-symptom {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-divider);
    min-height: 3.5em; /* Sorgt dafür, dass zweizeilige Symptome das Layout nicht zerreißen */
}

/* Flexbox für Bild und Frage */
.card-body {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
}

.card-sketch {
    flex: 0 0 40%;
}

.card-sketch img {
    width: 100%;
    height: auto;
    /* Optional: Falls die Bilder keine echten s/w Skizzen sind, erzwingt dies den Look */
    filter: grayscale(100%) contrast(1.2); 
    mix-blend-mode: multiply;
}

.card-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.45;
}

/* --- Angedeutete Karten im Hintergrund --- */
.hidden-card {
    position: absolute;
    width: 45%;
    height: 300px;
    z-index: 1;
    opacity: 0.5; /* Nur halb sichtbar */
}

/* Positionierung der Deko-Karten auf dem virtuellen Tisch */
.hc-1 { top: -10px; left: 5%; transform: rotate(-5deg); }
.hc-2 { bottom: -20px; right: 10%; transform: rotate(6deg); }
.hc-3 { top: 45%; left: -2%; transform: rotate(-8deg); }

/* --- Mobile Anpassung --- */
@media (max-width: 850px) {
    .cards-table { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
        padding: 1rem;
    }
    
    .hidden-card { 
        display: none; /* Deko auf dem Handy ausblenden, um Rauschen zu reduzieren */
    }
    
    .visible-card {
        transform: none !important; /* Kein Rotations-Chaos auf kleinen Screens */
    }
    
    .card-body {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-sketch {
        flex: 0 0 auto;
        width: 60%;
        margin-bottom: 1rem;
    }
}