/* ===========================================
   Hamburg-Ferienwohnung – combined.css
   Bereinigt:
   - grauer Seitenhintergrund außen
   - weißer Inhaltsbereich innen
   - kein gelber/hellblauer Wechselhintergrund
   - kein ungültiges background: #;
   - keine doppelten Slider-Regeln
   - Hero/logo01klein.jpg bleibt verkürzt
   =========================================== */


/* === Base / Reset === */

.center {
  text-align: center;
}

*,
*::before,
*::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  font-family: open_sanslight, georgia, tahoma, arial, Verdana, Segoe, "Open Sans", helvetica, roboto, sans-serif;
  font-size: 62.5%;
  line-height: 1.4;
  font-weight: 400;
  min-height: 100%;
  background: #ddd;
}

body {
  font-size: 1.7rem;
  margin: 0;
  color: #000;
}


/* === Links & Images === */

a {
  background-color: transparent;
  color: #000;
  text-decoration: underline;
}

a:hover {
  color: #000;
  background-color: transparent;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}


/* === Slider === */

.slider {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  background: #fff;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}


/* EG und Gäste: 22 Bilder */

.slider-eg img,
.slider-gast img {
  animation: fade22 110s infinite;
}

.slider-eg img:nth-child(1),
.slider-gast img:nth-child(1) {
  animation-delay: 0s;
}

.slider-eg img:nth-child(2),
.slider-gast img:nth-child(2) {
  animation-delay: 5s;
}

.slider-eg img:nth-child(3),
.slider-gast img:nth-child(3) {
  animation-delay: 10s;
}

.slider-eg img:nth-child(4),
.slider-gast img:nth-child(4) {
  animation-delay: 15s;
}

.slider-eg img:nth-child(5),
.slider-gast img:nth-child(5) {
  animation-delay: 20s;
}

.slider-eg img:nth-child(6),
.slider-gast img:nth-child(6) {
  animation-delay: 25s;
}

.slider-eg img:nth-child(7),
.slider-gast img:nth-child(7) {
  animation-delay: 30s;
}

.slider-eg img:nth-child(8),
.slider-gast img:nth-child(8) {
  animation-delay: 35s;
}

.slider-eg img:nth-child(9),
.slider-gast img:nth-child(9) {
  animation-delay: 40s;
}

.slider-eg img:nth-child(10),
.slider-gast img:nth-child(10) {
  animation-delay: 45s;
}

.slider-eg img:nth-child(11),
.slider-gast img:nth-child(11) {
  animation-delay: 50s;
}

.slider-eg img:nth-child(12),
.slider-gast img:nth-child(12) {
  animation-delay: 55s;
}

.slider-eg img:nth-child(13),
.slider-gast img:nth-child(13) {
  animation-delay: 60s;
}

.slider-eg img:nth-child(14),
.slider-gast img:nth-child(14) {
  animation-delay: 65s;
}

.slider-eg img:nth-child(15),
.slider-gast img:nth-child(15) {
  animation-delay: 70s;
}

.slider-eg img:nth-child(16),
.slider-gast img:nth-child(16) {
  animation-delay: 75s;
}

.slider-eg img:nth-child(17),
.slider-gast img:nth-child(17) {
  animation-delay: 80s;
}

.slider-eg img:nth-child(18),
.slider-gast img:nth-child(18) {
  animation-delay: 85s;
}

.slider-eg img:nth-child(19),
.slider-gast img:nth-child(19) {
  animation-delay: 90s;
}

.slider-eg img:nth-child(20),
.slider-gast img:nth-child(20) {
  animation-delay: 95s;
}

.slider-eg img:nth-child(21),
.slider-gast img:nth-child(21) {
  animation-delay: 100s;
}

.slider-eg img:nth-child(22),
.slider-gast img:nth-child(22) {
  animation-delay: 105s;
}


/* OG: 13 Bilder */

.slider-og img {
  animation: fade13 65s infinite;
}

.slider-og img:nth-child(1) {
  animation-delay: 0s;
}

.slider-og img:nth-child(2) {
  animation-delay: 5s;
}

.slider-og img:nth-child(3) {
  animation-delay: 10s;
}

.slider-og img:nth-child(4) {
  animation-delay: 15s;
}

.slider-og img:nth-child(5) {
  animation-delay: 20s;
}

.slider-og img:nth-child(6) {
  animation-delay: 25s;
}

.slider-og img:nth-child(7) {
  animation-delay: 30s;
}

.slider-og img:nth-child(8) {
  animation-delay: 35s;
}

.slider-og img:nth-child(9) {
  animation-delay: 40s;
}

.slider-og img:nth-child(10) {
  animation-delay: 45s;
}

.slider-og img:nth-child(11) {
  animation-delay: 50s;
}

.slider-og img:nth-child(12) {
  animation-delay: 55s;
}

.slider-og img:nth-child(13) {
  animation-delay: 60s;
}

@keyframes fade22 {
  0% {
    opacity: 0;
  }

  2% {
    opacity: 1;
  }

  4.5% {
    opacity: 1;
  }

  6.5% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade13 {
  0% {
    opacity: 0;
  }

  3% {
    opacity: 1;
  }

  7% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


/* === Typography === */

.content br {
  line-height: 0.1;
}

h1,
h2,
h3,
h4,
h5 {
  color: #000;
  text-align: center;
  letter-spacing: 2px;
}

h1 {
  font-size: 2.5rem;
  line-height: 2.7rem;
  margin-top: 0;
  margin-bottom: 1.1rem;
}

h2 {
  text-align: center;
  font-size: 2.4rem;
  line-height: 2.6rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

h2::after {
  text-align: left;
  border-top: 2px solid red;
  display: block;
  width: 60px;
  content: "";
  margin: 8px auto 0;
}

h3 {
  font-size: 1.8rem;
  line-height: 2.3rem;
  margin-top: 0;
  margin-bottom: 1.4rem;
  letter-spacing: 0.1rem;
  font-weight: 400;
  text-transform: none;
}

.content h2::after {
  display: block;
  border-top: 8px solid #34839a;
  width: 60px;
  content: "";
  margin: 1rem auto 0;
}


/* === Layout Wrapper === */

.container_haupt {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.content-wrapper {
  width: 100%;
  background: transparent;
}


/* === Hero / Logo Section === */

.section-logo {
  width: 100%;
  height: 190px;
  background: #93cede;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.logo {
  position: relative;
  width: 100%;
  height: 190px;
  display: table;
  background-image: url("https://www.hamburg-ferienwohnung.com/images/logo02.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 190px;
  margin: 0 auto;
}

.logo .filter {
  display: table;
  height: 100%;
  width: 100%;
  /* zuvor: rgba(ffff) – ungültig; transparent gesetzt */
  background: transparent;
}

.logo .name {
  display: table-cell;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 2.2rem;
  padding: 0;
}

.name b {
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 2.4rem;
}


/* === Content Sections === */

.section-content {
  width: 100%;
  color: #000;
  margin: 0;
  padding: 0;
  background: transparent;
}

.content {
  display: block;
  width: 90vw;
  max-width: 1200px;
  min-height: 60vh;
  margin: 0 auto;
  padding: 2rem 3rem 6rem;
  text-align: left;
  background: #fff;
}


/* === Boxes / Grid === */

.wrapper-box {
  display: block;
  text-align: center;
  padding: 0;
}

.box {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  padding: 0;
  margin: 0 -0.25rem;
}

.box-1_of_1,
.box-1_of_2,
.box-1_of_3,
.box-1_of_4 {
  width: 100%;
}

.box img,
.box a img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 6px #fff;
}


/* === Footer Top === */

.section-fusstop {
  width: 100%;
  color: #fff;
  background: transparent;
}

.fusstop-content,
#fusstop {
  width: 90vw;
  max-width: 1200px;
  min-height: 15rem;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5rem;
  background: #296574;
}

#fusstop .box {
  display: inline-block;
  padding: 1rem;
  text-align: center;
}

#fusstop .box-1_of_4 {
  width: 28rem;
}

#fusstop h3 {
  font-size: 1.5rem;
  line-height: 1.8rem;
  color: #fff;
  border-bottom: dotted 1px #fff;
  margin: 1rem 0;
  text-align: left;
}

#fusstop ul,
#fusstop .menu ul {
  text-align: left;
  margin: 0;
  padding: 0;
}

#fusstop li,
#fusstop .menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#fusstop a {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: #fff;
  text-decoration: none;
}

#fusstop a .fa,
#fusstop .inhalt .fa {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin: 0.2rem 0.4rem 0 0.2rem;
  background: #54aac2;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  text-shadow: 0 0 1px #000;
  transition: 0.5s;
}

#fusstop a:hover .fa {
  transform: rotate(360deg);
  color: #fff;
  box-shadow: 1px 1px 1px #000;
}


/* === Map === */

#map {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  background: #fff;
  text-align: center;
}

#map iframe {
  width: 100%;
  max-width: 960px;
  height: 720px;
  border: 0;
}


/* === Navigation: #menu1 === */

#menu1 {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  border: none;
  background: transparent;
  opacity: 1;
}

#menu1 ul {
  text-align: center;
  margin: 0;
  padding: 0;
}

#menu1 li {
  display: inline-block;
  margin: 0 -0.25rem;
  padding: 0.6rem 1.5rem;
  background: #29687a;
  background: linear-gradient(to bottom, #93cede, #29687a);
  box-shadow: 0 0 0 1px #000;
}

#menu1 li:first-child {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

#menu1 li:last-child {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

#menu1 li:hover {
  background: linear-gradient(to bottom, #bae4e2, #378c88);
  cursor: pointer;
}

#menu1 a {
  display: inline-block;
  padding: 0 0.8rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1.1rem;
  height: 2.6rem;
  line-height: 2.6rem;
  letter-spacing: 0.1px;
}

#menu1 a:hover {
  color: #fff;
  background: none;
}

#menu1 #aktuell {
  display: inline-block;
  color: #fff;
  background: #378c88;
  background: linear-gradient(to bottom, #bae4e2, #378c88);
}

#menu1 #aktuell a {
  background: none;
}


/* === Responsive === */

@media (max-width: 600px) {
  .slider {
    aspect-ratio: 4 / 3;
  }

  .content,
  #fusstop,
  .fusstop-content,
  #map,
  .logo {
    width: 100%;
  }

  .content {
    padding: 2rem 1.5rem 4rem;
  }

  #map iframe {
    height: 420px;
  }
}

@media (min-width: 400px) {
  .content,
  .fusstop-content,
  #fusstop,
  .logo,
  #map {
    width: 90vw;
  }
}

@media (min-width: 480px) {
  .section-logo {
    height: 190px;
  }

  .logo {
    height: 190px;
  }

  #menu1 {
    padding: 1rem 0 1.5rem;
  }

  .box-1_of_1,
  .box-1_of_2,
  .box-1_of_3,
  .box-1_of_4 {
    width: 80%;
  }
}

@media (min-width: 600px) {
  .box-1_of_1 {
    width: 50%;
  }

  .box-1_of_2 {
    width: 50%;
  }

  .box-1_of_3 {
    width: 33.33%;
  }

  .box-1_of_4 {
    width: 50%;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 70%;
  }

  .content,
  .fusstop-content,
  #fusstop,
  .logo,
  #map {
    width: 92vw;
  }

  .box-1_of_2 {
    width: 50%;
  }

  .box-1_of_3 {
    width: 33.33%;
  }

  #fusstop .box-1_of_4 {
    width: 48%;
  }

  #fusstop .menu a {
    font-size: 1.1rem;
  }
}

@media (min-width: 800px) {
  .content {
    text-align: justify;
  }
}

@media (min-width: 1024px) {
  .content {
    padding: 6rem 5rem;
  }

  .box-1_of_4 {
    width: 25%;
  }

  #fusstop .box {
    padding: 0.5rem 3rem;
  }
}

@media (min-width: 1100px) {
  html {
    font-size: 75%;
  }

  .content,
  .fusstop-content,
  #fusstop,
  .logo,
  #map {
    width: 90vw;
  }
}

@media (min-width: 1300px) {
  .content,
  .fusstop-content,
  #fusstop,
  .logo,
  #map {
    width: 80vw;
  }
}

@media (min-width: 1400px) {
  html {
    font-size: 80%;
  }

  #fusstop .box {
    padding: 0.5rem 6rem;
  }
}