/* Font Awesome Schriftart */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    src: url('css/fontawesome/webfonts/fa-brands-400.woff2') format('woff2'),
         url('css/fontawesome/webfonts/fa-brands-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Asynchrones Laden mit Fallback */
}

/* Allgemeine Stile */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a2b5f; /* Dunkelblau, passend zum Header */
    color: #fff; /* Weißer Text für hohen Kontrast */
    padding: 8px 16px;
    z-index: 10000;
}

.skip-link:focus {
    top: 10px; /* Leicht vom oberen Rand entfernt */
    background: #1a2b5f; /* Dunkelblau beibehalten */
    color: #fff; /* Weißer Text */
    border-radius: 5px; /* Abgerundete Ecken für Design-Konsistenz */
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: #1a2b5f; /* Dunkelblau */
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

nav ul li {
    position: relative; /* Für Canvas-Positionierung */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:visited {
    color: white; /* Weiß für besuchte Links */
}

nav ul li a:hover,
nav ul li a:focus {
    color: #f4a261; /* Akzentfarbe Orange */
    text-decoration:none;
}

.snow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 80vh; /* Reduzierte Höhe */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ersetzt background-size: cover */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 10px; /* Näher am Rand für kleineren Slider */
    text-align: center;
    width: 100%;
    z-index: 1;
}

.dot {
    height: 12px; /* Kleinere Dots */
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    border: none; /* Für Button-Elemente */
    display: inline-block;
    cursor: pointer;
    font-size: 0; /* Entfernt sichtbaren Text für Buttons */
    transition: background-color 0.3s;
}


.dot.active {
    background-color: #d34e2d;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparenter Hintergrund für Lesbarkeit */
    padding: 1rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem; /* Reduzierte Schriftgröße */
    margin-bottom: 0.8rem;
}

.hero p {
    font-size: 1rem; /* Reduzierte Schriftgröße */
    margin-bottom: 1.5rem;
}

.cta-button {
    background-color: #fff;
    color: #1a2b5f;
    padding: 0.8rem 1.5rem; /* Kleinere Button-Größe */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.5s;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #e76f51;
}

/* Leistungen Section */
.services {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f9f9f9;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a2b5f;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services.leistungen .service-grid {
    display: flex;
    flex-direction: column; /* Vertikale Anordnung für leistungen.php */
    gap: 2rem;
}

.service-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.services.leistungen .service-item {
    overflow: auto; /* Bereinigt Float-Layout für Bilder in leistungen.php */
}

.service-item h3 {
    color: #1a2b5f;
    margin-bottom: 1rem;
    text-align: center; /* Überschriften mittig */
}

.services.leistungen .service-item img {
    display: block;
    float: left; /* Bild links positionieren in leistungen.php */
    width: 100px; /* Feste Breite für Bilder */
    height: auto;
    margin-right: 20px; /* Abstand zwischen Bild und Text */
}

.services.leistungen .service-item p, .services.leistungen .service-item ul {
    text-align: left; /* Text linksbündig in leistungen.php */
    padding-left: 120px; /* Text nach rechts verschieben, um Platz für Bild zu schaffen */
}

.services:not(.leistungen) .service-item p, .services:not(.leistungen) .service-item ul {
    text-align: center; /* Text zentriert in index.php */
}

/* About Section */
.about {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a2b5f;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.about-item img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.about-item h3 {
    color: #1a2b5f;
    margin-bottom: 0.5rem;
}

.about-image {
    display: block;
    max-width: 400px;
    width: 100%;
    margin: 0 auto 2rem auto;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background-color: #ecf0f1;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a2b5f;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-style: italic;
}

.testimonial-item p {
    margin-bottom: 1rem;
}

.testimonial-item cite {
    font-style:italic;
    color: #1a2b5f;
}

/* Kontakt Section */
.contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a2b5f;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact input, .contact textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact label {
    text-align: left;
    font-weight: bold;
}

.contact button {
    background-color: #1a2b5f;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact button:hover,
.contact button:focus {
    background-color: #e76f51;
}

.contact .map {
    margin: 2rem auto;
}

.contact iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

.contact table {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.contact th, .contact td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.contact th {
    background-color: #1a2b5f;
    color: white;
}

/* Aktion Section */
.aktion {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.aktion h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a2b5f;
}

.aktion h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a2b5f;
}

.aktion p {
    margin-bottom: 1rem;
}

.aktion ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.aktion form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.aktion input, .aktion textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.aktion label {
    text-align: left;
    font-weight: bold;
}

.aktion button {
    background-color: #d34e2d;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.aktion button:hover,
.aktion button:focus {
    background-color: #a74a32;
}

/* Footer */
footer {
    background-color: #1a2b5f;
    color: white;
    padding: 2rem;
    text-align: center;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    color: #fa7f60;
}


.social-media {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-icon {
    font-size: 1.5rem;
    color: white;
    background-color: #1a2b5f;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover,
.social-icon:focus {
    background-color: #e76f51;
    transform: scale(1.1);
}

.impressum {
    margin-top: 2rem;
    text-align: left;
    font-size: 0.9rem;
    padding-left: 10px; /* Schrift 10px nach rechts verschieben */
}

.impressum h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a2b5f;
}

.impressum h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a2b5f;
}

.impressum p {
    margin-bottom: 1rem;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    z-index: 2;
    background-color: #fff;
    color: #1a2b5f;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.slider-control:hover,
.slider-control:focus {
    background-color: #e76f51;
}

.slider-control.prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.slider-control.next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.slider-control.pause {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}


.menu-toggle {
    display: none; /* Standardmäßig versteckt auf Desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.menu-toggle:hover,
.menu-toggle:focus {
    color: #f4a261; /* Akzentfarbe */
}


.chef-consultation {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #fff; /* Hellgrauer Hintergrund für Abhebung */
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den gesamten Inhalt horizontal */

    border: 2px solid #1a2b5f; /* Dünner dunkelblauer Rand */
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Leichter Schatten für 3D-Effekt */
    padding: 1rem; /* Innenabstand für Visitenkarten-Look */
    flex: 0 0 auto; /* Verhindert, dass der Container wächst */
}

.chef-content {
    display: flex;
    flex-direction: row; /* Bild links, Text rechts */
    align-items: left; /* Vertikale Ausrichtung */
    gap: 1.5rem; /* Abstand zwischen Bild und Text */
    max-width: 800px; /* Begrenzte Breite für das gesamte Layout */
    width: 100%;
}

.chef-image-container {
    
    padding: 1rem; /* Innenabstand für Visitenkarten-Look */
    flex: 0 0 auto; /* Verhindert, dass der Container wächst */
}

.chef-image-container:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.chef-image {
    width: 150px;
    height: auto;
    border-radius: 8px; /* Leicht abgerundete Ecken für das Bild selbst */
}

.chef-text {
    flex: 1; /* Nimmt den verfügbaren Platz rechts ein */
}

.chef-consultation h3 {
    color: #1a2b5f; /* Dunkelblau, passend zum Design */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center; /* Zentriert die Überschrift */
}

.chef-consultation p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}


/* Cookie-Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a2b5f; /* Dunkelblau wie Header */
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none; /* Wird via JS angezeigt */
    text-align: center;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cookie-content a {
    color: #f4a261; /* Orange-Akzent */
    text-decoration: underline;
}

.cookie-content a:hover,
.cookie-content a:focus {
    color: #e76f51;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accept {
    background-color: #f4a261; /* Orange */
    color: #1a2b5f;
}

.accept:hover,
.accept:focus {
    background-color: #e76f51;
}

.decline {
    background-color: #ccc;
    color: #333;
}

.decline:hover,
.decline:focus {
    background-color: #aaa;
}


/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row; /* Logo links, Button rechts */
        justify-content: space-between;
        align-items: center;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: block; /* Button sichtbar machen */
    }

    .chef-content {
        flex-direction: column; /* Bild oben, Text unten auf Mobilgeräten */
        text-align: center;
    }

    .chef-image-container {
        max-width: 150px; /* Kleinerer Container auf Mobilgeräten */
    }

    .chef-image {
        width: 120px; /* Kleineres Bild auf Mobilgeräten */
    }

    .chef-text {
        padding: 0 1rem; /* Seitlicher Abstand für Text */
    }

    .main-nav {
        display: none; /* Menü standardmäßig verstecken */
        position: absolute;
        top: 100%; /* Unter dem Header positionieren */
        left: 0;
        width: 100%;
        background-color: #1a2b5f; /* Dunkelblau wie Header */
        z-index: 999;
    }

    .main-nav.open {
        display: block; /* Bei Klick einblenden */
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        margin: 0;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .services.leistungen .service-grid {
        display: flex;
        flex-direction: column; /* Vertikale Anordnung für leistungen.php auf Mobilgeräten */
        gap: 2rem;
    }

    .services.leistungen .service-item img {
        width: 80px; /* Kleinere Bilder auf Mobilgeräten */
        margin-right: 15px;
    }

    .services.leistungen .service-item p, .services.leistungen .service-item ul {
        padding-left: 95px; /* Angepasstes Padding für Mobilgeräte */
    }

    .services:not(.leistungen) .service-item p, .services:not(.leistungen) .service-item ul {
        text-align: center; /* Text zentriert in index.php auf Mobilgeräten */
    }
}

/* Kontrastverbesserungen */
a {
    color: #1a2b5f; /* Hoher Kontrast */
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Formulare */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #f4a261;
}

