:root {

  /* User Colors */
  --primary: rgb(0, 43, 63);
  --primary-90: rgb(0, 43, 63, .9);
  --primary-80: rgb(0, 43, 63, .8);
  --primary-70: rgb(0, 43, 63, .7);
  --primary-60: rgb(0, 43, 63, .6);
  --primary-50: rgb(0, 43, 63, .5);
  --primary-40: rgb(0, 43, 63, .4);
  --primary-30: rgb(0, 43, 63, .3);
  --primary-20: rgb(0, 43, 63, .2);
  --primary-10: rgb(0, 43, 63, .1);
  --primary-5: rgb(0, 43, 63, .05);
  --primary-0: rgb(0, 43, 63, .0);

  --complimentary: rgb(255, 255, 255);
  --complimentary-90: rgb(255, 255, 255, .9);
  --complimentary-80: rgb(255, 255, 255, .8);
  --complimentary-70: rgb(255, 255, 255, .7);
  --complimentary-60: rgb(255, 255, 255, .6);
  --complimentary-50: rgb(255, 255, 255, .5);
  --complimentary-40: rgb(255, 255, 255, .4);
  --complimentary-30: rgb(255, 255, 255, .3);
  --complimentary-20: rgb(255, 255, 255, .2);
  --complimentary-10: rgb(255, 255, 255, .1);
  --complimentary-5: rgb(255, 255, 255, .05);
  --complimentary-0: rgb(255, 255, 255, .0);

  --accent: rgb(249, 249, 249);

  --text: rgb(0, 0, 0);
  --secondary: rgb(235, 238, 242);
  --background: rgb(252, 254, 255);
}

@font-face {
  font-family: 'Panchang';
  src: url('../assets/fonts/Panchang-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scrollbar-gutter: stable;
  overflow: overlay;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--background);
  font-family: "Montserrat", sans-serif;
}

main {
  height: auto;
  width: 100%;
  padding-left: 80px;
  padding-right: 80px;
  min-height: 50svh;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  gap: 60px;
  transition: all ease .3s;
}

/* COMING SOON */

:root {
  /* Ein Zyklus: 18s → Logo ~6s, Text ~10s, Übergänge dazwischen */
  --cycle: 18s;
  --shift: 120px;
  --primary: #111; /* deine Farbe */
}

.coming-wrapper {
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;       /* exakt mittig im Viewport */
  overflow: hidden;
}

.coming-stack {
  position: relative;        /* für das Destinations-Overlay */
  display: grid;
  place-items: center;
}

/* beide Elemente überlagern */
.coming-stack > *:not(.destinations) {
  grid-area: 1 / 1;
  will-change: transform, opacity;
}

/* Logo-Phase: 0%–33% sichtbar */
.coming-logo {
  height: 80px;
  padding-left: 40px;
  padding-right: 40px;
  animation: logoCycle var(--cycle) ease-in-out infinite both;
}

/* Text-Phase: 33%–89% sichtbar (≈10 Sekunden) */
.coming-title {
  font-family: 'Panchang', system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--primary);
  text-align: center;
  margin: 0;
  animation: textCycle var(--cycle) ease-in-out infinite both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coming-logo-small {
  height: 40px;
  margin-bottom: 30px;
}

/* Overlay für „Bubbles“ der Destinationen */
.destinations {
  height: 100svh;
  width: 100svw;
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  /* Sichtbarkeit an Textphase koppeln */
  animation: destCycle var(--cycle) linear infinite both;
}

/* einzelne Destination */
.dest {
  height: 100svh;
  width: 100svw;
  position: absolute;
  font-family: 'Panchang', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  opacity: 0;
  color: var(--primary-20);
  filter: drop-shadow(0 2px 6px var(--primary-10));
  animation-name: float;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

/* Logo: unten rein → stehen → oben raus → warten */
@keyframes logoCycle {
  0%    { transform: translateY(var(--shift)); opacity: 0; }
  10%   { transform: translateY(0);            opacity: 1; }
  30%   { transform: translateY(0);            opacity: 1; }
  33%   { transform: translateY(calc(-1 * var(--shift))); opacity: 0; }
  33.01%{ transform: translateY(var(--shift)); opacity: 0; } /* Reset */
  100%  { transform: translateY(var(--shift)); opacity: 0; }
}

/* Text: wartet bis 33% → rein → ~10s stehen → raus */
@keyframes textCycle {
  0%     { transform: translateY(var(--shift)); opacity: 0; }
  32.99% { transform: translateY(var(--shift)); opacity: 0; }
  38%    { transform: translateY(0);            opacity: 1; }
  89%    { transform: translateY(0);            opacity: 1; }
  91%    { transform: translateY(calc(-1 * var(--shift))); opacity: 0; }
  100%   { transform: translateY(calc(-1 * var(--shift))); opacity: 0; }
}

/* Destinations-Overlay: nur während der Textphase sichtbar */
@keyframes destCycle {
  0%, 33%   { opacity: 0; }
  33.01%, 89% { opacity: 1; }
  100%     { opacity: 0; }
}

/* „Bubble“-Animation: unten rein, seitlich driften, oben raus */
@keyframes float {
  0%   { transform: translate(0, 20px) scale(.92) rotate(var(--rot, 0deg)); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(calc(var(--dx, 0px) * .5), -10px) scale(1) rotate(var(--rot, 0deg)); }
  100% { transform: translate(var(--dx, 0px), -60px) scale(1.06) rotate(var(--rot, 0deg)); opacity: 0; }
}

/* COMING SOON END */
/* HEADER */

header {
  height: auto;
  width: 100%;
  padding: 10px;
  padding-left: 80px;
  padding-right: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header.standalone {
  height: auto;
  width: 100%;
  padding: 10px;
  padding-left: 80px;
  padding-right: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 20px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

img.header-logo {
  height: 100%;
  width: auto;
}

.header-wrapper {
  height: auto;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

a.header-link {
  font-size: .9rem;
  color: var(--primary);
}

a.header-link:hover {
  color: var(--primary-60);
}

.header-sep {
  height: 20px;
  width: 1px;
  background-color: var(--primary-20);
  flex-shrink: 0;
}

@media (max-width: 1250px) {
  header {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 800px) {
  header {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* HEADER END */
/* HEADER ALERT */

.header-alert {
  height: 35px;
  width: 100%;
  padding: 0px 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .8rem;
  background-color: var(--primary);
  color: var(--complimentary);
  cursor: default;

  transform: translateY(-100%);
  margin-bottom: -35px;
}

.header-alert.active {
  animation: slideAlert .5s ease forwards;
  animation-delay: 1s;
}

.header-alert.noanimation.active {
  animation: slideAlert 0s ease forwards;
  animation-delay: 0s;
}

@keyframes slideAlert {
  0% {
    transform: translateY(-100%);
    margin-bottom: -35px;
  }
  100% {
    transform: translateY(0%);
    margin-bottom: 0;
  }
}

@media (max-width: 1250px) {
  .header-alert {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 800px) {
  .header-alert {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* HEADER ALERT */
/* MAINPAGE HERO */

.mainpage-hero {
  height: 70vh;
  width: 100%;
  padding: 0px 80px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.mainpage-hero.reversed {
  flex-direction: row;
}

.mainpage-hero-image {
  height: 80%;
  width: auto;
  aspect-ratio: 9/10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.mainpage-hero-image-overlay {
  height: 100%;
  width: 100%;
  background-color: var(--complimentary-20);
}

.mainpage-hero-wrapper {
  width: auto;
  max-width: 450px;
  margin-right: -50px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mainpage-hero-title {
  font-family:'Panchang', sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 2px;
  font-weight: 0;
  color: var(--primary);
}

.mainpage-hero-text {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.4;
  padding-right: 70px;
}

a.mainpage-hero-button {
  height: auto;
  width: fit-content;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.mainpage-hero-button-text {
  height: auto;
  width: fit-content;
  padding: 10px 15px;
  padding-right: 20px;
  font-size: .9rem;
  border: 1px solid var(--primary-40);
  cursor: pointer;
  transition: all ease .3s;
}

a.mainpage-hero-button:hover > .mainpage-hero-button-text {
  border-color: var(--primary);
}

.mainpage-hero-button-line-wrapper {
  height: 10px;
  width: 20px;
  flex-shrink: 0;
  background-color: var(--background);
  transform: translateX(-10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease .3s;
}

a.mainpage-hero-button:hover > .mainpage-hero-button-line-wrapper {
  height: 20px;
  transform: translateX(-5px);
}

.mainpage-hero-button-line {
  height: 1px;
  width: 20px;
  flex-shrink: 0;
  background-color: var(--primary-40);
  transition: all ease .3s;
}

a.mainpage-hero-button:hover > .mainpage-hero-button-line {
  background-color: var(--primary);
}

@media (max-width: 1250px) {
  .mainpage-hero {
    padding: 0px 40px;
  }
}

@media (max-width: 800px) {
  .mainpage-hero {
    height: auto;
    flex-direction: column;
    padding: 40px 40px;
  }

  .mainpage-hero-image {
    height: auto;
    width: 100%;
    aspect-ratio: 4/3;
  }

  .mainpage-hero-image-overlay {
    background-color: transparent;
  }

  .mainpage-hero-wrapper {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    margin-right: -0px;
    margin-top: 40px;
    gap: 15px;
  }

  .mainpage-hero-title {
    font-size: 1.8rem;
  }

  .mainpage-hero-text {
    padding-right: 0px;
  }
}

/* MAINPAGE HERO END */
/* 404 */

.wrapper-404 {
  height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.title-404 {
  font-family:'Panchang', sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 2px;
  font-weight: 0;
  color: var(--primary);
}

.text-404 {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.4;
}

/* 404 END */
/* FOOTER */

footer {
  background-color: var(--background);
  color: var(--primary);
  padding-top: 60px;
}

.footer-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--accent);
  padding: 80px;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* --- TOP-BEREICH: Social Icons & Reservierung --- */
.footer-top {
  display: flex;
  flex-wrap: wrap; /* Damit Icons und Nummer bei Bedarf umbrechen können */
  align-items: flex-start;
  justify-content: space-between;
}

.footer-social a {
  color: var(--primary); /* Maritim Blau */
  font-size: 1.2rem;
  margin-right: 15px;
  text-decoration: none;
  transition: all ease 0.3s;
}

.footer-social a:hover {
  color: var(--primary-60); /* Dunkleres Blau als Hover-Effekt */
}

.footer-logo {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 400;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  cursor: default;
}

img.footer-logo {
  height: 60px;
}

/* --- MITTLERER BEREICH: 4 Spalten --- */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  text-align: left;
}

.footer-column h4 {
  color: var(--primary);
  font-size: .8rem;
  margin-bottom: 10px;
  font-weight: 500;
  cursor: default
}

.footer-column a.h4 {
  color: var(--primary);
  font-size: .8rem;
  margin-bottom: 10px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.footer-column a.h4:hover {
  color: var(--primary-60);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column li a {
  color: var(--primary-80);
  text-decoration: none;
  transition: color 0.3s;
  font-size: .8rem;
}

.footer-column li a:hover {
  color: var(--primary-60);
}

/* --- UNTERER BEREICH: Sprachwahl & App-Icons --- */
.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-language label {
  font-size: 0.95rem;
  margin-right: 10px;
  color: var(--primary);
}

.footer-language select {
  padding: 5px 10px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  background: var(--accent);
  cursor: pointer;
}
.footer-language select:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-apps a img {
  height: 40px;
  margin-right: 10px;
  transition: transform 0.3s;
  cursor: pointer;
}

/* --- COPYRIGHT / LEGALES --- */
.footer-legal {
  text-align: center;
  font-size: 0.8rem !important;
  color: var(--primary-40);
  margin-top: 10px;
  cursor: default;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1250px) {
  footer {
    padding-top: 60px;
  }

  .footer-container {
    gap: 30px;
    padding: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-middle {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 800px) {

  footer {
    padding-top: 40px;
  }

  .footer-container {
    gap: 30px;
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-middle {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top,
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .footer-social a {
    margin-bottom: 10px;
  }
  
  .footer-apps a img {
    margin-right: 0;
  }
}

/* FOOTER END */
/* LOGIN PAGE */

.login-wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  padding: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

form.login {
  width: 100%;
  max-width: 400px;
  background-color: var(--complimentary-90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--primary-10);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-error {
  font-size: 0.9rem;
  color: crimson;
  text-align: center;
}

label.input {
  font-size: 0.85rem;
  color: var(--primary-80);
  padding: 12px 15px;
  border: 1px solid var(--primary-20);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s ease;
}

input.login {
  all: unset;
  width: 100%;
  font-size: 1rem;
  color: var(--primary);
}

button.login {
  width: 100%;
  padding: 12px;
  background-color: var(--primary);
  color: var(--complimentary);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button.login:hover {
  background-color: var(--primary-80);
}

a.login {
  text-align: center;
  font-size: 0.9rem;
  color: var(--primary-70);
  transition: color 0.3s ease;
}

a.login:hover {
  color: var(--primary);
}

/* LOGIN PAGE */
/* FONT STYLE */

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h3 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h4 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h5 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h5.small {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h5.thin {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

h6 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

p.thin {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

p.bold {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

a {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: var(--primary);
  transition: all ease .3s;
}

a:hover {
  color: var(--highlight);
}

span.highlight {
  color: var(--highlight);
}

@media (max-width: 1250px) {
  h1 {
    font-size: 3.25rem;
  }
  h2 {
    font-size: 2.75rem;
  }
  h3 {
    font-size: 2.25rem;
  }
  h4 {
    font-size: 1.75rem;
  }
}

@media (max-width: 800px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.5rem;
  }
}

/* FONT STYLE END */
/* SIZERS */

.fullWidth {
  width: 100% !important;
  flex-shrink: 0;
}

.fullHeight {
  height: 100% !important;
  flex-shrink: 0;
}

/* SIZERS END */
/* SEPERATORS */

.sep-0 {
  height: 0px;
  width: 0px;
  flex-shrink: 0px;
}

.sep-5 {
  height: 5px;
  width: 5px;
  flex-shrink: 0px;
}

.sep-10 {
  height: 10px;
  width: 10px;
  flex-shrink: 0px;
}

.sep-15 {
  height: 15px;
  width: 15px;
  flex-shrink: 0px;
}

.sep-20 {
  height: 20px;
  width: 20px;
  flex-shrink: 0px;
}

.sep-30 {
  height: 30px;
  width: 30px;
  flex-shrink: 0px;
}

.sep-40 {
  height: 40px;
  width: 40px;
  flex-shrink: 0px;
}

.sep-50 {
  height: 50px;
  width: 50px;
  flex-shrink: 0px;
}

.sep-60 {
  height: 60px;
  width: 60px;
  flex-shrink: 0px;
}

/* SEPERATORS END */