/* ==============================
   Global Theme Variables
   ============================== */
:root {
  --primary:#0A3D91; 
  --primary-600:#072E6D; 
  --primary-700:#052455;

  --text:#0b0f19; 
  --muted:#6b7280; 
  --bg:#deefff40; /* ffffff*/

  --card:#ffffff; 
  --line:#e6eaf2; 
  --radius:14px;
  --shadow:0 10px 30px rgba(6,24,54,.12);
}

/* Universal box-sizing for sanity */
* {
  box-sizing: border-box;
}

/* ==============================
   Base Typography & Layout
   ============================== */
html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;

  /* the only layout that matters */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


header {
  flex-shrink: 0;
}

section {
  flex: 1 0 auto;
}

.footer {
  background: #0b1220;
  color: #bbc7dd;
  padding: 28px 0;
  font-size: 14px;
  text-align: center;

  /* the key line that pushes the f*n footer to the bottom when content is short */
  margin-top: auto;

  /* FULL WIDTH without scrollbar bugs */
  width: 100%;
}


/* ==============================
   Containers
   ============================== */
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 12px;
}

/* ==============================
   Navigation Bar
   ============================== */
.nav {
  position: sticky;
  top: 0;
  background: #ffffff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e7ecf3;
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative; /* Ensure relative positioning for proper placement of the pseudo-element */
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: none;
}


/*============================
  CONTACT FORM SECTION
  ============================*/

.contact-form {
  display: flex;
  width: 60%;
  text-align: left;
  flex-direction: column;
  margin: 0 auto;
  padding:0em 2em 1em 2em;
  border: 1px solid #4e78bb;
  border-radius: 1.5em;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-600) 60%, var(--primary-700) 100%);
  color: #ffffffff;
  box-shadow: 15px 15px 15px rgba(10,61,145,.18);;
}

.contact-form h1 {
  font-weight: bold;
  font-size: 2em;
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}


.contact-form input, textarea {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  resize: none;
  font-size: 12.5pt;
  width: 100%;
  padding: 3px 0px 3px 0.5em;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 3px 0px 3px 0px;
}

.contact-form textarea {
  height: 10em;
}

.contact-form input:focus, textarea:focus {
  outline: 3px solid #0A84FF;
  outline-offset: 1px;
}

.contact-form #dsgvo-disclaimer {
  margin-top: 0em;
  margin-bottom: 0em;
  text-align: center;
  font-size: 10pt;
  opacity: 80%;
}

.contact-form p {
  margin: 5em;
}

.contact-form a {
  color: #aacae1;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.contact-form a:hover {
  color: #b4c8d7;
}

.contact-form input[type="checkbox"] {
  margin:0 auto;
  margin-top: 2em;
  outline: none !important;
  box-shadow: none !important;
}

.input-form label {
  font-size: 13.5pt;
  font-weight: 600;
}

#submit {
  margin:0 auto;
  margin-top: 1em;
  width:80%; 
}

.checkbox-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-600) 60%, var(--primary-700) 100%);
  color: #fff;
  padding: 82px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 900;
  color: #5880c1;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 8px 0 10px;
}

.hero .sub {
  opacity: .95;
  margin: 0 0 14px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.button.primary {
  background: #fff;
  color: var(--primary-700);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10,61,145,.18);
}

.button.secondary {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.button.secondary:hover {
  transform: translateY(-1px); 
}

.hero-card {
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-card .line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.hero-card .line:last-child {
  border-bottom: none;
}

.hero-card small.muted {
  display: block;
  margin-top: 8px;
  color: #4b5563;
}

/* ==============================
   GENERAL SECTIONS
   ============================== */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 12px;
}

.grid-4 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

/*Remove before flight*/
.card h2 {
  line-height: 1.6;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

.price {
  font-size: 26px;
  font-weight: 900;
  color: #0A1E3F;
}

.banner {
  margin-top: 14px;
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

/* ==============================
   Footer Links
   ============================== */
.footer .links a {
  color: #fff;
  text-decoration: none;
}

/* ==============================
   Reveal Animation
   ============================== */
.reveal-init {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==============================
   Responsive Breakpoints
   ============================== */
@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);

  }
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 880px) {
  .grid-4 {
    grid-template-columns: repeat(1, 1fr);
  }

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

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: inline-block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
