/*
Theme Name: Berater Theme
Theme URI: https://example.com
Author: Ihr Name
Description: Professionelles WordPress-Theme für Gründungs- und Innovationsberatung
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: berater-theme
*/

:root {
    --primary: #1a3a52;
    --secondary: #e8754a;
    --accent: #f4d58d;
    --text: #2c2c2c;
    --light: #f8f9fa;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--secondary);
    text-decoration: none;
}

/* =============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 900;
}

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

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* =============================
   LAYOUT
============================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 6rem 5%;
}

/* =============================
   NAVIGATION
============================= */
#masthead {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.site-branding .site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0;
}

.site-branding .site-title a {
    color: var(--primary);
    text-decoration: none;
}

.site-branding .site-description {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

#primary-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

#primary-menu a {
    color: var(--text);
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

#primary-menu a:hover {
    color: var(--secondary);
}

#primary-menu .current-menu-item a {
    color: var(--secondary);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* =============================
   HERO SECTION
============================= */
#hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5f7f 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(244, 213, 141, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(5deg); }
}

#hero .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

#hero .hero-content {
    max-width: 700px;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

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

#hero h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

#hero .hero-tagline {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 117, 74, 0.3);
}

/* =============================
   ABOUT SECTION
============================= */
#ueber-mich {
    background: var(--light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.about-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =============================
   SERVICES SECTION
============================= */
#leistungen {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* =============================
   WORKSHOPS SECTION
============================= */
#workshops {
    background: var(--light);
}

#workshops .section-intro {
    text-align: center;
    max-width: 800px;
    margin: -1.5rem auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.workshop-card {
    background: linear-gradient(135deg, var(--primary) 0%, #2c5f7f 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(26, 58, 82, 0.3);
}

.workshop-card h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.workshop-card p {
    opacity: 0.95;
    line-height: 1.7;
}

/* =============================
   CONTACT SECTION
============================= */
#kontakt {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

#kontakt h2 {
    color: var(--white);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.15rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 3rem;
}

.contact-info a {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary);
}

/* Contact Form (WordPress default) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.wpcf7-form input[type="submit"] {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--accent);
    color: var(--primary);
}

/* =============================
   FOOTER
============================= */
#colophon {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

#colophon .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-widget h4 {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-widget p,
.footer-widget a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-widget a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 0;
}

/* =============================
   WORDPRESS BASICS
============================= */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    #hero h1 { font-size: 2.5rem; }
    #hero .hero-tagline { font-size: 1.1rem; }

    #primary-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem 5%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
    }

    #primary-menu.is-open {
        display: flex;
    }

    #primary-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    #primary-menu a {
        display: block;
        padding: 0.8rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .services-grid,
    .workshops-grid {
        grid-template-columns: 1fr;
    }
}
