/* assets/css/style.css */

:root {
    --bt-bg: #f6f3ed;
    --bt-text: #222222;
    --bt-muted: #666666;
    --bt-card: #ffffff;
    --bt-border: #dddddd;
}

body {
    background: var(--bt-bg);
    color: var(--bt-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.site-logo {
    color: var(--bt-text);
    font-size: 1.25rem;
}

.site-logo:hover {
    color: var(--bt-text);
}

.nav-link {
    color: var(--bt-text);
}

.nav-link:hover {
    color: #000000;
}

.hero-section {
    padding: 5rem 0 3rem;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bt-muted);
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--bt-muted);
    max-width: 650px;
}

.info-box,
.topic-card {
    background: var(--bt-card);
    border: 1px solid var(--bt-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.04);
}

.info-box h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 0;
    color: var(--bt-muted);
}

.content-section {
    padding: 3rem 0;
}

.topic-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.topic-card a,
.footer-link {
    color: var(--bt-text);
    text-decoration: none;
    font-weight: 600;
}

.topic-card a:hover,
.footer-link:hover {
    text-decoration: underline;
}

.site-footer {
    background: #ffffff;
}

/* Allgemeine Inhaltsseiten */

.page-content {
    min-height: 55vh;
}

.page-box {
    background: var(--bt-card);
    border: 1px solid var(--bt-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.04);
}

.page-box h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-box .lead {
    color: var(--bt-muted);
    max-width: 850px;
}

/* Admin Login */

.admin-login-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.admin-login-box {
    max-width: 420px;
    background: var(--bt-card);
    border: 1px solid var(--bt-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.04);
}

.admin-login-box h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Kontaktformular */

.important-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Admin Nachrichten */

.admin-message-box {
    background: #f8f6f0;
    border: 1px solid var(--bt-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    white-space: normal;
}

/* Öffentliche Artikel */

.public-card {
    background: var(--bt-card);
    border: 1px solid var(--bt-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.04);
}

.public-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.public-card-body {
    padding: 1.5rem;
}

.public-card-meta,
.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--bt-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.public-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0.75rem 0;
}

.public-card h2 a {
    color: var(--bt-text);
    text-decoration: none;
}

.public-card h2 a:hover {
    text-decoration: underline;
}

.public-card p {
    color: var(--bt-muted);
}

.article-detail {
    max-width: 950px;
    margin: 0 auto;
}

.article-detail h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.article-detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.article-detail-content {
    font-size: 1.08rem;
    margin-top: 1.5rem;
}

/* Öffentliche Downloads */

.download-price {
    font-weight: 700;
}
/* assets/css/style.css */

.site-logo-img {
    display: block;
    max-width: 180px;
    height: auto;
}

.language-flag {
    display: inline-block;
    object-fit: cover;
    border-radius: 2px;
}

/* assets/css/style.css */

.footer-brand {
    color: inherit;
}

.footer-brand:hover,
.footer-brand:focus {
    color: inherit;
    text-decoration: none;
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
    white-space: nowrap;
}

.hero-image-wrapper {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.16);
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Disclaimer im Hero links unten ausrichten */
.hero-disclaimer {
    max-width: 90%;
}

/* Footer powered by */
.footer-powered {
    font-size: 0.875rem;
    color: #6c757d;
}

.footer-powered-logo {
    display: block;
    max-width: 96px;
    height: auto;
}

.footer-powered-link {
    text-decoration: none;
}

.footer-powered-registered {
    font-size: 0.75rem;
    line-height: 1;
}

.footer-since {
    font-size: 0.875rem;
}

/* Produkt Detailseite */

.product-detail-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 1rem;
}

.product-detail-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 1rem;
}

@media (min-width: 992px) {
    .product-detail-row {
        display: grid;
        grid-template-columns: 5fr 7fr;
        align-items: stretch;
    }

    .product-detail-row > .col-lg-5,
    .product-detail-row > .col-lg-7 {
        width: auto;
        max-width: none;
    }

    .product-detail-image-col {
        min-height: 100%;
        padding: 1.5rem;
    }
}

/* Footer Projektlinks und Rechtliches */

.footer-heading {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-project-links li,
.footer-legal-links li {
    margin-bottom: 0.35rem;
}

.footer-project-links .footer-link,
.footer-legal-links .footer-link {
    font-size: 0.925rem;
}

/* Startseite: hervorgehobenes Produkt */

.home-featured-product-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.home-featured-product-card {
    background: var(--bt-card);
    border: 1px solid var(--bt-border);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.05);
}

.home-featured-product-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.home-featured-product-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 1rem;
}

.home-featured-product-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: 1rem;
}

.home-featured-product-content {
    padding: 2rem;
}

.home-featured-product-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1rem;
}

.home-featured-product-text {
    color: var(--bt-muted);
    font-size: 1.05rem;
}

.home-featured-product-recommendation {
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .home-featured-product-grid {
        grid-template-columns: 5fr 7fr;
        align-items: stretch;
    }

    .home-featured-product-image-col {
        min-height: 360px;
        padding: 1.5rem;
    }

    .home-featured-product-content {
        padding: 2.5rem;
    }
}