* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #999999 url("gfx/back.png") center top repeat;
  font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   GRUNDLAYOUT
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 290px;
  background: #999999 url("gfx/back.png") center top repeat;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  overflow: visible;
  z-index: 1000;
}

.header-inner {
  width: 1200px;
  height: 290px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 600px 1fr;
  column-gap: 20px;
}

.logo-area,
.nav-area {
  position: relative;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  position: absolute;
  top: 20px;
  left: 0;
  width: 208px;
  height: 250px;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.logo:hover,
.logo:active {
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 1px rgba(0, 0, 0, 0.25));
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
}


/* =========================================================
   BURGER MENU BASIS
========================================================= */

.nav-toggle {
  display: none;
}

.burger {
  display: none;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 44px);
  overflow: visible;
}

.main-nav a {
  position: relative;
  display: block;
  min-width: 0;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.main-nav a::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
}

.main-nav a:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 1px rgba(0, 0, 0, 0.25));
}

.main-nav a.active {
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 1px rgba(0, 0, 0, 0.25));
}

.main-nav img {
  display: block;
  height: 15px;
  width: auto;
  max-width: 100%;
}


/* =========================================================
   BOOKING LINKS
========================================================= */

.booking-link {
  display: inline-block;
  font-weight: bold;
  color: #000000;
  text-decoration: none;
  text-shadow:
    -1px  0    1px rgba(255,255,255,0.9),
     1px  0    1px rgba(255,255,255,0.9),
     0   -1px  1px rgba(255,255,255,0.9),
     0    1px  1px rgba(255,255,255,0.9),
    0 0 6px rgba(0,64,255,0.5),
    0 0 14px rgba(0,64,255,0.25),
    0 0 28px rgba(0,64,255,0.15);
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.booking-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 1px rgba(0, 0, 0, 0.25));
}


/* =========================================================
   PHONE LINK
========================================================= */

.phone-link {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   PHONE LINK
========================================================= */

.mail-link {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   CONTENT
========================================================= */

.content {
  width: 1200px;
  margin: 0 auto;
  padding-top: 310px;
  min-height: 1080px;
}

.intro {
  display: grid;
  grid-template-columns: 600px 1fr;
  column-gap: 20px;
  width: 100%;
}


/* =========================================================
   HOME CENTER
========================================================= */

.home-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 310px);
  text-align: center;
}

.home-slogan {
  width: 50%;
  max-width: 250px;
  text-align: center;
}

.home-slogan img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 5px 3px rgba(0,0,0,0.30));
}

.home-word-a,
.home-word-b {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.home-word-a {
  margin-bottom: 10px;
}

.home-word-b {
  margin-top: 20px;
}


/* =========================================================
   HOME SLOGAN ANIMATION
========================================================= */

.home-word-a {
  opacity: 0;
  animation:
    sloganLeft 2.2s ease forwards;
}

.home-word-b {
  opacity: 0;
  animation:
    sloganRight 2.2s ease forwards;
}

.home-divider {
  opacity: 0;
  animation:
    sloganCenter 2.2s ease forwards;
}


/* kleine Verzögerungen */

.home-word-a:nth-of-type(1) {
  animation-delay: 0.2s;
}

.home-word-a:nth-of-type(2) {
  animation-delay: 0.5s;
}

.home-divider {
  animation-delay: 0.8s;
}

.home-word-b:nth-of-type(3) {
  animation-delay: 1.0s;
}

.home-word-b:nth-of-type(4) {
  animation-delay: 1.3s;
}

.home-word-b:nth-of-type(5) {
  animation-delay: 1.6s;
}


/* LINKS */

@keyframes sloganLeft {
  from {
    opacity: 0;
    transform:
      translateX(-120px);
  }
  to {
    opacity: 1;
    transform:
      translateX(0);
  }
}


/* RECHTS */

@keyframes sloganRight {
  from {
    opacity: 0;
    transform:
      translateX(120px);
  }
  to {
    opacity: 1;
    transform:
      translateX(0);
  }
}


/* MITTE */

@keyframes sloganCenter {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.5;
  }
}


/* =========================================================
   IMPRINT GRID
========================================================= */

.imprint-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-areas:
    "company director tax"
    "address contact .";
  column-gap: 40px;
  row-gap: 25px;
  justify-content: start;
  margin-bottom: 40px;
}

.company {
  grid-area: company;
}

.director {
  grid-area: director;
}

.tax {
  grid-area: tax;
}

.address {
  grid-area: address;
}

.contact {
  grid-area: contact;
}

.imprint-box {
  line-height: 1.3;
}

.nowrap {
  white-space: nowrap;
}


/* =========================================================
   IMAGE BOX
========================================================= */

.image-box {
  position: relative;
  display: block;
  width: 600px;
  height: 450px;
  border-radius: 8px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.image-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.30);
}

.icon-360 {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 1));
}

.icon-360 img {
  display: block;
  width: 100%;
  height: 100%;
}


/* =========================================================
   TEXT BOX
========================================================= */

.text-box {
  width: auto;
  margin-left: 0;
}


/* =========================================================
   LINE
========================================================= */

.line {
  width: 100%;
  height: 2px;
  margin: 20px 0;
  opacity: 0.5;
  background-image: url("gfx/line2.svg");
  background-repeat: repeat-x;
  background-position: left top;
}


/* =========================================================
   HOME-DEVIDER
========================================================= */

.home-divider {
  width: 100%;
  height: 2px;
  margin: 20px 0;
  background-image: url("gfx/line2.svg");
  background-repeat: repeat-x;
  background-position: left top;
}


/* =========================================================
   DESKTOP BIS 1200px
========================================================= */

@media screen and (max-width: 1200px) {

  .header-inner,
  .content {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* =========================================================
   TABLETS LANDSCAPE
========================================================= */

@media screen and (max-width: 1024px) and (orientation: landscape) {

  .site-header,
  .header-inner {
    height: 240px;
  }

  .logo {
    width: 166px;
    height: 200px;
  }

  .header-inner,
  .intro {
    grid-template-columns: 1fr 1fr;
  }

  .content {
    padding-top: 260px;
  }

  .home-center {
    min-height: calc(100vh - 260px);
  }

  .home-slogan {
    max-width: 700px;
  }

  .image-box {
    width: 100%;
    height: 380px;
  }

  .text-box {
    width: auto;
    min-height: 380px;
  }
}


/* =========================================================
   TABLETS PORTRAIT
========================================================= */

@media screen and (max-width: 900px) and (orientation: portrait) {

  .site-header,
  .header-inner {
    height: 250px;
  }

  .logo {
    width: 150px;
    height: 180px;
  }

  .header-inner {
    grid-template-columns: 1fr;
  }

  .nav-area {
    grid-column: 1;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 20px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(12px, 4vw, 44px);
  }

  .content {
    padding-top: 270px;
  }

  .home-center {
    min-height: calc(100vh - 270px);
  }

  .home-slogan {
    width: 42%;
    max-width: 220px;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .imprint-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "company"
      "director"
      "tax"
      "address"
      "contact";
    row-gap: 25px;
  }

  .image-box,
  .text-box {
    width: 100%;
  }

  .text-box {
    margin-top: 20px;
  }
}


/* =========================================================
   SMARTPHONES LANDSCAPE
========================================================= */

@media screen and (max-width: 800px) and (orientation: landscape) {

  .site-header,
  .header-inner {
    height: 95px;
  }

  .logo {
    width: 54px;
    height: 65px;
    top: 15px;
  }

  .header-inner,
  .intro {
    grid-template-columns: 1fr 1fr;
  }

  .nav-area {
    position: static;
  }

  .content {
    padding-top: 115px;
  }

  .home-center {
    min-height: calc(100vh - 115px);
  }

  .home-slogan {
    width: 18%;
    max-width: 190px;
  }

  .home-word-a {
    margin-bottom: 5px;
  }

  .home-word-b {
    margin-top: 10px;
  }

  .imprint-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "company"
      "director"
      "tax"
      "address"
      "contact";
    row-gap: 25px;
  }

  .image-box {
    width: 100%;
    height: 300px;
  }

  .icon-360 {
    width: 70px;
    height: 70px;
  }

  .burger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 3000;
  }

  .burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000000;
  }

  .main-nav {
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    bottom: auto;
    display: none;
    width: auto;
    height: auto !important;
    min-height: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start !important;
    gap: 18px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(120, 120, 120, 0.7);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 2500;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("gfx/back.png") center top repeat;
    opacity: 0.90;
    pointer-events: none;
    z-index: 0;
  }

  .main-nav a {
    position: relative;
    z-index: 1;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }
}


/* =========================================================
   SMARTPHONES PORTRAIT
========================================================= */

@media screen and (max-width: 600px) and (orientation: portrait) {

  .site-header,
  .header-inner {
    height: 95px;
  }

  .logo {
    width: 54px;
    height: 65px;
    top: 15px;
  }

  .header-inner,
  .intro {
    grid-template-columns: 1fr;
  }

  .nav-area {
    position: static;
  }

  .content {
    padding-top: 115px;
  }

  .home-center {
    min-height: calc(100vh - 115px);
  }

  .home-slogan {
    width: 55%;
    max-width: 180px;
  }

  .home-word-b {
    margin-bottom: -5px;
  }

  .imprint-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "company"
      "director"
      "tax"
      "address"
      "contact";
    row-gap: 25px;
  }

  .image-box {
    height: 260px;
  }

  .icon-360 {
    width: 64px;
    height: 64px;
    right: 15px;
    bottom: 15px;
  }

  .burger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 3000;
  }

  .burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000000;
  }

  .main-nav {
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    bottom: auto;
    display: none;
    width: auto;
    height: auto !important;
    min-height: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start !important;
    gap: 18px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(120, 120, 120, 0.7);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 2500;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("gfx/back.png") center top repeat;
    opacity: 0.90;
    pointer-events: none;
    z-index: 0;
  }

  .main-nav a {
    position: relative;
    z-index: 1;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }
}


/* =========================================================
   LOW HEIGHT LANDSCAPE DEVICES
========================================================= */

@media screen and (max-height: 500px) and (orientation: landscape) {

  .site-header,
  .header-inner {
    height: 75px;
  }

  .logo {
    width: 42px;
    height: 50px;
    top: 12px;
  }

  .main-nav img {
    height: 11px;
  }

  .content {
    padding-top: 90px;
  }

  .home-center {
    min-height: calc(100vh - 90px);
  }

  .home-slogan {
    width: 16%;
    max-width: 170px;
  }

  .home-word-a {
    margin-bottom: 3px;
  }

  .home-word-b {
    margin-top: 6px;
  }

  .home-divider {
    margin: 10px 0;
  }

}