/* Schriftart definieren */
@font-face {
    font-family: 'Inter_24pt-ExtraLight';
    src: url('fonts/Inter_24pt-ExtraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Grundstil: Schwarzer Hintergrund, weiße Schrift */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter_24pt-ExtraLight', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}
header {
    text-align: center;
    padding: 30px 10px;
    background: rgba(0, 0, 0, 0.0);
}
/* Responsive Logo-Stile inklusive schwarzem Rahmen */
.center-text {
    text-align: center;
}
.logo {
    max-width: 500px;
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.logo-projekte {
    max-width: 500px;
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.logo-werte {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo-dienstleistungen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
header p {
    font-size: 1.2em;
    color: #ffffff;
}
.section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section h2 {
    text-align: left;
    margin-bottom: 40px;
    font-size: 2.5em;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 10px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.item {
    background:#ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}
.item:hover {
    transform: translateY(-10px);
}
.item h3 {
    margin-top: 10px;
    font-size: 1.5em;
    color: #000000;
}
.item p {
    font-size: 1em;
    margin-top: 10px;
    color: #000000;
}
footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.0);
    font-size: 0.9em;
    color: #ffffff;
}
/* Grafik-Platzhalter: Weißer Hintergrund, schwarze Schrift */
.graphic-placeholder {
    width: 100%;
    height: 200px;
    background: #EAEAEA;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-style: italic;
    margin-bottom: 20px;
    border: 3px solid #000000;
}
/* Button-Stil für Aktionen (z.B. Kontaktaufnahme) */
.button-ws {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.button-ws:hover {
    background-color: #000000;
    color: #ffffff;
}
/* Button-Stil für Aktionen (z.B. Kontaktaufnahme) */
.button-bk {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.button-bk:hover {
    background-color: #ffffff;
    color: #000000;
}
.button-bk,
.button-ws {
    text-decoration: none;
}

/* Grundlayout Video */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter_24pt-ExtraLight', sans-serif;
}
/* Hintergrundvideo */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
/* Dunkles Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}
/* Inhalt über allem */
.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    background-color: black;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}



/* ====================== */
/*  WEICHE ÜBERGÄNGE      */
/* ====================== */
html {
    background: #000000;
}
body {
    opacity: 0;
    transition: opacity 1000ms ease;
    will-change: opacity;
}
body.page-ready {
    opacity: 1;
}
body.page-leave {
    opacity: 0;
}



@media (prefers-reduced-motion: reduce) {
    body { transition: none !important; }
}