/* =========================================
   1. GRUNDLEGENDE EINSTELLUNGEN (BASIS)
   ========================================= */
:root {
    --primary-color: #0056b3;
    --accent-color: #e3f2fd;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: #fff;
    padding: 15px 5%;
    position: relative; /* WICHTIG für das absolute Dropdown */
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    font-weight: bold;
}

.nav-btn-highlight {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.nav-btn-highlight:hover {
    background-color: #004494;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* --- NEU: DROPDOWN LOGIN STYLES --- */
.nav-login-wrapper {
    position: relative;
    display: inline-block;
}

.nav-login-toggle {
    background-color: #000;
    color: #fff !important;
    border: 2px solid #E8B923; /* Goldener Rahmen */
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-links a.nav-login-toggle {
    color: #fff !important;
}

.nav-login-toggle:hover {
    background-color: #222;
    color: #fff !important;
    box-shadow: 0 0 8px rgba(232, 185, 35, 0.4);
}

.nav-logout-link {
    display: block;
    margin-top: 6px;
    padding: 0;
    border: none;
    background: none;
    color: #888;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 100%;
    text-decoration: underline;
    font-family: inherit;
    line-height: 1.2;
}

.nav-logout-link:hover {
    color: #b91c1c;
}

.nav-logout-link[hidden] {
    display: none !important;
}

/* PWA / Kunden-Dashboard Header */
header.app-shell-header {
    justify-content: center;
    padding: 14px 5%;
}

.app-shell-logo {
    margin-right: 0;
    color: #1E4B70 !important;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.nav-login-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 15px); /* Positioniert das Dropdown knapp unter dem Button */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 280px;
    z-index: 1000;
    border: 1px solid #eee;
    text-align: left;
    color: #333;
    white-space: normal;
}

.nav-login-dropdown.show {
    display: block; /* Diese Klasse wird per JS getoggelt */
}

.nav-login-dropdown h4 {
    margin: 0 0 15px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 900;
}

.nav-login-dropdown label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
    text-transform: uppercase;
}

.nav-login-dropdown input {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f9fafb;
    color: #333;
}

.nav-login-dropdown input:focus {
    border-color: #E8B923;
    outline: none;
}

.nav-login-dropdown button.login-submit-btn {
    width: 100%;
    background: #000;
    color: white;
    border: 2px solid #E8B923;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-login-dropdown button.login-submit-btn:hover {
    background: #222;
}

.nav-login-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 12px;
    display: none;
    background: #fee2e2;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #fca5a5;
}

/* =========================================
   3. FOOTER
   ========================================= */
   footer {
       background-color: #222;
       color: #ccc;
       padding: 50px 10% 20px;
       margin-top: auto;
       font-size: 0.9rem;
   }
   
   .footer-container {
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
       gap: 40px;
       margin-bottom: 40px;
       text-align: left;
       max-width: 1200px; /* Verhindert, dass der Footer auf sehr breiten Bildschirmen zu sehr auseinandergezogen wird */
       margin-left: auto;
       margin-right: auto;
   }
   
   .footer-column h4 {
       color: #E8B923;
       font-size: 1.1rem;
       margin-bottom: 15px;
       text-transform: uppercase;
       letter-spacing: 1px;
   }
   
   .footer-column { min-width: 200px; }
   .footer-column ul {
       list-style: none;
       padding: 0;
       margin: 0;
   }
   
   .footer-column ul li {
       margin-bottom: 10px;
   }
   
   .footer-column a {
       color: #ccc;
       text-decoration: none;
       transition: color 0.3s, padding-left 0.3s;
   }
   
   .footer-column a:hover {
       color: white;
       padding-left: 5px;
   }
   
   .footer-bottom {
       text-align: center;
       border-top: 1px solid #444;
       padding-top: 20px;
       font-size: 0.8rem;
       color: #888;
   }

   /* Anpassung für den schwarzen Body der Startseite */
   body.bg-black footer {
       background-color: #000;
   }

/* =========================================
   4. STARTSEITE (HERO & SERVICES)
   ========================================= */
.hero-split-wrapper {
    display: flex;
    height: 55vh;
    background-color: #222;
    position: relative;
}

.hero-text-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 0 10%;
    color: white;
    z-index: 2;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-text-side h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text-side p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 500px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    align-self: flex-start;
}

.btn:hover {
    background-color: #004494;
}

.hero-slideshow-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.services {
    padding: 60px 10%;
    background-color: var(--bg-light);
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.services h2 span {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    color: #777;
    margin-top: 5px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* =========================================
   5. LEISTUNGSSEITEN (TRAININGSPLANUNG)
   ========================================= */
.content-container {
    max-width: 900px;
    margin: 40px auto 50px;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

/* Full-bleed Hero für Leistungsseiten (Homepage-Look) */
.service-hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0a0a;
    color: #fff;
}

.service-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.service-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 48%, rgba(0,0,0,0.28) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.82) 100%);
}

.service-hero .ai-content-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-block;
    padding: 5px 9px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5.5rem 8% 2.75rem;
    box-sizing: border-box;
}

.service-eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E8B923;
}

.service-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    max-width: 16ch;
}

.service-lead {
    margin: 0 0 0.85rem;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    max-width: 34rem;
    line-height: 1.35;
}

.service-hero .intro-text {
    margin: 0 0 1.35rem;
    max-width: 36rem;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.55;
}

.service-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 36rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    background-color: #E8B923;
    color: #111;
    padding: 0.95rem 1.35rem;
    text-decoration: none;
    border-radius: 0.65rem;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
}

.service-cta:hover {
    background-color: #D4A71F;
    transform: translateY(-2px);
    color: #111;
}

.service-cta--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.service-cta--ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
    color: #fff;
}

.service-cta-note {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    max-width: 36rem;
    line-height: 1.45;
}

.service-cta-note .price-was {
    color: rgba(255,255,255,0.45);
}

/* Legacy header (falls noch irgendwo genutzt) */
.service-header {
    display: block;
    margin-bottom: 36px;
    padding: 0 0 28px;
    border-bottom: 1px solid #eee;
}

.service-header .service-eyebrow { color: #1E4B70; }
.service-header h1 {
    margin: 0 0 12px;
    font-size: 2.35rem;
    line-height: 1.15;
    color: #1E4B70;
    text-transform: none;
    max-width: none;
}
.service-header .service-lead {
    color: var(--text-light);
    font-weight: 300;
}
.service-header .intro-text {
    margin-bottom: 22px;
    max-width: 680px;
    color: var(--text-light);
}
.service-header .service-cta {
    background-color: #1E4B70;
    color: #fff;
    border-radius: 30px;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.05rem;
}
.service-header .service-cta-note { color: #777; }

.price-was {
    text-decoration: line-through;
    color: #9aa3ad;
    font-weight: 600;
    margin-right: 0.35em;
}

.price-large .price-was,
.price-tag .price-was {
    display: block;
    font-size: 1.15rem;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.launch-price-badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.65rem;
    background: #E8B923;
    color: #111;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-launch-note {
    margin: 0.35rem 0 1rem;
    font-size: 0.88rem;
    color: #8a6d12;
    font-weight: 600;
}

.service-cta-note .price-was {
    font-size: inherit;
    margin-right: 0.25em;
}

.service-proof {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: center;
    margin: 36px 0;
    padding: 20px;
    background: #f3f7fb;
    border-radius: 12px;
    border: 1px solid #e2ebf3;
}

.service-proof--flip {
    grid-template-columns: 1fr 220px;
}

.service-proof--flip .service-proof-media {
    order: 1;
}

.service-proof-media {
    width: 220px;
    max-width: 100%;
    flex-shrink: 0;
    position: relative;
    margin: 0;
}

.service-proof-media img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 8px;
}

/* Videoanalyse: Monitor im Ausschnitt behalten */
.service-proof-media img.service-img-desk {
    object-position: 12% 40%;
}

/* EU AI Act Art. 50: Kennzeichnung realistischer KI-Inhalte */
.media-ai-generated {
    position: relative;
}

.ai-content-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    pointer-events: none;
}

.service-proof-media .ai-content-badge {
    bottom: 28px; /* über der Bildunterschrift */
}

.ai-content-caption {
    display: block;
    margin: 6px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

.service-proof-copy h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #1E4B70;
}

.service-proof-copy p {
    margin: 0 0 16px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.55;
}

.service-proof-copy .service-cta {
    padding: 11px 22px;
    font-size: 0.85rem;
    background-color: #1E4B70;
    color: #fff;
    border-radius: 30px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: bold;
}

.service-proof-copy .service-cta:hover {
    background-color: #153550;
    color: #fff;
}

/* Mobile: Buttons nie aus dem Viewport ragen */
.cta-pt,
.cta-gc,
.cta-button,
.service-cta {
    box-sizing: border-box;
    max-width: 100%;
    word-break: break-word;
}

.intro-text { font-size: 1.1rem; margin-bottom: 40px; color: var(--text-light); }

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.step-content h3 { margin: 0 0 10px 0; font-size: 1.3rem; }
.step-content p { margin: 0; color: var(--text-light); }

.outdoor-info {
    background-color: var(--accent-color);
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.95rem;
    border-left: 4px solid var(--primary-color);
}

.result-box {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: background 0.3s;
}
.cta-btn:hover { background-color: #004494; }

/* =========================================
   6. ÜBER MICH
   ========================================= */
.about-hero {
    position: relative;
    min-height: min(58vh, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0a0a;
    color: #fff;
}

.about-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.about-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.2) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.about-hero .ai-content-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-block;
    padding: 5px 9px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    pointer-events: none;
}

.about-hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5.5rem 8% 2.75rem;
}

.about-eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E8B923;
}

.about-hero-copy h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.about-hero-lead {
    margin: 0;
    max-width: 32rem;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    padding: 80px 10%;
    background-color: white;
    align-items: center;
    gap: 50px;
}

.about-section--story {
    align-items: flex-start;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 8% 40px;
}

.about-image { flex: 1; min-width: 300px; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); object-fit: cover; }

.about-text { flex: 1.35; min-width: 280px; }
.about-text h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.about-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin: 0 0 1rem;
    line-height: 1.2;
    color: #1a1a1a;
}
.about-text h3 { color: var(--primary-color); font-weight: normal; margin-top: -10px; margin-bottom: 30px; font-size: 1.2rem; }
.about-intro { font-size: 1.08rem; color: #444; }
.about-text p { margin: 0 0 1.15rem; color: #555; }

.about-aside {
    flex: 0.9;
    min-width: 260px;
    background: #f4f8fb;
    border: 1px solid #e2ebf3;
    border-top: 3px solid #1E4B70;
    padding: 1.6rem 1.5rem;
}

.about-aside h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #1E4B70;
}

.about-offer-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.about-offer-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #e2ebf3;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.45;
}

.about-offer-list li:last-child { border-bottom: none; }

.about-offer-list a {
    color: #1E4B70;
    font-weight: 700;
    text-decoration: none;
}

.about-offer-list a:hover { text-decoration: underline; }

.about-aside-note {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #667788;
}

.about-cta-band {
    background: #0f1720;
    color: #fff;
    padding: 48px 8%;
}

.about-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.about-cta-band h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.about-cta-band p {
    margin: 0;
    max-width: 36rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.55;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.highlight-box { background-color: var(--bg-light); border-left: 4px solid #1E4B70; padding: 20px; margin: 30px 0; font-style: italic; }

.about-callout {
    margin: 2rem 0 0;
    padding: 1.35rem 1.4rem;
    background:
        linear-gradient(135deg, rgba(232, 185, 35, 0.12), rgba(30, 75, 112, 0.06)),
        #faf8f1;
    border: 1px solid rgba(232, 185, 35, 0.45);
    border-left: 4px solid #E8B923;
}

.about-callout-label {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6d12;
}

.about-callout h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.about-callout p:last-child {
    margin: 0;
    color: #444;
    line-height: 1.55;
    font-size: 0.98rem;
}
.cta-button { display: inline-block; background-color: #1E4B70; color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; margin-top: 10px; transition: background 0.3s, transform 0.25s; }
.cta-button:hover { background-color: #153550; transform: translateY(-2px); }
.cta-button--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}
.cta-button--ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
}


/* =========================================
   7. WISSENSCENTER (ÜBERSICHT & BEITRÄGE)
   ========================================= */
.knowledge-header { text-align: center; padding: 60px 20px 40px; }
.knowledge-header h1 { margin-bottom: 10px; color: var(--primary-color); }

.feed-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Kacheln Design (mit Clickable Area Fix) */
.post-card {
    position: relative; /* WICHTIG: Damit der Link sich darauf beziehen kann */
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.post-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.post-image-container { flex: 1; max-width: 400px; position: relative; }
.post-image-container img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; display: block; }
.post-content { flex: 1.5; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.post-date { color: #888; font-size: 0.9rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }

/* Read More Button mit "Stretched Link" Technik */
.read-more-btn {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 2px solid transparent;
    width: fit-content;
}

.read-more-btn:hover { border-color: var(--primary-color); }

/* Dieser unsichtbare Block spannt sich über die ganze Karte */
.read-more-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Artikel Detailansicht */
.article-container { max-width: 800px; margin: 40px auto; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.back-link { display: inline-block; margin-bottom: 20px; text-decoration: none; color: #777; font-size: 0.9rem; }
.article-hero-image { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }
.meta-info { color: #888; font-size: 0.9rem; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.share-container { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 50px; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; cursor: pointer; border: 1px solid transparent; position: relative; z-index: 10; /* Z-Index hoch, damit klickbar trotz Stretched Link */ }
.share-btn.whatsapp { background-color: #25D366; color: white; }
.share-btn.email { background-color: #f0f0f0; color: #333; }
.share-btn.copy { background-color: #eef6fc; color: var(--primary-color); border: 1px solid var(--primary-color); }
.share-btn.facebook { background-color: #1877F2; color: white; }
.share-btn.facebook:hover { background-color: #145dbf; }
.summary-box { background-color: #eef6fc; border-left: 5px solid var(--primary-color); padding: 20px; margin-top: 40px; border-radius: 4px; }

/* =========================================
   8. FAQ & SUCHE
   ========================================= */
.faq-hero { background-color: #fff; text-align: center; padding: 60px 20px 40px; }
.search-container { max-width: 600px; margin: 0 auto; position: relative; }
.search-input { width: 100%; padding: 15px 20px; border: 2px solid var(--border-color); border-radius: 50px; font-size: 1rem; outline: none; box-sizing: border-box; }
.search-input:focus { border-color: var(--primary-color); }
.faq-container { max-width: 800px; margin: 0 auto 60px; padding: 0 20px; width: 100%; box-sizing: border-box; }
.faq-category { margin-top: 40px; }
.faq-category h2 { font-size: 1.5rem; color: #444; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; margin-bottom: 20px; display: inline-block; }
details.faq-item { background: white; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden; transition: all 0.3s ease; }
summary { padding: 20px; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 50px; }
summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary-color); font-weight: bold; }
details[open] summary::after { content: '-'; }
details[open] summary { background-color: #f0f8ff; color: var(--primary-color); }
.faq-answer { padding: 20px; border-top: 1px solid #eee; color: #555; background-color: #fff; line-height: 1.7; }

/* =========================================
   9. KONTAKT & FORMULARE
   ========================================= */
.contact-container {
    max-width: 800px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.contact-container h1 { color: var(--primary-color); margin-top: 0; text-align: center; }
.contact-container p { text-align: center; margin-bottom: 30px; color: #666; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 0.9rem; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1rem; box-sizing: border-box; transition: border-color 0.3s; }
input:focus, textarea:focus { border-color: var(--primary-color); outline: none; }
textarea { height: 150px; resize: vertical; }
button.submit-btn { width: 100%; background-color: var(--primary-color); color: white; padding: 15px; border: none; border-radius: 5px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; }
button.submit-btn:hover { background-color: #004494; }

/* =========================================
   9. REGISTRIERUNGS-MODAL
   ========================================= */
.register-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 3000;
    display: flex; justify-content: center; align-items: center; 
    opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px;
}
.register-modal-overlay.show { opacity: 1; visibility: visible; }

.register-modal { 
    background: #fff; width: 100%; max-width: 500px; border-radius: 20px; 
    overflow: hidden; transform: translateY(20px) scale(0.95); transition: transform 0.3s ease; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column;
    max-height: 90vh;
}
.register-modal-overlay.show .register-modal { transform: translateY(0) scale(1); }

.register-header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 20px 25px; border-bottom: 1px solid #f3f4f6; background: #fff; z-index: 10;
}
.register-header h3 { margin: 0; color: #1E4B70; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;}
.register-close { 
    background: #f3f4f6; border: none; font-size: 1.2rem; cursor: pointer; color: #6b7280; 
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.register-close:hover { background: #e5e7eb; color: #111827; }

.register-body { padding: 25px; overflow-y: auto; }

.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
@media (max-width: 480px) { .reg-row { grid-template-columns: 1fr; gap: 0; } }

.reg-group { margin-bottom: 15px; }
.reg-group label { display: block; font-size: 0.75rem; font-weight: bold; color: #6b7280; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.reg-input, .reg-select { 
    width: 100%; padding: 14px; border: 1px solid #e5e7eb; border-radius: 12px; 
    font-size: 0.95rem; color: #111827; background-color: #f9fafb; outline: none; 
    transition: border-color 0.2s, background-color 0.2s; box-sizing: border-box;
}
.reg-input:focus, .reg-select:focus { border-color: #1E4B70; background-color: #fff; box-shadow: 0 0 0 3px rgba(30, 75, 112, 0.1); }

.reg-checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; cursor: pointer; }
.reg-checkbox-group input { margin-top: 3px; width: 18px; height: 18px; accent-color: #1E4B70; cursor: pointer; }
.reg-checkbox-text { font-size: 0.85rem; color: #4b5563; line-height: 1.4; text-align: left; }
.reg-checkbox-text a { color: #1E4B70; text-decoration: underline; font-weight: 600; }

.reg-submit-btn { 
    background: #1E4B70; color: #fff; border: none; padding: 16px; border-radius: 12px; 
    font-size: 1.05rem; cursor: pointer; width: 100%; font-weight: bold; margin-top: 10px; 
    box-shadow: 0 4px 6px -1px rgba(30, 75, 112, 0.2); transition: all 0.2s; display: flex; justify-content: center; align-items: center; gap: 10px;
}
.reg-submit-btn:hover { background: #153650; transform: translateY(-1px); }
.reg-submit-btn:disabled { background: #9ca3af; cursor: not-allowed; transform: none; box-shadow: none; }

.reg-error-msg { display: none; background: #fef2f2; color: #b91c1c; padding: 12px 15px; border-radius: 8px; font-size: 0.85rem; font-weight: bold; margin-bottom: 15px; border: 1px solid #fecaca; }

/* =========================================
   10. KUNDEN-LOGIN SEITE
   ========================================= */
.login-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Bilder/Startseite/alexanderengel_fitnesstudio.jpg'); background-size: cover; background-position: center; }
.login-card { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); max-width: 400px; width: 100%; text-align: center; }
.login-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; display: block; }
.login-option { background-color: #f0f4f8; border: 1px solid #dceefc; border-radius: 8px; padding: 20px; margin-bottom: 15px; transition: transform 0.2s, background-color 0.2s; cursor: pointer; text-decoration: none; display: block; color: var(--text-dark); }
.login-option:hover { transform: translateY(-3px); background-color: #e3f2fd; border-color: var(--primary-color); }
.support-link { display: block; margin-top: 20px; font-size: 0.9rem; color: #888; text-decoration: underline; }

/* =========================================
   11. MEDIA QUERIES (MOBILE ANPASSUNG)
   ========================================= */
@media (max-width: 900px) {
    /* Navigation Mobile */
    header { flex-wrap: wrap; }
    .menu-toggle { display: block; }
    .nav-links { display: none; width: 100%; flex-direction: column; text-align: center; padding-top: 20px; background-color: #fff; border-top: 1px solid #eee; margin-top: 15px; }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 10px 0; width: 100%; display: block; }
    .nav-btn-highlight { margin-top: 10px; display: inline-block !important; width: auto !important; }
    .nav-login-wrapper { margin-top: 10px; width: 100%; display: flex; flex-direction: column; align-items: center;}
    .nav-login-dropdown { position: static; width: 100%; max-width: 300px; margin-top: 10px; box-shadow: none; border: 1px solid #ddd; }

    /* Layout Anpassungen */
    .desktop-only-slideshow { display: none !important; }
    .hero-split-wrapper { display: block; height: auto; padding: 100px 5% 60px 5%; background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Bilder/Startseite/PXL_20251212_175400079.PORTRAIT~2.jpg'); background-size: cover; background-position: center top; }
    .hero-text-side { background: none; padding: 0; align-items: center; text-align: center; }
    .hero-text-side h1 { font-size: 2.2rem; }
    .btn { align-self: center; }
    
    .content-container { margin: 0; border-radius: 0; padding: 30px 20px; overflow-x: hidden; }
    .service-hero {
        min-height: min(88svh, 720px);
        align-items: flex-end;
    }
    .service-hero img { object-position: 58% 18%; }
    .service-hero-scrim {
        background: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.45) 38%, rgba(0,0,0,0.9) 100%);
    }
    .service-hero-content { padding: 5rem 1.25rem 2.25rem; }
    .service-hero h1 { max-width: none; font-size: clamp(1.85rem, 9vw, 2.6rem); }
    .service-cta-row {
        flex-direction: column;
        align-items: stretch;
        max-width: none;
    }
    .service-cta {
        width: 100%;
        text-align: center;
        padding: 0.95rem 1rem;
    }
    .service-header h1 { font-size: 1.85rem; }
    .cta-pt,
    .cta-gc,
    .pricing-box .cta-button,
    .pricing-section .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 18px;
        font-size: 1rem;
        border-radius: 12px;
    }
    .pricing-box,
    .pricing-section {
        padding-left: 18px !important;
        padding-right: 18px !important;
        box-sizing: border-box;
        max-width: 100%;
    }
    .service-proof,
    .service-proof--flip {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        margin: 24px 0;
    }
    .service-proof--flip .service-proof-media { order: 0; }
    .service-proof-media {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .service-proof-media img {
        height: 160px;
    }
    .process-step { flex-direction: column; gap: 10px; }
    .step-number { width: 30px; height: 30px; font-size: 1rem; }
    
    .about-hero { min-height: min(48vh, 420px); }
    .about-hero img { object-position: 60% 18%; }
    .about-hero-scrim {
        background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.78) 100%);
    }
    .about-hero-copy { padding: 4.5rem 5% 2.25rem; }
    .about-section { padding: 40px 5%; flex-direction: column-reverse; }
    .about-section--story { flex-direction: column; padding: 40px 5% 24px; gap: 28px; }
    .about-text h1 { font-size: 2rem; }
    .about-cta-band { padding: 36px 5%; }
    .about-cta-actions { width: 100%; }
    .about-cta-actions .cta-button {
        flex: 1 1 auto;
        text-align: center;
        margin-top: 0;
    }
    
    .post-card { flex-direction: column; }
    .post-image-container { max-width: 100%; }
    .post-content { padding: 25px; }
    .article-container { padding: 20px; margin: 20px; }
}