/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:       #06182f;
  --navy-deep:  #030d1a;
  --navy-mid:   #0a2240;
  --paper:      #f7f5f0;
  --surface:    #ffffff;
  --ink-dark:   #06182f;
  --ink-muted:  #4a5d78;
  --ink-light:  #e8edf3;
  --ink-faded:  rgba(232, 237, 243, .65);
  --water:      #0a84ff;
  --water-soft: #4da6ff;
  --sun:        #ffd23b;
  --sun-soft:   #b58a27;
  --glass-bg:   rgba(255, 255, 255, .06);
  --glass-border: rgba(255, 255, 255, .1);
  --glow-gold:  rgba(255, 210, 59, .12);
  --glow-water: rgba(10, 132, 255, .08);
  --focus-ring: rgba(255, 210, 59, .5);
  --shadow:     0 18px 50px rgba(0, 0, 0, .18);
  --shadow-sm:  0 4px 16px rgba(0, 0, 0, .1);
  --shadow-glow:0 8px 32px rgba(255, 210, 59, .12);
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --header-h:   64px;
  --max-w:      1120px;
  --gap-section:clamp(4rem, 8vw, 6rem);
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-dark);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 .75rem; }
p:last-child { margin-bottom: 0; }

/* ── Utilities ──────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100%; left: 1rem;
  z-index: 9999; padding: .5rem 1rem;
  background: var(--sun); color: var(--navy);
  font-weight: 700; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.6rem;
  font: inherit; font-size: .95rem; font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer; transition: all .25s;
  text-decoration: none; white-space: nowrap;
}

.button.primary {
  background: var(--sun); color: var(--navy);
  border-color: var(--sun);
}
.button.primary:hover {
  background: #ffe066; border-color: #ffe066;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 253, 244, .3);
  color: rgba(255, 253, 244, .85);
}
.button.secondary:hover {
  border-color: var(--sun); color: var(--sun);
  transform: translateY(-2px);
}

/* light section overrides */
.section--light .button.secondary {
  border-color: var(--ink-muted);
  color: var(--ink-dark);
}
.section--light .button.secondary:hover {
  border-color: var(--sun); color: var(--sun-soft);
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: transparent;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.site-header.scrolled {
  background: rgba(6, 24, 47, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 253, 244, .06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
}

.brand-group { display: flex; align-items: center; }
.brand { display: flex; align-items: center; }
.brand-wordmark { height: 40px; width: auto; }
.brand-spacer { width: 1px; height: 28px; background: var(--glass-border); margin: 0 .75rem; }
.brand-abteilung {
  display: flex; align-items: center;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--sun);
  transition: color .2s;
  white-space: nowrap;
}
.brand-abteilung:hover { color: #ffe066; }

.site-nav {
  display: flex; align-items: center; gap: 1.5rem;
}
.site-nav a {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .875rem; font-weight: 600;
  color: rgba(255, 253, 244, .75);
  text-decoration: none; letter-spacing: .02em;
  text-transform: uppercase; transition: color .2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--sun); }

.lang-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink-light);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .35rem .65rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-toggle:hover {
  background: var(--sun);
  color: var(--navy);
}

/* ── Menu button (mobile) ───────────────────────────────── */
.menu-button {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
  z-index: 110;
}
.menu-button span {
  display: block; width: 22px; height: 2px;
  background: #fffdf4; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 5vw, 3rem) 7rem;
  background: url('assets/web/hero-bg.jpg') center / cover no-repeat;
  overflow: hidden;
  text-align: center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 210, 59, .08) 0%, transparent 50%),
    linear-gradient(
      180deg,
      rgba(3, 13, 26, .78) 0%,
      rgba(6, 24, 47, .6) 40%,
      rgba(6, 24, 47, .75) 100%
    );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
  display: flex; flex-direction: column; align-items: center;
}

.hero-logo {
  width: clamp(220px, 32vw, 300px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 24px rgba(255, 210, 59, .2));
}

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sun);
  margin-bottom: .5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 2rem + 3vw, 4rem);
  font-weight: 800;
  color: #fffdf4;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, .9rem + .5vw, 1.2rem);
  color: var(--ink-faded);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center;
}

/* ── Credibility Strip ─────────────────────────────────── */
.credibility-strip {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: var(--max-w);
  background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem clamp(1rem, 3vw, 2rem);
  z-index: 2;
}

.credibility-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.credibility-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600;
  color: var(--ink-faded);
  white-space: nowrap;
}
.credibility-item .icon {
  width: 18px; height: 18px;
  color: var(--sun);
}

.credibility-item a {
  display: flex; align-items: center; gap: .5rem;
  color: var(--ink-faded);
  transition: color .2s;
}
.credibility-item a:hover { color: var(--sun); }

/* ── Section Rhythm ────────────────────────────────────── */
.section {
  padding: var(--gap-section) clamp(1.5rem, 5vw, 3rem);
}

.section[id] {
  scroll-margin-top: var(--header-h);
}

.section--light {
  background: var(--paper);
  color: var(--ink-dark);
}

.section--dark {
  background: var(--navy);
  color: var(--ink-light);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
}

#about { background: var(--navy); }
#about::before {
  background: radial-gradient(ellipse at 20% 70%, var(--glow-water), transparent 60%);
}

#why-join { background: var(--navy-deep); }
#why-join::before {
  background: radial-gradient(ellipse at 75% 20%, var(--glow-gold), transparent 55%);
}

#training { background: var(--navy-deep); }
#training::before {
  background: radial-gradient(ellipse at 50% 80%, rgba(10, 132, 255, .05), transparent 60%);
}

#gallery { background: var(--navy); }
#gallery::before {
  background: radial-gradient(ellipse at 60% 40%, var(--glow-gold), transparent 55%);
}

#faq { background: var(--navy-deep); }
#faq::before {
  background: radial-gradient(ellipse at 30% 50%, var(--glow-water), transparent 55%);
}

#contact { background: var(--navy-deep); }
#contact::before {
  background:
    radial-gradient(ellipse at 80% 20%, var(--glow-gold), transparent 55%),
    radial-gradient(ellipse at 20% 80%, var(--glow-water), transparent 55%);
}

.section-copy {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
}

.section--light .section-copy h2 {
  color: var(--ink-dark);
}
.section--light .section-copy p {
  color: var(--ink-muted);
}

.section--dark .section-copy h2 {
  color: var(--ink-light);
}
.section--dark .section-copy p {
  color: var(--ink-faded);
}

.section-copy h2 {
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.section-copy p {
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  max-width: 600px;
}

/* ── About Section ──────────────────────────────────────── */
.about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid .section-copy {
  margin-bottom: 0;
}

.about-grid .section-copy p {
  max-width: none;
}

.about-grid .section-copy a {
  color: var(--sun-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about-grid .section-copy a:hover { color: var(--sun); }

.about-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform .5s;
}
.about-image-wrap {
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .3s, box-shadow .3s;
}
.about-image-wrap:hover {
  border-color: rgba(255, 210, 59, .15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3), 0 0 30px rgba(255, 210, 59, .05);
}
.about-image-wrap:hover .about-image {
  transform: scale(1.03);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.tag {
  display: inline-block;
  padding: .3rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sun);
  background: var(--glass-bg);
  border: 1px solid rgba(255, 210, 59, .2);
  border-radius: 100px;
}

/* ── Why Join / Benefits (dark section) ───────────────── */
.benefits-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.benefit-card {
  padding: 2rem 1.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 3px solid var(--sun);
  transition: transform .3s, box-shadow .3s, background .3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.benefit-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(255, 210, 59, .12);
  border-radius: 12px;
  color: var(--sun);
  margin-bottom: 1rem;
}
.benefit-icon .icon {
  width: 24px; height: 24px;
}

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--ink-light);
}

.benefit-card p {
  font-size: .925rem;
  color: var(--ink-faded);
  line-height: 1.55;
}

/* ── Training Section ───────────────────────────────────── */
.fact-list {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  padding: 0;
}

.fact-list > div {
  padding: 1.75rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--sun);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  transition: transform .3s, box-shadow .3s, background .3s;
  position: relative;
  z-index: 1;
}
.fact-list > div:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.fact-list dt {
  display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--sun-soft);
  margin-bottom: .5rem;
}
.fact-list dt .icon { width: 18px; height: 18px; }

.fact-list dd {
  margin: 0;
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink-light);
}
.fact-list dd a {
  color: var(--ink-light);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-underline-offset: 3px;
}
.fact-list dd a:hover { color: var(--sun-soft); }

.fact-note {
  margin: .35rem 0 0;
  font-size: .82rem;
  font-weight: 400;
  color: var(--ink-faded);
  font-style: italic;
}

/* ── Gallery Section ────────────────────────────────────── */
.gallery-section {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.gallery-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
}

.gallery-featured {
  grid-row: 1 / -1;
}

.gallery-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
  cursor: zoom-in;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.gallery-card:hover {
  border-color: rgba(255, 210, 59, .12);
  box-shadow: 0 12px 44px rgba(0, 0, 0, .45);
}

.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
}
.gallery-card:hover img {
  transform: scale(1.02);
  filter: brightness(1.04);
}

/* ── FAQ Section ────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  counter-reset: faq;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  counter-increment: faq;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  transition: background .25s, border-color .25s, box-shadow .25s;
  position: relative;
  z-index: 1;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, .15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.faq-item[open] {
  border-color: rgba(255, 210, 59, .4);
  box-shadow: 0 4px 16px rgba(255, 210, 59, .06);
}

.faq-item summary {
  display: flex; align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink-light);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ""; }

.faq-item summary::before {
  content: counter(faq);
  display: flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px;
  background: var(--sun);
  color: var(--navy);
  font-size: .8rem; font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

.faq-item summary:hover { color: var(--sun); }

.faq-chevron {
  width: 20px; height: 20px;
  color: var(--ink-faded);
  transition: transform .3s, color .3s;
  flex-shrink: 0;
  margin-left: auto;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--sun);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem 3.75rem;
  color: var(--ink-faded);
  line-height: 1.6;
}

.faq-item a {
  color: var(--sun-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item a:hover { color: var(--sun); }

/* ── Contact Section (dark) ────────────────────────────── */
.contact-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-section .join-copy {
  position: relative;
  z-index: 1;
}
.contact-section .join-copy h2 {
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 800;
  color: var(--ink-light);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.contact-section .join-copy p {
  color: var(--ink-faded);
  max-width: 400px;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  counter-reset: steps;
}

.next-steps li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--ink-faded);
  line-height: 1.4;
}

.next-steps li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--glass-border);
  color: var(--sun);
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-faded);
  transition: color .2s;
}
.contact-link .icon { width: 18px; height: 18px; color: var(--sun); }
.contact-link:hover { color: var(--sun); }

.form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.join-form {
  display: flex; flex-direction: column; gap: 1.5rem;
}

.form-field { display: flex; flex-direction: column; gap: .25rem; }

.input-wrap {
  position: relative;
}

.input-wrap label {
  position: absolute;
  top: 50%; left: 1rem;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: .4rem;
  font-size: .95rem;
  color: var(--ink-faded);
  pointer-events: none;
  transition: transform .2s ease, font-size .2s ease, color .2s ease, top .2s ease;
  transform-origin: left center;
}
.input-wrap label .icon { width: 16px; height: 16px; color: var(--sun); flex-shrink: 0; }

.input-wrap textarea ~ label {
  top: 1.1rem;
  transform: translateY(0);
}

.input-wrap input:focus ~ label,
.input-wrap input:not(:placeholder-shown) ~ label,
.input-wrap textarea:focus ~ label,
.input-wrap textarea:not(:placeholder-shown) ~ label {
  top: .45rem;
  transform: translateY(0);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sun);
}

.join-form input[type="text"],
.join-form input[type="email"],
.join-form textarea {
  width: 100%;
  padding: 1.4rem 1rem .6rem;
  font: inherit; font-size: .95rem;
  color: var(--ink-light);
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.join-form input::placeholder,
.join-form textarea::placeholder {
  color: transparent;
}

.join-form input:hover,
.join-form textarea:hover {
  border-color: rgba(255, 255, 255, .25);
}

.join-form input:focus,
.join-form textarea:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 3px var(--focus-ring);
  background: rgba(255, 255, 255, .08);
}

.join-form textarea {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  font-size: .78rem;
  font-weight: 600;
  color: #ef5350;
  min-height: 0;
  overflow: hidden;
  transition: min-height .2s ease, opacity .2s ease;
  opacity: 0;
}
.field-error.visible {
  min-height: 1.2em;
  opacity: 1;
}

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: #ef5350;
}
.form-field.invalid input:focus,
.form-field.invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 83, 80, .25);
}

.form-field.valid input,
.form-field.valid textarea {
  border-color: #4caf50;
}

.submit-btn {
  align-self: flex-start;
  margin-top: .25rem;
  position: relative;
  min-width: 180px;
}
.submit-btn .btn-text { transition: opacity .2s; }
.submit-btn .btn-spinner {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border: 2.5px solid rgba(6, 24, 47, .3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
.submit-btn.loading .btn-text { opacity: 0; }
.submit-btn.loading .btn-spinner { display: block; }
.submit-btn:disabled { opacity: .7; cursor: not-allowed; }

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-feedback {
  min-height: 0;
  overflow: hidden;
  transition: min-height .3s ease, opacity .3s ease, padding .3s ease;
  opacity: 0;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  padding: 0;
  text-align: center;
}
.form-feedback.visible {
  min-height: 3rem;
  opacity: 1;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.form-feedback.success {
  background: rgba(76, 175, 80, .15);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, .25);
}
.form-feedback.error {
  background: rgba(239, 83, 80, .15);
  color: #ef9a9a;
  border: 1px solid rgba(239, 83, 80, .25);
}

.form-fallback {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-faded);
  margin-top: .5rem;
}
.form-fallback a {
  color: var(--sun);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-fallback a:hover { color: #ffe066; }

.noscript-fallback {
  max-width: 520px;
  margin: 1rem auto;
  padding: 1rem;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius);
  color: var(--ink-faded);
  text-align: center;
}

/* ── Legal Pages ───────────────────────────────────────── */
.legal-page {
  max-width: 740px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) clamp(1.5rem, 5vw, 3rem) 4rem;
  color: var(--ink-light);
}
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .25rem;
  color: var(--ink-light);
}
.legal-subtitle {
  font-size: .9rem;
  color: var(--ink-faded);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 253, 244, .1);
}
.legal-page section {
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--ink-light);
}
.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: .5rem;
  color: var(--ink-light);
}
.legal-page p, .legal-page li {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-faded);
}
.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: .75rem 0;
}
.legal-page li { margin-bottom: .35rem; }
.legal-page a {
  color: var(--sun);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover { color: #ffe066; }

/* legal page header */
.legal-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(6, 24, 47, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 253, 244, .06);
}

.legal-header .brand {
  display: flex; align-items: center;
}
.legal-header .brand img {
  height: 36px; width: auto;
}

.legal-header nav a {
  font-size: .875rem; font-weight: 600;
  color: rgba(255, 253, 244, .75);
  text-transform: uppercase; letter-spacing: .02em;
  transition: color .2s;
}
.legal-header nav a:hover { color: var(--sun); }

/* legal page footer */
.legal-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 253, 244, .06);
  padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}
.legal-footer p { margin: 0; color: var(--ink-faded); }
.legal-footer a { color: var(--ink-faded); transition: color .2s; }
.legal-footer a:hover { color: var(--sun); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--ink-faded);
  border-top: 1px solid rgba(255, 253, 244, .06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-logo {
  height: 2.4rem; width: auto;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand-name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--ink-light);
  letter-spacing: -.01em;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: .72rem;
  color: var(--sun);
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-links a {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 253, 244, .5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--sun); }

.footer-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(255, 253, 244, .3);
}

.footer-meta a {
  color: rgba(255, 253, 244, .4);
  transition: color .2s;
}
.footer-meta a:hover { color: var(--sun); }

.footer-sep { color: rgba(255, 253, 244, .2); }

.back-to-top {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  margin-left: .5rem;
  color: rgba(255, 253, 244, .4);
  border: 1px solid rgba(255, 253, 244, .12);
  border-radius: 50%;
  transition: color .2s, border-color .2s, background .2s;
}
.back-to-top:hover {
  color: var(--sun);
  border-color: rgba(255, 210, 59, .3);
  background: rgba(255, 210, 59, .06);
}
.back-to-top .icon { width: 14px; height: 14px; }

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: zoom-out;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 64px rgba(0,0,0,.5);
  transform: scale(.92);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  cursor: default;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: .5rem;
  transition: color .2s;
}
.lightbox-close:hover { color: #fff; }

.about-image-wrap { cursor: zoom-in; }

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: .24s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: .32s; }
.stagger-children > .reveal:nth-child(6) { transition-delay: .4s; }

/* ── Responsive: Tablet ─────────────────────────────────── */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-featured {
    grid-row: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-meta { flex-wrap: wrap; justify-content: center; }
}

/* ── Responsive: Mobile ─────────────────────────────────── */
@media (max-width: 720px) {
  .menu-button { display: flex; }

  .site-nav {
    position: fixed; top: 0; right: 0;
    width: min(240px, 70vw); height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 1.5rem;
    background: rgba(3, 13, 26, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 105;
  }
  .site-nav.open { transform: translateX(0); }

  .menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 104;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 253, 244, .06);
  }

  .site-nav .lang-toggle {
    margin-top: .75rem;
    align-self: flex-start;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 6.5rem;
    min-height: 90vh;
  }
  .hero-logo {
    width: clamp(160px, 40vw, 240px);
  }
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .credibility-strip {
    width: calc(100% - 2rem);
    bottom: 1rem;
    padding: .75rem 1rem;
  }
  .credibility-inner {
    gap: .75rem;
    flex-wrap: wrap;
  }
  .credibility-item {
    font-size: .75rem;
  }

  .about-tags {
    gap: .4rem;
  }
  .about-tags .tag {
    padding: .25rem .6rem;
    font-size: .68rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-featured {
    grid-row: auto;
  }
  .gallery-card img {
    height: 220px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .button { justify-content: center; }

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

  .fact-list {
    grid-template-columns: 1fr;
  }

  .credibility-strip {
    bottom: .75rem;
    width: calc(100% - 1.5rem);
    padding: .6rem .75rem;
  }
  .credibility-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: .5rem;
  }
  .credibility-item {
    font-size: .7rem;
  }
  .gallery-card img {
    height: 180px;
  }
}

/* ── Focus ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Smooth scroll ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .site-header, .menu-button, .back-to-top { display: none; }
  .hero { min-height: auto; page-break-after: always; }
  body { color: #000; background: #fff; }
}
