body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom right, #333333, #000000);
}

body::before {
    content: "";
    position: fixed; /* Fixiert den Verlauf, auch wenn man scrollt */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom right, #B3102F, #76000E);
    z-index: -1; /* Schiebt die Ebene hinter deinen Text/Inhalt */
    
    /* Hier passiert die Magie: Wir animieren die Deckkraft */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.red-hover-active::before {
    opacity: 1;
}

/* roboto-300 - latin */
@font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v51-latin-300.woff2') format('woff2'); 
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v51-latin-regular.woff2') format('woff2'); 
}

/* roboto-600 - latin */
@font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/roboto-v51-latin-600.woff2') format('woff2'); 
}

/* roboto-900 - latin */
@font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v51-latin-900.woff2') format('woff2'); 
}

.footer {
    font-family: 'Roboto', sans-serif; 
    font-weight: 300; 
    font-size: 10px;
    color: #ffffff6b;
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: calc(100vw - 20px);
    text-align: center;
    line-height: 10px;
}

.footer p {
    margin-top: 5px;
    margin-bottom: 0px;
}

.info {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #ffffffc4;
    width: 100%; 
    text-align: center; 
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    line-height: 20px;
    
}
.info_inner {
	cursor: pointer;
}

.info b {
    font-weight: 600;
    font-size: 16px;
}

.info hr {
    width: 40%;
    margin-top: 20px;
    margin-bottom: 20px;
    border: none; 
    border-top: 1px solid #ffffff6b; 
}

.footer a, .info a {
    color: #ffffffc4;
    text-decoration: none;
    display: inline-block; 
    transition: all 0.3s ease-in-out; 
}

.footer a {
    color: #ffffff6b;
    text-decoration: none;
    display: inline-block; 
    transition: all 0.3s ease-in-out; 
}

.info a:hover {
    color: black;
    text-decoration: none;
    transform: scale(1.05);
}

.footer a:hover {
    color: #f92c00;
    text-decoration: none;
    transform: scale(1.05);
}

.info_inner {
    display: grid;
    grid-template-columns: max-content;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

/* --- Der neue Logo-Aufbau --- */
.logo {
    height: 20vh;
    position: relative; /* Wichtig für die absoluten Ebenen darin */
}

/* Ebene 1: Standardlogo */
.logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo1.svg'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: 80% 80%; 
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Ebene 2: Hoverlogo (versteckt) */
.logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo2.svg'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: 80% 80%; 
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Der Auslöser durch .info_inner HOVER oder durch die automatische JS-Klasse */
.info_inner:hover .logo::before,
body.red-hover-active .logo::before {
    opacity: 0; /* Blendet logo1 aus */
}

.info_inner:hover .logo::after,
body.red-hover-active .logo::after {
    opacity: 1; /* Blendet logo2 ein */
}