/* ==========================================================================
   Meetora shared stylesheet
   Loaded by every page (EN + DE). Contains the design tokens and components
   that must look and behave identically everywhere: fonts, colour/spacing
   tokens, nav, hero shell, buttons, section headers, footer, the mobile
   hamburger menu, and shared animations. Page-specific layout (feature
   grids, forms, event cards, etc.) stays in that page's own <style> block.
   ========================================================================== */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/dm-sans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-italic.woff2') format('woff2');
}

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

:root {
  --green: #1D9E75;
  --green-light: #E1F5EE;
  --green-mid: #0F6E56;
  --green-dark: #085041;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --border: rgba(0,0,0,0.1);
  --border-mid: rgba(0,0,0,0.15);
  --bg: #ffffff;
  --bg-secondary: #f8f8f6;
  --radius: 10px;
  --radius-lg: 14px;

  /* Section container widths — every section should use one of these two. */
  --container: 760px;
  --container-wide: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--green-light);
  color: var(--green-mid);
  border-color: rgba(29,158,117,0.22);
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  padding: 9px 20px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); }

/* HERO SHELL — every page's hero uses this same box, padding, and type scale */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 2.5rem 3rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--green-light);
  color: var(--green-mid);
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

/* BUTTONS */
.btn-primary {
  font-size: 15px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  padding: 13px 28px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-ghost {
  font-size: 14px;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-secondary);
  background: none;
  border: 0.5px solid var(--border-mid);
  padding: 13px 24px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--text-secondary); color: var(--text); }

.btn-white {
  font-size: 15px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  padding: 13px 28px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }

/* SECTION HEADER — label / title / subtitle used to open every content section */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 0.75rem;
  font-weight: 500;
  max-width: 700px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* CTA SECTION (dark band used to close most pages) */
.cta-section {
  background: var(--text);
  padding: 5rem 2.5rem;
  text-align: center;
}

.cta-inner { max-width: 520px; margin: 0 auto; }

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.cta-section h2 em { color: var(--green); font-style: italic; }

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* FOOTER */
footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-logo span { color: var(--green); }

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-note {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 300;
}

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

/* SHARED RESPONSIVE (nav, hero shell, footer) */
@media (max-width: 640px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }

  .hero { padding: 2.5rem 1.25rem 2rem; }
  h1 { font-size: 34px; letter-spacing: -1px; margin-bottom: 0.85rem; }
  .badge { margin-bottom: 1.25rem; }
  .hero-sub { font-size: 15px; margin-bottom: 1.5rem; }

  .section-label { margin-bottom: 1.5rem; }
  .section-title { margin-bottom: 0.5rem; }
  .section-subtitle { margin-bottom: 1.25rem; font-size: 14px; }

  .cta-section { padding: 3rem 1.25rem; }
  .cta-section h2 { font-size: 28px; }
  .cta-section p { font-size: 14px; margin-bottom: 1.75rem; }

  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem 1.25rem; }
}

/* MOBILE HAMBURGER MENU */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 0.5px solid rgba(0,0,0,0.1);
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  padding: 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.mobile-menu ul li {
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul li a {
  display: block;
  padding: 0.85rem 0;
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  transition: color 0.2s;
}

.mobile-menu ul li a:hover {
  color: #1D9E75;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  background: #1D9E75;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-menu-cta:hover {
  background: #0F6E56;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}
