/* ============================================
   PRAXIS KORELL - Stylesheet
   Website: www.korell.org/praxis
   ============================================ */
/* Created: 05.12.2025, 21:00 - Initiale Erstellung AP1 */

/* ============================================
   CSS CUSTOM PROPERTIES (Farbvariablen)
   ============================================ */
:root {
    --color-topbar: #3d5a3d;
    --color-header: #4a6741;
    --color-accent: #7cb342;
    --color-accent-dark: #689f38;
    --color-text: #333333;
    --color-text-light: #ffffff;
    --color-background: #ffffff;
    --color-footer-bg: #3d5a3d;
    
    --font-primary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Merriweather', Georgia, serif;
    
    --max-width: 1200px;
    --header-height: 140px;
    --topbar-height: 40px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ============================================
   LINKS - Ohne Unterstreichung
   ============================================ */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-dark);
}

/* Links auf dunklem Hintergrund */
.dark-bg a {
    color: var(--color-text-light);
}

.dark-bg a:hover {
    color: var(--color-accent);
}

/* ============================================
   TOP-BAR
   ============================================ */
.topbar {
    background-color: var(--color-topbar);
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.topbar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.topbar a {
    color: var(--color-text-light);
}

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

.topbar-right {
    font-size: 0.85rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: var(--color-header);
    padding: 1rem;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo img {
    max-height: 100px;
    width: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

/* Hamburger Menu (Mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle svg {
    width: 28px;
    height: 28px;
    fill: var(--color-text-light);
}

/* ============================================
   HERO SECTION (Startseite)
   ============================================ */
.hero {
    position: relative;
    height: 900px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.0);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;

    
}


/* ============================================

.hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
   ============================================ */

.hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.5);
}

/* ============================================
   PAGE HEADER (Unterseiten)
   ============================================ */
.page-header {
    background-color: var(--color-header);
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-text-light);
}

.page-header h1 {
    margin-bottom: 0;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--color-header);
    margin-bottom: 1.5rem;
}

/* ============================================
   SERVICES LIST (Startseite)
   ============================================ */
.services-list {
    list-style: none;
    margin-bottom: 2rem;
}

.services-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ============================================
   ABOUT PAGE - Two Column Layout
   ============================================ */
.about-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.about-main {
    /* Hauptinhalt */
}

.about-sidebar {
    /* Sidebar */
}

.sidebar-box {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-top: 3px solid var(--color-accent);
}

.sidebar-box h3 {
    color: var(--color-header);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sidebar-box p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Profile Section */
.profile {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-image {
    width: 200px;
    height: auto;
    border-radius: 4px;
}

.profile-info h2 {
    color: var(--color-header);
    margin-bottom: 0.5rem;
}

.profile-info .personal-data {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Qualifications List */
.qualifications {
    list-style: none;
    margin-bottom: 2rem;
}

.qualifications li {
    padding: 0.4rem 0;
    padding-left: 1.8rem;
    position: relative;
}

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

/* Signature */
.signature {
    margin-top: 2rem;
    font-style: italic;
}

.signature img {
    max-width: 200px;
    margin-top: 0.5rem;
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    color: var(--color-header);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-content h3 {
    color: var(--color-header);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-style: italic;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.3rem;
}

.contact-block {
    margin: 1rem 0;
    line-height: 1.8;
}

/* ============================================
   FOOTER
.footer {
    background-image: url('../images/footerbg.png');
    background-size: cover;
    background-position: top center;
    padding-top: 80px;
    color: var(--color-text-light);
}



   ============================================ */
.footer {
    background-image: url('../images/footerbg.png');
    background-size: cover;
    background-position: bottom; center;
    padding-top: 80px;
    color: var(--color-text-light);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-left h4,
.footer-right h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-left p {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

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

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--color-text-light);
}

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

.footer-bottom {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-sidebar {
        order: -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 100px;
    }
    
    /* Topbar Mobile */
    .topbar-container {
        flex-direction: column;
        text-align: center;
    }
    
    .topbar-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .topbar-right {
        margin-top: 0.5rem;
    }
    
    /* Header Mobile */
    .header-container {
        flex-direction: column;
    }
    
    .logo img {
        max-height: 80px;
    }
    
    /* Navigation Mobile */
    .nav-toggle {
        display: block;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-header);
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav {
        position: relative;
        width: 100%;
    }
    
    /* Hero Mobile */
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Content Mobile */
    .main {
        padding: 2rem 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    /* Profile Mobile */
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-image {
        width: 150px;
    }
    
    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .page-header {
        padding: 2rem 1rem;
    }
}
