/* --- BASIS VARIABLEN --- */
:root {
    --bg: #0a0a0a;
    --bg-header: #141414;
    --primary-orange: #ff6a00;
    --accent-orange-dark: #d35400;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
}
/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    padding-bottom: 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;

    background: var(--bg); 
    color: var(--text-white);      
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #212121;
    padding: 1rem 2rem;
    z-index: 1000;
}
.favicon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1.4rem;
}

.favicon-icon {
    height: 35px;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
}
/* NAVIGATION */
.logo a {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.logo a::after {
    display: none;
}

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

nav ul a {
    position: relative;
    color: var(--text-white);
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

nav ul a::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: width 0.5s ease;
}

nav ul a:hover {
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.1);
}

nav ul a:hover::after {
    width: calc(100% - 20px);
}

/* Aktive Seite */
body.home-page nav ul a[href="/home/"],
body.kontakt-page nav ul a[href="/kontakt/"] {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

body.home-page nav ul a[href="/home/"]::after,
body.kontakt-page nav ul a[href="/kontakt/"]::after {
    width: calc(100% - 20px);
}
/* HERO */
.hero {
    margin-top: 100px;
    height: 3hv;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color:var(--bg);
    color: var(--text-white);
}

.hero-logo {
    width: 800px;
    max-width: 90%;
    margin-bottom: 5px;
}

.hero-content {
    max-width: 700px;
    margin: auto;
    padding: 1px;
    color: var(--primary-orange);
     font-size: 4.5rem;
}

.hero-subtitle {
    max-width: 400px;
    margin: auto;
    padding: 10px;
    color: var(--text-white);
    font-size: 1.2rem;
}

/* CONTENT */
main {
    margin-top: 120px;
}

.content {
    flex: 1;
    padding: 50px;
    text-align: center;
}

.content h1,
.content h2,
.content h3 {
    color: var(--primary-orange);
}

.impressum {
    flex: 1;
    padding: 50px;
    text-align: left;
}

.impressum h1,
.impressum h2,
.impressum h3 {
    color: var(--primary-orange);
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
    color: var(--text-white);
    font-size: 0.9rem;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: width 0.5s ease;
}

.footer-links a:hover::after {
    width: 100%;
}
/* --- CONTENT SEKTIONEN --- */

.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #1f1f1f;
    transition: 0.4s ease;
   /* margin-bottom: -8rem; */
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
    color: var(--primary-orange);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    .nav-links {
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .wave-wrapper {
        height: 100px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 0.7rem;
    }

}
