/* =========================================================================
   Konrep – Stylesheet
   Designrichtung: klassisch-seriös (Dunkelblau + Gold, Serifen-Überschriften)
   Mobile-first, responsive. Keine externen Ressourcen (System-Fonts).
   ========================================================================= */

/* ---- Design-Tokens -------------------------------------------------------- */
:root {
  --navy:        #1b2a4a;   /* Primärfarbe */
  --navy-dark:   #131f37;
  --navy-soft:   #2a3c61;
  --gold:        #c9a24b;   /* Akzent */
  --gold-dark:   #a9842f;
  --cream:       #faf8f3;   /* Seitenhintergrund */
  --cream-card:  #ffffff;
  --ink:         #1f2533;   /* Fließtext */
  --ink-soft:    #515a6b;
  --line:        #e6e1d6;

  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1100px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(27, 42, 74, 0.08);
  --shadow-hover: 0 10px 32px rgba(27, 42, 74, 0.16);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

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

/* ---- Layout-Helfer -------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.section { padding: 4rem 0; }
.section--alt { background: #f3efe6; }

.section__head { max-width: 720px; margin-bottom: 2.25rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--navy-dark); }
.btn--primary:hover { background: var(--gold-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--on-dark { background: var(--gold); color: var(--navy-dark); }
.btn--on-dark:hover { background: #fff; color: var(--navy-dark); }

/* ---- Header / Navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span { color: var(--gold-dark); }

.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { border-bottom-color: var(--gold); }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--navy); border-radius: 2px;
  margin: 5px 0; transition: transform .2s, opacity .2s;
}

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--navy-soft), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #f4f1ea;
  overflow: hidden;
}
.hero__inner { display: grid; gap: 2.5rem; align-items: center; padding: 4rem 0 4.5rem; }
.hero h1 { color: #fff; margin: 0 0 1rem; }
.hero p { color: #d7dce8; font-size: 1.2rem; max-width: 46ch; }
.hero__role { color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero__art {
  color: var(--gold);
  width: clamp(150px, 40vw, 230px);
  justify-self: center;
  opacity: 0.95;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}

/* ---- Über mich ------------------------------------------------------------ */
.about { display: grid; gap: 2.5rem; align-items: start; }
.about__photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;            /* Seitenverhältnis beibehalten (verhindert Verzerrung) */
  aspect-ratio: 800 / 931; /* Fallback, falls die Höhe doch begrenzt wird */
  object-fit: cover;       /* notfalls beschneiden statt verzerren */
  margin-inline: auto;
}
.about__facts { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.about__facts li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; color: var(--ink-soft); }
.about__facts li::before { content: "§"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; font-family: var(--serif); }

/* ---- Kurse ---------------------------------------------------------------- */
.courses { display: grid; gap: 1.75rem; }
.course-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.course-card__badge {
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.course-card h3 { margin: 0 0 0.25rem; }
.course-block { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.course-block:first-of-type { border-top: 0; }
.course-block h4 { margin: 0 0 0.4rem; font-family: var(--sans); font-size: 1.05rem; color: var(--navy); }
.course-block ul { margin: 0.4rem 0 0.8rem; padding-left: 1.1rem; color: var(--ink-soft); }
.course-block li { margin-bottom: 0.25rem; }
.price { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); font-weight: 700; }
.price small { font-family: var(--sans); font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); }
.course-card .btn { margin-top: auto; align-self: flex-start; }

/* ---- Termine -------------------------------------------------------------- */
.termine-list { display: grid; gap: 1rem; }
.termin {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: start;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.termin--geplant { border-left-color: var(--navy-soft); background: #f6f7fa; }
.termin__date {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}
.termin__time { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.2rem; }
.termin__title { font-weight: 600; color: var(--ink); }
.termin__meta { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.15rem; }
.termin__details {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.termin__details li { margin-bottom: 0.2rem; }
.termin__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.termin__btn { padding: 0.5rem 1rem; font-size: 0.9rem; white-space: nowrap; }
.status {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  text-align: center;
}
.status--frei        { background: #e7f3ea; color: #1f7a44; }
.status--warteliste  { background: #fbf3e0; color: #9a6a12; }
.status--ausgebucht  { background: #f4e7e7; color: #9a2c2c; }
.status--geplant     { background: #e8ecf5; color: #2a3c61; }
.termine-note { color: var(--ink-soft); font-size: 0.95rem; margin-top: 1.25rem; }

/* ---- Kontakt -------------------------------------------------------------- */
.contact {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #eef1f7;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}
.contact h2 { color: #fff; }
.contact p { color: #cdd4e3; max-width: 52ch; margin-inline: auto; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.6rem; }
.contact__phone { color: #fff; font-weight: 600; text-decoration: none; }
.contact__phone:hover { color: var(--gold); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: #aeb7cb;
  padding: 2.5rem 0;
  font-size: 0.92rem;
}
.site-footer a { color: #d7dce8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__grid { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__brand { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.footer__brand span { color: var(--gold); }

/* ---- Rechtsseiten (Impressum / Datenschutz) ------------------------------- */
.legal { padding: 3rem 0 4rem; }
.legal .container { max-width: 800px; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal address { font-style: normal; line-height: 1.7; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; }
.back-link::before { content: "← "; }

/* ---- Responsive ----------------------------------------------------------- */
@media (min-width: 720px) {
  .hero__inner { grid-template-columns: 1.4fr 1fr; }
  .hero__art { justify-self: end; }
  .about { grid-template-columns: 320px 1fr; }
  .courses { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav__links.is-open { max-height: 360px; }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 0.9rem 1.25rem; }
  .nav__links a:hover { border-bottom-color: transparent; background: #f3efe6; }

  .termin { grid-template-columns: 1fr auto; }
  .termin__date-col { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
