/* =============================================
   Gehrlein's Hardtwald – 1:1 Nachbau
   Originalfarbe: #871e47 | BG: #e8dcdc
   Font: Roboto Condensed
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  background-color: #e8dcdc;
  color: #777;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}

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

a:hover, a:focus, a:active {
  color: #871e47;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: #871e47;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p { margin-bottom: 1rem; }

/* ---- OUTER CONTAINER ---- */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding-top verhindert margin-collapse und schafft Raum für Logo */
  padding-top: 50px;
}

/* ---- HEADER (enthält Nav unten, Logo oben rechts überlappend) ---- */
#header {
  background-color: #871e47;
  width: 100%;
  position: relative;
  /* Höhe: ~90px roter Bereich + 45px Nav = 135px wie Original */
  padding-top: 90px;
}

#logo {
  position: absolute;
  right: 20px;
  /* -40px = 40px über Header-Oberkante → in die 50px-Padding-Zone oben */
  top: -40px;
  z-index: 10;
}

#logo img {
  height: 136px;
  width: auto;
}

.navbar {
  background-color: #871e47;
  border: none;
  border-radius: 0;
  margin: 0;
}

.navbar-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 0 50px;
}

.navbar-nav li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.navbar-nav li a:hover,
.navbar-nav li a.active {
  background-color: #fff;
  color: #737373;
  text-decoration: none;
}

/* Hamburger */
.navbar-toggle {
  display: none;
  background-color: #737373;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  margin: 8px 15px 8px auto;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

/* ---- CONTENT AREA ---- */
#contentbereich {
  background-color: #fff;
  padding: 20px 50px 40px;
  min-height: 400px;
}

#contentbereich .page-header {
  border-bottom: 1px solid #e0d0d0;
  margin-bottom: 20px;
  padding-bottom: 9px;
}

#contentbereich .page-header h2 {
  font-size: 26px;
  margin: 0;
}

/* ---- GRID ---- */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.col-lg-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 0 10px;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 10px;
}

.col-lg-8 {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  padding: 0 10px;
}

.col-lg-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 10px;
}

/* ---- HOME KARTEN ---- */
#cellrestaurant,
#cellgaestehaus {
  border-right: 1px solid #871e47;
  min-height: 500px;
}

#cellcafe {
  min-height: 500px;
}

#cellrestaurant h2,
#cellgaestehaus h2,
#cellcafe h2 {
  background-color: #871e47;
  color: #fff;
  font-size: 20px;
  padding: 10px;
  margin: 0 0 0 0;
}

#cellrestaurant p,
#cellgaestehaus p,
#cellcafe p {
  padding: 8px 10px 0;
}

#cellrestaurant img,
#cellgaestehaus img,
#cellcafe img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ---- BUTTONS ---- */
button, .btn {
  background-color: #871e47;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 8px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  margin: 5px 10px;
}

button:hover, .btn:hover {
  background-color: #e8dcdc;
  color: #871e47;
}

/* ---- SLIDER ---- */
.slider-wrap {
  position: relative;
  overflow: hidden;
  background: #5a1030;
  width: 100%;
}

.slider-inner {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(135, 30, 71, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: rgba(135, 30, 71, 0.9); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* ---- RESTAURANT / GÄSTEHAUS INHALT ---- */
#contentbereich .article-body p {
  line-height: 1.7;
}

/* ---- FOOTER ---- */
#footerrow {
  background-color: #871e47;
  height: 50px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  float: right;
}

.footer-nav li a {
  color: #fff;
  padding: 0 15px;
  font-size: 15px;
  text-decoration: none;
  border-bottom: none;
}

.footer-nav li a:hover {
  color: #e8dcdc;
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  body { font-size: 14px; }

  #header { margin-top: 0; height: 90px; }
  #logo { right: 10px; top: -10px; }
  #logo img { height: 80px; }

  #contentbereich { padding: 10px 15px 30px; }

  .col-lg-4, .col-lg-6, .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #cellrestaurant, #cellgaestehaus {
    border-right: none;
    border-bottom: 1px solid #871e47;
    min-height: auto;
    margin-bottom: 20px;
  }

  #cellcafe { min-height: auto; }

  .navbar-nav {
    margin: 0;
    flex-direction: column;
  }

  #footerrow {
    height: auto;
    padding: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
