/* breite der gesamtkonstruktion */
#breite {width:840px}

body {
    margin-top: 20px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
    background: url(images/sbref.jpg) top center no-repeat;
    background-size: auto;
}

/* Bis 1920px Breite: wie bisher (kein Stretching) */
@media (max-width: 1920px) {
    body {
        background-size: auto;
    }
}

/* Ab 1921px: Bild stretchen (wie auf der Index-Seite) */
@media (min-width: 1921px) {
    body {
        background-size: cover;
    }
}

#men a {color:#FFFF00; font-family: Arial, Helvetica, sans-serif; text-decoration: none; font-size:large; font-weight:bold;}
#men_on a {color:#FFFF00; font-family: Arial, Helvetica, sans-serif; text-decoration: none; font-size:large; font-weight:bold;}
#men_on a:hover {color:#FFFF00; font-family: Arial, Helvetica, sans-serif; text-decoration: none; font-size:large; font-weight:bold;}
#men a:hover {color:#FFFF00; font-family: Arial, Helvetica, sans-serif; text-decoration: none; font-size:large; font-weight:bold;}

/* ï¿½berschriften */
h2{
    color:#7f9155;
    margin-bottom:28px;
    letter-spacing:2px;
    font-family: trebuchet ms,verdana,arial,helvetica, verdana, tahoma, sans-serif;
    font-size: 23px;
    font-weight:normal;
}

#video{
    margin-left:1%;
    margin-top: -2%;
}

.haupt {background-color:#;border-left:solid 1px #045944;border-right:solid 1px #045944;
border-top:solid 1px #045944;border-bottom:solid 1px #045944;
border:solid 18px #fff;
}

#top1 {height:40px;
background-color:#7f9155;
width:100%;text-align:center;
}
/* ========== Blur ? Scharf Animation für Header-Bereich ========== */
@keyframes unblur {
    0% {
        filter: blur(12px);
    }
    100% {
        filter: blur(0);
    }
}
#top2 {background-image:url(images/nightdrum.jpg);
background-repeat:no-repeat;
background-position:50% 50%;
height:412px;
background-color:#405A00;
animation: unblur 1s ease-out forwards;
}

#top3 {
background-color:#7f9155;
height:5px;
border:solid 1px #000;
color:#56686D;
width:100%;
vertical-align:middle;
}

#name {height:0px;;
letter-spacing:2px;
color:#fff;
padding-left:20px;
font-family: trebuchet ms,verdana,arial,helvetica, verdana, tahoma, sans-serif;
font-size:20px
}

#inhalt {height:300px;
color:#7f9155;
padding-top: 10px; padding-bottom: 70px;
padding-left: 45px;padding-right:45px;
background-color:#fff;
letter-spacing:0px;
width:100%;
vertical-align:top;
text-align:left;
font-size: 16px;line-height: 21px;
font-family: trebuchet ms,verdana,arial,helvetica, verdana, tahoma, sans-serif;
letter-spacing:0px;
}

#fuss1 {
color:#153125;background-color:#fff;
letter-spacing:0px;
font-size: 14px;line-height: 20px;
font-family: trebuchet ms,
verdana,arial,helvetica, verdana, tahoma, sans-serif;
height:30px;
text-align:center;
width:100%;
padding-bottom:15px
}

#fuss2 {
color:#fff;background-color:#7f9155;
letter-spacing:0px;
font-size: 14px;line-height: 20px;
font-family: trebuchet ms,
verdana,arial,helvetica, verdana, tahoma, sans-serif;
height:90px;
text-align:center;
width:100%;
}

/* ========== Schatten um Hauptbereich ========== */
/*
#s1 {
background-image:url(images/s1.jpg);
background-repeat:no-repeat;
background-position: 100% 0%;
height:22px;
line-height:22px;
width:22px;
}
#s2 {
background-image:url(images/s2.jpg);
background-repeat:repeat-x;
background-position: 0% 0%;
height:22px;
line-height:22px;
width:100%;
}
#s3 {
background-image:url(images/s3.jpg);
background-repeat:repeat-x;
background-position: 0% 0%;
height:22px;
line-height:22px;
width:22px;
}
#s4 {
background-image:url(images/s4back.jpg);
background-repeat:repeat-y;
background-position: 100% 100%;
height:100%;
width:22px;
}
#s6 {
background-image:url(images/s6back.jpg);
background-repeat:repeat-y;
background-position: 0% 0%;
height:100%;
width:22px;
}
#s7 {
background-image:url(images/s7.jpg);
background-repeat:no-repeat;
background-position: 100% 0%;
height:22px;
line-height:22px;
width:22px;
}
#s8 {
background-image:url(images/s8.jpg);
background-repeat:repeat-x;
background-position: 0% 0%;
height:22px;
line-height:22px;
width:100%;
}
#s9 {
background-image:url(images/s9.jpg);
background-repeat:no-repeat;
background-position: 0% 0%;
height:22px;
line-height:22px;
width:22px;
}
*/

/* Fade-Up für Texte und Boxen */
/* 1. Smooth Scroll */
/* 1. Smooth Scroll */
/* 1. Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* 2. Moderne Varianten-Boxen */
.variante-box {
    border: 1px solid rgba(127, 145, 85, 0.25);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 22px 0;
    background-color: #fafafa;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.variante-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(127, 145, 85, 0.15);
    border-color: rgba(127, 145, 85, 0.45);
    background-color: #ffffff;
}

/* 3. Moderne Links */
#inhalt a {
    color: #7f9155;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

#inhalt a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #7f9155;
    transition: width 0.3s ease;
}

#inhalt a:hover {
    color: #5a6b3a;
}

#inhalt a:hover::after {
    width: 100%;
}

/* 4. Top-Menü Glow */
#men a {
    transition: all 0.3s ease;
}

#men a:hover {
    text-shadow: 0 0 12px rgba(255, 255, 0, 0.75), 0 0 20px rgba(255, 255, 0, 0.4);
    transform: translateY(-1px);
}

/* 5. Bilder Hover Zoom */
#inhalt img {
    transition: transform 0.5s ease;
    border-radius: 6px;
}

#inhalt img:hover {
    transform: scale(1.03);
}

/* 6. Texte & Boxen – Fade Up */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 7. Bilder – Pixel ? Scharf */
@keyframes pixelToSharp {
    0% {
        opacity: 0;
        filter: contrast(1.3) brightness(1.05);
        image-rendering: pixelated;
        transform: scale(1.03);
    }
    40% {
        opacity: 1;
        filter: contrast(1.15);
        image-rendering: pixelated;
        transform: scale(1.015);
    }
    100% {
        opacity: 1;
        filter: none;
        image-rendering: auto;
        transform: scale(1);
    }
}

/* Anwendung der Animationen */
#inhalt h3,
#inhalt p,
#inhalt .variante-box {
    opacity: 0;
    animation: fadeUp 0.55s ease-out forwards;
}

#inhalt img {
    opacity: 0;
    animation: pixelToSharp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Timing */
#inhalt h3 { animation-delay: 0.1s; }
#inhalt p  { animation-delay: 0.2s; }
#inhalt img { animation-delay: 0.28s; }

#inhalt .variante-box:nth-child(1) { animation-delay: 0.38s; }
#inhalt .variante-box:nth-child(2) { animation-delay: 0.48s; }
#inhalt .variante-box:nth-child(3) { animation-delay: 0.58s; }
#inhalt .variante-box:nth-child(4) { animation-delay: 0.68s; }