/* Torrent View Systems – Website Stylesheet */
/* Farben: #1a3a5c (Primaer), #2980b9 (Akzent) */

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

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

a { color: #2980b9; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ========== HEADER / NAV ========== */
.site-header {
    background: #1a3a5c;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.nav-logo span {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    border-bottom-color: #2980b9;
    text-decoration: none;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 24px 90px;
    background: #1a3a5c;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,58,92,0.92) 0%, rgba(30,77,122,0.85) 50%, rgba(41,128,185,0.8) 100%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero .slogan {
    font-size: 21px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.hero .description {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
}

.hero .cta-btn {
    display: inline-block;
    background: #2980b9;
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero .cta-btn:hover {
    background: #3498db;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 24px;
}

.section-alt {
    background: #f5f8fb;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5c;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 48px;
}

/* ========== UEBER UNS ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 28px;
    color: #1a3a5c;
    margin-bottom: 16px;
}

.about-text .lead {
    font-size: 17px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26,58,92,0.12);
}

.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

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

.value-item {
    text-align: center;
    padding: 24px 16px;
}

.value-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.value-item h4 {
    font-size: 16px;
    color: #1a3a5c;
    margin-bottom: 6px;
}

.value-item p {
    font-size: 14px;
    color: #666;
}

/* ========== LEISTUNGEN (CARDS) ========== */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border: 1px solid #e8eef3;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26,58,92,0.12);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 28px 24px;
}

.card-body h3 {
    font-size: 19px;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.card-body ul {
    list-style: none;
    padding: 0;
}

.card-body ul li {
    font-size: 14px;
    color: #555;
    padding: 4px 0 4px 20px;
    position: relative;
}

.card-body ul li::before {
    content: '\2713';
    color: #2980b9;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ========== STATS BAR ========== */
.stats-bar {
    background: #1a3a5c;
    padding: 48px 24px;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2980b9;
    display: block;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item summary {
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a3a5c;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: #2980b9;
    font-weight: 400;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item .faq-answer {
    padding: 0 0 18px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ========== PARTNER / TECH BADGES ========== */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.badge {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    border: 2px solid #e8eef3;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1a3a5c;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.badge:hover {
    border-color: #2980b9;
    box-shadow: 0 2px 8px rgba(41,128,185,0.15);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, #2980b9 0%, #1a3a5c 100%);
    padding: 60px 24px;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .cta-btn {
    display: inline-block;
    background: #fff;
    color: #1a3a5c;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-banner .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* ========== KONTAKT ========== */
.contact-section {
    background: #f5f8fb;
    border-top: 3px solid #2980b9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.contact-info h2 {
    font-size: 24px;
    color: #1a3a5c;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
}

.contact-item .icon {
    font-size: 20px;
    min-width: 28px;
    text-align: center;
}

.contact-item a { color: #1a3a5c; }
.contact-item a:hover { color: #2980b9; text-decoration: none; }

.contact-map h2 {
    font-size: 24px;
    color: #1a3a5c;
    margin-bottom: 24px;
}

.map-placeholder {
    background: #e8eef3;
    border-radius: 8px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    flex-direction: column;
    gap: 8px;
}

.map-placeholder .map-icon {
    font-size: 40px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #1a3a5c;
    color: rgba(255,255,255,0.7);
    padding: 40px 24px 24px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand .footer-logo img {
    height: 36px;
}

.footer-brand .footer-logo span {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.footer-brand .footer-slogan {
    font-style: italic;
    color: #2980b9;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-links h4,
.footer-legal h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 12px;
}

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

.footer-links li,
.footer-legal li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ========== LEGAL PAGES ========== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

.legal-page h1 {
    font-size: 30px;
    color: #1a3a5c;
    margin-bottom: 6px;
}

.legal-page .legal-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.legal-page h2 {
    font-size: 18px;
    color: #1a3a5c;
    margin: 32px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
}

.legal-page p,
.legal-page li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-page ol {
    margin-left: 24px;
    margin-bottom: 12px;
}

.legal-page ul {
    margin-left: 24px;
    margin-bottom: 12px;
}

.legal-page .info-box {
    background: #f5f8fb;
    border-left: 3px solid #2980b9;
    padding: 16px 20px;
    margin: 12px 0;
    font-size: 15px;
}

.legal-page .scope-box {
    background: #f5f8fb;
    border-left: 3px solid #2980b9;
    padding: 16px 20px;
    margin: 12px 0 24px;
    font-size: 15px;
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}

.legal-page th,
.legal-page td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    text-align: left;
}

.legal-page th {
    background: #f5f8fb;
    color: #1a3a5c;
    font-weight: 600;
}

.legal-page .version {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 32px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image { order: -1; }
    .about-image img { height: 240px; }
    .values {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }
    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero {
        padding: 60px 16px 50px;
        min-height: 380px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero .slogan {
        font-size: 16px;
    }
    .hero .description {
        font-size: 15px;
    }
    .section {
        padding: 48px 16px;
    }
    .section-title {
        font-size: 22px;
    }
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .stat-item .stat-number {
        font-size: 28px;
    }
    .cta-banner {
        padding: 40px 16px;
    }
    .cta-banner h2 {
        font-size: 22px;
    }
    .legal-page {
        padding: 32px 16px 40px;
    }
    .legal-page h1 {
        font-size: 24px;
    }
    .tech-badges {
        gap: 10px;
    }
    .badge {
        padding: 8px 16px;
        font-size: 13px;
    }
}
