/* Hero Fullscreen Option */
.hero-section.hero-fullscreen {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-section.hero-fullscreen .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-section.hero-fullscreen h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-section.hero-fullscreen p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Page Hero für Unterseiten */
.page-hero-section {
    background: linear-gradient(rgba(44, 85, 48, 0.7), rgba(44, 85, 48, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: #ffffff;
}

.page-hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero-section p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Kontakt Seite Styles */
.contact-page-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Kontakt Info Grid */
.contact-info-grid {
    display: grid;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-color);
}

.contact-details a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* Verbessertes Kontaktformular */
.contact-page-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--heading-color);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
    background-color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
}

/* Erfolgs- und Fehlermeldungen */
.contact-success-message,
.contact-error-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CF7 Notice */
.cf7-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.cf7-notice code {
    background: #f8f9fa;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Modern Service Cards */
.service-card {
    background: #ffffff;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 1.5rem 1.5rem 1rem;
    margin: 0;
    font-size: 1.4rem;
}

.service-excerpt {
    padding: 0 1.5rem 1rem;
    color: #666;
    line-height: 1.6;
}

.service-card .btn {
    margin: 0 1.5rem 1.5rem;
    display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-animation {
    animation: fadeInUp 0.8s ease forwards;
}

/* Services Grid Improvements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* About Section Improvements */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Section Improvements */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Button Improvements */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--secondary-color), #A0522D);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

/* Service Single Page Styles */
.service-hero-section {
    background: linear-gradient(rgba(44, 85, 48, 0.7), rgba(44, 85, 48, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: #ffffff;
}

.service-hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.service-hero-section .service-excerpt {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-content-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.service-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-featured-image {
    margin-bottom: 2rem;
}

.service-featured-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.service-content h2,
.service-content h3,
.service-content h4 {
    color: var(--heading-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-content ul,
.service-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.service-content li {
    margin-bottom: 0.5rem;
}

/* Service Info Box */
.service-info-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.service-info-box h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.service-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service-info-item:last-of-type {
    border-bottom: none;
}

.service-info-item strong {
    color: var(--heading-color);
    font-weight: 600;
}

.service-info-item span {
    color: var(--text-color);
    font-weight: 500;
}

.service-booking {
    margin-top: 2rem;
    text-align: center;
}

/* Related Services Section */
.related-services-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.related-services-grid .service-card h3 a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-services-grid .service-card h3 a:hover {
    color: var(--secondary-color);
}

/* Mobile Responsive für Service Pages */
@media (max-width: 768px) {
    .service-hero-section {
        padding: 100px 0 60px;
    }
    
    .service-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-section .service-excerpt {
        font-size: 1.1rem;
    }
    
    .service-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-info-box {
        position: static;
        margin-top: 2rem;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-hero-section h1 {
        font-size: 2rem;
    }
    
    .service-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
@media (max-width: 768px) {
    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-section.hero-fullscreen h1 {
        font-size: 2.5rem;
    }
    
    .hero-section.hero-fullscreen p {
        font-size: 1.2rem;
    }
    
    .page-hero-section {
        padding: 100px 0 60px;
    }
    
    .page-hero-section h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .hero-section.hero-fullscreen {
        padding: 0 15px;
    }
    
    .hero-section.hero-fullscreen h1 {
        font-size: 2rem;
    }
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
}

.menu-toggle .hamburger {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Footer Widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    padding: 0;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

/* Sticky Header */
.site-header.sticky-nav {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header.scrolled {
    background-color: rgba(44, 85, 48, 0.95);
    backdrop-filter: blur(10px);
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Error States */
.contact-form input.error,
.contact-form textarea.error {
    border: 2px solid #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Blog Styles */
.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.entry-footer span {
    margin-right: 1rem;
}

/* Pagination */
.post-navigation,
.posts-navigation {
    margin: 3rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-links a {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: var(--secondary-color);
}

/* Search Form */
.search-form {
    display: flex;
    margin-bottom: 2rem;
}

.search-form .search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.search-form .search-submit {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Widget Styles */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.widget-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary-color);
}

/* Accessibility */
.screen-reader-text {
    position: absolute !important;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* Additional Mobile Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: relative;
    }
    
    #primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    #primary-menu.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem;
        margin: 0;
        border-radius: 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .services-section,
    .about-section {
        padding: 60px 0;
    }
}
