/* ============================= */
/* RESET & BASIS */
/* ============================= */

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f7f7f7;
}

h1, h2, h3 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 80px 10%;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* ============================= */
/* FARBEN */
/* ============================= */

:root {
    --china-red: #c40000;
    --china-gold: #d4af37;
    --dark: #1c1c1c;
    --light: #ffffff;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

header {
    background: var(--dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--china-gold);
}

/* Desktop Nav */

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    padding: 8px 0;
    display: block;
}

nav ul li:hover > a {
    color: var(--china-gold);
}

/* Dropdown */

nav ul li ul {
    position: absolute;
    top: 35px;
    left: 0;
    background: var(--dark);
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 15px;
}

nav ul li:hover ul {
    display: flex;
}

nav ul li ul li {
    margin-bottom: 10px;
}

/* Mobile Menu */

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {

    .nav-container {
        position: relative;
    }

    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        background: var(--dark);
        width: 100%;
        flex-direction: column;
        display: none;
        padding: 20px;
    }

    .menu-icon {
        display: block;
        color: white;
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
    }

    nav ul li ul {
        position: static;
        padding-left: 20px;
    }

    #menu-toggle:checked + nav ul {
        display: flex;
    }

    .logo img {
        height: 42px;
    }
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('fit-fuer-china.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 120px 10%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    background: var(--china-red);
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: var(--china-gold);
}

/* ============================= */
/* SERVICES */
/* ============================= */

.services {
    background: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.card {
    background: #fafafa;
    padding: 30px;
    border-left: 5px solid var(--china-red);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ============================= */
/* TABS (CSS only) */
/* ============================= */

.tabs {
    background: #f0f0f0;
}

.tab input {
    display: none;
}

.tab-labels {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-labels label {
    padding: 10px 20px;
    background: white;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tab-content {
    display: none;
    background: white;
    padding: 30px;
}

#tab1:checked ~ .content #content1,
#tab2:checked ~ .content #content2,
#tab3:checked ~ .content #content3 {
    display: block;
}

#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
    border-bottom: 3px solid var(--china-red);
}

/* ============================= */
/* ACCORDION */
/* ============================= */

.accordion-item input {
    display: none;
}

.accordion-item label {
    display: block;
    background: var(--china-red);
    color: white;
    padding: 15px;
    cursor: pointer;
    margin-bottom: 5px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: white;
    padding: 0 15px;
    transition: max-height 0.4s ease;
}

.accordion-item input:checked ~ .accordion-content {
    max-height: 200px;
    padding: 15px;
}

/* ============================= */
/* CTA */
/* ============================= */

.cta {
    background: var(--dark);
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    background: #111;
    color: #aaa;
    padding: 40px 10%;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* ============================= */
/* ERWEITERTER SEO-FOOTER */
/* ============================= */

.footer-main { 
    background: #111; 
    color: #aaa; 
    padding: 60px 10% 20px; 
    text-align: left; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 40px; 
    max-width: 1200px; 
    margin: auto; 
}

.footer-col h4 { 
    color: var(--china-gold); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    font-size: 14px; 
    letter-spacing: 1px; 
}

.footer-col ul { 
    list-style: none; 
}

.footer-col ul li { 
    margin-bottom: 10px; 
}

.footer-col ul li a:hover { 
    color: var(--light); 
    text-decoration: underline; 
}

.footer-bottom { 
    border-top: 1px solid #222; 
    margin-top: 40px; 
    padding-top: 20px; 
    text-align: center; 
    font-size: 13px; 
}

/* ============================= */
/* MEHRERE TAB-GRUPPEN (ERWEITERUNG) */
/* ============================= */

/* Gruppe 2 (z.B. 3 Tabs) */
#tab4:checked ~ .content #content4,
#tab5:checked ~ .content #content5,
#tab6:checked ~ .content #content6 {
    display: block;
}

#tab4:checked ~ .tab-labels label[for="tab4"],
#tab5:checked ~ .tab-labels label[for="tab5"],
#tab6:checked ~ .tab-labels label[for="tab6"] {
    border-bottom: 3px solid var(--china-red);
}

/* Gruppe 3 (z.B. 3 Tabs) */
#tab7:checked ~ .content #content7,
#tab8:checked ~ .content #content8,
#tab9:checked ~ .content #content9 {
    display: block;
}

#tab7:checked ~ .tab-labels label[for="tab7"],
#tab8:checked ~ .tab-labels label[for="tab8"],
#tab9:checked ~ .tab-labels label[for="tab9"] {
    border-bottom: 3px solid var(--china-red);
}

/* Gruppe 4 (z.B. 3 Tabs) */
#tab10:checked ~ .content #content10,
#tab11:checked ~ .content #content11,
#tab12:checked ~ .content #content12 {
    display: block;
}

#tab10:checked ~ .tab-labels label[for="tab10"],
#tab11:checked ~ .tab-labels label[for="tab11"],
#tab12:checked ~ .tab-labels label[for="tab12"] {
    border-bottom: 3px solid var(--china-red);
}

/* Optional: Falls eine Gruppe 5 Tabs benötigt, fügen Sie analog #tab13, #tab14, #tab15 hinzu */
#tab13:checked ~ .content #content13,
#tab14:checked ~ .content #content14,
#tab15:checked ~ .content #content15 {
    display: block;
}

#tab13:checked ~ .tab-labels label[for="tab13"],
#tab14:checked ~ .tab-labels label[for="tab14"],
#tab15:checked ~ .tab-labels label[for="tab15"] {
    border-bottom: 3px solid var(--china-red);
}