/* ===============================
   ROOT – ZAHLPRO DARK SYSTEM
   =============================== */

:root {
    --navy: #294367;
    --blue: #1a4a7a;
    --mid: #2563a8;
    --accent: #a4cbe0;

    --bg-main: #0f2744;
    --light-bg: #1f3554;

    --white: #1f3554;
    --text: #ffffff;
    --muted: #a4b7cc;

    --border: rgba(255, 255, 255, 0.08);
}

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

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

/* ===============================
   BODY
   =============================== */

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
}

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

header {
    background: var(--navy);
    color: white;
    padding: 40px 24px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 34px;
}

header p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===============================
   WRAP
   =============================== */

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

/* ===============================
   TITLES
   =============================== */

.section-title {
    font-size: 28px;
    color: #a4cbe0;
    margin-bottom: 10px;
}

.section-sub {
    color: var(--muted);
    margin-bottom: 30px;
}

/* ===============================
   GRID
   =============================== */

.dialog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

/* ===============================
   CARDS
   =============================== */

.dialog-card {
    background: #1f3554;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.dialog-head {
    background: var(--navy);
    color: white;
    padding: 18px 20px;
}

.dialog-head h2 {
    font-size: 20px;
}

.dialog-body {
    padding: 20px;
}

.dialog-body h3 {
    font-size: 16px;
    color: #a4cbe0;
    margin-bottom: 8px;
}

.dialog-body p {
    font-size: 14px;
    margin-bottom: 14px;
    color: #cbd8e6;
}

.dialog-body ul {
    padding-left: 18px;
}

.dialog-body li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #cbd8e6;
}

/* ===============================
   TAG
   =============================== */

.tag {
    display: inline-block;
    background: rgba(164, 203, 224, 0.15);
    color: #a4cbe0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 14px;
}

/* ===============================
   IMAGE PLACEHOLDER
   =============================== */

.placeholder {
    width: 100%;
    max-width: 260px;
    height: 150px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto 16px;
    cursor: zoom-in;
    padding: 10px;
}

.placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-text {
    font-size: 13px;
}

/* ===============================
   IMAGE OVERLAY
   =============================== */

#imgOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
    padding: 20px;
}

#imgOverlay img {
    max-width: 98%;
    max-height: 98%;
    border-radius: 10px;
    background: white;
}

/* ===============================
   TOPBAR
   =============================== */

.topbar {
    background: #1f3554;
    border-bottom: 1px solid var(--border);
    padding: 15px 20px;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

/* LOGO */

.logo img {
    height: 55px;
}

/* MENU */

.menu {
    display: flex;
    gap: 20px;
}

/* BUTTONS */

.menu a {
    background: #a4cbe0;
    color: #1a2535;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.menu a:hover {
    background: #8fb9d3;
}

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

footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--muted);
    font-size: 14px;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1024px) {

    .topbar-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .menu a {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 700px) {

    .topbar-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .logo img {
        height: 50px;
    }

    .menu {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .menu a {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 15px;
        border-radius: 12px;
    }
}

FOOTER FIX – NUR HIER WEISS .footerx {
    color: #ffffff;
}

.footerx a {
    color: #ffffff;
}

.footerx a:hover {
    color: #a4cbe0;
    /* optional Hover */
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}