
body {
    font-family: var(--font-main);
    color: var(--text-color);
    background: var(--background-color);
	padding-top: 90px; /* damit Content nicht unter Header verschwindet */
}

#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg-color);
	color: var(--header-text-color);
    z-index: 1000;

    height: 90px;
    transition: height 0.25s ease, box-shadow 0.25s ease;
    
    border-bottom: 1px solid #e6e6e6;
	z-index: 9999;
}

/* Logo skalieren */
#mainHeader .logo img {
    height: 55px;
    transition: height 0.25s ease;
}

/* kleiner Zustand beim Scrollen */
#mainHeader.shrink {
    height: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

#mainHeader.shrink .logo img {
    height: 40px;
}

footer {
    background: var(--footer-bg-color);
    color: var(--footer-text-color);
}

footer * {
    color: var(--footer-text-color);
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Navigation */
.nav-bottom {
    gap: 20px;
    align-items: center;
}

.nav-link {
    padding: 6px 10px;
	color: var(--header-text-color);
}

.nav-link:hover {
  color: var(--header-text-color);
}

#mainHeader .nav-link {
    position: relative;
    color: var(--header-text-color);
    padding-bottom: 6px;
}

/* Linie (hidden by default) */
#mainHeader .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.25s ease;
}

/* Hover Effekt */
#mainHeader .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    display: flex;
}

@media (max-width: 991px) {
    #nav {
        background: white;
        padding: 15px;
    }

    .nav-bottom {
        gap: 10px;
    }
}

/* Hero Bereich Startseite */
.hero {
    background: url('../images/hero_web.jpg') center/cover no-repeat;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    width: 100%;
}

/* Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 9999;
    max-width: 300px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success { background: #198754; }
.toast-error { background: #dc3545; }

/* liks */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--spacing-sm);

    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;

    position: relative;
    transition: all 0.25s ease;
}

.cta-link::after {
    content: "→";
    transition: transform 0.25s ease;
}

.cta-link:hover {
    color: color-mix(in srgb, var(--secondary-color), black 15%);
}

.cta-link:hover::after {
    transform: translateX(4px);
}

.cta-link:hover::after {
    transform: translateX(4px);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    color: #000;
    border-radius: var(--border-radius);
}

.btn-primary:hover {
    opacity: 0.85;
}