/* Reset und Basis-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C2C2C;  /* Dunkles Grau */
    --accent-color: #C67030;  /* Dunkleres Bernstein mit WCAG AA Kontrast (4.52:1) */
    --accent-hover: #A85A25;  /* Noch dunkler für Hover-States */
    --white: #FFFFFF;
    --light-bg: #F8F9FA;  /* Hellgrau */
    --text-color: #333333;  /* Dunkelgrau */
    --text-light: #595959;  /* Für sekundären Text - WCAG AA konform (7.43:1) */
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --focus-outline: 2px solid #C67030;  /* Für Keyboard-Navigation */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Skip Link für Screenreader */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Visually Hidden für Screenreader */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* Header und Navigation */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:focus {
    outline: var(--focus-outline);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Bereich */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-color);
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    max-width: 500px;
    margin-left: auto;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 141, 73, 0.3);
}

.btn:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.btn-large {
    font-size: 1.1rem;
    padding: 15px 40px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Über mich Sektion */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.qualifications {
    margin-top: 2rem;
}

.qualifications h4 {
    margin-bottom: 1rem;
}

.qualifications ul {
    list-style: none;
    padding-left: 0;
}

.qualifications li {
    padding: 0.5rem 0;
    padding-left: 25px;
    position: relative;
}

.qualifications li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

@media (max-width: 375px) {
    .qualifications {
        margin-top: 1.5rem;
    }
    
    .qualifications li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Testimonials / Why Coaching */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-grid, .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card, .why-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.why-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.testimonial-author p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    text-align: center;
}

.contact-cta h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-cta p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Cal.com Booking Integration */
.booking-wrapper {
    margin-top: 2rem;
}

.booking-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-radius: 10px;
    border: 1px solid #E0E0E0;
}

.booking-icon {
    flex-shrink: 0;
}

.booking-text {
    flex: 1;
}

.booking-text h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.booking-text p {
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .booking-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .booking-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .booking-text h3 {
        font-size: 1.2rem;
    }
    
    .booking-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

.btn-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-details {
    margin-top: 2rem;
}

.contact-row {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item img,
.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.social-link img {
    display: block;
    transition: opacity 0.3s ease;
}

.social-link:hover img {
    opacity: 0.8;
}

.social-link span {
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444444;
}

/* Responsive Design */
/* Zusätzliche Stil-Verbesserungen */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bildoptimierung für verschiedene Seitenverhältnisse */
.about-content {
    align-items: stretch;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Contact Form Mobile */
    .contact-cta {
        padding: 1.5rem;
    }
    
    .btn-calendar {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Why Cards Mobile */
    .why-grid {
        gap: 1rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
    
    /* Touch Targets */
    .nav-menu a {
        padding: 1rem;
        display: block;
    }
    
    .btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Form Elements Mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    /* Sicherstellen dass Navigation standardmäßig ausgeblendet ist */
    .nav-menu:not(.active) {
        left: -100% !important;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Already handled above */

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    
    /* Additional Mobile Fixes */
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Image Heights */
    .hero-image {
        max-width: 100%;
    }
    
    .hero-image img {
        height: 350px;
        object-position: center 25%;
    }
    
    .about-image img {
        height: 250px;
    }
}

/* Specific fix for 350-370px screens */
@media (max-width: 370px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-toggle {
        padding: 0.25rem;
        margin-right: -0.25rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-brand a {
        font-size: 1rem;
    }
    
    /* Fix für Navigation die nicht verschwindet */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* Small Mobile Devices (375px and below) */
@media (max-width: 375px) {
    /* Container padding reduction */
    .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    /* Navigation */
    .main-header {
        padding: 0.5rem 0;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-brand a {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        padding: 1.5rem 0;
        width: 100%;
        left: -100%;
    }
    
    .nav-toggle {
        padding: 0.5rem;
        margin-right: -0.5rem;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* About section */
    .about {
        padding: 40px 0;
    }
    
    .about h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .about-image {
        margin-bottom: 1.5rem;
    }
    
    .about-image img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }
    
    /* Services */
    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Why cards */
    .why-grid {
        gap: 0.75rem;
    }
    
    .why-card {
        padding: 1.25rem;
    }
    
    .why-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .why-card p {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-info h3 {
        font-size: 1.4rem;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .contact-cta {
        padding: 1.25rem;
    }
    
    .contact-cta h4 {
        font-size: 1.15rem;
    }
    
    .contact-cta p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    .btn-calendar {
        font-size: 0.95rem;
        padding: 10px 16px;
    }
    
    .btn-calendar img {
        width: 16px;
        height: 16px;
    }
    
    /* Footer */
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    /* Form adjustments */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 12px;
    }
    
    /* CTA section */
    .cta-text {
        font-size: 1rem;
    }
}

/* Extra small devices (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-toggle {
        padding: 0.25rem;
        margin-right: -0.25rem;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .nav-brand a {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.form-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    max-height: 100vh;
    overflow-y: auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

/* Mobile-spezifische Anpassungen für Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        position: fixed;
        max-height: 50vh; /* Maximal halbe Bildschirmhöhe */
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.cookie-btn:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.cookie-link {
    color: var(--white);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.cookie-link:hover {
    opacity: 0.8;
}

/* Mobile Cookie Banner - Erweitert */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
        bottom: 0 !important;
        position: fixed !important;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly size */
    }
}