@font-face {
  font-family: 'SFUDinEngschrift';
  src: url('fonts/SFUDinEngschrift.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #111;
  text-align: center;
}
body {
  font-family: 'Montserrat', sans-serif;
}

h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}
h1 {
  font-family: 'SFUDinEngschrift', sans-serif;
  letter-spacing: 2px;
  font-size: 18px;
  font-weight: normal;
}


header {
  padding: 20px;
  letter-spacing: 2px;
  font-weight: bold;
}

.hero {
  background-color: #f2f2f2;
  padding: 40px 20px;
}

.hero h2 {
  font-size: 45px;
  font-weight: normal;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero p {
  font-size: 15px;
  font-weight: 400;
  margin: 4px 0;
}

.step-section {
  padding: 20px;
}

.step-section h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

button {
  padding: 14px 26px;
  font-size: 18px;
  border: 2px solid transparent;
  border-radius: 12px;
  background-color: white;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
  min-width: 150px;
  font-family: 'DIN 1451 Std Engschrift.otf', sans-serif;
  font-weight: 300; /* Thinner font */
}

button:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-color: lightgray;
}

button.active {
  background-color: black;
  color: white;
  border: 2px solid black;
  box-shadow: none;
}


#submitBtn {
  margin-top: 20px;
}

/* Add padding to the bottom of the main content */
main {
  padding-bottom: 40px; /* Keep a little space above the footer */
}

@media (max-width: 600px) {
  .button-group {
    flex-direction: column;
    gap: 10px;
  }

  button {
    width: 80%;
    margin: auto;
  }

  main {
    padding-bottom: 120px; /* More space for mobile browser bars */
  }
}



::selection {
  background-color: #d22f26;
  color: white; /* optional: for better contrast */
}

/* Language toggle switch (iPhone style) */
.lang-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
}

.flag-label {
  font-size: 1.7em;
  user-select: none;
  line-height: 1;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #fff; /* White when OFF */
  border-radius: 34px;
  transition: .4s;
  border: 1px solid #ccc;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #000; /* Black knob by default */
  border-radius: 50%;
  transition: .4s;
}

/* When ON (English), background black and knob white */
input:checked + .slider {
  background-color: #000;
}

input:checked + .slider:before {
  background-color: #fff;
  transform: translateX(20px);
}

@media (max-width: 600px) {
  .lang-toggle {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  .switch {
    width: 38px;
    height: 22px;
  }
  .slider:before {
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
  }
  .flag-label {
    font-size: 1.2em;
  }
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  background: #fff;
  color: #222;
  padding: 28px 0 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 48px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.footer-title {
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 1.05em;
}

.footer-link {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.93em;        /* Match footer row size */
}

.footer-link:hover,
.footer-link:focus {
  color: #d22f26;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social-link {
  color: #222;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: #d22f26;
  opacity: 1;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93em;        /* Smaller than the header/title */
  color: #666;
}

.footer-row.footer-meta {
  font-size: 0.98em;
  color: #666;
  gap: 8px;
  margin-bottom: 0;
}

.footer-brand {
  font-family: 'SFUDinEngschrift', 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;         /* Smaller than the title */
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-right: 10px;
}

.footer-brand .site-title-link:hover,
.footer-brand .site-title-link:focus {
  color: #d22f26 !important;
}

@media (max-width: 600px) {
  .site-footer {
    font-size: 0.93rem;
    padding: 18px 0 10px 0;
  }
  .footer-brand {
    font-size: 1em;
    margin-right: 0;
  }
  .footer-row,
  .footer-row.footer-meta,
  .footer-link {
    font-size: 0.89em;
  }
}

/* Calendly booking fade-in and spacing */
.calendly-container-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
  margin-top: 4px;
}

.calendly-container-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
  margin-top: 16px; /* Reduced from 48px */
}

/* Prevent Calendly iframe from scrolling on mobile */
.calendly-iframe-noscroll {
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none;
}

