/* ===================== */
/* RESET */
/* ===================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===================== */
/* VARIABLES */
/* ===================== */

:root {
  --font-sans: "Inter", "Helvetica Neue", "Arial", sans-serif;

  --text-h1: 72px;
  --text-h2: 36px;
  --text-h3: 22px;
  --text-body: 17px;
  --text-caption: 13px;

  --lh-tight: 1.2;
  --lh-normal: 1.4;
}

/* ===================== */
/* HELPERS */
/* ===================== */

.f-cc {
  display: flex;
  justify-content: center;
  align-items: center;
}

.f-rc {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

a {
  text-decoration: none;
}

/* ===================== */
/* TYPO */
/* ===================== */

h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  font-weight: 600;
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-normal);
  font-weight: 600;
}

/* ===================== */
/* BODY */
/* ===================== */

html, body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;

  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-normal);

  color: #111;
  background: #F3F5F7;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===================== */
/* CTA BUTTON */
/* ===================== */

.cta-btn {
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.02em;

  background-color: #1E90C8;
  color: #fff;

  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0px);
}

.cta-btn--outline {
  background: transparent;
  border: 1px solid #111;
  color: #111;
}

.cta-btn--outline:hover {
  background: #111;
  color: #fff;
}

/* ===================== */
/* HEADER / NAV */
/* ===================== */

header {
  min-height: 80px;
  width: 100%;

  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: white;
}

header img {
  width: 85px;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

div.hdr-logo {
  height: 32px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

div.hdr-logo:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

nav ul {
  display: flex;
  flex-direction: row;
}

nav ul li {
  margin: 20px;
  list-style: none;
}

nav ul li a {
  color: black;
  position: relative;
  display: inline-block;
  transition: transform 0.2s ease;
}

nav ul li a:hover {
  transform: translateY(-3px);
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;

  width: 70%;
  height: 3px;

  background: #1E90C8;
  border-radius: 999px;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;

  opacity: 0;

  transition: transform 0.25s ease, opacity 0.25s ease;
}

nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.nav a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* BURGER */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #111;
}
/* ===================== */
/* HERO */
/* ===================== */

.hero {
  position: relative;
  width: 100vw;
  height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background: url('../images/hero.avif') center/cover no-repeat;
  transform: scale(1.05);

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #0A1A2F;
  opacity: 0.4;
  z-index: 1;
}

/* container */
.hero-content {
  position: relative;
  z-index: 2;

  width: 90vw;
  max-width: 1200px;

  display: flex;
  justify-content: flex-start; /* LINKS */
}

/* content block */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* LINKS */
  text-align: left;

  gap: 22px;

  max-width: 650px;
}

/* TEXT FIX (WICHTIG) */
.hero h1,
.hero-sub {
  color: #fff;
}

.hero-sub {
  max-width: 520px;
  color: #fff; /* überschreibt dein grau sauber */
}

/* CTA bleibt inline */
.hero-cta {
  width: auto;
  display: inline-flex;
}
/* ===================== */
/* GLOBAL FORM SYSTEM */
/* ===================== */

.form-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 50px auto;
  background: white;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-size: 12px;
  color: #333;
}

.form-field input {
  padding: 6px 8px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.form-actions button {
  padding: 8px 10px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 13px;
}

.form-actions button:hover {
  background: #111;
  color: white;
}

/* ===================== */
/* User-Buchungen */
/* ===================== */

.buchung-container {
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.buchung-container table {
  min-width: 500px; 
  
}


/* ===================== */
/* FOOTER */
/* ===================== */

footer.footer {
  background: #0A1A2F;
  color: white;
  padding: 60px 5%;
}

/* GRID LAYOUT */
.ftr-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;

  max-width: 1200px;
  margin: 0 auto;
}

/* TYPO */
footer h3 {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
}

footer p,
footer a {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* NAV LINKS */ 
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-nav a:hover {
  transform: translateX(5px);
}

/* SOCIAL ICONS */
.ftr-scl-wrp {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ftr-scl-wrp img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ftr-scl-wrp img:hover {
  opacity: 1;
}

.footer-logo-img {
  width: 110px;
  height: auto;
  display: block;
  margin-bottom: 12px;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logo-img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .ftr-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .ftr-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  header nav {
    justify-content: flex-start;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;

    width: 75vw;
    height: 100vh;

    background: white;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 80px 20px;

    transform: translateX(100%);
    transition: transform 0.25s ease;

    z-index: 999;

    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 18px;
  }

  .nav ul li {
    margin: 0;
  }

  .burger {
    display: flex;
    z-index: 1000;
  }

  header .cta-btn {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ===================== */
/* AUTH FORMS (UNIFIED) */
/* ===================== */

.auth-container {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.auth-wrapper {
  width: 100%;
  max-width: 520px;
  background: white;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-wrapper h2 {
  font-size: var(--text-h3);
  margin-bottom: 10px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-field label {
  font-size: 12px;
  color: #333;
}

.auth-field input {
  padding: 6px 8px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

/* ACTIONS */
.auth-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.auth-actions button {
  padding: 8px 10px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 13px;
}

.auth-actions button:hover {
  background: #111;
  color: white;
}

.auth-primary {
  border: 1px solid #1E90C8;
}

.auth-primary:hover {
  background: #1E90C8;
  color: white;
}