@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:   #1B3A6B;
  --navy2:  #0F2347;
  --accent: #D4860A;
  --accent2:#b87208;
  --teal:   #1a6b8a;
  --text:   #1a1a1a;
  --muted:  #555555;
  --light:  #f4f6fa;
  --white:  #ffffff;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(27,58,107,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.22);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  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(--accent); border-bottom-color: var(--accent); }

/* ── HAMBURGER ───────────────────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 4px; width: 36px; height: 36px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px; transition: all .3s;
}
.nav-hamburger.open span:nth-child(1){ transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2){ opacity: 0; }
.nav-hamburger.open span:nth-child(3){ transform: rotate(-45deg) translate(5px,-5px); }
.nav-mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 62px; left: 0; right: 0;
  background: var(--navy2); z-index: 99;
  padding: 1rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 0.8rem 2rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none; font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color .2s, background .2s;
}
.nav-mobile-menu a:hover, .nav-mobile-menu a.active {
  color: var(--accent); background: rgba(255,255,255,0.04);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent); color: var(--white);
  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(212,134,10,0.35);
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,134,10,0.45);
}
.btn-primary svg { width: 18px; height: 18px; fill: var(--white); }
.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(--accent); color: var(--accent); }

/* ── PAGE HERO (Unterseiten) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 70%, var(--teal) 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(212,134,10,0.1);
  box-shadow: 0 0 0 60px rgba(212,134,10,0.03), 0 0 0 120px rgba(212,134,10,0.015);
}
.page-hero-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); 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: 580px; 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(--accent2); 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(--accent); border-radius: 2px;
  margin-bottom: 2rem;
}

/* ── CARDS ────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(27,58,107,0.18);
}
.card-icon {
  width: 44px; height: 44px;
  background: rgba(212,134,10,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
}
.card ul {
  list-style: none; margin-top: 0.75rem;
}
.card ul li {
  font-size: 0.88rem; color: var(--muted);
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.card ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent); font-size: 0.8rem;
}

/* ── 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(--accent); margin-bottom: 0.25rem;
}
.contact-row { display: flex; align-items: center; gap: 0.75rem; }
.contact-icon {
  width: 32px; height: 32px;
  background: rgba(212,134,10,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 15px; height: 15px; }
.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(--accent); }

/* ── 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(27,58,107,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;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── MODAL ────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
  justify-content: center; align-items: center; padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: 14px;
  width: 100%; max-width: 580px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}
.modal-header {
  background: linear-gradient(135deg, var(--navy2), var(--navy));
  padding: 1.5rem 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.3rem;
}
.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--white);
}
.modal-close {
  background: rgba(255,255,255,0.1); border: none;
  color: rgba(255,255,255,0.7); font-size: 1.4rem;
  width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.modal-body {
  padding: 1.8rem;
  max-height: 80vh; overflow-y: auto;
}
.form-success {
  display: none;
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: 8px; padding: 1rem;
  color: #2e7d32; font-weight: 600; text-align: center;
  margin-top: 1rem;
}

/* ── HERO INNER RESPONSIVE ───────────────────────────── */
@media (max-width: 840px) {
  .hero-inner { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .hero-right  { display: none !important; }
  nav ul { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .section-inner { padding: 3.5rem 1.5rem; }
  .legal-content { padding: 3rem 1.5rem; }
  .page-hero { padding: 90px 1.5rem 2.5rem; }
  nav { padding: 0 1.5rem; }
}

/* ── VR CONTAINER ────────────────────────────────────── */
.vr-container { margin-top: 0; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--navy2);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2.5rem 0;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: 1rem;
  margin-bottom: 0.85rem;
}
.footer-col p, .footer-col a {
  display: block; font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 1.2rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--accent); }
.cw-settings-link {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.45); font-size: 0.8rem;
  padding: 0; text-decoration: underline;
  font-family: inherit;
  transition: color .2s;
}
.cw-settings-link:hover { color: var(--accent); }

/* ── TWO-COL SECTION ─────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 840px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ── USP LIST ────────────────────────────────────────── */
.usp-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.5rem; }
.usp-list li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-size: 0.95rem; color: var(--muted);
}
.usp-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(212,134,10,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; margin-top: 2px;
}

/* ── HIGHLIGHT BOX ───────────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--navy2), var(--navy));
  border-radius: 16px; padding: 3rem;
  color: var(--white); text-align: center;
}
.highlight-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

/* ── LEGAL PAGES ──────────────────────────────────────── */
.legal-section {
  background: var(--white);
}
.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); }

/* ── LEGAL TABLE ──────────────────────────────────────── */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  margin-top: .75rem;
}
.legal-table thead tr { background: #f4f6fa; }
.legal-table th {
  text-align: left;
  padding: .6rem .75rem;
  border-bottom: 2px solid rgba(27,58,107,0.15);
  color: var(--navy);
  font-weight: 600;
}
.legal-table tbody tr:nth-child(even) { background: #fafafa; }
.legal-table td {
  padding: .55rem .75rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.legal-table td:first-child { font-family: monospace; font-size: .8rem; }
.legal-note { margin-top: .75rem; font-size: .85rem; color: #666; }
.legal-stand { color: #888; font-size: .88rem; margin-bottom: 2rem; }
