/* Bildung und Beratung Christine Ilse – Stylesheet
   Umsetzung von „Variante A · Warm“ (Claude Design).
   Keine externen Ressourcen: Schrift Nunito liegt lokal in /fonts (SIL OFL 1.1). */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --creme: #FBF3E8;
  --sand: #F4E4D0;
  --linie: #EFDCC6;
  --pfirsich: #F6C3A0;
  --apricot: #FCE3D0;
  --terrakotta: #B4532A;
  --terrakotta-dunkel: #8A3A18;
  --rost: #7A3417;
  --gruen: #1E3A34;
  --gruen-mittel: #2F5A4F;
  --braun: #6B4A36;
  --grau: #4D5F59;
  --grau-gruen: #3E4F49;
  --weiss: #FFFFFF;
  --strich: #D9A784;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--gruen);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main { flex: 1 0 auto; }

img { max-width: 100%; }

a { color: var(--terrakotta); }
a:hover { color: var(--terrakotta-dunkel); }

:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 800; }

p { margin: 0; }

/* SVG-Icons (Strich-Icons) */
.i { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--2 { stroke-width: 2; }
.i--24 { stroke-width: 2.4; }
.i--3 { stroke-width: 3; }
.i--32 { stroke-width: 3.2; }

/* Nur für Screenreader sichtbar */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gruen);
  color: var(--weiss);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--weiss); }
.skip-link:focus-visible { outline-color: var(--terrakotta); }

.wrap { max-width: 1160px; margin: 0 auto; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 232, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.site-header__inner {
  max-width: 1160px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gruen); }
.brand:hover { color: var(--gruen); }
.brand__mark {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--terrakotta); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; letter-spacing: 0.02em;
  box-shadow: 0 0 0 4px var(--apricot);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__small { font-size: 14px; font-weight: 600; color: var(--braun); }
.brand__name { font-size: 21px; font-weight: 800; }

.menu-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--gruen);
  background: var(--weiss); color: var(--gruen);
  font: inherit; font-size: 17px; font-weight: 700;
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 999px;
  text-decoration: none; color: var(--gruen);
  font-weight: 600; font-size: 17px;
}
.nav a:hover { background: var(--sand); color: var(--gruen); }
.nav a.nav__cta {
  margin-left: 8px; padding: 12px 22px;
  background: var(--terrakotta); color: var(--weiss);
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.nav a.nav__cta:hover { background: var(--terrakotta-dunkel); color: var(--weiss); }

/* Handy-Menü: Umschalten wie im Design bei 920 px */
@media (max-width: 919.98px) {
  .js .menu-toggle { display: flex; }
  .nav {
    flex-basis: calc(100% + 40px);
    flex-direction: column; align-items: stretch;
    gap: 6px;
    margin: 0 -20px -12px;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--linie);
    background: var(--creme);
  }
  .js .nav:not(.is-open) { display: none; }
  .nav a, .nav a.nav__cta {
    margin: 0;
    padding: 14px 18px; border-radius: 20px;
    background: var(--weiss);
    font-weight: 700; font-size: 20px;
  }
  .nav a.nav__cta { background: var(--terrakotta); color: var(--weiss); }
  .nav a.nav__cta .i { display: none; }
}

/* ---------- Allgemeine Abschnitte ---------- */
.section { scroll-margin-top: 90px; padding: 72px 20px; }
.section--white { background: var(--weiss); border-radius: 48px 48px 0 0; }
.section--sand { background: var(--sand); border-radius: 48px; }
.section--apricot { background: var(--apricot); border-radius: 48px 48px 0 0; }

.h2 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.15; margin-bottom: 32px; }
.h3 { font-size: 23px; }

/* Buttons */
.btn {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 24px;
  border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 19px;
}
.btn--primary { padding: 0 26px; background: var(--terrakotta); color: var(--weiss); }
.btn--primary:hover { background: var(--terrakotta-dunkel); color: var(--weiss); }
.btn--outline { background: var(--weiss); border: 2px solid var(--gruen); color: var(--gruen); }
.btn--outline:hover { background: var(--sand); color: var(--gruen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Start / Hero ---------- */
.hero { scroll-margin-top: 90px; padding: 48px 20px 64px; }
.hero__grid {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px; align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 22px; }
.badge {
  align-self: flex-start;
  padding: 6px 16px; border-radius: 999px;
  background: var(--apricot); color: var(--rost);
  font-weight: 700; font-size: 17px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1; letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead { font-size: 21px; max-width: 34em; text-wrap: pretty; }

.hero__media { position: relative; display: flex; justify-content: center; padding: 12px; }
.blob { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.blob--big { width: 78%; background: var(--pfirsich); top: 0; right: 4%; }
.blob--small { width: 26%; background: var(--gruen-mittel); bottom: 6%; left: 4%; }
.hero__media picture { position: relative; display: block; width: min(100%, 420px); }
.hero__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 48% 52% 44% 56% / 40% 42% 58% 60%;
}

.facts {
  list-style: none;
  max-width: 1160px; margin: 48px auto 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) and (max-width: 759.98px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(6, 1fr); }
  .facts li { grid-column: span 2; }
  .facts li:nth-child(4), .facts li:nth-child(5) { grid-column: span 3; }
}
@media (min-width: 1100px) {
  .facts { grid-template-columns: repeat(5, 1fr); }
  .facts li, .facts li:nth-child(4), .facts li:nth-child(5) { grid-column: auto; }
}
.facts li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px; border-radius: 24px;
  background: var(--weiss);
  font-weight: 700; font-size: 18px; line-height: 1.35;
}
.facts small {
  display: block; margin-top: 4px;
  font-weight: 500; font-size: 16px; color: var(--grau);
}
.check {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gruen-mittel); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
}
.check--s { width: 26px; height: 26px; margin-top: 3px; }

/* ---------- Karten ---------- */
/* Raster mit festen Stufen, damit keine einzelne Karte allein in einer Reihe steht */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cards--250, .cards--300 { grid-template-columns: repeat(2, 1fr); }
  .cards--300 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .cards--250 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) {
  .cards--300 { grid-template-columns: repeat(6, 1fr); }
  .cards--300 > * { grid-column: span 2; }
  .cards--300 > :last-child:nth-child(odd) { grid-column: span 2; }
  /* 5 Karten: oben 3, unten 2 gleich breite */
  .cards--300 > :nth-child(4):nth-last-child(2),
  .cards--300 > :nth-child(5):last-child { grid-column: span 3; }
}
.card {
  padding: 28px; border-radius: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.card p { text-wrap: pretty; }
.card--creme { background: var(--creme); }
.card--white { background: var(--weiss); }
.card ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }

.icon-round {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--pfirsich); color: var(--rost);
  display: flex; align-items: center; justify-content: center;
}
.icon-square {
  width: 60px; height: 60px; border-radius: 20px;
  background: var(--terrakotta); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
}

.card ul.tags { list-style: none; margin: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 6px; }
.subjects { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* „sprachsensibel“ hochkant vor der Fächerliste, mit Klammerlinie */
.sensibel { display: flex; align-items: stretch; gap: 10px; }
.sensibel__label {
  flex: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  padding: 0 0 0 8px;
  border-left: 3px solid var(--strich);
  color: var(--rost);
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.sensibel .tags { align-content: center; }
/* Auf weißen Karten heben sich die Fächer-Etiketten cremefarben ab */
.card--white .tags li { background: var(--creme); }
.tags li {
  padding: 4px 12px; border-radius: 999px;
  background: var(--weiss);
  font-size: 16px; font-weight: 700; line-height: 1.4;
}

.intro { margin: -20px 0 32px; font-size: 20px; color: var(--grau-gruen); }
.nowrap { white-space: nowrap; }

/* ---------- Ablauf ---------- */
.steps-wrap { max-width: 860px; margin: 0 auto; }
.steps-wrap .h2 { margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.step__rail { display: flex; flex-direction: column; align-items: center; }
.step__num {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  background: var(--terrakotta); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 26px;
}
.step__line { flex: 1; width: 0; border-left: 3px dashed var(--strich); margin: 6px 0; }
.step__body { padding: 10px 0 32px; }
.step:last-child .step__body { padding-bottom: 0; }
.step h3 { margin-bottom: 4px; font-size: 24px; }

/* ---------- Kosten ---------- */
.kosten { scroll-margin-top: 90px; padding: 0 20px 72px; }
.kosten__box {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 48px;
  background: var(--pfirsich); color: var(--gruen);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px; align-items: center;
}
.kosten__head { display: flex; flex-direction: column; gap: 16px; }
.kosten__head .h2 { margin: 0; }
.kosten__text { display: flex; flex-direction: column; gap: 14px; font-size: 20px; }
.kosten__text .btn { align-self: flex-start; font-weight: 800; }
.icon-white {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--weiss); color: var(--terrakotta);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Über mich ---------- */
.about {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 48px; align-items: start;
}
.about__img {
  display: block; width: 100%; max-width: 340px; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 0 0 14px var(--apricot);
  margin: 16px auto;
}
.about__text { display: flex; flex-direction: column; gap: 18px; }
.about__text .h2 { margin: 0; }
.about__intro { font-size: 21px; }
.quote { font-size: 20px; background: var(--creme); padding: 14px 18px; border-radius: 20px; }
.about__text h3 { margin-top: 12px; font-size: 24px; }
.quals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.quals > li { display: flex; gap: 12px; }
.quals ul {
  margin: 8px 0 0; padding: 14px 18px 14px 36px;
  border-radius: 20px; background: var(--creme);
  display: flex; flex-direction: column; gap: 6px;
}

/* ---------- Kontakt ---------- */
.kontakt .h2 { text-wrap: balance; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 16px;
}
.contact {
  display: flex; align-items: center; gap: 16px;
  min-height: 96px; padding: 18px;
  border-radius: 32px;
  background: var(--weiss); color: var(--gruen);
  text-decoration: none;
}
.contact:hover { background: var(--creme); color: var(--gruen); }
.contact--primary { background: var(--terrakotta); color: var(--weiss); }
.contact--primary:hover { background: var(--terrakotta-dunkel); color: var(--weiss); }
.contact__icon {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gruen-mittel); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
}
.contact--primary .contact__icon { background: var(--weiss); color: var(--terrakotta); }
.contact__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact__label { font-weight: 800; font-size: 22px; }
.contact__value { font-size: 18px; }
.contact__value--mail { font-size: clamp(15px, 4.2vw, 19px); overflow-wrap: anywhere; }

.address {
  margin-top: 32px; font-style: normal;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 19px;
}
.address .i { margin-top: 2px; color: var(--terrakotta); }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */
.page { padding: 56px 20px 80px; }
.page__card {
  max-width: 760px; margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 40px;
  background: var(--weiss);
  display: flex; flex-direction: column; gap: 32px;
}
.page__card > * { margin: 0; }
.page__head { display: flex; flex-direction: column; gap: 12px; }
.page__back { align-self: flex-start; font-weight: 700; }
.page h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; overflow-wrap: break-word; hyphens: auto; }
.page h2 { font-size: clamp(22px, 3.4vw, 26px); line-height: 1.25; }
.page h3 { margin-top: 8px; font-size: 20px; }
.page p { text-wrap: pretty; }
.page ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.page a { overflow-wrap: anywhere; }
.page__meta { color: var(--grau); }
.legal { display: flex; flex-direction: column; gap: 10px; }
.legal--highlight {
  padding: clamp(20px, 4vw, 28px);
  border-radius: 24px;
  background: var(--apricot);
  border: 2px solid var(--terrakotta);
}
.legal--highlight h2 { color: var(--rost); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--gruen); color: var(--weiss); padding: 32px 20px 40px; }
.site-footer__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  gap: 16px 32px; align-items: center; justify-content: space-between;
  font-size: 18px;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--weiss); font-weight: 700; padding: 8px 0; }
.site-footer a:hover { color: var(--apricot); }
.site-footer :focus-visible { outline-color: var(--weiss); }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Druck */
@media print {
  .site-header { position: static; }
  .skip-link, .menu-toggle { display: none !important; }
  .js .nav:not(.is-open) { display: flex; }
  body { background: #fff; }
}
