 /* ===========================================
   Hamburg-Ferienwohnung – Combined & Cleaned
   Source: formata.css + menue.css
   Date: 2025-09-07
   Notes:
   - #menu1 zusammengeführt (horizontale Pillen-Navigation).
   - Ungültiges "rgba(ffff)" korrigiert (transparentes Overlay).
   - #ffff (4-stelliger Hex) auf #fff normalisiert (breitere Kompatibilität).
   =========================================== */

/* === Base / Reset === */
*, *: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;
  height: 100%;
}

body {
  font-size: 1.7rem;
  margin: 0 auto;
}

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;
}

/* === Typography === */
.content br { line-height: .1; }

h1, h2, h3, h4, h5 {
  color: #000;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 2.5rem;
  line-height: 2.7rem;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

h2 {
  text-align: center;
  font-size: 2.4rem;
  line-height: 1rem;
  margin-top: -3rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* global h2 underline */
h2:after {
  text-align: left;
  border-top: 2px solid red;
  display: block;
  width: 60px;
  content: "";
  margin: 8px 0;
}

h3 {
  font-size: 1.8rem;
  line-height: 2.3rem;
  margin-top: -3rem;
  margin-bottom: 1.4rem;
  letter-spacing: .1rem;
  font-weight: 400;
  text-transform: none;
}

/* === Layout Wrapper === */
.container_haupt {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.content-wrapper { width: 100%; }

/* === Hero / Logo Section === */
.section-logo {
  width: 100%;
  height: 38rem;
  background: #93cede;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.logo {
  position: relative;
  width: 100%;
  height: 100%;
  display: table;
  background-image: url(https://www.hamburg-ferienwohnung.com/images/logo01.jpg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
}

.logo .filter {
  display: table;
  height: 100%;
  width: 100%;
  /* zuvor: rgba(ffff) – ungültig; transparent gesetzt */
  background: transparent;
}

.logo .name {
  height: 32rem;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  color: #fff; /* zuvor #ffff */
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 2.2rem;
  padding: 0 0;
}

.name b {
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 2.4rem;
  text-transform: uppercase;
}

/* === Content Sections === */
.section-content {
  width: 100%;
  color: #000;
  margin: 0;
  padding: 0;
  background: #efefef;
}

.content {
  display: block;
  width: 100vw;
  min-height: 60vh;
  margin: 0 auto;
  padding: 6rem 3rem;
  text-align: left;
}

/* content-specific h2 underline override */
.content h2:after {
  display: block;
  border-top: 8px solid #34839a;
  width: 60px;
  content: "";
  margin: 0 auto;
  margin-top: 1rem;
}

/* alternating backgrounds */
.section-content:nth-child(3n+1) .content { background: #fff; }
.section-content:nth-child(3n+2) .content {
  background: #9ac5d1;
  background: radial-gradient(#d3e6eb, #9ac5d1);
}
.section-content:nth-child(3n+3) .content {
  background: #ffe29e;
  background: radial-gradient(#fff5df, #ffe29e);
}

/* === Boxes / Grid === */
.wrapper-box {
  display: block;
  text-align: center;
  padding: 0;
}

.box {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  padding: 0;
  margin: 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: #95cbdb;
}

.fusstop-content {
  background: #296574;
  min-height: 15rem;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1rem 3rem;
  font-size: 1.2rem;
  line-height: 1.5rem;
}

#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;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  height: 2rem;
  width: 2rem;
  color: #fff;
  text-shadow: 0 0 1px #000;
  background: #54aac2;
  margin: .2rem .4rem 0 .2rem;
  transition: .5s;
}

#fusstop a:hover .fa {
  transform: rotate(360deg);
  color: #fff;
  box-shadow: 1px 1px 1px #000;
}

/* === Navigation: #menu1 (Merged) === */
/* Hinweis: Der zweite Block aus menue.css (horizontale Pillen) ist beibehalten.
   Der frühere "display:table/28rem"-Block wurde entfernt, um Konflikte zu vermeiden. */
#menu1 {
  position: absolute;
  z-index: 1;
  height: 0%;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  margin: 0;
  padding: 5rem 0 0 0;
  border: none;
  opacity: 1;
}

#menu1 ul {
  text-align: center;
  margin: 0;
  padding: 0;
}

#menu1 li {
  display: inline-block;
  background: #29687a;
  background: linear-gradient(to bottom, #93cede, #29687a);
  box-shadow: 0 0 0 1px #000;
  margin: 0 -.25rem;
  padding: .6rem 1.5rem;
}

#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 {
  /* Übergang: war zweifach; final kühler Türkiston */
  background: linear-gradient(to bottom, #bae4e2, #378c88);
  cursor: pointer;
}

#menu1 a {
  color: #fff;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 1.6rem;
  height: 2.8rem;
  line-height: 2.8rem;
  letter-spacing: .1px;
  padding: 0 1rem;
  text-transform: uppercase;
}

#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; }

/* === Media Queries === */
@media (min-width: 400px) {
  .content, .fusstop-content, .logo { width: 90vw; }
}

@media (min-width: 480px) {
  .section-logo { height: 32rem; }
  .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, .logo { 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) {
  .section-content:nth-child(3n+1) .content,
  .section-content:nth-child(3n+2) .content,
  .section-content:nth-child(3n+3) .content { padding: 6rem 5rem; }
  .box-1_of_4 { width: 25%; }
  #fusstop .box { padding: .5rem 3rem; }
}

@media (min-width: 1100px) {
  html { font-size: 75%; }
  .content, .fusstop-content, .logo { width: 90vw; }
}

@media (min-width: 1300px) {
  .content, .fusstop-content, .logo { width: 80vw; }
}

@media (min-width: 1400px) {
  html { font-size: 80%; }
  #fusstop .box { padding: .5rem 6rem; }
}
