/*
Theme Name: Kälte-Apel Modern
Theme URI: https://kälte-apel.de
Author: Maik
Description: Modernes, responsives Theme für Kälte-Apel
Version: 2.0
Text Domain: kaelte-apel
*/

:root {
    --primary: #1a2b5f;
    --primary-light: #2a3f7a;
    --accent: #e63946;
    --accent-hover: #d62839;
    --text: #2d3748;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-light: #f7fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s;
}

.site-logo img:hover {
    transform: scale(1.02);
}

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

.main-nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Snow Canvas Effect */
.snow-canvas {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 30px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav li:hover .snow-canvas {
    opacity: 1;
}

.main-nav li {
    position: relative;
}

/* Hero Slider */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s;
    z-index: 10;
}

.slider-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev { left: 2rem; }
.slider-control.next { right: 2rem; }
.slider-control.pause {
    top: auto;
    bottom: 2rem;
    right: 2rem;
    transform: none;
    width: auto;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26,43,95,0.95));
    color: white;
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Winterpause Notice */
.winter-notice {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin: 0 2rem;
}

.winter-notice h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.winter-notice p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.testimonial-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card cite {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact iframe {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.hours-table {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hours-table caption {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    padding: 1rem;
    text-align: left;
}

.hours-table th,
.hours-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.hours-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:first-child {
    font-weight: 500;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

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

.cookie-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cookie-button.accept {
    background: var(--accent);
    color: white;
}

.cookie-button.accept:hover {
    background: var(--accent-hover);
}

.cookie-button.decline {
    background: rgba(255,255,255,0.1);
    color: white;
}

.cookie-button.decline:hover {
    background: rgba(255,255,255,0.2);
}

/* Footer */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 2rem;
    text-align: center;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 968px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 450px;
    }
    
    .hero-content {
        padding: 3rem 1.5rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-control.prev { left: 1rem; }
    .slider-control.next { right: 1rem; }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .winter-notice {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .winter-notice h2 {
        font-size: 1.5rem;
    }
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-links,
    .footer-legal,
    .footer-contact {
        text-align: left !important;
    }
    
    .footer-links ul,
    .footer-legal ul {
        text-align: left !important;
    }
    
    .footer-links li,
    .footer-legal li {
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .footer-brand .social-media {
        justify-content: center;
    }
    
    .footer-links,
    .footer-legal,
    .footer-contact {
        text-align: left !important;
    }
    
    .footer-links ul,
    .footer-legal ul {
        text-align: left !important;
        padding-left: 0 !important;
    }
    
    .footer-links li,
    .footer-legal li {
        text-align: left !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
}
/* Contact Form 7 - Modern Design */

.wpcf7 {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a2b5f;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #2d3748;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: 6px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #1a2b5f;
    box-shadow: 0 0 0 4px rgba(26, 43, 95, 0.08);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.wpcf7-form ::placeholder {
    color: #a0aec0;
    opacity: 1;
}

.wpcf7-quiz-label {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 18px;
    margin: 10px 0;
}

.wpcf7-quiz-label input {
    width: 120px !important;
    margin-top: 10px !important;
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(230, 57, 70, 0.2);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(230, 57, 70, 0.4);
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #48bb78;
}

.wpcf7 form.failed .wpcf7-response-output {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #f56565;
}

.wpcf7-not-valid {
    border-color: #e63946 !important;
    background: #fff5f5 !important;
}

.wpcf7-not-valid-tip {
    color: #e63946;
    font-size: 0.875rem;
    margin-top: 6px;
}