/* ==========================================================================
   Coaching Website — Basisstyles
   Farben/Fonts sind über CSS-Variablen zentral anpassbar.
   ========================================================================== */

:root {
  --color-bg: #faf8f5;
  --color-bg-alt: #f1ece3;
  --color-text: #2b2622;
  --color-text-muted: #6b6258;
  --color-primary: #a8562f;
  --color-primary-dark: #83431f;
  --color-accent: #4f6d5c;
  --color-border: #e3dcd0;
  --color-white: #ffffff;

  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1120px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 16px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--color-text-muted);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px 24px 24px;
    display: none;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-eyebrow {
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* ---------- Placeholder image boxes ---------- */

.placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    var(--color-bg-alt),
    var(--color-bg-alt) 10px,
    #e8e1d4 10px,
    #e8e1d4 20px
  );
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 16px;
}

.placeholder-img.square {
  aspect-ratio: 1 / 1;
}

.placeholder-img.wide {
  aspect-ratio: 16 / 9;
}

/* ---------- Comic-art example illustrations ---------- */

.illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.illustration.square {
  aspect-ratio: 1 / 1;
}

.illustration.wide {
  aspect-ratio: 16 / 9;
}

/* Für Bilder mit Text darin: nicht zuschneiden, sonst fehlen Wörter */
.illustration.natuerlich {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

/*
 * Bild auf die Höhe des Textblocks daneben bringen.
 * Der Bildcontainer bekommt keine eigene Höhe (Bild absolut positioniert),
 * dadurch bestimmt die Textspalte die Zeilenhöhe. "contain" skaliert das Bild
 * hinein, ohne es zu beschneiden.
 * Nur ab Zweispaltigkeit sinnvoll — darunter stehen die Blöcke untereinander.
 */
@media (min-width: 901px) {
  .about-grid.bild-angleichen {
    align-items: stretch;
    /* Gleich breite Spalten: sonst bekommt das Bild je nach Seite mal die
       schmale, mal die breite Spalte und wirkt unterschiedlich groß. */
    grid-template-columns: 1fr 1fr;
  }

  .about-grid.bild-angleichen .bildspalte {
    position: relative;
    /* Untergrenze, damit ein kurzer Text daneben das Bild nicht zu klein macht */
    min-height: 340px;
  }

  .about-grid.bild-angleichen .bildspalte .illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.illustration-caption {
  margin: 8px 0 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- Ablauf in Schritten ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 24px;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 48px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Verbindungslinie zwischen den Schritten */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 4px;
  width: 2px;
  background: var(--color-border);
}

.steps strong {
  display: block;
  margin-bottom: 2px;
}

.steps span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Ablaufbeschreibung mit Haltung ---------- */

.ablauf {
  max-width: 760px;
  margin: 56px auto 0;
}

.ablauf h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
}

/* Mehrzeilige Schritte brauchen mehr Abstand als die kurze Variante */
.ablauf .steps li {
  padding-bottom: 26px;
}

.ablauf .steps span {
  display: block;
  color: var(--color-text-muted);
}

.haltung {
  margin: 8px 0 0;
  padding: 24px 28px;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  line-height: 1.65;
}

/* ---------- Offer cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Download-Hinweis (Coachingvertrag) ---------- */

.download-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
}

@media (max-width: 780px) {
  .download-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.download-box h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.download-box p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.download-btn {
  text-align: center;
  white-space: nowrap;
}

.download-btn .dateiinfo {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 3px;
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.testimonial p {
  font-style: italic;
  color: var(--color-text);
}

.testimonial .name {
  font-weight: 600;
  font-style: normal;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- About teaser ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blog teaser ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.blog-card .blog-card-body {
  padding: 20px;
}

.blog-card h3 {
  font-size: 1.05rem;
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.newsletter h2 {
  color: var(--color-white);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: none;
  min-width: 220px;
  font-size: 1rem;
}

.newsletter-form .btn {
  background: var(--color-white);
  color: var(--color-accent);
}

.newsletter-form .btn:hover {
  background: var(--color-bg-alt);
}

.newsletter small {
  display: block;
  margin-top: 16px;
  opacity: 0.85;
}

/* ---------- Booking / Cal.com ---------- */

.booking-embed {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Bis zum Klick ist der Bereich leer — sonst klafft eine große weiße Fläche */
.booking-embed:empty {
  border: none;
  background: none;
}

/* ---------- Zwei-Klick-Lösung für den Kalender ---------- */

.cal-platzhalter {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.cal-symbol {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 10px;
}

.cal-platzhalter h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.cal-platzhalter p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.cal-kleingedruckt {
  font-size: 0.82rem !important;
  margin: 20px 0 0;
  line-height: 1.6;
}

.cal-laedt {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-text);
  color: #d9d3c8;
  padding: 48px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d9d3c8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  text-align: center;
  opacity: 0.75;
}

/* ---------- Kontaktseite ---------- */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}

.kontakt-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
}

.kontakt-form .feld {
  margin-bottom: 20px;
}

.kontakt-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.kontakt-form .optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"],
.kontakt-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  background: var(--color-white);
}

.kontakt-form textarea {
  resize: vertical;
  min-height: 140px;
}

.kontakt-form .fehler {
  border-color: #b3391f;
  background: #fdf3f1;
}

/* Einwilligung: Kästchen neben mehrzeiligem Text */
.kontakt-form .einwilligung {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.kontakt-form .einwilligung input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.kontakt-form .einwilligung label {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.kontakt-form .pflichtfeld-hinweis {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Spamschutz-Feld unsichtbar, aber für Bots auffindbar */
.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 16px 0 0;
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}

.form-status.fehler {
  display: block;
  background: #fdf3f1;
  border: 1px solid #e0b4a8;
  color: #8c2c16;
}

.form-status.hinweis,
.form-status.erfolg {
  display: block;
  background: #eef3ef;
  border: 1px solid #bcd0c2;
  color: #2f4a39;
}

/* ---------- Kontakt: Infospalte ---------- */

.kontakt-info {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px;
}

.kontakt-info h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.kontakt-info hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 24px 0;
}

.kontakt-zeile {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 0.95rem;
  word-break: break-word;
}

.kontakt-icon {
  flex-shrink: 0;
}

.kontakt-hinweis {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  background: var(--color-white);
  border-left: 3px solid var(--color-primary);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

/* ---------- Legal pages ---------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-page h1 {
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 32px;
}

/* Interner Hinweis auf Rechtsseiten — vor dem Livegang zu erledigen */
.hinweis-intern {
  font-size: 0.88rem;
  line-height: 1.55;
  background: #fffaf0;
  border-left: 3px solid #d9a441;
  padding: 12px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.todo-fill {
  background: #fff3cd;
  border: 1px dashed #d9a441;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================================================================
   Druckausgabe
   ========================================================================== */

@media print {
  /* Hintergrundfarben und Bilder auch beim Drucken ausgeben */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: A4;
    margin: 16mm 14mm;
  }

  body {
    background: #fff;
    font-size: 10.5pt;
  }

  /* Bildschirmelemente, die auf Papier nichts verloren haben */
  .site-header,
  .nav-toggle,
  .booking-embed,
  .form-status,
  .honigtopf,
  .nav-cta {
    display: none !important;
  }

  /* Abstände fürs Papier deutlich verkleinern */
  .section {
    padding: 18px 0;
  }

  .hero {
    padding: 0 0 18px;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  /* Umbrüche steuern */
  h1, h2, h3 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .steps li,
  .card,
  .testimonial,
  .blog-card,
  .haltung,
  .kontakt-info {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Bilder nicht über die Seite hinauslaufen lassen */
  .illustration {
    max-height: 90mm;
    object-fit: contain;
    /* Ohne das erscheinen neben "contain"-Bildern farbige Ränder */
    background: transparent;
    border: none;
  }

  .about-grid.bild-angleichen .bildspalte .illustration {
    position: static;
    height: auto;
  }

  .about-grid.bild-angleichen .bildspalte {
    position: static;
    min-height: 0;
  }

  /* Ziel von Links sichtbar machen — auf Papier ist ein Link sonst wertlos */
  main a[href^="http"]::after,
  main a[href^="mailto:"]::after,
  main a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
    word-break: break-all;
  }

  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #999;
    padding: 12px 0 0;
  }

  .site-footer a,
  .footer-links a {
    color: #000;
  }

  .footer-links {
    display: none;
  }
}
