/* Allgemeine Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0.5rem 0;
}

.navbar-brand img {
    max-height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('img/kueche-modern-1.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 76px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.hero-text {
    margin: 2rem auto;
    max-width: 600px;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1.2rem;
    color: #666;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.section p.text-center {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 30px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
    background: white;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.montage-zeit {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

/* Carousel Indikatoren Styling */
.carousel-indicators {
    position: relative;
    margin-top: 20px;
    margin-bottom: 0;
    bottom: auto;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: #ccc !important;
    margin: 0 5px !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #3498db !important;
    opacity: 1;
    transform: scale(1.2);
}

/* Modal Styling */
.project-modal-content {
    display: flex;
    flex-direction: column;
}

.project-modal-content img {
    max-height: 70vh;
    object-fit: contain;
}

.project-modal-info {
    background: white;
    padding: 20px;
}

@media (min-width: 768px) {
    .project-modal-content {
        flex-direction: row;
    }
    
    .project-modal-content img {
        width: 60%;
    }
    
    .project-modal-info {
        width: 40%;
    }
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.testimonial-rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-text i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author .name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.testimonial-author .project {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.testimonial-author .location {
    color: #666;
    font-size: 0.85rem;
}

/* Testimonial Modal */
.testimonial-modal-content {
    padding: 2rem;
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin: 2rem 0;
    position: relative;
    padding: 0 2rem;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
}

.testimonial-quote::before {
    left: -1rem;
    top: -2rem;
}

.testimonial-quote::after {
    right: -1rem;
    bottom: -4rem;
}

.testimonial-details {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Responsive Design für Testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 2rem;
    }

    .testimonial-quote {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 3rem;
    }
}

/* Rating Summary */
.rating-summary {
    margin-bottom: 4rem;
}

.rating-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    height: 100%;
}

.rating-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-number h3 {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.5rem;
}

.rating-count {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.rating-platforms {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.platform-link:hover {
    transform: translateY(-2px);
}

.rating-platforms img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.rating-platforms img:hover {
    opacity: 1;
}

.rating-details {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.rating-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.rating-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rating-category span {
    color: var(--primary-color);
    font-weight: 500;
}

.rating-category .stars {
    color: #ffd700;
}

@media (max-width: 768px) {
    .rating-badge {
        margin-bottom: 2rem;
    }

    .rating-number h3 {
        font-size: 3rem;
    }

    .rating-category {
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }
}

/* Contact Section */
.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.2rem;
}

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

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form p {
    color: #666;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    max-height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
}

.contact-links {
    margin-top: 2rem;
}

.contact-links p {
    margin-bottom: 0.5rem;
}

.contact-links i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    padding: 0.5rem 1.5rem;
}

/* Modals */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Cookie Consent */
.cc-window {
    background-color: var(--dark-bg) !important;
    color: white !important;
}

.cc-btn {
    background-color: var(--secondary-color) !important;
    border-radius: 5px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .stat-item {
        margin-bottom: 2rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .navbar-brand img {
        max-height: 60px;
    }

    .footer-logo {
        max-height: 60px;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Projekt-Karussell Stile */
.project-carousel {
    position: relative;
    overflow: hidden;
}

.project-carousel .row {
    transition: all 0.3s ease-in-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Projekt-Dots Navigation */
.project-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Touch-Swipe Unterstützung */
.project-carousel {
    touch-action: pan-y pinch-zoom;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.testimonial-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonial-slide {
    transition: all 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

/* Testimonial Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.testimonial-dots .dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Touch-Swipe Unterstützung */
.testimonial-carousel {
    touch-action: pan-y pinch-zoom;
}

/* Allgemeine mobile Anpassungen */
@media (max-width: 768px) {
    /* Header & Navigation */
    .navbar-brand img {
        height: 50px;
    }

    .hero-content {
        padding: 100px 20px 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Statistiken */
    .stat-item {
        margin-bottom: 30px;
    }

    .stat-item i {
        font-size: 2rem;
    }

    /* Leistungen */
    .service-card {
        margin-bottom: 30px;
        height: auto;
    }

    /* Projekte & Bewertungen */
    .project-card,
    .testimonial-card {
        margin-bottom: 20px;
    }

    .carousel-item .row > div {
        margin-bottom: 20px;
    }

    /* Kontaktformular */
    .contact-form,
    .contact-info {
        padding: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-logo {
        height: 50px;
    }

    /* Modals */
    .modal-dialog {
        margin: 10px;
    }

    /* WhatsApp Button */
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
}

/* Tablet-spezifische Anpassungen */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        padding: 120px 40px 60px;
    }

    .service-card {
        min-height: 400px;
    }

    .project-card,
    .testimonial-card {
        margin-bottom: 30px;
    }
}

/* Verbesserte Touch-Interaktion für mobile Geräte */
@media (hover: none) {
    .project-card,
    .testimonial-card {
        cursor: pointer;
    }

    .project-info,
    .testimonial-text {
        opacity: 1;
        transform: none;
    }

    .nav-link {
        padding: 15px 10px;
    }

    .btn {
        padding: 12px 24px;
    }
}

/* Landscape-Modus Optimierungen */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 80px 20px 40px;
    }

    .modal-dialog {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Verbesserte Formular-Elemente auf mobilen Geräten */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important; /* Verhindert Zoom auf iOS */
    }

    .form-control,
    .btn {
        height: 45px;
    }

    textarea.form-control {
        height: auto;
    }

    .g-recaptcha {
        transform-origin: left top;
        transform: scale(0.9);
    }
}

/* Cookie-Banner Anpassungen */
@media (max-width: 768px) {
    .cc-window {
        flex-direction: column !important;
        padding: 1em !important;
    }

    .cc-message {
        margin-bottom: 1em !important;
    }

    .cc-compliance {
        flex-direction: column !important;
    }

    .cc-btn {
        width: 100% !important;
        margin: 0.5em 0 !important;
    }
}

/* Verbessertes Grid-System für Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .col-md-3,
    .col-md-4,
    .col-md-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Verbesserte Navigation auf mobilen Geräten */
@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .navbar-nav {
        margin: 0;
    }

    .nav-item {
        margin: 5px 0;
    }

    .nav-link {
        padding: 10px 15px;
        border-radius: 5px;
    }

    .nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
    }
}

/* Verbesserte Kartenansicht auf mobilen Geräten */
@media (max-width: 768px) {
    .project-card,
    .testimonial-card,
    .service-card {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        overflow: hidden;
    }

    .project-info,
    .testimonial-text {
        padding: 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
}

/* Verbesserte Modal-Ansicht auf mobilen Geräten */
@media (max-width: 768px) {
    .modal-content {
        border-radius: 15px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 20px;
        font-size: 0.95rem;
    }

    .modal-footer {
        padding: 15px 20px;
    }

    .btn-close {
        padding: 12px;
    }
}

/* Verbesserte Statistik-Anzeige auf mobilen Geräten */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }

    .stat-item {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
        margin: 10px 0;
    }

    .stat-item p {
        font-size: 1.1rem;
        margin: 0;
    }
}

/* Verbesserte Bewertungsübersicht auf mobilen Geräten */
@media (max-width: 768px) {
    .rating-summary {
        padding: 20px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .rating-badge {
        margin-bottom: 30px;
    }

    .rating-category {
        margin-bottom: 15px;
    }

    .rating-stars {
        font-size: 1.2rem;
    }
}

/* Verbesserte Footer-Darstellung auf mobilen Geräten */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 20px;
    }

    .contact-links p {
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer h4 {
        margin-top: 30px;
    }
} 