/* ============================================
   LEVANA HILDESHEIM — Redesign Design System
  温暖 · vertraut · natürlich · modern
   ============================================ */

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* === Design Tokens === */
:root {
  /* Primary palette — warm, nurturing, earthy */
  --sage-50:  #f4f7f3;
  --sage-100: #e6ede3;
  --sage-200: #cddbc8;
  --sage-300: #a8c19e;
  --sage-400: #7fa270;
  --sage-500: #5e8451;
  --sage-600: #4a6b40;
  --sage-700: #3c5635;
  --sage-800: #32472d;

  --terracotta-50:  #fdf6f2;
  --terracotta-100: #fae8df;
  --terracotta-200: #f4cfc0;
  --terracotta-300: #ebb09a;
  --terracotta-400: #e08868;
  --terracotta-500: #d4714e;
  --terracotta-600: #b85a3a;
  --terracotta-700: #944830;

  --cream:    #faf7f2;
  --warm-white: #fefdfa;
  --sand-50:  #f9f6f0;
  --sand-100: #f0ebe1;
  --sand-200: #e2d8c5;
  --sand-300: #cbbb9f;

  /* Text */
  --ink-900: #2a2a28;
  --ink-700: #44443f;
  --ink-500: #6b6b63;
  --ink-300: #a09f96;
  --ink-100: #d4d3ca;

  /* Functional */
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(42,42,40,0.08);
  --shadow-md: 0 4px 16px rgba(42,42,40,0.10);
  --shadow-lg: 0 12px 40px rgba(42,42,40,0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Type */
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(1.2rem, 4vw, 2.5rem);
  --nav-height: 72px;
}

/* === Base === */
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

a { color: var(--terracotta-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta-700); }

img { max-width: 100%; height: auto; display: block; }

/* === Utilities === */
.container { max-width: var(--max-width); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage-50); }
.bg-sand { background: var(--sand-50); }
.bg-terracotta { background: var(--terracotta-50); }

.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.script {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--terracotta-500);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--terracotta-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(212,113,78,0.35);
}
.btn-primary:hover {
  background: var(--terracotta-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,113,78,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--sage-700);
  border: 2px solid var(--sage-300);
}
.btn-outline:hover {
  background: var(--sage-100);
  color: var(--sage-800);
  border-color: var(--sage-500);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(254,253,250,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sage-700);
  text-decoration: none;
}
.nav-logo .leaf {
  width: 36px; height: 36px;
  background: var(--sage-400);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-15deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover { background: var(--sage-100); color: var(--sage-700); }
.nav-cta { margin-left: 0.5rem; padding: 0.6rem 1.3rem !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink-700);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at top right, var(--sage-100), transparent 60%),
    radial-gradient(ellipse at bottom left, var(--terracotta-100), transparent 50%),
    var(--warm-white);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(60px);
  z-index: 0;
}
.hero-shape-1 {
  width: 500px; height: 500px;
  background: var(--sage-200);
  top: -100px; right: -150px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--terracotta-200);
  bottom: -100px; left: -100px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-block: 2rem;
}
.hero h1 {
  margin-block: 1rem 1.5rem;
}
.hero h1 .accent { color: var(--terracotta-500); font-style: italic; }
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--ink-500);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-100);
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sage-600);
}
.hero-stat .label { font-size: 0.85rem; color: var(--ink-500); }

/* === Wave divider === */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* === Section headers === */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--ink-500); font-size: 1.1rem; }

/* === Course cards === */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--sand-100);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.course-card-img {
  height: 180px;
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.course-card-img.terracotta-bg { background: var(--terracotta-100); }
.course-card-img.sand-bg { background: var(--sand-100); }
.course-card-img.sage-bg { background: var(--sage-100); }
.course-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage-700);
}
.course-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.course-card h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.course-card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 1rem; flex-grow: 1; }
.course-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-100);
  font-size: 0.9rem;
}
.course-card-meta .price { font-weight: 700; color: var(--terracotta-600); }
.course-card-meta .leader { color: var(--ink-500); }

/* === Phase timeline === */
.phase-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.phase-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sage-400);
  position: relative;
  transition: transform .3s;
}
.phase-card:hover { transform: translateY(-3px); }
.phase-card.phase-2 { border-top-color: var(--terracotta-400); }
.phase-card.phase-3 { border-top-color: var(--sand-300); }
.phase-card.phase-4 { border-top-color: var(--sage-500); }
.phase-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.phase-card h3 { margin-bottom: 0.5rem; }
.phase-card ul {
  list-style: none;
  margin-top: 1rem;
}
.phase-card ul li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--ink-500);
  padding-left: 1.5rem;
  position: relative;
}
.phase-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage-500);
  font-weight: 700;
}

/* === Team cards === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--sand-100);
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.team-card .role { font-size: 0.85rem; color: var(--terracotta-600); font-weight: 600; margin-bottom: 0.5rem; }
.team-card .courses { font-size: 0.9rem; color: var(--ink-500); }

/* Avatar color variants */
.avatar-1 { background: linear-gradient(135deg, var(--sage-400), var(--sage-600)); }
.avatar-2 { background: linear-gradient(135deg, var(--terracotta-400), var(--terracotta-600)); }
.avatar-3 { background: linear-gradient(135deg, var(--sand-300), var(--sand-200)); color: var(--ink-700) !important; }
.avatar-4 { background: linear-gradient(135deg, #c69b7a, #a47857); }
.avatar-5 { background: linear-gradient(135deg, #9bb8a6, #6b9080); }
.avatar-6 { background: linear-gradient(135deg, #e0a695, #c97b66); }
.avatar-7 { background: linear-gradient(135deg, #b8a990, #968568); }

/* === Feature list / checklist === */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.feature-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  align-items: flex-start;
}
.feature-list .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--sage-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-600);
  font-size: 0.85rem;
  font-weight: 700;
}

/* === Split layout === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}
.split-img-overlay {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.split-img-overlay .script { font-size: 1.3rem; }

/* === Contact section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--sand-100);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .ico { font-size: 1.3rem; flex-shrink: 0; }
.contact-detail .label { font-size: 0.8rem; color: var(--ink-300); text-transform: uppercase; letter-spacing: 1px; }
.contact-detail .value { font-weight: 600; color: var(--ink-700); }

/* === Contact form === */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--sand-50);
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-400);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* === Footer === */
.footer {
  background: var(--sage-800);
  color: var(--sage-100);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer p { color: var(--sage-200); font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer ul li { padding: 0.3rem 0; }
.footer ul a { color: var(--sage-200); font-size: 0.95rem; }
.footer ul a:hover { color: var(--terracotta-300); }
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--sage-700);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--sage-300);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--sage-600), var(--sage-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--sage-100); font-size: 1.1rem; max-width: 600px; margin: 1rem auto 2rem; }

/* === Initiativenhaus === */
.initiativ-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-100);
}
.initiativ-card h3 { margin-bottom: 1rem; }

/* === FAQ / Accordion === */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-100);
}
.faq-q {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .arrow { transition: transform .3s; flex-shrink: 0; color: var(--terracotta-500); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 1.5rem;
  color: var(--ink-500);
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* === Filter pills === */
.filter-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-pill {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--sand-200);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  transition: all .2s;
}
.filter-pill:hover { border-color: var(--sage-400); }
.filter-pill.active {
  background: var(--sage-600);
  color: var(--white);
  border-color: var(--sage-600);
}

/* === Toast / hidden info === */
.hidden { display: none !important; }

/* === Responsive === */
@media (max-width: 968px) {
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 1rem var(--gutter);
    box-shadow: var(--shadow-md);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--sand-100); }
  .nav-cta { margin: 0.8rem 0 0; text-align: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .num { font-size: 1.8rem; }
  .course-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .team-card { padding: 1.5rem 1rem; }
  .team-avatar { width: 70px; height: 70px; font-size: 1.5rem; }
}
@media (max-width: 400px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease forwards; }
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print friendliness */
@media print {
  .navbar, .nav-toggle, .cta-band { display: none; }
  body { color: black; }
}
