/* ==========================================================================
   HAARE MITTMANN - Hugo Theme Styles
   ========================================================================== */

:root {
    --color-primary: #63724F; 
    --color-secondary: #2c2c2c;
    --color-accent: #C9D3BB;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #F5F0E8;
    --font-primary: sans-serif;
    --font-heading: sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo img {
    max-height: 60px;
    width: auto;
    margin-right: 1rem;
}

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

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    width:180px;
}

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

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

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #e8dfd4 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 1rem;
    position: absolute;
    z-index: 10;
    top: 30%;
    left: 5%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8); /* Leichter Hintergrund für Lesbarkeit */
    border-radius: 8px;
}

.hero-title {
    font-size: 2.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 500;
}


/* ==========================================================================
   Section elements
   ========================================================================== */

.section-title {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.section-intro {
    text-align: justify; /*center;*/
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.intro-section {
    padding: 3rem 0;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify; /*center;*/
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   Page Section
   ========================================================================== */

.page-section {
    padding: 5rem 0;
    background: white;
}

.page-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   Prices Section
   ========================================================================== */

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

.prices-section {
    padding: 2rem 0;
    background: white;
    text-align: center;
}

.prices-content {
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.price-category
{
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-category td
{
    padding: 0.5rem 1rem;
    text-align: left;
    vertical-align: top;
}

.price-category td:last-child {
    text-align: right; /* Preis rechtsbündig */
    white-space: nowrap; /* Verhindert Zeilenumbruch bei langen Preisen */
}

/* ==========================================================================
   Team Section
   ========================================================================== */

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

.team-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

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

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

.team-member img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.member-role {
    color: var(--color-text-light);
    font-style: italic;
}

/* ==========================================================================
   Career Section
   ========================================================================== */

.career-section {
    padding: 5rem 0;
    background: var(--color-bg);
}

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

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-secondary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    color: white;
}

.footer-nav a {
    color: white;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
