/* --- BRAND VARIABLES --- */
:root {
    /* Colors */
    --primary-dark: #012971;
    --primary-dark2: #1e3781;
    --primary-light: #fbfbfb;
    --accent-green: #b8f24c;
    --accent-blue: #58aaff;
    --accent-gray: #eceff8;
    
    /* Typography */
    --font-main: sans-serif; /* Im Original war Poppins auskommentiert, hier Fallback */
    
    /* Sizing & Decorations */
    --radius-box: 15px;
    --shadow-subtle: 0 4px 12px rgba(0,0,0,0.08);
    --container-width: 1100px;
    --spacing-section: 80px;
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    border-radius: var(--radius-box); 
    transition: transform 0.5s ease; 
    object-fit: cover;
}
img:hover { transform: scale(1.02); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-main);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 { 
    font-weight: 300; 
    font-size: clamp(35px, 5vw, 48px); 
    color: var(--primary-light); 
}

h2 { 
    font-weight: 300; 
    font-size: clamp(30px, 4vw, 32px); 
    color: var(--primary-dark);
}

.dark-section h2 { color: var(--accent-green); }

h3 { 
    font-weight: 400; 
    font-size: 26px; 
    color: var(--primary-dark);
}
.dark-section h3 { color: var(--primary-light); }

h4 { 
    font-weight: 400; 
    font-size: 21px; 
    color: var(--accent-blue);
}

p { font-size: 1rem; margin-bottom: 1.5rem; font-weight: 400; }
strong { font-weight: 700; }

/* Helpers */
.text-light { color: var(--primary-light) !important; }
.text-primary-dark { color: var(--primary-dark); }
.text-accent-blue { color: var(--accent-blue); }
.text-accent-green { color: var(--accent-green); }
.text-large { font-size: larger; }
.h2-huge { font-size: 45px; }
.h3-large { font-size: 35px; }
.center-text { text-align: center; }
.text-left { text-align: left; }
.bigger { font-size: 1.2rem; }

/* --- LAYOUT UTILS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--spacing-section) 0;
    width: 100%;
}

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

.gray-section {
    background-color: var(--accent-gray);
    color: var(--primary-dark);
}

.bg-light-gray { background-color: #f4f6f9; }
.pb-10 { padding-bottom: 10px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-end; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.align-stretch { align-items: stretch; }
.flex-column { display: flex; flex-direction: column; }
.flex-start { align-self: flex-start; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-20 { margin-bottom: 20px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-auto { margin-top: auto; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }
.w-100 { width: 100%; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: var(--font-main);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
    margin: 20px 0 20px 0;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-box);
}
.btn-primary:hover, .btn-3rd:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 27, 27, 0.4);
}

.btn-secondary, .btn-secondary:hover {
    background-color: transparent;
    color: var(--accent-blue);
    border: 3px solid var(--accent-blue);
    border-radius: var(--radius-box);
}
.btn-secondary:hover {
    background-color: rgba(3, 28, 55, 0.1);
}

.btn-3rd {
    background-color: var(--accent-blue);
    color: var(--primary-light);
    border-radius: var(--radius-box);
}
.btn-3rd:hover {
    background-color: rgba(88, 170, 255);
}

.btn-group { margin-top: 2rem; display: flex; gap: 15px; flex-wrap: wrap; }
.btn-group-center { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn-padded { padding: 16px 40px; }
.btn-large { font-size: 1.2rem; padding: 16px 40px; }

/* --- HEADER NAVIGATION --- */
header {
    padding: 15px 0;
    background-color: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Logo Styles */
.logo-img {
    max-height: 40px;
    width: auto;
    border-radius: 0;
}

/* Navigation Group */
.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--accent-green);
}

.btn-header-cta {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.btn-header-cta:hover {
    background-color: #fff;
    transform: translateY(-1px);
}
.arrow-icon { font-size: 1.2em; line-height: 0.5; }

.arrow-icon2 { font-size: 1.5em; line-height: 0.5; margin-bottom: 11px; }


/* --- HERO --- */
.hero {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding-top: 60px;
    padding-bottom: 80px;
}
.hero p { color: #e0e0e0; }
.hero-tag {
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}
.hero-img-shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    aspect-ratio: 1/1;
    background-color: #eee;
    border-radius: var(--radius-box);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- BOX STYLES --- */
.card-box {
    background: var(--primary-light);
    border-radius: var(--radius-box);
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    height: 100%;
}

.card-box2 {
    background: transparent;;
    border-radius: var(--radius-box);
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    height: 100%;
}


.dark-section .card-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--primary-light);
}
.dark-section .card-box h3, .dark-section .card-box h4 {
    color: var(--accent-green);
}

.border-green { border: 2px solid var(--accent-green); }
.border-light { border: 2px solid #e0e0e0; }
.border-blue { border: 2px solid var(--accent-blue); }
.relative { position: relative; }

.badge-float {
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--accent-blue); 
    color: var(--primary-dark); 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-weight: 600; 
    font-size: 0.85rem; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* --- CHECKLISTS --- */
ul.check-list { list-style: none; }
ul.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 300;
}
ul.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}




ul.check-list.blue li::before { color: var(--primary-dark); }
ul.check-list.lightblue li::before { color: var(--accent-blue); }
.dark-section ul.check-list li::before { color: var(--accent-green); }

/* --- OTHER COMPONENTS --- */
.tag {
    /* Style based on usage in Logbuch section 2 */
    display: inline-block;
    margin-bottom: 10px;
}

.badge-green-text {
    background: var(--accent-green); 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-weight: 600; 
    font-size: 0.8rem; 
    margin-bottom: 10px; 
    display:inline-block;
    color: #012971;
}

.badge-darkblue-text {
    background: var(--primary-dark); 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-weight: 600; 
    font-size: 0.8rem; 
    margin-bottom: 10px; 
    display:inline-block;
    color: #fbfbfb;
}

.badge-blue-text {
    background: var(--accent-blue); 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-weight: 600; 
    font-size: 0.8rem; 
    margin-bottom: 10px; 
    display:inline-block;
    text-transform: uppercase;
    color:#fbfbfb;
}

.profile-container { margin-bottom: 20px; }
.profile-img {
    width: 60px; height: 60px; border-radius: 50%; 
    display: inline-block; vertical-align: middle; margin-right: 10px;
}
.profile-name { font-weight: 600; color: var(--primary-dark); }

.price-big { font-size: 3rem; font-weight: 300; line-height: 1; color: var(--primary-dark); }
.price-unit { font-size: 0.7rem; color: #666; }
.price-tax { font-size: 0.85rem; color: #999; margin-top: 5px; }
.sub-title { font-size: 0.9rem; color: #58aaff; text-transform: uppercase; letter-spacing: 1px; }

.divider { border: 0; border-top: 1px solid #eee; margin: 10px 0; }
.icon-inline { max-width: 20px; margin-bottom: 0px; margin-right: 5px; float: left; border-radius: 0; }

.cost-benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.cta-subtext { margin: 0 auto 2rem auto; max-width: 600px; color: #e0e0e0; }
.footer-copy { margin-top: 60px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-copy a { color: rgba(255,255,255,0.7); text-decoration: none; }

/* --- FAQ ACCORDION --- */
.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.gray-section .faq-item {
    border-bottom: 1px solid #58aaff;
}
.faq-item details { padding: 15px 0; cursor: pointer; }
.faq-item summary {
    font-weight: 600;
    color: var(--primary-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-weight: 300;
}
.faq-item details[open] summary::after { content: '-'; }
.faq-item p { margin-top: 15px; color: #555; }

.dark-section .faq-item p { color: #fbfbfb; }
.dark-section .faq-item summary { color: #58aaff; }

/* --- RESPONSIVE & NAV TOGGLE --- */
.nav-toggle-checkbox { display: none; }
.nav-toggle-label { display: none; }

@media (max-width: 768px) {
    .grid-2, .grid-3, .gallery-grid, .cost-benefit-grid { grid-template-columns: 1fr; gap: 40px; }
    h1 { font-size: 32px; }
    .hero { padding-top: 40px; }
    .nav-flex { flex-direction: row; flex-wrap: wrap; }
    
    .nav-right { display: none; }
    .logo-img { height: 35px; }

    /* Burger Icon */
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 200;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: #fff;
        height: 2px;
        width: 25px;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease-in-out;
    }
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    .nav-toggle-label span::before { bottom: 8px; }
    .nav-toggle-label span::after { top: 8px; }

    /* Mobile Menu Container */
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 150;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        padding: 20px;
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    .nav-link { font-size: 1.2rem; display: block; padding: 10px; }
    .logo-img { height: 30px; }

    .hero-buttons, div.card-box, .mobi { text-align: center; }
    ul.check-list li { text-align: left; }

    /* Checked State */
    .nav-toggle-checkbox:checked ~ .nav-right {
        right: 0;
        display: flex;
    }

    .nav-toggle-checkbox:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle-checkbox:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); bottom: 0; }
    .nav-toggle-checkbox:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
}