/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #34495e;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7f8c8d;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.hamburger:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 70px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: #7f8c8d;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #34495e;
    color: white;
}

.btn-primary:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #34495e;
    border: 2px solid #34495e;
}

.btn-secondary:hover {
    background-color: #34495e;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.candle-overlay {
    position: absolute;
    bottom: -20px;
    right: -30px;
    z-index: 1;
}

.candle-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* About Section */
.about {
    background-color: white;
}

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

.about-image img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text .intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #34495e;
}

.experience-section {
    margin-bottom: 2rem;
}

.experience-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #ecf0f1;
    border-radius: 8px;
    font-style: italic;
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.service-icon img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.what-to-expect {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-to-expect h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.expectations-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.expectations-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.expectations-list li:last-child {
    border-bottom: none;
}

/* Process Section */
.process {
    background-color: white;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    background-color: #34495e;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #34495e;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.contact-item a {
    color: #34495e;
    text-decoration: none;
}

.contact-item a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.availability-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #34495e;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    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-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: 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-menu li {
        margin: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-image {
        width: 250px;
        height: 300px;
    }
    
    .candle-overlay {
        position: static;
        margin-top: 1rem;
    }
    
    .hero-image {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .profile-image {
        width: 200px;
        height: 250px;
    }
    
    .candle-image {
        width: 120px;
        height: 80px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Animation for smooth scrolling and fade-in effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.step,
.about-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility improvements */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid #34495e;
    outline-offset: 2px;
}

/* Legal pages styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-content h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    color: #555;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content a {
    color: #34495e;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #2c3e50;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* --- Dropdown "Auf dieser Seite" --- */
.nav-item.dropdown { position: relative; }

.dropdown-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.dropdown-toggle:focus-visible,
.dropdown-item:focus-visible,
.dropdown-toggle:hover { outline: none; color: #7f8c8d; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin-top: .5rem;
    padding: .5rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .5rem;
    background: rgba(255,255,255,.98);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    display: none;
    z-index: 1200;
}
.dropdown.open > .dropdown-menu { display: block; }

.dropdown-item {
    display: block;
    padding: .5rem .75rem;
    text-decoration: none;
    color: #333;
    border-radius: .375rem;
    white-space: nowrap;
}
.dropdown-item:hover,
.dropdown-item:focus { background: rgba(0,0,0,.04); }
.dropdown.open .chevron { transform: rotate(180deg); transition: transform .2s ease; }
.chevron { transition: transform .2s ease; }

@media (max-width: 900px) {
  .nav-menu.active .dropdown-menu {
      position: static;
      margin-top: .25rem;
      min-width: 100%;
      box-shadow: none;
      border: 1px solid rgba(0,0,0,.06);
      display: block;
  }
}

/* Guidance section spacing (optional) */
.guidance .section-header h2 { margin-bottom: .75rem; }
.guidance h3 { margin-top: 1.5rem; }


/* Einfache Desktop-only Regel */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}



/* === MOBILE NAVIGATION === */
@media (max-width: 768px) {
    /* Chrome Mobile - verhindert Überlappung mit Browser-UI */
    .nav-menu.active {
        padding-top: 60px;
        padding-bottom: 60px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        left: 0;
    }
    
    /* Menü schließen wenn nicht active */
    .nav-menu:not(.active) {
        left: -100%;
        transform: translateX(-100%);
        visibility: hidden;
        opacity: 0;
    }
    
    /* Mobile Navigation Items */
    .nav-menu.active .nav-item {
        margin: 10px 0;
        min-height: 50px;
    }
    .hamburger {
        display: flex !important;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 1rem 1.5rem !important;
        display: block !important;
        color: #333 !important;
        font-size: 1.1rem;
        min-height: 44px;
        line-height: 1.4;
        transition: background-color 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background-color: #f8f9fa !important;
        color: #2c3e50 !important;
    }
    
    /* Desktop-only Items verstecken */
    .desktop-only {
        display: none !important;
    }
    
    /* Navigation Logo anpassen */
    .nav-logo h2 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    /* Overlay für geöffnetes Menü */
    body.menu-open {
        overflow: hidden;
    }
    
    .nav-menu.active::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }
}

/* Tablet-spezifische Anpassungen */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
}

/* Touch-Targets für bessere Accessibility */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        min-height: 48px !important;
        padding: 1.2rem 1.5rem !important;
    }
    
    .hamburger {
        min-width: 48px !important;
        min-height: 48px !important;
    }
}



/* === iOS TOUCH OPTIMIERUNG === */
.nav-link {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    /* iOS-spezifische Touch-Optimierung */
    touch-action: manipulation;
    -webkit-appearance: none;
    /* Mindestgröße für Touch-Targets auf iOS */
    min-height: 44px;
    line-height: 44px;
}

/* === EINFACHES HOVER-SUBMENU === */
/* Submenu-CSS entfernt - nicht mehr benötigt */

/* === BLOG SECTION === */
.blog-section {
    padding: 4rem 0;
    background-color: #fff;
}

.blog-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-section {
        padding: 3rem 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-content {
        padding: 1rem;
    }
}

/* === FAQ SECTION === */
.faq-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
}

/* Mobile Submenu-CSS entfernt - nicht mehr benötigt */

