/* =========================================
   Gehosted.DE – Global Styles
   Colors: Weiß / Grau / Schwarz + Orange
   Light / Dark Theme
   ========================================= */

:root {
    /* Light Theme Defaults */
    --bg-main: #f3f4f6;
    --bg-elevated: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.9);
    --bg-section: #f9fafb;
    --border-soft: #e5e7eb;
    --border-strong: #d1d5db;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;
    --accent: #f97316;           /* Orange, passend zum Forum */
    --accent-soft: rgba(249, 115, 22, 0.18);
    --accent-strong: #ea580c;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 18px;
    --radius-md: 12px;
    --transition-fast: 180ms ease-out;
    --nav-blur: 14px;
}

/* Dark Theme Overrides (aktiv auf body.theme-dark) */
.theme-dark {
    --bg-main: #020617;
    --bg-elevated: #020617;
    --bg-header: rgba(15, 23, 42, 0.96);
    --bg-section: #020617;
    --border-soft: #1f2937;
    --border-strong: #111827;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-soft: #6b7280;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.8);
}

/* Basics */

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

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.25rem;
}

.section-narrow {
    max-width: 960px;
    margin: 0 auto;
}

/* HEADER / NAV */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(var(--nav-blur));
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-soft);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span:first-child {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent), var(--accent-strong));
    transition: width var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    color: var(--text-main);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #f9fafb;
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.45);
}

.btn-ghost {
    border-color: var(--border-soft);
    background: #ffffff;
    color: #111827;
}

.theme-dark .btn-ghost {
    background: rgba(15, 23, 42, 0.96);
    color: #f9fafb;
}

.btn-ghost:hover {
    border-color: var(--accent);
}

.btn-outline {
    border-color: var(--border-soft);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.theme-dark .btn-outline:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
}

/* Theme Toggle */

.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
}

.theme-dark .theme-toggle {
    background: rgba(15, 23, 42, 0.96);
}

/* Mobile Nav Button */

.nav-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.theme-dark .nav-toggle {
    background: rgba(15, 23, 42, 0.96);
}

.nav-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
}

.nav-toggle span::before {
    top: -5px;
}

.nav-toggle span::after {
    top: 5px;
}

/* HERO */

.hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.theme-dark .hero-eyebrow {
    background: rgba(15, 23, 42, 0.96);
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero-title {
    font-size: clamp(2.1rem, 3.3vw + 1rem, 3rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.hero-title strong {
    color: var(--accent-strong);
}

.hero-text {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.4rem;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-note strong {
    color: var(--accent-strong);
}

/* HERO MEDIA + BILD-BEREICH */

.hero-media {
    border-radius: 22px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    display: grid;
    grid-template-rows: auto auto;
    gap: 0.8rem;
}

.hero-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.4));
    mix-blend-mode: multiply;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.75rem;
}

.chip {
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: var(--text-soft);
}

.theme-dark .chip {
    background: rgba(15, 23, 42, 0.96);
}

.chip-accent {
    border-color: transparent;
    background: var(--accent-soft);
    color: #111827;
}

.theme-dark .chip-accent {
    color: #f9fafb;
}

/* SERVER IMAGE STRIP */

.server-strip {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.7rem;
    margin-top: 1rem;
}

.server-strip img {
    border-radius: 12px;
    height: 90px;
    object-fit: cover;
}

/* SECTION HEADERS */

.section-header {
    margin-bottom: 2rem;
}

.section-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-strong);
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 560px;
}

/* GRIDS & CARDS */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    padding: 1.3rem 1.25rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, var(--accent-soft) 0, transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #111827;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.theme-dark .card-icon {
    background: #f97316;
    color: #111827;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.card-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.card-tagline {
    font-size: 0.78rem;
    color: var(--accent-strong);
}

/* WHY / BULLETS */

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.bullet-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bullet-dot {
    margin-top: 0.15rem;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-dot span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.why-highlight {
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    padding: 1rem 1.1rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* PRICING */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    border-radius: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.35rem 1.3rem;
}

.pricing-card.highlight {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow-soft);
}

.pricing-pill {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-strong);
    margin-bottom: 0.4rem;
}

.pricing-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pricing-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.pricing-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.pricing-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.25rem;
}

.pricing-subline {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.pricing-features {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-strong);
    margin-right: 0.4rem;
}

.pricing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.pricing-hint {
    font-size: 0.72rem;
    color: var(--text-soft);
}

/* COMMUNITY & CONTACT */

.community-box,
.contact-box {
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    padding: 1.3rem 1.25rem;
    box-shadow: var(--shadow-soft);
}

.community-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-strong);
    margin-bottom: 0.5rem;
}

.community-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.community-text,
.contact-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.community-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip-link {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: var(--text-soft);
}

.theme-dark .chip-link {
    background: rgba(15, 23, 42, 0.96);
}

.chip-link:hover {
    border-color: var(--accent);
    color: var(--text-main);
}

/* NEWS LIST (RSS) */

.news-list {
    display: grid;
    gap: 1rem;
}

.news-item {
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    padding: 1rem 1rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.news-title a:hover {
    color: var(--accent-strong);
}

.news-meta {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-bottom: 0.45rem;
}

.news-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-empty {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.8rem 0;
}

/* FOOTER */

footer {
    border-top: 1px solid var(--border-strong);
    background: #111827;
    color: #9ca3af;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.4rem 1.25rem 1.7rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: #f9fafb;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        order: -1;
    }

    .grid-3,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding-inline: 1rem;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-open .nav-links,
    .nav-open .nav-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.9rem 1.25rem 1.1rem;
        background: var(--bg-header);
        border-bottom: 1px solid var(--border-soft);
    }

    .section {
        padding-inline: 1rem;
    }

    .grid-3,
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .server-strip {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
