/* --- 1. VARIABLEN & BASIS --- */
:root {
--kf-primary: #ff6600;
--kf-brand-dark: #444444;
--kf-light: #ffffff;
--kf-font-brand: 'Signika Negative', sans-serif;
--header-height: 120px;
}

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

body {
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
color: #222222;
line-height: 1.6;
width: 100%;
max-width: 100vw;
overflow-x: hidden;
position: relative;
touch-action: pan-y;
}

.container {
max-width: 1240px;
margin: 0 auto;
padding: 0 20px;
position: relative;
box-sizing: border-box;
}

h1, p, a {
word-wrap: break-word;
overflow-wrap: break-word;
}

/* --- 2. HEADER & BRANDING --- */
.header-wrapper {
background: var(--kf-light);
border-bottom: 6px solid var(--kf-primary);

/* FIX: Sticky statt Fixed */
position: -webkit-sticky; /* Für Safari */
position: sticky;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 4px 12px rgba(255,102,0,0.08); 
}

.header-wrapper.is-scrolled .logo-badge {
transform: translateY(-100%) scale(0.5);
opacity: 0;
pointer-events: none;
}

.header-content {
display: flex;
justify-content: space-between;
align-items: center;
height: var(--header-height);
/* WICHTIG: Damit sich das Absolute Element hieran orientiert */
position: relative;
width: 100%;
}

.brand-lettering {
font-family: var(--kf-font-brand);
font-size: 4.2rem; /* Massive Größe wie im Entwurf */
font-weight: 700;
font-style: italic;
text-decoration: none;
display: flex;
align-items: center;
letter-spacing: -1.5px;
line-height: 1;
flex-shrink: 0;
}

.brand-kitchen { color: var(--kf-brand-dark); }
.brand-fox { color: var(--kf-primary); }

/* Navigation im Header */
.main-nav ul {
display: flex;
list-style: none;
gap: 30px;
margin-right: 250px; /* Platz für den Fuchs-Badge */
}

.main-nav a {
text-decoration: none;
color: var(--kf-brand-dark);
font-family: var(--kf-font-brand);
font-size: 1.2rem;
font-weight: 700;
text-transform: uppercase;
transition: 0.3s;
}

.main-nav a:hover { 
color: var(--kf-primary); 
}

/* --- 3. LOGO BADGE (DER FUCHS) --- */
.logo-badge {
position: absolute;
right: -30px;
top: -40px;
width: 260px; 
height: 260px;
background: #fff;
border-radius: 50%;
box-shadow: 0 8px 25px rgba(255,102,0,0.15);
display: flex;
align-items: center;
justify-content: center;
z-index: 1100;
border: 1px solid rgba(0,0,0,0.05);
backface-visibility: hidden;
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.logo-badge img {
width: 70%;
height: auto;
transform: translateY(10px); 

}

/* --- 4. HERO SEKTION --- */


.hero-section h1 {
font-family: var(--kf-font-brand);
font-size: 3rem;
line-height: 1.1;
margin-bottom: 0px;
text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-section p {
font-size: 1.2rem;
max-width: 650px;
margin-bottom: 10px;
text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* --- 5. APP-BUTTONS (QUICK GRID) --- */
.app-grid-quick {
display: flex;
justify-content: flex-start;
gap: 15px;
flex-wrap: wrap;
}

.quick-btn {
display: inline-block;
background: var(--kf-primary);
border: 2px solid var(--kf-primary);
color: var(--kf-light) !important;
padding: 12px 25px;
border-radius: 8px; /* App-Look (leicht abgerundet) */
text-decoration: none !important;
font-weight: 700;
text-transform: uppercase;
transition: 0.3s ease;
}

.quick-btn:hover {
background: transparent;
transform: translateY(-3px);
}

/* --- 6. FOOTER --- */

.footer-wrapper {

padding: 40px 0;

text-align: center;

background: #fff;

}



.footer-links a {

color: var(--kf-primary);

font-weight: bold;

text-decoration: none;

margin: 0 10px;

}



/* --- 4. NAVIGATION & MOBILE OVERLAY --- */

.hamburger {
display: none;
cursor: pointer;
background: transparent;
border: none;
padding: 0;
z-index: 6000;
-webkit-tap-highlight-color: transparent;
}

/* --- 10. CHARAKTER KARTEN (ORIGINAL DESIGN) --- */
.fuchs-card {
    display: flex;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 20px auto;
    overflow: hidden;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.fuchs-left {
    flex: 0 0 40%;
    background: #fdfdfd;
    display: flex;
    align-items: flex-end; /* Fuchs steht auf dem Boden */
    justify-content: center;
    padding-top: 20px;
}

.fuchs-left img {
    max-width: 110%; /* Leicht über den Rand für Dynamik */
    height: auto;
    display: block;
}

.fuchs-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.fuchs-info h2 {
    margin: 0 0 5px 0;
    font-size: 28px;
    color: #333;
    font-family: var(--kf-font-brand); /* Nimmt deine Signika Schriftart */
}

.fuchs-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.fuchs-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* Chat-Fenster Logik */
.fuchs-chat-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 15px;
    border-left: 6px solid; /* Farbe kommt dynamisch aus dem REDAXO Modul! */
    position: relative;
    display: flex; /* Bild und Text nebeneinander */
    align-items: center;
    gap: 15px;
}

.fuchs-chat-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 2px solid #eee;
}

.fuchs-chat-main {
    flex: 1;
}

.fuchs-chat-label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.7;
}

.fuchs-chat-content {
    font-size: 15px;
    font-style: italic;
    color: #444;
}

/* Responsive: Auf dem Handy untereinander */
@media (max-width: 768px) {
    .fuchs-card { 
        flex-direction: column; 
    }
    .fuchs-left { 
        padding-top: 40px; 
    }
}

/* ==========================================================================
   11. FAQ BEREICH (KARTEN AKKORDEON)
   ========================================================================== */

/* Container für Abstände auf der Seite */
.kitchenfox-chat-container {
    max-width: 90%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Abstand zwischen den FAQ-Boxen */
    padding: 0 20px;
}

/* --- DIE FAQ KARTE --- */
.faq-card-wrapper {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08); /* Der Look der Fuchs-Karte */
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

/* Hover-Effekt für die ganze Karte */
.faq-card-wrapper:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Aktiv-Zustand (wenn offen) */
.faq-card-wrapper.is-active {
    border-color: var(--kf-primary); /* Oranger Rand wenn offen */
}

/* --- 1. HEADER (DIE FRAGE) --- */
.faq-card-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.faq-card-header h3 {
    margin: 0;
    font-family: var(--kf-font-brand);
    color: var(--kf-brand-dark);
    font-size: 1.4rem;
    line-height: 1.3;
}

/* Das kleine Dreieck-Icon */
.faq-toggle-icon {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.4s ease;
}

/* Dreht das Icon, wenn aktiv */
.faq-card-wrapper.is-active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--kf-primary);
}

/* --- 2. BODY (DIE ANTWORT) - ANIMATION --- */
.gusto-response-area {
    display: grid;
    grid-template-rows: 0fr; /* Startzustand: Zu */
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* WICHTIG: Die Box öffnet sich jetzt schon während des Tippens! */
.faq-chat-pair.is-typing .gusto-response-area,
.faq-chat-pair.is-active .gusto-response-area {
    grid-template-rows: 1fr;
}

/* Sichtbarkeits-Steuerung: Erst Tippen, dann Antwort */
.typing-wrapper, .answer-wrapper {
    min-height: 0;
    overflow: hidden;
    display: none; /* Standardmäßig ausgeblendet */
}

/* Wenn das JS "is-typing" setzt, zeige die Tipp-Punkte */
.faq-chat-pair.is-typing .typing-wrapper {
    display: block;
}

/* Wenn das JS nach 1 Sekunde auf "is-active" wechselt, zeige echten Text */
.faq-chat-pair.is-active .answer-wrapper {
    display: block;
}

/* --- DER INHALT DER ANTWORT --- */
.faq-card-body {
    padding: 0 30px 30px 30px; 
    border-top: 1px solid #f4f4f4; 
    background: #fcfcfc; 
    padding-top: 25px;
}

/* Fuchs Profil (Bild + Name) */
.faq-fox-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.faq-fox-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--kf-primary);
    object-fit: cover;
}

.faq-fox-name {
    font-weight: bold;
    color: var(--kf-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Der Antwort-Text */
.faq-answer-content {
    color: #444;
    line-height: 1.7;
    font-size: 1.1rem;
    padding-left: 65px; 
}

/* --- TIPP-ANIMATION (HÜPFENDE PUNKTE) --- */
.typing-indicator {
    display: flex;
    gap: 6px;
    align-items: center;
    padding-left: 65px; /* Einrückung wie beim echten Text */
    margin-top: -10px;
    margin-bottom: 10px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--kf-primary);
    border-radius: 50%;
    animation: kf-bounce 1.4s infinite ease-in-out both;
}

/* Versetzte Startzeiten für die 3 Punkte */
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
.typing-indicator span:nth-child(3) { animation-delay: 0s; }

@keyframes kf-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* --- MOBILE ANPASSUNG --- */
@media screen and (max-width: 768px) {
    .faq-card-header {
        padding: 20px;
    }
    .faq-card-header h3 {
        font-size: 1.2rem;
    }
    .faq-card-body {
        padding: 20px;
    }
    .faq-answer-content, .typing-indicator {
        padding-left: 0; 
        margin-top: 15px;
    }
}
/* Ende Block 11. */

/* ==========================================================================
   12. HILFE-SEKTION (BAUKASTEN-MODULE)
   ========================================================================== */

/* Begrenzt die Breite für optimale Lesbarkeit (wie in einem Blog oder Buch) */
.help-text-block, 
.help-image-block, 
.help-video-block {
    max-width: 800px;
    margin: 0 auto 35px auto; /* Zentriert und Abstand nach unten */
    padding: 0 20px;
}

/* Typografie für lange Texte */
.help-headline {
    font-family: var(--kf-font-brand);
    color: var(--kf-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

.help-content {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.8;
}

/* Bilder Styling */
.help-image-block {
    text-align: center;
}

.help-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.help-image-caption {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* Video Responsive Trick (Hält immer das 16:9 Format) */
.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Ende Block 12. */

/* ==========================================================================
   13. KITCHENFOX LIGHTBOX (VANILLA JS)
   ========================================================================== */

/* Zeigt dem User, dass das Bild klickbar ist */
.help-image.js-lightbox-trigger {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-image.js-lightbox-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,102,0,0.15); /* Leichter Oranger Schimmer */
}

/* Das abgedunkelte Overlay */
.kf-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999; /* Ganz nach oben, über alles andere */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px); /* Macht den Hintergrund schick unscharf */
}

.kf-lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Das vergrößerte Bild */
.kf-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kf-lightbox-overlay.is-active .kf-lightbox-img {
    transform: scale(1);
}

/* Der Schließen-Button */
.kf-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    font-family: var(--kf-font-brand);
    transition: color 0.2s;
    user-select: none;
}

.kf-lightbox-close:hover {
    color: var(--kf-primary);
}
/* Ende Block 13. */

/* ==========================================================================
   14. BILD & TEXT SPLIT BLOCK (HILFE SEKTION)
   ========================================================================== */
.help-split-block {
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px; /* Schön viel Abstand zwischen Bild und Text */
    align-items: flex-start; /* Oben bündig ausrichten */
}

/* --- DIE 3 LAYOUT-MODI --- */

/* 1. Bild links, Text rechts (Standard Flexbox Verhalten) */
.help-split-block.layout-img-left {
    flex-direction: row;
}

/* 2. Text links, Bild rechts (Dreht die Spalten einfach um!) */
.help-split-block.layout-img-right {
    flex-direction: row-reverse;
}

/* 3. Nur Bild, zentriert */
.help-split-block.layout-img-center {
    justify-content: center;
}

/* --- SPALTEN-BREITEN --- */
.help-split-block:not(.layout-img-center) .help-split-image-container {
    flex: 0 0 30%; /* Bild nimmt 30% des Platzes ein... */
    max-width: 300px; /* ...aber maximal 300px, damit App-Screenshots nicht riesig werden */
}

.help-split-block:not(.layout-img-center) .help-split-text-container {
    flex: 1; /* Der Text nimmt den gesamten restlichen Platz ein */
}

/* Bei 'Nur Bild' darf das Bild etwas größer sein */
.help-split-block.layout-img-center .help-split-image-container {
    width: 100%;
    max-width: 450px;
}

/* --- MOBILE ANPASSUNG --- */
@media screen and (max-width: 768px) {
    .help-split-block {
        flex-direction: column !important; /* Auf Handys IMMER untereinander stapeln */
        gap: 20px;
        align-items: center; /* Bild in der Mitte */
        text-align: center; /* Text auf dem Handy zentrieren (optional) */
    }
    
    .help-split-block:not(.layout-img-center) .help-split-image-container {
        max-width: 250px; /* App-Screenshots auf dem Handy leicht verkleinern */
    }
}
/* Ende Block 14. */

/* ==========================================================================
   15. KONTO LÖSCHEN FORMULAR
   ========================================================================== */
.deletion-card-wrapper {
    display: flex; 
    justify-content: center; 
    padding: 40px 20px;
}

.deletion-card {
    background: #fff; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    max-width: 500px; 
    width: 100%; 
    border: 2px solid #fae5d3;
}

.deletion-card h2 {
    color: var(--kf-primary); 
    margin-top: 0; 
    font-family: var(--kf-font-brand);
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

.deletion-intro-text {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

.deletion-label {
    display: block; 
    margin: 20px 0 8px; 
    color: var(--kf-brand-dark); 
    font-weight: bold; 
}

.deletion-input {
    width: 100%; 
    padding: 15px; 
    border: 2px solid #eee; 
    border-radius: 10px; 
    box-sizing: border-box; 
    font-size: 1rem; 
    font-family: var(--kf-font-body);
    transition: var(--transition);
}

.deletion-input:focus {
    border-color: var(--kf-primary); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}

.deletion-btn {
    background: var(--kf-primary); 
    color: white; 
    border: none; 
    padding: 16px; 
    width: 100%; 
    border-radius: 10px; 
    font-size: 1.1rem; 
    font-weight: bold;
    cursor: pointer; 
    margin-top: 30px; 
    transition: 0.3s ease; 
    text-transform: uppercase;
}

.deletion-btn:hover {
    background: #d35400; 
    transform: translateY(-2px);
}

/* System-Nachrichten (Erfolg / Fehler) */
.deletion-msg {
    padding: 15px 20px; 
    border-radius: 10px; 
    margin-bottom: 25px; 
    font-weight: bold; 
    text-align: center;
}

.deletion-msg.error {
    background: #fdf2f2; 
    color: #e74c3c; 
    border: 1px solid #fadbd8;
}

.deletion-msg.success {
    background: #f4fce8; 
    color: #27ae60; 
    border: 1px solid #d5f5e3;
}

/* Der Honeypot - für Menschen unsichtbar */
.deletion-hp {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}
/* Ende Block 15. */

/* ==========================================================================
   16. 404 FEHLERSEITE
   ========================================================================== */
.error-404-section {
    padding: 60px 0;
    text-align: center;
}

.error-404-content {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 2px solid #fae5d3; /* Zarter, oranger Rahmen */
}

.headline-404 {
    font-family: var(--kf-font-brand);
    font-size: 3.5rem;
    color: var(--kf-brand-dark);
    margin-bottom: 15px;
    line-height: 1.1;
}

.headline-404 span {
    color: var(--kf-primary); /* Macht die 404 in unserem schönen Orange */
}

.text-404 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.image-wrapper-404 {
    margin-bottom: 30px;
}

.fox-task-list {
        list-style: none;
        padding: 0;
        text-align: left;
        display: inline-block;
        margin-bottom: 30px;
    }
    .fox-task-list li {
        padding: 8px 0;
        padding-left: 30px;
        position: relative;
    }
    .fox-task-list li::before {
        content: '🦊';
        position: absolute;
        left: 0;
    }
    .wait-text {
        font-style: italic;
        margin-bottom: 20px;
    }

.image-wrapper-404 img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Leichter Schatten fürs Bild */
}

.cta-back-home p {
    font-style: italic;
    color: #888;
    margin-bottom: 15px;
}
/* Ende Block 16. */
/* ==========================================================================
   17. DOWNLOAD / APP STORE BEREICH
   ========================================================================== */
.download-section {
    background: linear-gradient(135deg, #fff9f5 0%, #fae5d3 100%);
    padding: 80px 0;
    border-top: 2px solid #f8d7bb;
    border-bottom: 2px solid #f8d7bb;
    margin: 40px 0;
}

.download-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.download-content {
    flex: 1;
}

.download-content h2 {
    font-family: var(--kf-font-brand);
    font-size: 3rem;
    color: var(--kf-brand-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.download-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- DIE STORE BUTTONS --- */
.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #000; /* Klassischer schwarzer App Store Look */
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 22px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.store-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    line-height: 1;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 3px;
}

.store-text strong {
    font-size: 1.3rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* Das App-Bild (Handy) */
.download-image {
    flex: 0 0 40%;
    text-align: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); /* Schöner Schatten fürs Mockup */
}

/* --- MOBILE ANPASSUNG --- */
@media screen and (max-width: 768px) {
    .download-section {
        padding: 50px 0;
    }
    .download-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .download-buttons {
        justify-content: center;
    }
    .download-content h2 {
        font-size: 2.2rem;
    }
    .store-text {
        align-items: flex-start;
    }
}

/* Ende Block 17. */

/* ==========================================================================
   18. HILFE / SIDEBAR NAVIGATION
   ========================================================================== */
.kf-nav-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    max-width: 400px; /* Optional: Verhindert, dass das Menü zu breit wird */
}

.kf-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    background: #fdfdfd;
    transition: background 0.3s ease;
}

.kf-nav-header:hover {
    background: #fff9f5;
}

.kf-nav-header h4 {
    margin: 0;
    font-family: var(--kf-font-brand);
    color: var(--kf-brand-dark);
    font-size: 1.2rem;
}

.kf-nav-icon {
    font-size: 0.8rem;
    color: var(--kf-primary);
    transition: transform 0.3s ease;
}

/* Die Aufklapp-Logik */
.kf-nav-block.is-open .kf-nav-header {
    border-bottom: 1px solid #eee;
}

.kf-nav-block.is-open .kf-nav-icon {
    transform: rotate(180deg);
}

.kf-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Standardmäßig zugeklappt */
    background: #fff;
}

.kf-nav-block.is-open .kf-nav-list {
    display: block; /* Zeigen, wenn offen */
}

.kf-nav-list li {
    border-bottom: 1px solid #f9f9f9;
}

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

.kf-nav-list a {
    display: block;
    padding: 12px 20px 12px 30px;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: all 0.2s ease;
}

/* Kleiner oranger Strich beim Hover */
.kf-nav-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--kf-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.kf-nav-list a:hover {
    color: var(--kf-primary);
    background: #fafafa;
    padding-left: 35px; /* Rutscht leicht nach rechts beim Hover */
}

.kf-nav-list a:hover::before {
    transform: scaleY(1);
}
/* Ende Block 18. */

/* =========================================================================
   19. HILFE MENÜ / INHALTSVERZEICHNIS
========================================================================= */
.kf-help-menu-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #fae5d3;
    max-width: 400px; /* Optional: Begrenzt die Breite, gut für Seitenleisten */
    margin-bottom: 30px;
}

.kf-help-menu-title {
    font-family: var(--kf-font-brand);
    color: var(--kf-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #f9f9f9;
    padding-bottom: 10px;
    margin-top: 0;
}

.kf-help-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kf-help-menu-item {
    margin-bottom: 10px;
}

/* Normale Links (ohne Untermenü) */
.kf-help-link {
    display: block;
    padding: 12px 15px;
    color: var(--kf-brand-dark);
    text-decoration: none;
    font-weight: bold;
    background: #fdfdfd;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #f0f0f0;
}

.kf-help-link:hover {
    background: #fff9f5;
    color: var(--kf-primary);
    border-color: #fae5d3;
    transform: translateX(5px);
}

/* Aufklappbares Menü (<details> und <summary>) */
.kf-help-details {
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden; /* Wichtig für abgerundete Ecken beim Aufklappen */
}

/* Der Klick-Bereich des aufklappbaren Menüs */
.kf-help-summary {
    padding: 12px 15px;
    font-weight: bold;
    color: var(--kf-brand-dark);
    cursor: pointer;
    list-style: none; /* Versteckt das Standard-Dreieck */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

/* Custom Pfeil für das Menü */
.kf-help-summary::after {
    content: '▼';
    font-size: 0.7rem;
    color: #999;
    transition: transform 0.3s;
}

/* Wenn das Menü offen ist, Pfeil drehen und Farbe ändern */
.kf-help-details[open] .kf-help-summary {
    background: #fff9f5;
    color: var(--kf-primary);
    border-bottom: 1px solid #fae5d3;
}

.kf-help-details[open] .kf-help-summary::after {
    transform: rotate(180deg);
    color: var(--kf-primary);
}

/* Das innere Untermenü */
.kf-help-submenu {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    background: #fff;
}

.kf-help-submenu li a {
    display: block;
    padding: 8px 15px 8px 30px; /* Schön eingerückt */
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.kf-help-submenu li a:hover {
    color: var(--kf-primary);
    font-weight: bold;
}
/* Ende Block 19. */
	
	/* ==========================================================================
   20. NEUE STARTSEITEN-SEKTIONEN (FEATURES & SHOWCASE)
   ========================================================================== */

/* --- SEKTIONEN BASIS --- */
.features-section,
.app-showcase-section {
    padding: 80px 0;
}

/* --- GRID SYSTEM --- */
/* Flexibles Grid, das automatisch umbricht */
.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Mind. 280px breit */
    gap: 40px;
    text-align: center;
}

.grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten */
    gap: 60px;
    align-items: center; /* Vertikal zentriert */
}

/* --- FEATURE BOXEN (Die 3 Säulen) --- */
.feature-box {
    padding: 30px;
    border-radius: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fefature-icon {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-family: var(--kf-font-brand);
    color: var(--kf-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: #555;
    line-height: 1.6;
}

/* --- APP SHOWCASE (Der visuelle Beweis) --- */
.app-showcase-section {
    background: linear-gradient(to right, #fff9f5, #fff); /* Leichter Farbverlauf */
    border-top: 2px solid #fae5d3;
}

.showcase-text h2 {
    font-family: var(--kf-font-brand);
    font-size: 2.5rem;
    color: var(--kf-brand-dark);
    margin-bottom: 25px;
    line-height: 1.1;
}

.showcase-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.showcase-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #444;
}

.showcase-image {
    text-align: center;
}

.showcase-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Schöner Schatten fürs Mockup */
}

/* --- CTA BUTTON --- */
.cta-button {
    display: inline-block;
    background: var(--kf-primary);
    color: #fff !important;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px; /* Runde Pillenform */
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255,102,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,102,0,0.3);
    background: #e65c00; /* Etwas dunkleres Orange */
}

/* --- RESPONSIVE ANPASSUNGEN (HANDY) --- */
@media (max-width: 768px) {
    .features-section, .app-showcase-section {
        padding: 50px 0;
    }

    .grid-2-columns {
        grid-template-columns: 1fr; /* Untereinander stapeln */
        gap: 40px;
        text-align: center;
    }

    /* Bild nach oben auf dem Handy */
    .showcase-image {
        order: -1; /* Flex/Grid Order: Bild zuerst */
        margin-bottom: 20px;
    }
    
    .showcase-text ul {
        text-align: left; /* Checkliste bleibt linksbündig */
        display: inline-block; /* Damit sie zentriert werden kann */
        margin-top: 20px;
    }

    .feature-box {
        padding: 25px;
    }
}
/* Ende Block 20. */

/* Vergrößerte Klickfläche für den Hamburger */
.hamburger::before {
content: '';
position: absolute;
top: -10px;
left: -10px;
right: -10px;
bottom: -10px;
}



.hamburger span {
display: block;
width: 100%;
height: 4px;
background-color: var(--kf-brand-dark) !important;
border-radius: 4px;
}



/* X-Animation */
.hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* --- MOBILE MENU STYLING --- */



/* Container für die Listen */
.mobile-nav-section {
margin-bottom: 40px;
opacity: 0; /* Für Animation beim Öffnen */
transform: translateY(20px);
transition: opacity 0.4s ease, transform 0.4s ease;
}



/* --- MOBILE MENU STYLING --- */
/* NEU: Das fehlende Basis-Styling für das Overlay */
.mobile-menu-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: var(--kf-light);
/* WICHTIGER FIX: Z-Index muss KLIENER als der Header (1000) sein */
z-index: 900; 
padding: 130px 20px 40px 20px; 
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.4s ease, visibility 0.4s ease;
overflow-y: auto;
}



/* Sichtbarer Zustand (wird durch JS getriggert) */
.mobile-menu-overlay.is-open {
opacity: 1;
visibility: visible;
pointer-events: auto;
}



/* Container für die Listen */
.mobile-nav-section {
margin-bottom: 40px;
opacity: 0; /* Für Animation beim Öffnen */
transform: translateY(20px);
transition: opacity 0.4s ease, transform 0.4s ease;
}



/* Verzögerte Animation, wenn Menü offen ist */
.mobile-menu-overlay.is-open .mobile-nav-section {
opacity: 1;
transform: translateY(0);
}

.mobile-menu-overlay.is-open .mobile-nav-section:nth-child(3) {
transition-delay: 0.1s; /* App-Bereich kommt etwas später */
}



/* Labels (Menü / App-Bereiche) */

.mobile-nav-label {

display: block;

font-size: 0.9rem;

text-transform: uppercase;

letter-spacing: 2px;

color: #999;

margin-bottom: 20px;

font-weight: 700;

}



/* Die Links */

.mobile-nav ul {

list-style: none;

padding: 0;

}



.mobile-nav li {

margin-bottom: 15px;

}



.mobile-nav a {

font-family: var(--kf-font-brand);

font-size: 2rem; /* Schön groß für Daumen */

color: var(--kf-brand-dark);

text-decoration: none;

font-weight: 700;

transition: color 0.2s;

display: block; /* Ganze Breite klickbar */

}



.mobile-nav a:hover {

color: var(--kf-primary); /* Orange beim Hover */

}



/* App-Bereiche (Die unteren Links) etwas spezieller */

.mobile-nav-section:last-child a {

color: var(--kf-primary); /* Immer Orange */

}

.mobile-nav-section:last-child a:hover {

color: var(--kf-brand-dark); /* Dunkel beim Hover */

}



/* Trennlinie */

.mobile-nav-divider {

height: 1px;

background: #eee;

margin: 30px 0;

width: 100%;

}



/* Verzögerte Animation, wenn Menü offen ist */

.mobile-menu-overlay.is-open .mobile-nav-section {

opacity: 1;

transform: translateY(0);

}

.mobile-menu-overlay.is-open .mobile-nav-section:nth-child(3) {

transition-delay: 0.1s; /* App-Bereich kommt etwas später */

}



/* Labels (Menü / App-Bereiche) */

.mobile-nav-label {

display: block;

font-size: 0.9rem;

text-transform: uppercase;

letter-spacing: 2px;

color: #999;

margin-bottom: 20px;

font-weight: 700;

}



/* Die Links */

.mobile-nav ul {

list-style: none;

padding: 0;

}



.mobile-nav li {

margin-bottom: 15px;

}



.mobile-nav a {

font-family: var(--kf-font-brand);

font-size: 2rem; /* Schön groß für Daumen */

color: var(--kf-brand-dark);

text-decoration: none;

font-weight: 700;

transition: color 0.2s;

display: block; /* Ganze Breite klickbar */

}



.mobile-nav a:hover {

color: var(--kf-primary); /* Orange beim Hover */

}



/* App-Bereiche (Die unteren Links) etwas spezieller */
.mobile-nav-section:last-child a {
color: var(--kf-primary); /* Immer Orange */
}

.mobile-nav-section:last-child a:hover {
color: var(--kf-brand-dark); /* Dunkel beim Hover */
}

/* Trennlinie */
.mobile-nav-divider {
height: 1px;
background: #eee;
margin: 30px 0;
width: 100%;
}

/* --- 5. RESPONSIVE BREAKPOINT  --- */
@media (max-width: 1100px) {
.main-nav { display: none !important; }
.hamburger {
display: block !important;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 24px;
}

.hamburger span {
display: block;
width: 100%;
height: 3px;
bacfkground-color: var(--kf-brand-dark);
border-radius: 3px;
position: absolute;
left: 0;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); 
}

/* Positionierung der 3 Striche */
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; opacity: 1; color: var(--kf-primary);}
.hamburger span:nth-child(3) { top: 20px; }

/* Animation zum X */
.hamburger.is-active span:nth-child(1) {
top: 10px;
transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
opacity: 0;
transform: translateX(-20px);
}
.hamburger.is-active span:nth-child(3) {
top: 10px;
transform: rotate(-45deg);
}


.header-content {
height: 90px;
}

.brand-lettering {
font-size: 2.5rem;
}

/* Fuchs-Position auf kleineren Screens */
.logo-badge {
width: 150px;
height: 150px;
top: -20px;
right: 60px;
}

/* Sicherstellen, dass das Logo beim Scrollen verschwindet */
.header-wrapper.is-scrolled .logo-badge {
transform: translateY(-120%) scale(0.1);
opacity: 0;
}

.hero-section {
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url('media/herobg.png') no-repeat center center;
background-size: cover;
color: var(--kf-light);
padding: 40px 0;
border-bottom: 6px solid var(--kf-primary);
min-height: 450px;
display: flex;
align-items: center;
}
}

@media (max-width: 600px) {
.logo-badge {
display: none;
}
}

@media (max-width: 775px) {
.fuchs-left {
display: none;
}
}
