/* Academia Natura – statisches Stylesheet
   Naturinspirierte grüne Palette, abgeleitet aus dem ursprünglichen Replit-Projekt. */

:root {
  --background: 40 20% 98%;
  --foreground: 150 15% 12%;
  --border: 40 12% 90%;
  --card: 40 15% 96%;
  --card-foreground: 150 15% 12%;
  --popover: 40 15% 95%;
  --primary: 152 56% 32%;
  --primary-foreground: 40 20% 98%;
  --secondary: 40 15% 88%;
  --secondary-foreground: 150 15% 15%;
  --muted: 40 10% 91%;
  --muted-foreground: 150 8% 42%;
  --accent: 152 14% 86%;
  --accent-foreground: 152 14% 18%;
  --chart-2: 39 75% 48%;
  --chart-4: 28 65% 50%;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --radius: .5rem;
}

[data-theme="dark"] {
  --background: 160 10% 7%;
  --foreground: 40 15% 92%;
  --border: 160 6% 16%;
  --card: 160 8% 10%;
  --card-foreground: 40 15% 92%;
  --popover: 160 8% 12%;
  --primary: 152 56% 38%;
  --primary-foreground: 0 0% 98%;
  --secondary: 160 6% 16%;
  --secondary-foreground: 40 15% 92%;
  --muted: 160 5% 14%;
  --muted-foreground: 40 8% 62%;
  --accent: 152 10% 18%;
  --accent-foreground: 152 10% 88%;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.font-serif { font-family: var(--font-serif); }

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

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.section { padding: 4rem 0; }
@media (min-width: 640px) { .section { padding: 5rem 0; } }

.band { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.band-top { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); }

.eyebrow { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: hsl(var(--primary)); }
.lead { font-size: 1.125rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.muted { color: hsl(var(--muted-foreground)); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-2xl { max-width: 42rem; }
.maxw-3xl { max-width: 48rem; }

.stack > * + * { margin-top: 1.25rem; }
.stack-sm > * + * { margin-top: .75rem; }

h1.display { font-family: var(--font-serif); font-size: clamp(2.25rem, 5vw, 3rem); }
h2.title { font-family: var(--font-serif); font-size: clamp(1.875rem, 4vw, 2.25rem); }
h3 { font-size: 1.125rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / .8);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .header-inner { padding-left: 1.5rem; padding-right: 1.5rem; } }

.brand { display: flex; align-items: center; gap: .5rem; }
.brand-mark { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: var(--radius); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.brand-name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }

.nav-desktop { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link { display: inline-flex; align-items: center; padding: .4rem .7rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.nav-link:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.nav-link.active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; border: none; background: transparent; color: hsl(var(--foreground)); border-radius: var(--radius); cursor: pointer; }
.icon-btn:hover { background: hsl(var(--accent)); }
.menu-btn { display: inline-flex; }
@media (min-width: 768px) { .menu-btn { display: none; } }

.nav-mobile { display: none; border-top: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: .75rem 1rem; }
.nav-mobile.open { display: block; }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }
.nav-mobile a { display: block; padding: .5rem .7rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.nav-mobile a:hover, .nav-mobile a.active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .55rem 1rem; border-radius: var(--radius); font-size: .875rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: filter .15s, background .15s; }
.btn:hover { filter: brightness(1.06); }
.btn-lg { padding: .7rem 1.4rem; font-size: .95rem; }
.btn-sm { padding: .4rem .8rem; font-size: .8rem; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.btn-outline:hover { background: hsl(var(--accent)); }
.btn-white { background: #fff; color: #000; }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.btn .ico { width: 1rem; height: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.badge .ico { width: .75rem; height: .75rem; }
.badge-lg { padding: .5rem 1rem; font-size: .875rem; }
.badge-light { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.badge-featured { background: hsl(var(--chart-2) / .15); color: hsl(var(--chart-2)); }

/* ---------- Cards ---------- */
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.5rem; }
.card-pad-lg { padding: 2rem; }
.card:hover { border-color: hsl(var(--primary) / .4); }

.icon-tile { display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.icon-tile.sm { height: 2rem; width: 2rem; }
.icon-tile.md { height: 2.75rem; width: 2.75rem; }
.icon-tile.lg { height: 3rem; width: 3rem; }
.icon-tile .ico { width: 1.25rem; height: 1.25rem; }
.icon-tile.lg .ico { width: 1.5rem; height: 1.5rem; }
.icon-tile.accent { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.media { overflow: hidden; border-radius: var(--radius); }
.media img { width: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { height: 100%; width: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.5) 50%, rgba(0,0,0,.3)); }
.hero-inner { position: relative; max-width: 72rem; margin: 0 auto; padding: 6rem 1rem; }
@media (min-width: 640px) { .hero-inner { padding: 8rem 1.5rem; } }
@media (min-width: 1024px) { .hero-inner { padding: 10rem 1.5rem; } }
.hero-content { max-width: 36rem; color: #fff; }
.hero-content > * + * { margin-top: 1.5rem; }
.hero-content h1 { font-family: var(--font-serif); font-size: clamp(2.25rem, 6vw, 3.75rem); color: #fff; }
.hero-content p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 32rem; line-height: 1.7; }

/* ---------- Stats band ---------- */
.stats { background: hsl(var(--primary)); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.stats .grid-4 { gap: 1.5rem; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: hsl(var(--primary-foreground)); }
.stat .lbl { margin-top: .25rem; font-size: .875rem; color: hsl(var(--primary-foreground) / .75); }

/* ---------- Topic chips ---------- */
.chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }

/* ---------- Feature rows ---------- */
.feature-row { display: flex; align-items: center; gap: .75rem; }
.feature-row .label { font-size: .875rem; }

.list-check { display: flex; flex-direction: column; gap: .75rem; }
.list-check .item { display: flex; align-items: flex-start; gap: .5rem; }
.list-check .ico { width: 1rem; height: 1rem; color: hsl(var(--primary)); margin-top: .15rem; flex-shrink: 0; }
.list-check span { font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 1rem; }
.tl-item { display: flex; gap: 1rem; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { display: flex; height: 2rem; width: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--radius); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: .75rem; font-weight: 700; }
.tl-line { margin-top: .25rem; height: 100%; width: 1px; background: hsl(var(--border)); }
.tl-year { font-size: .75rem; font-weight: 600; color: hsl(var(--primary)); }
.tl-event { margin-top: .25rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* ---------- Course cards ---------- */
.course { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.course img { height: 11rem; width: 100%; object-fit: cover; }
.course-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.course-meta .m { display: inline-flex; align-items: center; gap: .25rem; }
.course-meta .ico { width: .85rem; height: .85rem; }
.level { display: inline-flex; align-items: center; gap: .25rem; border-radius: var(--radius); padding: .1rem .4rem; font-weight: 500; }
.level-beginner { background: hsl(var(--chart-2) / .1); color: hsl(var(--chart-2)); }
.level-intermediate { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.level-advanced { background: hsl(var(--chart-4) / .1); color: hsl(var(--chart-4)); }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .5rem; }
.price { font-size: .875rem; font-weight: 700; }

/* ---------- Service alternating sections ---------- */
.service-head { display: flex; align-items: center; gap: .75rem; }
.service-head .sub { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: hsl(var(--primary)); }
.service-head h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 1.875rem); }
.ideal { font-size: .8rem; color: hsl(var(--muted-foreground)); }
.ideal b { color: hsl(var(--foreground)); }
@media (min-width: 1024px) { .split.reverse .media { order: 2; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .55rem .7rem; font: inherit; font-size: .9rem;
  color: hsl(var(--foreground)); background: hsl(var(--background));
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid hsl(var(--primary) / .4); outline-offset: 1px; }
.field textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 1fr; } }

.info-row { display: flex; gap: .75rem; }
.info-row .icon-tile { height: 2.25rem; width: 2.25rem; }
.info-row .icon-tile .ico { width: 1rem; height: 1rem; }
.info-row .t { font-size: .875rem; font-weight: 600; }
.info-row .v { font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding: 3rem 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
.footer-col nav, .footer-col .links { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a, .footer-col span.fl { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-about { font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.footer-contact { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.footer-contact .ico { width: 1rem; height: 1rem; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid hsl(var(--border)); padding: 1.5rem 0; text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground)); }

.mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mb-12 { margin-bottom: 3rem; }
.pt-2 { padding-top: .5rem; }
