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

:root {
    --dunkelblau: #1E5981;
    --turkis: #23A3C0;
    --mittelblau: #1E7ABD;
    --hellblau: #89D6F4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

/* Header */
header {
    background: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo {
    height: 70px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--turkis);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dunkelblau);
    transition: all 0.3s;
}

/* Hero Section - Full Width Background */
.hero {
    margin-top: 80px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* ÄNDERUNG HIER:
      Der linear-gradient ist dein blauer Filter.
      Ersetze die 'url()' einfach durch den Pfad zu deinem Bild.
    */
    background: linear-gradient(135deg, rgba(30, 89, 129, 0.85) 0%, rgba(35, 163, 192, 0.85) 100%),
                url("images/podu_hero.jpeg"); /* <-- ERSETZE DIESEN BILD-PLATZHALTER */
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Sorgt für den Parallax-Effekt */
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    color: white;
    position: relative; /* Stellt sicher, dass der Inhalt über dem Hintergrund liegt */
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background: white;
    margin: 2rem auto;
    opacity: 0.8;
}

.hero-content p {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: var(--turkis);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--mittelblau);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 122, 189, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--dunkelblau);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--dunkelblau);
    transition: all 0.3s;
    border-radius: 4px;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--dunkelblau);
    color: white;
}

/* Trust Section */
.trust-section {
    padding: 5rem 3rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.trust-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.trust-content h2 {
    font-size: 1.5rem;
    color: #718096;
    margin-bottom: 3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, filter 0.3s;
    height: 120px;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* About Section */
.about {
    padding: 6rem 3rem;
    background: #f7fafc;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--dunkelblau);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-visual {
    background: var(--dunkelblau);
    height: 400px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}



.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Passt das Bild an, um den Container zu füllen */
    display: block;    /* Verhindert kleine Abstände unter dem Bild */
}

/* Services Section */
.services {
    padding: 6rem 3rem;
    background: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dunkelblau);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.15rem;
    color: #718096;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    height: 220px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--hellblau) 0%, var(--turkis) 100%);
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--turkis), var(--mittelblau));
    transition: height 0.3s;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 89, 129, 0.12);
}

.service-card:hover::before {
    height: 100%;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--dunkelblau);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-content p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--turkis);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

.service-link::after {
    content: '→';
}

/* Why Section */
.why-section {
    padding: 6rem 3rem;
    background: #f7fafc;
}

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

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

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--hellblau) 0%, var(--turkis) 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border-radius: 6px;
}

.why-item h3 {
    font-size: 1.3rem;
    color: var(--dunkelblau);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.why-item p {
    color: #718096;
    line-height: 1.7;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    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 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #2d3748;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 6rem 3rem;
    background: var(--dunkelblau);
    color: white;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-container > p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-form {
    background: rgba(255,255,255,0.08);
    padding: 3rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.submit-button {
    background: var(--turkis);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: var(--mittelblau);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Formular Erfolgsmeldungen - Verbessertes Design */
.form-message {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-message svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
}

.form-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.form-message.success svg {
    background: rgba(16, 185, 129, 0.3);
    stroke: #10b981;
    stroke-width: 2.5;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ffffff;
}

.form-message.error svg {
    background: rgba(239, 68, 68, 0.3);
    stroke: #ef4444;
    stroke-width: 2.5;
}

.form-message > div {
    flex: 1;
}

.form-message strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.form-message p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Animierte Icons */
.form-message.success svg {
    animation: successPulse 0.6s ease-out;
}

.form-message.error svg {
    animation: errorShake 0.5s ease-out;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Footer */
footer {
    background: #0f2e46;
    color: white;
    padding: 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 3rem 0;
        gap: 2rem;
        transition: left 0.3s;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero {
        height: auto;
        padding: 4rem 1.5rem;
        min-height: 70vh;
        margin-top: 80px;
        background-attachment: scroll; /* Parallax funktioniert mobil oft nicht gut */
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .hero-content p {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Trust Section */
    .trust-section {
        padding: 3rem 1.5rem;
    }

    .trust-content h2 {
        font-size: 1.1rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .client-logo {
        height: 80px;
        padding: 1rem;
    }

    .client-logo img {
        max-height: 50px;
    }

    /* Services Section */
    .services {
        padding: 3rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .service-image {
        height: 160px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    /* About Section */
    .about {
        padding: 3rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-visual {
        height: 250px;
    }

    /* Why Section */
    .why-section {
        padding: 3rem 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-item {
        padding: 1.5rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .why-item h3 {
        font-size: 1.1rem;
    }

    .why-item p {
        font-size: 0.95rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 3rem 1.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card::before {
        font-size: 3rem;
        top: 1rem;
        left: 1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-author {
        font-size: 0.95rem;
    }

    .testimonial-company {
        font-size: 0.85rem;
    }

    /* Review CTA */
    .review-cta-section {
        padding: 3rem 1.5rem;
    }

    .review-cta-content h2 {
        font-size: 1.8rem;
    }

    .review-cta-content p {
        font-size: 1rem;
    }

    .google-review-badge {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-google {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Contact Section */
    .contact {
        padding: 3rem 1.5rem;
    }

    .contact-container h2 {
        font-size: 1.8rem;
    }

    .contact-container > p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-button {
        width: 100%;
    }

    /* Footer */
    footer {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    /* Navigation */
    nav {
        padding: 0 1.5rem;
    }

    .logo {
        height: 50px;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    .trust-content h2 {
        font-size: 1rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .google-review-badge {
        flex-direction: column;
        text-align: center;
    }
}


/* ============================================
   DSGVO COOKIE BANNER STYLES - PODU SERVICE DESIGN
   Angepasst an das Podu Service Farbschema
   ============================================ */

/* Podu Service Farben */
:root {
    --podu-dunkelblau: #1E5981;
    --podu-turkis: #23A3C0;
    --podu-mittelblau: #1E7ABD;
    --podu-hellblau: #89D6F4;
    --podu-text: #2d3748;
    --podu-text-light: #4a5568;
    --podu-bg-light: #f7fafc;
}

/* Cookie Banner Container */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Overlay */
.cookie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 89, 129, 0.9);
    backdrop-filter: blur(6px);
    z-index: 1;
}

/* Cookie Container */
.cookie-container {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(30, 89, 129, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
.cookie-container::-webkit-scrollbar {
    width: 8px;
}

.cookie-container::-webkit-scrollbar-track {
    background: #f7fafc;
}

.cookie-container::-webkit-scrollbar-thumb {
    background: var(--podu-turkis);
    border-radius: 4px;
}

.cookie-container::-webkit-scrollbar-thumb:hover {
    background: var(--podu-mittelblau);
}

/* Header */
.cookie-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 28px 20px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 89, 129, 0.03) 0%, rgba(35, 163, 192, 0.03) 100%);
}

.cookie-icon {
    color: var(--podu-turkis);
    flex-shrink: 0;
}

.cookie-header h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--podu-dunkelblau);
    margin: 0;
    flex: 1;
}

.cookie-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: var(--podu-text-light);
}

.cookie-close:hover {
    background: #f7fafc;
    color: var(--podu-turkis);
}

/* Content */
.cookie-content {
    padding: 28px;
}

.cookie-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--podu-text-light);
    margin-bottom: 24px;
}

/* Cookie Categories */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cookie-category {
    background: var(--podu-bg-light);
    border-radius: 4px;
    padding: 18px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cookie-category:hover {
    background: #ffffff;
    border-color: var(--podu-turkis);
    box-shadow: 0 2px 8px rgba(35, 163, 192, 0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.category-info {
    flex: 1;
}

.category-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.category-header h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--podu-text);
    margin: 0;
}

.category-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--podu-text-light);
    margin: 0;
}

/* Badge */
.cookie-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    background: #f7fafc;
    color: var(--podu-text-light);
}

.cookie-badge.required {
    background: linear-gradient(135deg, rgba(30, 89, 129, 0.1), rgba(35, 163, 192, 0.1));
    color: var(--podu-dunkelblau);
    border: 1px solid rgba(30, 89, 129, 0.2);
}

/* Toggle Switch */
.toggle-wrapper {
    position: relative;
    flex-shrink: 0;
}

.toggle-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    display: block;
    width: 52px;
    height: 28px;
    background: #cbd5e0;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toggle-label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-wrapper input[type="checkbox"]:checked + .toggle-label {
    background: var(--podu-turkis);
}

.toggle-wrapper input[type="checkbox"]:checked + .toggle-label::after {
    left: 27px;
    box-shadow: 0 2px 6px rgba(35, 163, 192, 0.3);
}

/* Disabled Toggle */
.toggle-wrapper.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.toggle-wrapper.disabled .toggle-label {
    background: var(--podu-turkis);
    cursor: not-allowed;
}

.toggle-wrapper.disabled .toggle-label::after {
    left: 27px;
}

/* Privacy Links */
.cookie-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.cookie-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--podu-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-links a svg {
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.cookie-links a:hover {
    color: var(--podu-turkis);
}

.cookie-links a:hover svg {
    transform: scale(1.1);
}

/* Actions */
.cookie-actions {
    display: flex;
    gap: 10px;
    padding: 20px 28px 28px;
    border-top: 1px solid #e2e8f0;
}

.cookie-btn {
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.btn-primary {
    background: var(--podu-turkis);
    color: white;
    box-shadow: 0 2px 8px rgba(35, 163, 192, 0.2);
}

.btn-primary:hover {
    background: var(--podu-mittelblau);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 122, 189, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: white;
    color: var(--podu-dunkelblau);
    border: 2px solid var(--podu-dunkelblau);
}

.btn-outline:hover {
    background: var(--podu-dunkelblau);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 89, 129, 0.2);
}

.btn-outline:active {
    transform: translateY(0);
}

/* Cookie Settings Button (schwebend) */
.cookie-settings-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
    background: var(--podu-turkis);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(35, 163, 192, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    animation: fadeInButton 0.5s ease;
}

@keyframes fadeInButton {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-settings-btn svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cookie-settings-btn:hover {
    background: var(--podu-mittelblau);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 122, 189, 0.4);
}

.cookie-settings-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-container {
        max-width: 100%;
        max-height: 95vh;
        margin: 0 10px;
    }

    .cookie-header {
        padding: 22px 18px 18px;
    }

    .cookie-header h2 {
        font-size: 20px;
    }

    .cookie-icon {
        width: 32px;
        height: 32px;
    }

    .cookie-close {
        top: 18px;
        right: 18px;
    }

    .cookie-content {
        padding: 22px 18px;
    }

    .cookie-description {
        font-size: 14px;
    }

    .cookie-category {
        padding: 14px;
    }

    .category-header {
        flex-direction: column;
        gap: 10px;
    }

    .category-header h3 {
        font-size: 15px;
    }

    .category-description {
        font-size: 12px;
    }

    .toggle-wrapper {
        align-self: flex-start;
    }

    .cookie-actions {
        flex-direction: column;
        padding: 18px;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }

    .cookie-settings-btn {
        bottom: 18px;
        left: 18px;
        width: 46px;
        height: 46px;
    }

    .cookie-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-header h2 {
        font-size: 18px;
    }

    .cookie-description {
        font-size: 13px;
    }

    .category-header h3 {
        font-size: 14px;
    }

    .cookie-btn {
        font-size: 13px;
        padding: 11px 18px;
    }

    .cookie-settings-btn {
        width: 44px;
        height: 44px;
    }
}

/* Accessibility */
.cookie-btn:focus,
.cookie-close:focus,
.toggle-label:focus,
.cookie-settings-btn:focus {
    outline: 2px solid var(--podu-turkis);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cookie-banner,
    .cookie-settings-btn {
        display: none !important;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    .cookie-container {
        background: #1a202c;
        color: #e2e8f0;
    }

    .cookie-header {
        border-bottom-color: #2d3748;
        background: linear-gradient(135deg, rgba(30, 89, 129, 0.1) 0%, rgba(35, 163, 192, 0.1) 100%);
    }

    .cookie-header h2 {
        color: var(--podu-hellblau);
    }

    .cookie-description,
    .category-description {
        color: #cbd5e0;
    }

    .cookie-category {
        background: #2d3748;
        border-color: #4a5568;
    }

    .cookie-category:hover {
        background: #374151;
    }

    .category-header h3 {
        color: #e2e8f0;
    }

    .cookie-actions {
        border-top-color: #2d3748;
    }

    .btn-outline {
        background: #2d3748;
        color: var(--podu-hellblau);
        border-color: var(--podu-turkis);
    }

    .cookie-links a {
        color: #cbd5e0;
    }

    .cookie-links {
        border-top-color: #4a5568;
    }
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}