/* 
   orenda.de Stylesheet - KORRIGIERT
   Hauptstylesheet für die Website orenda training GmbH
   Erstellt: 2025
   FIXES: Hamburger-Menü Funktionalität + CSS-Syntax-Fehler
*/

/* ===== RESET & GRUNDLEGENDE STILE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRPAHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem; /* 40px */
}

h2 {
    font-size: 2rem; /* 32px */
}

h3 {
    font-size: 1.5rem; /* 24px */
}

h4 {
    font-size: 1.25rem; /* 20px */
}

p {
    margin-bottom: 1rem;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ===== BUTTONS ===== */
.btn, 
.btn-card, 
.btn-cookie, 
.btn-cookie-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn {
    background-color: #C00418;
    color: #fff;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #9a0314;
}

.btn-secondary {
    background-color: rgba(192, 4, 24, 0.3);
    color: #fff;
    border: 2px solid #C00418;
}

.btn-secondary:hover {
    background-color: rgba(192, 4, 24, 0.4);
    color: #000;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.125rem;
}

.btn-card {
    background-color: #C00418;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-card:hover {
    background-color: #9a0314;
}

.btn-kontakt {
    background-color: #C00418;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 800;
}

.btn-kontakt:hover {
    color: #fff;
    background-color: #9a0314;
}

.btn-kontakt a {
    color: #fff;
}

.btn-kontakt a:visited {
    color: #fff;
}

.btn-cookie {
    background-color: #C00418;
    color: #fff;
}

.btn-cookie-secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #ccc;
}

/* ===== HEADER ===== */
#main-header {
    background-color: rgba(255, 255, 255, 1.0);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.phone {
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
}

.phone i {
    margin-right: 8px;
    color: #333;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    font-size: 0.875rem;
}

.main-nav a:hover {
    color: #C00418;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

.hamburger-menu span {
    height: 2px;
    width: 100%;
    background-color: #333;
    display: block;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
#hero {
    background: linear-gradient(rgba(16, 32, 79, 0.4), rgba(16, 32, 79, 0.4)), url('../img/hero-bg-05.jpg');
    background-size: cover;
    background-position: center;
    color: #FFF;
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 10px;
}

.hero-content h2 {
    color: #FFF;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: #10204F;
    margin-bottom: 40px;
    position: relative;
}

.section-title-left {
    text-align: left;
    color: #10204F;
    margin-bottom: 40px;
    position: relative;
}

.section-title.light {
    color: #fff;
}

/* ===== TRAINING OPTIONS ===== */
.card-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-title {
    color: #10204F;
    margin-bottom: 5px;
}

.card-subtitle {
    color: #C00418;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.card-content p {
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

/* Responsive Video-Container mit 16:9 Seitenverhältnis */
#video {
    display: flex;
}

.video-responsive-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Seitenverhältnis (9÷16=0.5625) */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px; /* Optional: Abstand nach unten */
}

.video-responsive-container iframe,
.video-responsive-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ===== APPROACH SECTION ===== */
#approach {
    background-color: #f8f8f8;
    padding: 50px;
}

.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.hex-item {
    width: 300px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.hex-blue {
    background-color: #ECE3D3;
    color: #333;
}

.hex-red {
    background-color: #E9F3FD;
    color: #333;
}

.hex-item h3 {
    margin-bottom: 8px;
    font-size: 1.0rem;
}

.hex-item p {
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    display: none; /* Hidden by default, shown with JS */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 1.375rem;
    }
    
    .card-container {
        justify-content: center;
    }
    
    .card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .phone span {
        display: none; /* Hide phone icon on small screens */
    }
    
    .main-nav {
        display: none; /* Hide desktop nav */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 10px;
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        color: #333;
        display: block;
        width: 100%;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Animation für das Hamburger-Menü */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .card {
        flex: 0 0 100%;
    }
    
    .hex-item {
        width: 150px;
        height: 100px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-info {
        text-align: left;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
    
    .footer-nav {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    /* Methoden Stile */
    .methods-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin: 40px 0;
    }
    
    .method-card {
        flex: 1;
        min-width: 250px;
        background-color: #f8f8f8;
        border-radius: 8px;
        padding: 25px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
    }
    
    .method-card:hover {
        transform: translateY(-5px);
    }
    
    .method-icon {
        margin-bottom: 15px;
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(192, 4, 24, 0.1);
        border-radius: 50%;
    }
    
    .method-icon i {
        font-size: 3rem;
        color: #C00418;
    }
    
    .method-title {
        color: #10204F;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .method-card p {
        text-align: center;
    }
    
    /* Trainer-Profil Stile */
    .trainer-profile {
        margin: 60px 0;
        background-color: #f8f8f8;
        border-radius: 10px;
        padding: 40px;
        position: relative;
    }
    
    .trainer-content {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    
    .trainer-image {
        flex: 0 0 300px;
    }
    
    .trainer-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    
    .trainer-info {
        flex: 1;
    }
    
    .trainer-info h3 {
        color: #10204F;
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .trainer-info p {
        margin-bottom: 15px;
        line-height: 1.7;
    }
    
    .trainer-quote {
        font-style: italic;
        font-size: 1.15rem;
        padding: 20px 30px;
        margin: 25px 0;
        border-left: 4px solid #C00418;
        background-color: rgba(255,255,255,0.7);
    }
    
    .trainer-credentials {
        margin-top: 20px;
    }
    
    .trainer-credentials ul {
        list-style: none;
        padding-left: 0;
    }
    
    .trainer-credentials li {
        padding: 8px 0;
        position: relative;
        padding-left: 28px;
    }
    
    .trainer-credentials li:before {
        content: '';
        position: absolute;
        left: 0;
        top: 12px;
        width: 18px;
        height: 18px;
        background-color: #C00418;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
        mask-size: contain;
        -webkit-mask-size: contain;
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
    }
    
    .trainer-content {
        flex-direction: column;
    }
    
    .trainer-image {
        margin: 0 auto 30px;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    .hero-content h2 {
        font-size: 1.125rem;
    }
    
    .btn, .btn-card {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .hex-grid {
        gap: 10px;
    }
    
    .hex-item {
        width: calc(50% - 10px);
        height: 90px;
    }
    
    .hex-item h3 {
        font-size: 1.125rem;
    }
    
    .hex-item p {
        font-size: 0.75rem;
    }
}