*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #e8f4ff;
  background: #0a1628;
}

.landing {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #0a1628 url('/images/hero.png') center center / cover no-repeat;
}

.landing__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 14, 28, 0.55) 0%,
    rgba(6, 14, 28, 0.15) 45%,
    rgba(6, 14, 28, 0.35) 100%
  );
  pointer-events: none;
}

.landing__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  min-height: 0;
}

/* Header */
.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.85), transparent);
}

.landing-header__brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
}

.landing-header__brand span {
  color: #5ec8ff;
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.landing-header__link {
  color: rgba(232, 244, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.landing-header__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.landing-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #061018;
  background: linear-gradient(135deg, #5ec8ff, #7b8cff);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(94, 200, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(94, 200, 255, 0.35);
}

/* Main — Platz für Hero-Grafik, Kontakt schwebend */
.landing-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem 1rem;
  min-height: 0;
  pointer-events: none;
}

.landing-main > * {
  pointer-events: auto;
}

.landing-tagline {
  max-width: 28rem;
  margin: 0 0 0.5rem;
  padding: 0;
}

.landing-tagline__kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5ec8ff;
  background: rgba(94, 200, 255, 0.12);
  border: 1px solid rgba(94, 200, 255, 0.25);
  border-radius: 999px;
}

.landing-tagline__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.landing-tagline__sub {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(232, 244, 255, 0.8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Kontakt-Glas */
.landing-contact {
  width: min(100%, 20rem);
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: rgba(12, 24, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.landing-contact__title {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(232, 244, 255, 0.65);
}

.landing-contact__item {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.landing-contact__item:last-child {
  margin-bottom: 0;
}

.landing-contact a {
  color: #5ec8ff;
  text-decoration: none;
}

.landing-contact a:hover {
  text-decoration: underline;
}

.landing-contact__btn {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(94, 200, 255, 0.18);
  border: 1px solid rgba(94, 200, 255, 0.35);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.landing-contact__btn:hover {
  background: rgba(94, 200, 255, 0.28);
}

/* Footer */
.landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(0deg, rgba(6, 12, 24, 0.92), rgba(6, 12, 24, 0.5));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
}

.landing-footer__nav a {
  color: rgba(232, 244, 255, 0.75);
  text-decoration: none;
}

.landing-footer__nav a:hover {
  color: #fff;
}

.landing-footer__sep {
  color: rgba(232, 244, 255, 0.35);
}

.landing-footer__brand {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(232, 244, 255, 0.5);
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: rgba(8, 16, 32, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.cookie-banner__title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.cookie-banner__body {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(232, 244, 255, 0.8);
  max-width: 42rem;
}

.cookie-banner__body a {
  color: #5ec8ff;
}

.cookie-banner__accept {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #061018;
  background: #5ec8ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-banner__accept:hover {
  background: #7dd4ff;
}

body:has(.cookie-banner:not([hidden])) .landing-footer {
  padding-bottom: 4.5rem;
}

.landing-header__link--btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.landing-contact__link {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(232, 244, 255, 0.75);
  text-decoration: none;
}

.landing-contact__link:hover {
  color: #5ec8ff;
}

/* Kontakt-Modal */
body.contact-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.72);
  backdrop-filter: blur(4px);
}

.contact-modal__panel {
  position: relative;
  width: min(100%, 26rem);
  max-height: min(92vh, 36rem);
  overflow-y: auto;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 14px;
  background: rgba(14, 26, 48, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.contact-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-modal__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.contact-modal__intro {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(232, 244, 255, 0.75);
}

.contact-form__label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(232, 244, 255, 0.85);
}

.contact-form__label input,
.contact-form__label textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-weight: 400;
  color: #e8f4ff;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  resize: vertical;
}

.contact-form__label input:focus,
.contact-form__label textarea:focus {
  outline: 2px solid rgba(94, 200, 255, 0.45);
  border-color: rgba(94, 200, 255, 0.5);
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__status {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.contact-form__status--ok {
  color: #7dffb0;
}

.contact-form__status--error {
  color: #ff9a9a;
}

.contact-form__submit {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #061018;
  background: linear-gradient(135deg, #5ec8ff, #7b8cff);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact-form__submit:hover:not(:disabled) {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .landing-main {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
  }

  .landing-contact {
    width: 100%;
  }

  .landing-tagline {
    display: none;
  }

  .landing-header__link--hide-mobile {
    display: none;
  }
}
