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

:root {
  --ocean:      #2C5F8A;
  --ocean-dk:   #1E4468;
  --ocean-lt:   #4A7FAF;
  --sage:       #5C8F6A;
  --sage-lt:    #7AAF88;
  --gold:       #D4A853;
  --gold-lt:    #E8C278;
  --cream:      #FAFAF8;
  --cream-dk:   #F0EDE6;
  --sand:       #E8E2D8;
  --ink:        #1A2730;
  --ink-soft:   #3D4F5A;
  --muted:      #7A8F9A;

  --serif:  'Lora', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-sine:   cubic-bezier(0.37, 0, 0.63, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream-dk); }
::-webkit-scrollbar-thumb { background: var(--ocean); border-radius: 10px; }
::selection { background: var(--ocean); color: #fff; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.2rem 5vw;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  transition: background 0.5s, box-shadow 0.5s, padding 0.4s;
}
#main-nav.scrolled {
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(26,39,48,0.08);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.4s;
  white-space: nowrap;
}
.nav-logo span {
  font-style: normal;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
  transition: color 0.4s;
}
#main-nav.scrolled .nav-logo { color: var(--ink); }
#main-nav.scrolled .nav-logo span { color: var(--ocean); }

.nav-links {
  display: flex; gap: 2.2rem; list-style: none; margin-left: auto;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
#main-nav.scrolled .nav-links a { color: var(--ink-soft); }
#main-nav.scrolled .nav-links a:hover { color: var(--ocean); }
#main-nav.scrolled .nav-links a::after { background: var(--ocean); }

.nav-cta {
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,168,83,0.35); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: #fff; transition: all 0.3s, background 0.4s;
}
#main-nav.scrolled .hamburger span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 190;
  background: var(--ink);
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: -10%;
  background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1600&q=85') center/cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,39,48,0.82) 0%,
    rgba(26,39,48,0.55) 50%,
    rgba(44,95,138,0.25) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 8vw;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 28px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--ocean);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 6px;
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary:hover { background: var(--ocean-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44,95,138,0.4); }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 6px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ─────────────────────────────────────────
   STATS BAND
───────────────────────────────────────── */
.stats-band {
  background: var(--ocean);
  padding: 3.5rem 5vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; top: 20%; right: 0;
  height: 60%; width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-suffix {
  color: var(--gold);
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────── */
.section {
  padding: 6rem 5vw;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-soft { background: var(--cream-dk); }
.section-sand { background: var(--sand); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block; width: 22px; height: 1.5px;
  background: var(--sage);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 3.5rem;
}

/* ─────────────────────────────────────────
   LEISTUNGEN
───────────────────────────────────────── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.leistung-card {
  background: #fff;
  border: 1px solid rgba(44,95,138,0.1);
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.leistung-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.leistung-card:hover::before { transform: scaleX(1); }
.leistung-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(44,95,138,0.12);
  border-color: rgba(44,95,138,0.2);
}

.lc-icon {
  width: 54px; height: 54px;
  background: rgba(44,95,138,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ocean);
  margin-bottom: 1.4rem;
  transition: background 0.3s, color 0.3s;
}
.leistung-card:hover .lc-icon {
  background: var(--ocean);
  color: #fff;
}

.leistung-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.leistung-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   WHY US
───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  flex-shrink: 0;
}
.why-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.why-photo-badge {
  position: absolute; bottom: 1.8rem; left: -1.5rem;
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 1.4rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.why-photo-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.why-feature {
  display: flex; gap: 1.2rem; align-items: flex-start;
}

.why-icon {
  width: 44px; height: 44px;
  background: rgba(92,143,106,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-feature h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.why-feature p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   TEAM
───────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 2.4rem 2rem;
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,39,48,0.1);
}

.team-avatar {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-lt));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.2rem;
}
.team-card:nth-child(2) .team-avatar { background: linear-gradient(135deg, var(--sage), var(--sage-lt)); }
.team-card:nth-child(3) .team-avatar { background: linear-gradient(135deg, #8A5C2C, #AF7A4A); }

.team-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.9rem;
}
.team-divider {
  border: none;
  border-top: 1px solid var(--sand);
  margin: 1rem 0;
}
.team-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,39,48,0.09);
}

.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.review-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.review-cta {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-lt));
  border: none;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  gap: 1.4rem;
}
.review-cta p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}
.btn-white {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: #fff;
  color: var(--ocean);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.btn-white:hover { background: var(--cream-dk); transform: translateY(-1px); }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-list {
  display: flex; flex-direction: column; gap: 1.2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-item:hover { color: var(--ocean); }

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(44,95,138,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ocean);
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(44,95,138,0.1);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { align-self: flex-start; width: auto; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding-top: 4.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  margin-bottom: 0.9rem;
  display: block;
  text-decoration: none;
}
.footer-logo span {
  font-style: normal;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 3px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.footer-links a, .footer-links li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 1rem; align-items: center; }
.footer-legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-photo { aspect-ratio: 16/9; }
  .why-photo-badge { left: 1.5rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
  .stat-item:nth-child(2)::after { display: none; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .section { padding: 4rem 5vw; }
}

@media (max-width: 540px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
}
