@import url('/themes/root.css');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background-color);
    color: var(--main-text-color);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 65px 40px;
}

/* Hero */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.hero-content {
    width: 45%;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 12px;
    font-weight: 800;
    font-family: "BAKBAK";
}

.hero h1 span {
    color: var(--green-color);
}

.hero p {
    color: var(--sub-text-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    max-width: 430px;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

button {
    border: none;
    height: 50px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.buttons img {
    width: 22px;
    height: 22px;
}

.primary {
    background: var(--green-color);
    color: var(--main-text-color);
}

.secondary {
    background: #a15c018c;
    color: var(--main-text-color);
    transition: 0.3s;
}

.secondary:hover {
    background: #ffac3fc7;
    transition: 0.3s;
}

.video-box {
    width: 550px;
    height: 300px;
    background: var(--box-background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}


/* Sections */
section {
    margin-top: 40px;
    margin-bottom: 280px;
}

.about {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
}

/* Titel */
.section-title span {
    color: var(--green-color);
    font-size: 20px;
    font-weight: 800;
    font-family: "BAKBAK";
}

.section-title h2 {
    margin: 6px 0;
    font-size: 20px;
    font-weight: 800;
}

/* Fragen */
.questions {
    display: flex;
    flex-direction: column;
}

.question {
    margin: 0;
    cursor: pointer;
    color: var(--sub-text-color);
    transition: 0.25s ease;
    line-height: 1.2;
}

.question:hover {
    color: var(--main-text-color);
}

.question.active {
    color: var(--main-text-color);
}

.text {
    display: none;
    color: var(--sub-text-color);
    font-weight: 600;
    line-height: 1.5;
    font-size: 18px;
}

.text.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.text p {
    margin-bottom: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features .section-title p {
    color: var(--sub-text-color);
    font-size: 16px;
    font-weight: 600;
}

.cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--box-background-color);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 30px;
    transition: .2s ease;
}

.card:hover {
    border-color: var(--primary-color);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.card-header img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.card-header h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1;
}

.card p {
    color: var(--sub-text-color);
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .cards {
        grid-template-columns: 1fr;
    }
}


/* Responsive */
@media(max-width: 800px){
    .hero {
        flex-direction: column;
    }

    .hero-content,
    .video-box {
        width: 100%;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}