/* ==========================================================================
   Lunovio GmbH — Stylesheet
   ========================================================================== */

:root {
  --color-bg: #F6F1E6;
  --color-bg-alt: #EEE7D6;
  --color-navy: #0B3760;
  --color-navy-dark: #082846;
  --color-text: #202634;
  --color-text-muted: #58616E;
  --color-sage: #5E7F5A;
  --color-sage-dark: #4A6647;
  --color-line: #DCD2B8;
  --color-cream: #FBF8F1;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;

  --max-width: 1120px;
  --radius-sm: 3px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-navy);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 600; }

p {
  max-width: 62ch;
  margin: 0 0 1.1em 0;
}

p.lede {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

a {
  color: var(--color-sage-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 84px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-cream);
}

.section--navy h2, .section--navy h3 { color: var(--color-cream); }

.eyebrow-none { display: none; } /* intentionally unused: no tracked all-caps eyebrows on this site */

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head--wide { max-width: 760px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-cream);
}
.btn-primary:hover { background: var(--color-navy-dark); color: var(--color-cream); }

.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--color-navy);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}
nav.main-nav a:hover { color: var(--color-sage-dark); }

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 0.88rem;
  margin-left: 6px;
  padding-left: 20px;
  border-left: 1px solid var(--color-line);
}

.lang-switch a { font-weight: 600; color: var(--color-text-muted); }
.lang-switch a.is-active { color: var(--color-navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px 0;
}

@media (max-width: 860px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--color-line);
    display: none;
    gap: 16px;
  }
  nav.main-nav.is-open { display: flex; }
  .lang-switch { border-left: none; padding-left: 0; margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-graphic {
  justify-self: end;
  width: 100%;
  max-width: 360px;
  opacity: 0.92;
}

.hero-eyebrow-line {
  width: 56px;
  height: 2px;
  background: var(--color-sage);
  margin-bottom: 22px;
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-graphic { justify-self: center; max-width: 260px; order: -1; }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.trust-item {
  flex: 1 1 220px;
  padding: 28px 28px;
  border-left: 1px solid var(--color-line);
}
.trust-item:first-child { border-left: none; }

.trust-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 700px) {
  .trust-item { border-left: none; border-top: 1px solid var(--color-line); }
  .trust-item:first-child { border-top: none; }
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}

.step:last-child { padding-bottom: 0; }

.step-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--color-navy);
  font-size: 1.05rem;
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 0;
  width: 1.5px;
  background: var(--color-sage);
}

.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--color-text-muted); }

/* ---------- Situation list (Für wen) ---------- */

.situation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.situation-list li {
  padding: 22px 24px 22px 40px;
  border-bottom: 1px solid var(--color-line);
  position: relative;
  font-size: 1.02rem;
}

.situation-list li:nth-child(odd) { border-right: 1px solid var(--color-line); }

.situation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 18px;
  height: 12px;
  border-left: 1.5px solid var(--color-sage);
  border-top: 1.5px solid var(--color-sage);
  transform: rotate(-45deg);
}

@media (max-width: 700px) {
  .situation-list { grid-template-columns: 1fr; }
  .situation-list li:nth-child(odd) { border-right: none; }
}

/* ---------- About / regions ---------- */

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.region-tag {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 0.92rem;
  color: var(--color-navy);
  background: var(--color-cream);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--color-line);
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .marker {
  font-family: var(--font-body);
  color: var(--color-sage-dark);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] summary .marker { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 4px 26px;
  color: var(--color-text-muted);
  max-width: 68ch;
}

.faq-answer p { margin: 0 0 1em 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA banner ---------- */

.cta-banner {
  text-align: left;
}
.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.cta-banner h2 { max-width: 480px; margin-bottom: 0; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info dl {
  margin: 28px 0;
}
.contact-info dt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 18px;
}
.contact-info dd {
  margin: 2px 0 0 0;
  font-size: 1.08rem;
  color: var(--color-navy);
}
.contact-info dd a { color: var(--color-navy); }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  color: var(--color-text);
}

.form-row textarea { min-height: 130px; resize: vertical; }

.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}

.callback-phone {
  display: none;
}
.callback-phone.is-visible { display: flex; }

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.form-status {
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #E7EFE5; color: var(--color-sage-dark); }
.form-status.error { background: #F4E3DE; color: #9B4429; }

/* ---------- Legal pages ---------- */

.legal-content h2 { margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-text-muted); max-width: 72ch; }
.legal-content ul { padding-left: 20px; }

.legal-note {
  border-left: 2px solid var(--color-sage);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-alt);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.95rem; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-navy);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-text-muted); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--color-navy); }

.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-intro {
  padding: 56px 0 12px;
}
