/* 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/rio16.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;
}
*/
 #inhalt a {
    transition: color 0.3s ease;
}
#inhalt a:hover {
    color: #5a6b3a;
}
#inhalt a:hover::after {
    width: 100%;
}

/* 2. 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);
}

/* 3. Bilder – Hover Zoom */
#inhalt img {
    transition: transform 0.5s ease;
    border-radius: 6px;
}
#inhalt img:hover {
    transform: scale(1.03);
}

/* 4. Keyframes – Fade Up (Texte) */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Keyframes – Pixel ? Scharf (Bilder) */
@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);
    }
}

/* 6. Animationen anwenden */
#inhalt p {
    opacity: 0;
    animation: fadeUp 0.55s ease-out forwards;
    animation-delay: 0.2s;
}

#inhalt img {
    opacity: 0;
    animation: pixelToSharp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.28s;
}