@charset "UTF-8";

/* CSS Document */
@import url('bootstrap-3.3.5-dist/css/bootstrap.min.css'); 

@-moz-document url-prefix() {
  fieldset { display: table-cell; }
}

body {
  background-image:url(verlauf_hintergrund.gif);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow: scroll;
}

div > div.carousel-hidden > img {
    width: 100%;
}

div.row:nth-of-type(2n) div.float {
    float: right !important;
}

.row p {
    text-align: justify;
    padding: 5px;
}

.row img {
    padding: 5px !important;
    max-width: 100%;
    height: auto;
}

.col-xs-6  {
    margin-top:20px;    
}

.btn  {
    margin:5px;     
}

.form-group {
    margin-bottom:10px;
}

.wpcf7-form .col-xs-6   {
    margin-top: 0;
}

h2 {
    font-family:Verdana, Arial, sans-serif;
    color: #4F618F;
    line-height: 1.4;
}

p, body {
    font-family:Verdana, Arial, sans-serif;
    font-size:16px;
    font-size-adjust:0.58;
    line-height: 1.8;
    color: #555;
}

label {
    font-size:14px;     
}

form hr {
    margin: 15px;
}

#menu-menu-main li a {
    background-color: rgba(0, 128, 128, .0);
    color: #4F618F;
    font-family:Verdana, Arial, sans-serif;
    font-weight: Normal;
    font-size:15px;
}

#menu-menu-main li a:hover, .current-menu-item {
    background-color: rgba(79, 79, 143, .2);
}

.nav > li > a:focus, .nav > li > a:hover , #subnavi > li > a {
    text-decoration: none;
    background-color: rgba(79, 79, 143, .2);
}

.footer {
    margin-top:100px;
    width: 100%;
    height: auto;
}

.footer a {
    color: #FFF;
}

.footer .bg-footer {
    background-color: #8dc85e;
    width:100%;
    text-align: center;
    color: #FFF;
    padding: 15px 0;
}

.header-logo {
    background-image: url(Logo-schaeferhof.jpg);
    background-position: center;
    background-size: cover;
    width:100%;
    padding-bottom:100px;
    color: #374364;

}

#subnavi li {
    list-style: none;
    display: inline; 
}

#subnavi ul {
    list-style: none; 
    padding-left: 0em; 
    margin-left: 0em;    
}

.id254, .id101, #subnavi small { 
    display: none !important; 
}

.header-logo h1 {
    font-family: Verdana, Arial, sans-serif;
}

.header-logo h3 {
    font-family: Verdana, Arial, sans-serif;
}

.header-navi {
    background-position: center;
    background-size: cover;
    height: 100%;
    width:100%;
    background-color: #75a64e;
}

#subnavi {
    margin-bottom:20px;
    height: 100%;
    width:100%;
    padding:5px;
}

a {
    color: #333;
    text-decoration: none;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 5px;
    font-size:14px;
    color: #FFF;
    height:100%;
}

.carousel-hidden {
    overflow:hidden;  
    height:400px;
    border: 20px solid #FFF;
}

.carousel-control.left, .carousel-control.right {
    background-image: linear-gradient(to right,rgba(0,0,0,.0) 0,rgba(0,0,0,.0001) 100%);
}

#myCarousel {
    border: 1px solid #bbb;     
}

hr {
    margin: 15px;
}

nav ul li a {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    text-align: center;
}

.gallerie {
    margin-top:40px;
}

.kontakt {
    line-height: 1.5;
    padding: 20px 20px 0 20px;
    text-align: center;
}

.kontakt a {
    color: #4F618F;
    text-decoration: underline;
    margin-top:2px;
    padding: 0 20px 20px 20px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 768px) { 
    .row p { text-align: left; }
    .carousel-hidden { height: 0px; }
    .navbar-static-top, #myCarousel { visibility: hidden; height:0px; }
    .header-logo h1 { font-size:22px; }
    .header-logo h3 { font-size:18px; }
    .nav > li > a { padding: 10px 10px; font-size:15px; }
}

@media (max-width: 992px) { 
    .col-xs-6 { width:100%; }
    .col-md-3 { width:33%; }
    .carousel-hidden { height:250px; }
}

/* ============================================================
   NEUE FUNKTIONEN (OHNE HOVER / OHNE RAHMEN)
   ============================================================ */

/* 1. GALERIE-LAYOUT (3 Spalten beibehalten) */
.gallery-columns-3, .wp-block-gallery.columns-3 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 10px;
    margin: 20px 0 !important;
}

.gallery-columns-3 .gallery-item, .wp-block-gallery.columns-3 .wp-block-image {
    width: 31% !important;
    margin: 0 0 20px 0 !important;
    list-style: none !important;
}

.gallery-columns-3 .gallery-item img, .wp-block-gallery.columns-3 .wp-block-image img {
    width: 100% !important;
    height: auto !important;
}

/* 2. SCHARFE BILDUNTERSCHRIFTEN */
.wp-caption-text, figcaption, .gallery-caption {
    filter: none !important;
    text-shadow: none !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #ffffff !important;
    padding: 8px !important;
    font-size: 13px !important;
    text-align: center !important;
    border-radius: 0 0 3px 3px;
    margin-top: -5px !important;
}

/* 3. FOOTER-LOGO ABSOLUT CLEAN (Kein Hover, kein Rahmen) */
.footer img, .footer .img-responsive {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    display: block !important;
    width: 100% !important;
    cursor: default !important;
}

.footer img:hover {
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* 4. ALLGEMEINE BILDER IM TEXT (RAHMEN ENTFERNT) */
#container img {
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}


/* ============================================================
   MODERNER KONTAKT-BEREICH (FOOTER-ABSCHLUSS)
   ============================================================ */

.kontakt-modern-box {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9; /* Ganz heller Hintergrund zur Absetzung */
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.kontakt-modern-box h2 {
    margin-bottom: 20px;
    color: #4F618F;
    font-weight: bold;
}

.kontakt-flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.phone-number {
    font-size: 20px;
    color: #333;
    display: block;
    margin-top: 5px;
}

/* Button-Styling */
.kontakt-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-modern-primary, .btn-modern-secondary {
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Haupt-Button: Grün */
.btn-modern-primary {
    background-color: rgb(117, 166, 78);
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-modern-primary:hover {
    background-color: #5d853e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Neben-Button: Blau-Grau */
.btn-modern-secondary {
    background-color: #f0f0f0;
    color: #4F618F !important;
    border: 1px solid #ddd;
}

.btn-modern-secondary:hover {
    background-color: #e5e5e5;
    color: #374364 !important;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .btn-modern-primary, .btn-modern-secondary {
        width: 100%; /* Auf dem Handy untereinander und volle Breite */
        max-width: 300px;
    }
}




/* --- STICKY BUTTON MIT ANIMATION --- */
.sticky-book-btn {
    position: fixed;
    top: 25%;               
    right: 0;               
    z-index: 9999;          
    background-color: #d9534f; 
    color: #ffffff !important; 
    padding: 12px 20px;     
    font-size: 15px;        
    font-weight: bold;
    text-decoration: none !important;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
    
    /* Animation aufrufen: wackelt alle 2 Sekunden */
    animation: wiggle 2s ease-in-out infinite;
}

.sticky-book-btn:hover {
    background-color: #c9302c; 
    padding-right: 30px; 
    animation-play-state: paused; /* Stoppt das Wackeln beim Drüberschweifen */
}

/* Definition des Wackel-Effekts */
@keyframes wiggle {
    0% { transform: translateX(0); }
    85% { transform: translateX(0); }
    90% { transform: translateX(-5px) rotate(-2deg); }
    93% { transform: translateX(3px) rotate(2deg); }
    96% { transform: translateX(-2px) rotate(-1deg); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .sticky-book-btn {
        top: auto; bottom: 20px; right: 10px;
        border-radius: 30px; font-size: 14px; padding: 10px 20px;
    }
}

