:root {
    /* =========================
       FARBVARIABLEN
       ========================= */

    /* Hintergründe */
    --bg-black: #000000;
    --bg-dark: #111111;
    --bg-nav: #1a1a1a;
    --bg-main: #ebe5e5;
    --bg-content: #f2f2f2;

    /* Text */
    --text-light: #f2f2f2;
    --text-dark: #000000;
    --text-muted: rgba(255, 255, 255, 0.25);

    /* Akzente */
    --gold: #c9a24d;
    --red-warning: #ff3333;

    /* Rahmen & Linien */
    --border-gray: #cccccc;
    --divider-dark: rgba(0, 0, 0, 0.6);
    --divider-soft: rgba(0, 0, 0, 0.35);

    /* Schatten */
    --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 26px rgba(0, 0, 0, 0.25);
    --shadow-btn: 0 2px 6px rgba(0, 0, 0, 0.12);
    --shadow-btn-hover: 0 6px 14px rgba(0, 0, 0, 0.2);

    /* Top-Button */
    --top-btn-bg: #888888;
    --top-btn-icon: #000000;
    --top-btn-shadow: rgba(0, 0, 0, 0.3);
}

/* =========================
   RESET / BASIS
   ========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
}

/* =========================
   HEADER
   ========================= */

.site-header {
    background: var(--bg-black);
    padding: 20px 40px;
}

/* Header-Layout mit Grid */
.header-inner {
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 20px;
}

/* LOGO */
.logo-box img {
    height: 250px;
    width: auto;
    display: block;
}

/* HEADER-TEXT */
.header-text {
    margin-left: -75px;
    align-self: end;
    padding-bottom: 5px;
}

/* SLOGAN */
.slogan {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
}

/* CLAIM */
.claim {
    margin-top: 8px;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 0.5px;
}

/* =========================
   NAVIGATION
   ========================= */

.main-nav {
    max-width: 1920px;
    padding: 10px 20px;
    background: var(--bg-nav);
    border: none;
    border-radius: 0 0 10px 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
}

/* Goldene Linie oben */
.main-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--gold);
}

/* =========================
   NAV-SUCHE (Lupe im Feld)
   ========================= */

.nav-search {
    position: relative;
}

.nav-search input {
    padding: 6px 36px 6px 10px;
    height: 34px;
    border-radius: 6px;
    border: none;
    outline: none;
}

.nav-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-search img {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

/* =========================
   MAIN / CONTENT
   ========================= */

main {
    background-color: var(--bg-main);
    max-width: 1920px;
    margin: auto;
    padding: 40px 20px;
}

.content {
    background-color: var(--bg-content);
    color: var(--text-dark);
    min-height: 600px;

    border: 1px solid var(--border-gray);
    border-radius: 14px;
    box-shadow: var(--shadow-card);

    padding: 30px;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: var(--bg-black);
    padding: 40px 20px;
}

.footer-grid {
    max-width: 1920px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

/* FOOTER – Spalten-Trennung */
.footer-box {
    position: relative;
    padding: 0 20px;
}

.footer-box:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 1px;
    background: var(--text-muted);
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-box a:hover {
    color: var(--gold);
}

.footer-icon {
    width: 80px;
}

/* Warnhinweis blinkend */
.info-warning {
    color: var(--red-warning);
    animation: blink 4s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* FOOTER-BOTTOM */
.footer-bottom {
    position: relative;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Linie oben – wie bei den Spalten */
.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: var(--text-muted);
}

/* =========================
   TOP-BUTTON
   ========================= */

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 48px;
    height: 48px;

    background: var(--top-btn-bg);
    color: var(--top-btn-icon);
    text-decoration: none;

    border-radius: 50%;
    box-shadow: 0 4px 12px var(--top-btn-shadow);

    transition: opacity 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

/* Chevron-Pfeil */
.to-top::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-left: 3px solid var(--top-btn-icon);
    border-top: 3px solid var(--top-btn-icon);
    transform: rotate(45deg);
}

.to-top:hover {
    background: var(--gold);
    transform: translateY(-3px);
}
