/* ── Content Images ── */
.content-image {
    width: 100%;
    border-radius: var(--radius);
    margin: 32px 0;
    max-height: 400px;
    object-fit: cover;
}

/* ── Timeora Hero ── */
.timeora-hero {
    padding: 160px 0 80px;
    background: url('../timeora-bg.jpg?v=20260727fix') center/cover no-repeat !important;
    text-align: center;
    position: relative;
}

.timeora-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(5, 7, 13, 0.55), rgba(5, 14, 35, 0.7) 50%, rgba(5, 7, 13, 0.88));
    z-index: 0;
}

.timeora-hero .container {
    position: relative;
    z-index: 1;
}

.timeora-hero h1 {
    color: var(--white);
}

.timeora-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.timeora-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── Impressum Hero ── */
.impressum-hero {
    padding: 160px 0 80px;
    background: linear-gradient(160deg, #0b1220 0%, #05070d 55%, #0a1628 100%) !important;
    text-align: center;
    position: relative;
}

.impressum-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 13, 0.78);
}

.impressum-hero .container {
    position: relative;
    z-index: 1;
}

.impressum-hero h1 {
    color: var(--white);
}

.impressum-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.impressum-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── Gastro Hero ── */
.gastro-hero {
    padding: 160px 0 80px;
    background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1600&h=600&fit=crop') center/cover no-repeat !important;
    text-align: center;
    position: relative;
}

.gastro-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 13, 0.78);
}

.gastro-hero .container {
    position: relative;
    z-index: 1;
}

.gastro-hero h1 {
    color: var(--white);
}

.gastro-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.gastro-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── Camping Hero ── */
.camping-hero {
    padding: 160px 0 80px;
    background: url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1600&h=600&fit=crop') center/cover no-repeat !important;
    text-align: center;
    position: relative;
}

.camping-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 13, 0.78);
}

.camping-hero .container {
    position: relative;
    z-index: 1;
}

.camping-hero h1 {
    color: var(--white);
}

.camping-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.camping-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── Referenzen Hero ── */
.referenzen-hero {
    padding: 160px 0 80px;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&h=600&fit=crop') center/cover no-repeat !important;
    text-align: center;
    position: relative;
}

.referenzen-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 13, 0.78);
}

.referenzen-hero .container {
    position: relative;
    z-index: 1;
}

.referenzen-hero h1 {
    color: var(--white);
}

.referenzen-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.referenzen-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── Team Hero ── */
.team-hero {
    padding: 160px 0 80px;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&h=600&fit=crop') center/cover no-repeat !important;
    text-align: center;
    position: relative;
}

.team-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 13, 0.78);
}

.team-hero .container {
    position: relative;
    z-index: 1;
}

.team-hero h1 {
    color: var(--white);
}

.team-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.team-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── IT-Sicherheit Hero ── */
.it-sicherheit-hero {
    padding: 160px 0 80px;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1600&h=600&fit=crop') center/cover no-repeat !important;
    text-align: center;
    position: relative;
}

.it-sicherheit-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 13, 0.78);
}

.it-sicherheit-hero .container {
    position: relative;
    z-index: 1;
}

.it-sicherheit-hero h1 {
    color: var(--white);
}

.it-sicherheit-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.it-sicherheit-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ── Timeora Features ── */
.timeora-features {
    padding: 100px 0;
    background: var(--light);
}

/* ── Timeora Info ── */
.timeora-info {
    padding: 100px 0;
    background: var(--white);
}

/* ── Page Hero (subpages) ── */
.page-hero {
    padding: 160px 0 80px;
    background: var(--dark);
    text-align: center;
}

.page-hero .section-tag {
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--gray-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Technologies ── */
.technologies {
    padding: 100px 0;
    background: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-2);
}

.tech-icon {
    font-size: 2rem;
}

.tech-item:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ── Testimonials ── */
.testimonials {
    padding: 120px 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--dark-3);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(28, 25, 23, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

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

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
}

.cookie-main {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cookie-text strong {
    display: block;
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.cookie-text p {
    color: var(--gray-light);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--gradient);
    color: var(--white);
}

.btn-cookie-accept:hover {
    box-shadow: 0 4px 15px rgba(0, 112, 240, 0.4);
}

.btn-cookie-settings {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cookie-settings:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cookie-reject:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.cookie-panel {
    display: grid;
    gap: 14px;
}

.cookie-panel[hidden] {
    display: none !important;
}

.cookie-panel-title {
    color: var(--white);
    font-weight: 700;
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.cookie-opt {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    color: var(--white);
}

.cookie-opt input {
    margin-top: 3px;
    accent-color: var(--primary-light);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cookie-opt strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.cookie-opt small {
    display: block;
    color: var(--gray-light);
    font-size: 0.8rem;
    line-height: 1.45;
}

.cookie-main[hidden] {
    display: none !important;
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ── Team ── */
.team-section {
    padding: 80px 0 120px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.team-grid .team-card {
    flex: 0 1 360px;
    max-width: 400px;
    width: 100%;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 112, 240, 0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-card p {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.team-cta {
    padding: 80px 0;
    background: var(--dark);
    text-align: center;
}

.team-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.team-cta p {
    color: var(--gray-light);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* ── Team Values ── */
.team-values {
    padding: 80px 0 120px;
    background: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-item {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ── Team Featured Card ── */
.team-card.featured {
    border: 2px solid rgba(0, 112, 240, 0.2);
}

.team-card.featured:hover {
    border-color: var(--primary-light);
}

/* ── References ── */
.references-section {
    padding: 80px 0 120px;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.reference-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.reference-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 112, 240, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.reference-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.reference-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.reference-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.reference-tags span {
    padding: 4px 12px;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-3);
}

.reference-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.reference-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reference-stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.references-cta {
    padding: 80px 0;
    background: var(--dark);
    text-align: center;
}

.references-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.references-cta p {
    color: var(--gray-light);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* ── Legal (Impressum / Datenschutz) ── */
.legal-section {
    padding: 64px 0 120px;
    background: var(--white);
}

.legal-content ul {
    margin: 0 0 16px 1.25rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 40px 0 16px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 24px 0 10px;
}

.legal-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ── 404 ── */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--light);
}

.error-code {
    display: block;
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.error-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 36px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        justify-content: center;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .team-grid {
        justify-content: center;
    }

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

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

    .cookie-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .cookie-main {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .error-code {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }
}


/* ── AGB Hero ── */
.agb-hero {
    padding: 160px 0 80px;
    background: linear-gradient(160deg, #0b1220 0%, #05070d 55%, #0a1628 100%) !important;
    text-align: center;
    position: relative;
}
.agb-hero .container { position: relative; z-index: 1; }
.agb-hero h1 { color: var(--white); }
.agb-hero p { color: rgba(255, 255, 255, 0.92); max-width: 560px; margin: 12px auto 0; }
.agb-hero .section-tag { background: rgba(255, 255, 255, 0.2); color: var(--white); }

/* ── Datenschutz Hero ── */
.datenschutz-hero {
    padding: 160px 0 80px;
    background: linear-gradient(160deg, #0b1220 0%, #05070d 55%, #0a1628 100%) !important;
    text-align: center;
    position: relative;
}
.datenschutz-hero .container { position: relative; z-index: 1; }
.datenschutz-hero h1 { color: var(--white); }
.datenschutz-hero p { color: rgba(255, 255, 255, 0.92); max-width: 560px; margin: 12px auto 0; }
.datenschutz-hero .section-tag { background: rgba(255, 255, 255, 0.2); color: var(--white); }
