/* =========================================================
   stress-less-statik.de – Stylesheet
   Farben: Pastellgrün, dazu Navy + Rot aus dem Logo
   Keine externen Schriften (datenschutzfreundlich)
   ========================================================= */

:root {
  --bg:          #f6faf6;
  --surface:     #ffffff;
  --mint-50:     #eef7f0;
  --mint-100:    #dcefe1;
  --mint-200:    #c3e3cc;
  --sage:        #9fceae;
  --green:       #4f9270;
  --green-dark:  #2c5a43;
  --navy:        #1e2d4a;
  --red:         #b0352d;
  --text:        #23322b;
  --muted:       #5d6f65;
  --line:        #d9e9dd;
  --radius:      18px;
  --shadow:      0 1px 2px rgba(30,60,45,.05), 0 8px 24px rgba(30,60,45,.07);
  --font:        system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head:   ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section   { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--mint { background: var(--mint-50); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246,250,246,.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 112px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand img { height: 92px; width: 92px; }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--navy); letter-spacing: -.01em; white-space: nowrap;
}
.brand-text span { color: var(--red); }
.nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: .97rem;
  padding: .45rem .9rem; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--mint-100); color: var(--green-dark); }
.nav a[aria-current="page"] { background: var(--mint-200); color: var(--green-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-dark); color: #fff; box-shadow: 0 6px 16px rgba(44,90,67,.25); }
.btn--primary:hover { background: var(--green); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--green-dark); border-color: var(--mint-200); }
.btn--ghost:hover { background: var(--mint-100); color: var(--green-dark); }
.btn--small { padding: .55rem 1.05rem; font-size: .93rem; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% 10%, var(--mint-100), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, var(--mint-50), transparent 60%);
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero h1 .accent { color: var(--green); }
.hero-logo {
  background: var(--surface); border-radius: 28px; padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}

/* ---------- Feature-Kacheln ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--mint-100);
  display: grid; place-items: center; margin-bottom: 1rem; color: var(--green-dark);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Programm-Karten ---------- */
.programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
.program {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.program:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(30,60,45,.06), 0 16px 36px rgba(30,60,45,.1); }
.program-visual {
  height: 150px; background: linear-gradient(135deg, var(--mint-100), var(--mint-50));
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.program-visual svg { width: 78%; height: 78%; }
.program-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.program-body p { color: var(--muted); font-size: .97rem; }
.program-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.badge {
  font-size: .76rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px;
  background: var(--mint-100); color: var(--green-dark); white-space: nowrap;
}
.badge--soon { background: #f3efe3; color: #7a6227; }
.version { font-size: .8rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.tags li { font-size: .8rem; background: var(--mint-50); border: 1px solid var(--line); padding: .15rem .6rem; border-radius: 999px; color: var(--muted); }
.program-actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.program--soon .program-visual { filter: saturate(.6); opacity: .85; }

/* ---------- Programm-Liste (Bild links, Text rechts) ---------- */
.program-list { display: flex; flex-direction: column; gap: 1.4rem; }
.program-row {
  display: grid; grid-template-columns: 320px 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.program-row:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(30,60,45,.06), 0 16px 36px rgba(30,60,45,.1); }
.program-row .program-visual { height: auto; min-height: 210px; border-bottom: 0; border-right: 1px solid var(--line); }
.program-row .program-body { padding: 1.6rem 1.9rem; }
.program-row .program-visual svg { width: 90%; height: 90%; }
.program-row h3 { font-size: 1.35rem; }
.soft-list { margin: 0 0 1.1rem; padding-left: 1.1rem; color: var(--muted); font-size: .97rem; }
.soft-list li { margin-bottom: .35rem; }
.soft-list strong { color: var(--text); }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split--reverse > :first-child { order: 2; }

/* ---------- Hinweisbox ---------- */
.note {
  background: var(--mint-50); border: 1px solid var(--line); border-left: 5px solid var(--sage);
  border-radius: 14px; padding: 1.2rem 1.4rem; color: var(--muted); font-size: .95rem; margin-top: 2.5rem;
}
.note strong { color: var(--text); }

/* ---------- Über mich ---------- */
.profile { display: grid; grid-template-columns: 352px 1fr; gap: 3rem; align-items: start; }
.portrait {
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid var(--surface); outline: 1px solid var(--line);
}
.profile-card {
  margin-top: 1.4rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; font-size: .95rem;
}
.profile-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.profile-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.profile-card dt { color: var(--muted); }
.profile-card dd { margin: 0; }
.subtitle { color: var(--green-dark); font-weight: 600; font-size: 1.1rem; margin-top: -.3rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: .4rem 0 1.5rem; }
.chips li { background: var(--mint-100); color: var(--green-dark); font-weight: 600; font-size: .9rem; padding: .35rem .85rem; border-radius: 999px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.box ul { margin: 0; padding-left: 1.1rem; }
.box li { margin-bottom: .3rem; }

.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--mint-200); }
.timeline li { position: relative; padding: 0 0 1.3rem 2.1rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--sage);
}
.timeline .when { font-weight: 700; color: var(--green-dark); font-size: .9rem; }
.timeline .what { display: block; }
.timeline .where { color: var(--muted); font-size: .95rem; }

.two-col--wide { grid-template-columns: 1.25fr 1fr; }
.two-col--wide .box h2 { font-size: 1.5rem; }
.timeline--wide li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.timeline--wide .what strong { display: block; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal .placeholder { background: #fff6d8; padding: 0 .3rem; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #dcefe1; padding: 2.5rem 0; font-size: .93rem; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; margin-left: 1.2rem; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { text-decoration: underline; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container, .split, .profile, .two-col { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .features { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: 1fr; }
  .program-row .program-visual { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline--wide li { grid-template-columns: 1fr; gap: 0; }
  .profile .portrait { max-width: 320px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text { font-size: 1.15rem; }
  .brand img { height: 64px; width: 64px; }
  .site-header .container { justify-content: center; padding: .6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Überschrift Lehrprogramme: zweite Zeile ohne Umbruch */
.h1-compact { font-size: clamp(1.6rem, 3.1vw, 2.4rem); }
.nowrap { white-space: nowrap; }
@media (max-width: 420px) { .h1-compact { font-size: 1.45rem; } }

/* Über mich: Name etwas kleiner, Lehrgebiete als Liste */
.h1-name { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.subject-list { list-style: none; margin: .3rem 0 0; padding: 0; }
.subject-list li { position: relative; padding: .3rem 0 .3rem 1.6rem; border-bottom: 1px solid var(--line); }
.subject-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.subject-list li::before { content: ""; position: absolute; left: .2rem; top: .85rem; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }

.h2-sub { font-size: 1.5rem; margin: 1.4rem 0 .2rem; }
