/* ============ MAU & BLUMENBERG — shared styles ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

a { text-decoration: none; color: inherit; }

:root {
  /* Brand colors — from Brand Guideline v1.0 */
  --ocean:      #004D79;      /* Primär — Tiefblau */
  --ocean-deep: #003558;
  --teal:       #2C9BA3;      /* Teal — Brückenfarbe */
  --mint:       #74C588;      /* Sekundär — Frischgrün */
  --lime:       #C3F291;      /* Hellgrün */
  --lime-soft:  #ecf8d4;
  --teal-soft:  #d4eef0;
  --mint-soft:  #ddf2e3;

  --white:  #ffffff;
  --off:    #f6faf8;
  --paper:  #fbfdfb;
  --ink:    #0d1f2d;
  --muted:  #5a7287;
  --border: rgba(0,77,121,0.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--off);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 80px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, height 0.25s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,77,121,0.08); height: 68px; }

.nav-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-logo .lmark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo .lmark img { width: 100%; height: 100%; object-fit: contain; }
.nav-logo .lname {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.05rem; color: var(--ocean);
  letter-spacing: 0.02em; line-height: 1.1;
}
.nav-logo .lsub {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal); margin-top: 2px;
}

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ocean);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.nav-phone:hover { background: var(--teal-soft); border-color: var(--teal); }

.burger {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.burger:hover { background: var(--ocean); border-color: var(--ocean); }
.burger:hover .bline { background: var(--white); }
.burger .blines { display: flex; flex-direction: column; gap: 5px; }
.bline { width: 18px; height: 2px; background: var(--ocean); border-radius: 2px; transition: background 0.2s, transform 0.3s; }

/* ============ FULLSCREEN MENU ============ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 190;
  background:
    radial-gradient(circle at 80% 20%, rgba(116,197,136,0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(195,242,145,0.10) 0%, transparent 50%),
    var(--ocean);
  display: flex; flex-direction: column;
  padding: 80px 5vw 3rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.4s ease;
  overflow-y: auto;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; transform: none; }
.menu-close {
  position: absolute; top: 22px; right: 5vw;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.3s;
}
.menu-close:hover { background: var(--mint); border-color: var(--mint); transform: rotate(90deg); }

.menu-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 4rem; max-width: 1200px; margin: 4rem auto 0; width: 100%; flex: 1;
}
.menu-list { list-style: none; }
.menu-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-list a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 1.1rem 0; text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  color: rgba(255,255,255,0.85); transition: color 0.2s, padding 0.3s;
}
.menu-list a:hover, .menu-list a.active { color: var(--lime); padding-left: 0.5rem; }
.menu-list .num {
  font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.35);
}
.menu-aside {
  border-left: 1px solid rgba(255,255,255,0.1); padding-left: 3rem;
  display: flex; flex-direction: column; gap: 1.6rem;
}
.menu-aside h4 {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 0.3rem;
}
.menu-aside p, .menu-aside a { font-size: 0.9rem; color: rgba(255,255,255,0.7); text-decoration: none; line-height: 1.7; }
.menu-aside a:hover { color: var(--lime); }
.menu-aside .block { padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-aside .block:last-child { border: none; }

/* ============ TYPOGRAPHY UTILITIES ============ */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1rem;
}

.h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700; line-height: 1.08;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: var(--ocean); letter-spacing: -0.01em;
  text-wrap: balance;
}
.h1 em, .h1 .accent {
  font-style: italic;
  color: var(--teal);
}
.h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700; line-height: 1.15;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--ocean); text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--teal); }
.h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.3rem;
  color: var(--ocean); line-height: 1.3;
}
.lead {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
  max-width: 560px; font-weight: 300;
}
.body { font-size: 0.95rem; line-height: 1.75; color: var(--muted); font-weight: 300; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; cursor: pointer; border: none;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.25s, color 0.25s;
}
.btn-primary {
  background: var(--ocean); color: var(--white);
  box-shadow: 0 6px 20px rgba(0,77,121,0.20);
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(44,155,163,0.35); }
.btn-mint {
  background: linear-gradient(135deg, var(--mint), #56b06a);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(116,197,136,0.35);
}
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(116,197,136,0.45); }
.btn-ghost {
  background: transparent; color: var(--ocean);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.btn-light {
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-light:hover { background: var(--white); color: var(--ocean); }

/* ============ SECTION BASE ============ */
section { padding: clamp(4rem, 8vw, 7rem) 5vw; }
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap-narrow { max-width: 820px; margin: 0 auto; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ocean-deep); color: rgba(255,255,255,0.7);
  padding: 4.5rem 5vw 2rem;
}
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.footer h5 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem;
}
.footer a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; line-height: 2.1; transition: color 0.2s; }
.footer a:hover { color: var(--lime); }
.footer-brand { font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem; }
.footer-brand span { color: var(--lime); font-style: normal; }
.footer-tag { font-size: 0.88rem; line-height: 2.1; max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--mint); border-color: var(--mint); color: var(--white); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
.footer-bottom > div { white-space: nowrap; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }

/* ============ PLACEHOLDER IMAGES ============ */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(44,155,163,0.06) 0,
      rgba(44,155,163,0.06) 12px,
      rgba(44,155,163,0.10) 12px,
      rgba(44,155,163,0.10) 24px
    ),
    linear-gradient(135deg, var(--teal-soft), var(--mint-soft));
  display: flex; align-items: center; justify-content: center;
  color: var(--ocean);
}
.ph::after {
  content: attr(data-label);
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,77,121,0.12);
  padding: 0.4rem 0.85rem; border-radius: 6px;
  color: var(--ocean);
}
.ph-dark { background: linear-gradient(135deg, var(--ocean), var(--teal)); }
.ph-dark::after { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); color: var(--white); }
.ph-logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 65%; max-width: 280px; opacity: 0.92;
  display: block;
}
.ph-logo + ::after, .ph:has(.ph-logo)::after { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .menu-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .menu-aside { border-left: none; padding-left: 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav-phone span { display: none; }
}
@media (max-width: 600px) {
  .footer .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom > div { white-space: normal; }
  .nav { padding: 0 4vw; }
  .nav-logo .lname { font-size: 0.92rem; }
  .nav-logo .lsub { font-size: 0.55rem; }
}
