@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --navy:   #1F3864;
  --navy2:  #162a4e;
  --gold:   #FFD200;
  --gold2:  #e6bc00;
  --slate:  #2E4F7A;
  --text:   #222222;
  --muted:  #555555;
  --light:  #f4f7fc;
  --white:  #ffffff;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(31,56,100,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--light);
  line-height: 1.65;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 62px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); line-height: 1.2;
}
.nav-logo-sub {
  font-size: 0.72rem; font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em; text-transform: uppercase;
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav ul a:hover, nav ul a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold); color: var(--navy);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(255,210,0,0.3);
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,210,0,0.4);
}
.btn-primary svg { width: 18px; height: 18px; fill: var(--navy); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── PAGE HERO (Unterseiten) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 70%, var(--slate) 100%);
  padding: 110px 2.5rem 3.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(255,210,0,0.1);
  box-shadow: 0 0 0 60px rgba(255,210,0,0.03), 0 0 0 120px rgba(255,210,0,0.015);
}
.page-hero-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); font-weight: 700;
  line-height: 1.15; margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem; max-width: 560px; margin: 0 auto;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 2.5rem;
}
.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold2); margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 1rem;
}
.section-divider {
  width: 44px; height: 3px;
  background: var(--gold); border-radius: 2px;
  margin-bottom: 2rem;
}

/* ── CONTACT CARD (hero) ─────────────────────────────── */
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  backdrop-filter: blur(6px);
}
.contact-card-title {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.25rem;
}
.contact-row { display: flex; align-items: center; gap: 0.75rem; }
.contact-icon {
  width: 32px; height: 32px;
  background: rgba(255,210,0,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 15px; height: 15px; fill: var(--gold); }
.contact-row a, .contact-row span {
  color: rgba(255,255,255,0.85);
  text-decoration: none; font-size: 0.9rem;
  transition: color .2s;
}
.contact-row a:hover { color: var(--gold); }

/* ── FORM ────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(31,56,100,0.15);
  border-radius: 8px;
  font-family: inherit; font-size: 0.95rem;
  color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31,56,100,0.08);
}
.form-group textarea { min-height: 120px; }
.form-success {
  display: none;
  background: #edf7ed; border: 1px solid #82c982;
  border-radius: 8px; padding: 1rem;
  color: #2e7d32; font-size: 0.9rem; text-align: center;
}

/* ── SERVICE CARDS ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(31,56,100,0.08);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(31,56,100,0.18); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 24px; height: 24px; fill: var(--navy); }
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.92rem; color: var(--muted); }

/* ── CONTACT INFO ────────────────────────────────────── */
.contact-info-list {
  list-style: none; display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2rem;
}
.contact-info-list li { display: flex; align-items: center; gap: 0.9rem; }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--light);
  border: 1px solid rgba(31,56,100,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 18px; height: 18px; fill: var(--navy); }
.ci-text small { display: block; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.ci-text a, .ci-text span { font-size: 0.95rem; color: var(--text); text-decoration: none; font-weight: 600; }
.ci-text a:hover { color: var(--navy); text-decoration: underline; }

/* ── MODAL ───────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(15,28,55,0.72);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active { display: flex; animation: fadeOverlay .2s ease; }
@keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--white); border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; animation: slideUp .25s ease; position: relative;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--slate) 100%);
  border-radius: 16px 16px 0 0;
  padding: 1.6rem 2rem 1.4rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-header-text .modal-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.25rem;
}
.modal-header-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--white); line-height: 1.25;
}
.modal-close {
  background: rgba(255,255,255,0.12); border: none; border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background .15s;
  color: rgba(255,255,255,0.8); font-size: 1.3rem; line-height: 1;
}
.modal-close:hover { background: rgba(255,255,255,0.22); color: #fff; }
.modal-body { padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.modal .form-success {
  display: none; background: #edf7ed; border: 1px solid #82c982;
  border-radius: 8px; padding: 1.2rem; color: #2e7d32;
  font-size: 0.95rem; text-align: center;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--navy2);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 2.5rem 2.5rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; color: var(--white);
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a {
  display: block; color: rgba(255,255,255,0.55);
  text-decoration: none; font-size: 0.82rem;
  line-height: 1.9;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1100px; margin: 0 auto;
  padding: 1rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── LEGAL PAGES ─────────────────────────────────────── */
.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: 5rem 2.5rem;
}
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.legal-content h3 {
  font-size: 1.05rem; color: var(--navy);
  font-weight: 600; margin: 1.5rem 0 0.5rem;
}
.legal-content p { color: var(--muted); margin-bottom: 0.9rem; font-size: 0.97rem; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; color: var(--muted); font-size: 0.97rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--navy); }

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HAMBURGER BUTTON ────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 99;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 1rem 2rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .15s, color .15s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover,
.nav-mobile-menu a.active { background: rgba(255,210,0,0.1); color: var(--gold); }

/* ── TOUCH TARGETS ───────────────────────────────────── */
.btn-primary {
  min-height: 44px;
  min-width: 44px;
}
.btn-outline {
  min-height: 44px;
}
.contact-row a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ci-text a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-col a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.video-teaser {
  min-height: 44px;
}
.form-group input,
.form-group textarea,
.form-group select {
  min-height: 44px;
}
.form-group select { height: 44px; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 820px) {
  nav ul { display: none; }
  .nav-hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .hero-right { order: -1; align-items: flex-start; }

  /* About page */
  .about-grid { grid-template-columns: 1fr !important; }
  .about-sidebar { position: static !important; }

  /* Contact page */
  .contact-layout { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; }

  /* Modal full width */
  .modal { max-width: 100%; border-radius: 12px; }

  /* Section padding */
  .section-inner { padding: 3rem 1.5rem; }
  .legal-content { padding: 3rem 1.5rem; }

  /* Page hero */
  .page-hero { padding: 90px 1.5rem 2.5rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}
