:root {
    --brand-blue: #1e3a8a;
    --light-bg: #f0f7ff;
    --card-blue: #2563eb;
    --cyan: #00f2ff;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* NAVIGATION */
nav {
    width: 100%;
    background: var(--brand-blue);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover { color: var(--cyan); }

/* BANNER */
.securicoin-banner {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--card-blue), var(--brand-blue));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 4px solid var(--cyan);
}

.banner-title {
    color: var(--text-light);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-left: 8%;
    z-index: 10;
}

.banner-img-container {
    position: absolute; right: 0; top: 0; height: 100%; width: 60%;
    display: flex; justify-content: flex-end; z-index: 5;
}

.banner-img-container img {
    height: 100%; width: auto; object-fit: contain;
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
}
.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
/* --- NEWS SEITE STYLING --- */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-entry {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.news-meta {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-tag {
    background: var(--brand-blue);
    color: var(--cyan);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
}

.news-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.news-body h2 {
    color: var(--brand-blue);
    margin: 0 0 15px 0;
    font-size: 1.6rem;
}

.news-body p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Anpassung für Handys */
@media (max-width: 600px) {
    .news-entry {
        flex-direction: column;
        gap: 15px;
    }
    .news-meta {
        min-width: auto;
        flex-direction: row;
        align-items: center;
    }
}

.read-more {
    color: var(--card-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}


/* MÜNZE */
.moving-coin {
    position: absolute; bottom: 40px; left: -120px; width: 95px; height: 95px;
    z-index: 15; animation: move-across 12s linear infinite;
}

.coin-svg { 
    width: 100%; height: 100%; 
    filter: drop-shadow(0px 8px 12px rgba(0,0,0,0.4)); 
    animation: spin-coin 1.5s linear infinite; 
}

@keyframes move-across { 0% { left: -120px; opacity: 0; } 5% { opacity: 1; } 85% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
@keyframes spin-coin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* VISITENKARTE */
.card-container { margin: 80px 0; padding: 0 20px; width: 100%; display: flex; justify-content: center; }

.business-card {
    width: 850px; height: 320px; background-color: white;
    border-radius: 15px; display: flex; overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
}

.sidebar { 
    width: 30%; background-color: var(--brand-blue); color: white; 
    display: flex; flex-direction: column; justify-content: center; 
    align-items: center; border-right: 5px solid var(--cyan); padding: 20px; text-align: center; 
}

.info { width: 35%; padding: 35px; display: flex; flex-direction: column; justify-content: center; }
.map-box { width: 35%; height: 100%; background-color: #e2e8f0; position: relative; }

.name { font-size: 1.6rem; font-weight: 800; color: var(--brand-blue); margin: 0; }
.pos { color: var(--card-blue); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 20px; }

.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 15px; font-size: 0.75rem; color: #64748b; }
.btn-map { background: var(--brand-blue); color: white; border: none; padding: 10px 15px; cursor: pointer; font-weight: bold; border-radius: 6px; margin-top: 10px; transition: 0.3s; }

/* FOOTER */
footer { width: 100%; padding: 40px 0; text-align: center; background: #e2e8f0; margin-top: auto; }
footer a { color: var(--brand-blue); text-decoration: none; margin: 0 15px; font-size: 0.85rem; font-weight: 600; }

/* QR-Code */
.card-container {
    margin-bottom: 20px; /* Standardmäßig war hier oft 50px oder 60px eingestellt */
}

.qr-section {
    text-align: center;
    margin-top: 0;      /* Den Abstand nach oben komplett auf Null setzen */
    margin-bottom: 30px; /* Abstand nach unten zum Footer lassen */
    padding-top: 0;      /* Falls noch Innenabstand da ist */
}

.qr-image {
    width: 300px !important;       /* Hier kannst du die Größe anpassen (vorher 150px) */
    height: auto !important;       /* Behält das Seitenverhältnis bei */
	max-width: none !important;    /* Verhindert, dass das Bild durch Container begrenzt wird */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.qr-image:hover {
    transform: scale(1.05); /* Vergrößert das Bild leicht, wenn man mit der Maus drüberfährt */
}