
:root {
  --bs-light-rgb: 228, 219, 202;  /* sand */
  --bs-body-bg: 228, 219, 202;  /* sand */
  --sand: #e4dbca;   /* sand */
  --bs-link-color: #832f2f;
  --bs-link-color-rgb: 131, 47, 47;   /* d-rot */
  --darkred: #6b4237;  /* d-rot dunkel */
  --darkred-rgb: 107, 66, 55;   /* d-rot dunkel */
  --mobile-bg-color: rgba(228, 219, 202, 1);

  --bs-bg-opacity: 0.5;
}


html, body {
background-color: rgb(228, 219, 202);
font-family: 'Montserrat', 'Open Sans', sans-serif;
display: flex;
flex-direction: column;
height: 100%;
margin: 0;
padding: 0;
letter-spacing: 0.02em;
}
main {
flex: 1;
padding-bottom:1em;
padding-top:2.5em;
}
.mt-5 {
  margin-top: 1rem !important;
}
.form-group, .formcheckbox {  margin-top: 0.5rem; }
input[type="checkbox"] { margin-right:0.5rem; }
.bg-light {
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}


h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  font-family: 'Qwitcher Grypen', 'Solitreo', 'Italianno', sans-serif;
  font-weight:700;
  line-height:0.9;
}


h1 {font-size:3.5rem;}
.h1 {font-size:1.8rem; }
h2 {font-size:2.5rem;margin-top:1.5rem; }

body.article-6 h2, body.article-5 h2,
body.article-11 h2, body.article-4 h2,  
body.article-12 h2 { 
font-family: 'Montserrat', 'Open Sans', sans-serif; 
font-weight:500;
letter-spacing: 0.02em;
margin-top: 1.8rem;
}

body.article-6 h3,body.article-5 h3,
body.article-11 h3,body.article-4 h3,
body.article-12 h3 { 
font-family: 'Montserrat', 'Open Sans', sans-serif; 
font-weight:500;
font-size:1.4rem;
margin-top: 1.8rem;
letter-spacing: 0.02em;
}



a { color: var(--bs-link-color); text-decoration:none; }
p.slogan { margin:1rem;font-size:1rem; }
h2.h2abstand { margin-top: 1.5rem; }

img { max-width: 100%; height: auto; }
img.fullwidth { width: 100%; height: auto; max-width:none; }

section.inhalt { padding-top:0rem; padding-bottom:0rem; }


.list-inline-item:not(:last-child) { margin-right: 1.8rem; }
.btn { 
  background-color: rgba(var(--darkred-rgb), 0.8);
  text-transform: none; padding: 0.7rem 0.9rem; font-size:1rem; letter-spacing:0; 
   }
.nav-link { font-size:1.1rem; }
.btn:hover {
  background-color: rgba(var(--bs-link-color-rgb), 0.8);
}
.footer { 
padding: 2.1rem 0 2rem 0; 
border-top: 2px solid rgba(139, 91, 15, 0.3);
background-color: rgba(var(--bs-light-rgb), 1);
}



/* Navi          ##############################
################################################# */

/* === Hauptnavigation === */
#mainNav {
  min-height: 3.5rem;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
}

/* === Brand-Button === */
#mainNav .btn.navbar-brand {
  padding: 0.7rem 0.9rem;
  background-color: rgba(var(--darkred-rgb), 0.8);
  color: rgba(255, 255, 255, 0.8);
  font-weight: normal;
  transition: background-color 0.2s ease;
}

#mainNav .btn.navbar-brand:hover {
  background-color: rgba(var(--bs-link-color-rgb), 0.8);
}

/* === Desktop-Ansicht === */
@media (min-width: 992px) {

  #mainNav {
    background-color: transparent;
    color: var(--sand);
  }

  #mainNav.navbar-shrink {
    background-color: #f2ede4;
    color: var(--darkred);
  }
  
  #mainNav .nav-link {
    color: var(--sand);
    padding: 2rem 1rem 1.25rem;
    transition: color 0.2s ease, border-bottom 0.2s ease;
  }
  
  #mainNav.navbar-shrink .nav-link {
    color: var(--darkred);
    padding: 1.5rem 1rem 1.25rem;
    transition: color 0.2s ease, border-bottom 0.2s ease;
  }

  .nav-item.current .nav-link,
  .nav-item.active .nav-link,
  .nav-link:hover,
  #mainNav.navbar-shrink .nav-item.current .nav-link,
  #mainNav.navbar-shrink .nav-item.active .nav-link,
  #mainNav.navbar-shrink .nav-link:hover {
    border-bottom: 0.25rem solid #832f2f;
    outline: none;
  }

  /* === schmuckstrich weg === */
  .navbar-nav .nav-link::before {
  background-color: transparent;
  }
  #mainNav .nav-item.current .nav-link.art1,
  #mainNav .nav-item.active .nav-link.art1 {
   border-bottom: 0.25rem solid transparent;
  }

  body.article-1 #mainNav .nav-link {
    color: rgba(255, 255, 255, 0.8);
  }

  body.article-1 #mainNav.navbar-shrink .nav-link {
    color: var(--darkred);
  }

}


/* Scroll-Top      ##############################
################################################# */

#scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

/* ##############################
   Masthead CSS - Home Hero Section - Mobile-First
############################## */

.masthead {
  position: relative;
  width: 100%;
  height: 100vw;          /* Höhe aus Breite (Portrait) */
  min-height: 520px;
  background-image: url("../../media/titel-hintergrund.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.masthead .bildkombi {
  position: absolute;
  left: 7%;
  width: 93vw;
  top: 100px;
  height: 100vw;
  background-image: url("../../media/titel-mobil.png");
  background-position: bottom right;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: 5;
}

.masthead .bildkombi img.masthead-img1,
.masthead .bildkombi .masthead-img2 {
  display: none;
}

.masthead-logo {
  position: absolute;
  top: 140px;
  right: 30px;
  max-width: 80%;
  height: auto;
  z-index: 30;
}

/* =======================
   Breakpoints (Portrait / kleine Geräte)
======================= */
@media (min-width: 440px) {
  .masthead { height: 120vw; }
  .masthead .bildkombi { top: 95px; }
}

@media (min-width: 576px) {
  .masthead { height: 100vw; }
  .masthead .bildkombi { bottom: 0; height: 80vh; top: auto; }
  .masthead-logo { top: 140px; right: 40px; }
}

@media (min-width: 768px) {
  .masthead-logo { top: 160px; right: 40px; max-width: 68%; }
}

@media (min-width: 840px) {
  .masthead { height: 95vw; }
  .masthead-logo { right: 10vw; }
}

@media (min-width: 992px) {
  .masthead { height: 70vw; }
  .masthead .bildkombi {
    background-image: url("../../media/titel-desktop.png");
    background-position: bottom right;
    background-size: 100%;
  }
  .masthead-logo { top: 160px; right: 8vw; max-width: 55%; }
}

@media (min-width: 1120px) { .masthead-logo { top: 180px; right: 5vw; max-width: 50%; } }
@media (min-width: 1250px) { .masthead-logo { top: 200px; } }

/* =======================
   Querformat (ab 1:1)
======================= */
@media (min-aspect-ratio: 1/1) {
  .masthead { height: 100vh; min-height: 100vh; }
  .masthead .bildkombi {
    top: 30vh;
    height: 70vh;
    background-image: url("../../media/titel-mobil.png");
    background-position: bottom center;
    background-size: 70%;
  }
  .masthead-logo { top: 110px; right: 30px; max-width: 40%; }
}

/* Querformat Breakpoints */
@media (min-aspect-ratio: 1/1) and (min-width: 768px) {
  .masthead .bildkombi {
    top: 10vh;
    height: 90vh;
    background-image: url("../../media/titel-desktop.png");
    background-position: bottom right;
    background-size: 90%;
  }
  .masthead-logo { top: 150px; right: 25px; max-width: 58%; }
}

@media (min-aspect-ratio: 1/1) and (min-width: 1200px) {
  .masthead .bildkombi { background-size: 98%; }
  .masthead-logo { top: 120px; right: 45px; max-width: 53%; }
}

@media (min-aspect-ratio: 1/1) and (min-width: 1400px) { .masthead-logo { right: 50px; } }
@media (min-aspect-ratio: 1/1) and (min-width: 1600px) { .masthead-logo { top: 17vh; right: 6.3vw; max-width: 45vw; } }
@media (min-aspect-ratio: 1/1) and (min-width: 1900px) {
  .masthead .bildkombi { background-size: 91%; }
  .masthead-logo { right: 5vw; }
}
@media (min-aspect-ratio: 1/1) and (min-width: 2300px) {
  .masthead .bildkombi { background-size: 80%; background-position: bottom center; }
  .masthead-logo { top: 15vh; right: 11.5vw; }
}

/* =======================
Drei runde Bilder
======================= */

section.dreifeatures.parallax { 
  background-image: url("../../media/titel-hintergrund.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding:3.5rem 0 2.5rem 0;
  background-attachment: fixed;
}

section.dreifeatures .col-md-4 {
text-align: center;
}

section.dreifeatures .bild .image-wrap {
  box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.3);
  width: 12rem;
  height: 12rem;
  overflow: hidden;
  display: block;
  margin:0 auto;
  border: 0 solid #333;
}
section.dreifeatures .bild .image-wrap img { min-height:12.5rem; overflow: hidden;  }
section.dreifeatures h2, section.dreifeatures h2 a { 

font-size:52px;
line-height:44px;
font-weight:700;
color: #FFF;
}




/* =======================
Headerbild
======================= */

.headerwrapper { margin-top:5em; }

header.headerbild {
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
  color: #fff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: top center;
  min-height:16em;
  background-size: 250%;
}

.headerwrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background-image: linear-gradient(to bottom, #210a06, transparent);
  z-index: 1; /* Stellt sicher, dass es über dem Bild liegt */
}
body.article-7 .headerwrapper::after {
  background-image: linear-gradient(to bottom, #565930, transparent);
}

body.article-9 header.headerbild {
  background-position: center bottom !important;
}

header.headerbild .headerbild-subheading {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4rem;
  margin-bottom: 25px;
  color: #f5ebd9;
  font-family: 'Open Sans', "Helvetica Neue", sans-serif;
}
header.headerbild .headerbild-heading {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Open Sans', "Helvetica Neue", sans-serif;
}

header.headerbild .headerbild-heading {
	color: #e4dbca;
	-webkit-text-stroke: 2px #282828;
	text-shadow: 0 0 3px #282828, 0 0 5px #282828;
}
header.headerbild .headerbild-subheading {
	color: #f5ebd9;
	-webkit-text-stroke: 1px #282828;
	text-shadow: 0 0 3px #282828, 0 0 5px #282828;
}

@media (min-width: 480px) {

header.headerbild {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: right bottom;
  background-size: cover;
}

  header.headerbild {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  }
  header.headerbild .headerbild-subheading {
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin-bottom: 25px;
  }
  header.headerbild .headerbild-heading {
  font-size: 2.5rem;
  line-height: 2.9rem;
  margin-bottom: 1rem;
  }
}

@media (min-width: 576px) { 

.headerwrapper { margin-top:0em; }

header.headerbild .headerbild-subheading {
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin-bottom: 25px;
}
header.headerbild .headerbild-heading {
  font-size: 3.25rem;
  line-height: 3.25rem;
  margin-bottom: 2rem;
}
}

@media (min-width: 768px) {
  header.headerbild {
    padding-top: 14rem;
    padding-bottom: 9rem;
  }
  header.headerbild .headerbild-subheading {
    font-size: 2.25rem;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }
  header.headerbild .headerbild-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 3.5rem;
    margin-bottom: 4rem;
  }
}

@media (min-width: 1200px) {
header.headerbild { min-height:38rem; }
}



/* FeWo Text ##############################
################################################# */

.fewo-symbole {
  position: relative; 
  text-align: center;
  display: flex;
  text-align: center;
  letter-spacing: 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.fewo-symbole > div {
  width: 48% !important;
  display: flex;
  flex-direction: column;
}

.fewo-symbole > div:nth-child(1), .fewo-symbole > div:nth-child(2) {
  padding-bottom: 10px;
  border-bottom: 1px solid #3d3d3d;
  margin-bottom: 10px;
    text-align: center;
}

.fewo-symbole > div > i, .fewo-symbole > div > em {
  color: #3d3d3d;
  font-size: 30px;
  text-align: center;
margin: 5px auto;
}

@media (min-width: 481px) {
.fewo-symbole > div {
    width: 25% !important;
    border-bottom: 0 !important;
    padding: 0 1%;
    border-right: 1px solid #3d3d3d;
    font-size: 1rem;
    margin: 0;
    text-align: center;
  }

.fewo-symbole > div:last-child {
    border: 0;
    border-bottom-width: 0px;
  }
  .fewotext-section { padding: 6rem 0; }
}




.feature-kasten {
  border: 1px solid #333;
  padding-top: 30px !important;
  padding-right: 30px !important;
  padding-bottom: 30px !important;
  padding-left: 30px !important;
}

.feature-kasten .content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  text-align: center;
  word-wrap: break-word;
  width: 100%;
}

.feature-kasten .bild {
  margin: auto;
  margin-bottom:20px;
}

.feature-kasten .bild .image-wrap {
  box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.3);
  width: 180px;
  height: 180px;
  overflow: hidden;
  display: block;
  margin:0 auto;
  border: 0 solid #333;
}

.feature-kasten .bild .image-wrap img { width:200px; height:200px;overflow: hidden;  }

.feature-kasten .description {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  text-align: left;
  word-wrap: break-word;
  width: 100%;
}

.feature-kasten .description h3 {
font-weight: 700;
font-size: 3rem;
}




.text-red { font-size:1.3rem; color: var(--darkred) !important; background-color: #b4e495; padding-bottom:3rem !important; }












/* Responsive ##############################
################################################# */


@media (min-width: 576px) { 


h1 {font-size:5.5rem; }
.h1 {font-size:2.5rem; }
h2 {font-size:3.5rem; margin-top:2rem;margin-bottom:1rem; }
p.slogan { margin:1rem;font-size:1.2rem; }
header.headerbild .headerbild-heading {
  font-size: 3.25rem;
  line-height: 3.25rem;
  margin-bottom: 2rem;
}
header.headerbild .headerbild-subheading {
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin-bottom: 25px;
}
section#galerie_fewo { margin:3em;}
section#ferienwohnung { margin:3em;}
section#michelstadt { margin:4em 3em;}
section#features { margin: 3em 0}

}
