/* quatschen.de — Stylesheet
 * Warm, locker, eigenständig. Mobile first.
 * Eine Datei, leicht zu pflegen.
 * --------------------------------------------------- */

:root {
  /* Farbpalette — Leibrecht-Look: Weiß, Signal-Gelb, fast-Schwarz. */
  --bg:           #FFFFFF;
  --bg-card:     #FFFFFF;
  --bg-soft:     #FFCD00;   /* Signal-Gelb für Banner-Blöcke */
  --bg-mute:     #F5F4F1;   /* neutraler Block-Hintergrund (z.B. Methode/Angebote) */
  --bg-deep:     #1A1A1A;   /* fast Schwarz (Footer, dunkle Akzente) */
  --text:        #1A1A1A;
  --text-muted:  #555555;
  --text-soft:   #888888;
  --line:        #E5E5E5;
  --accent:      #FFCD00;   /* Signal-Gelb */
  --accent-hover:#E6B800;
  --accent-soft: #FFF4CC;
  --cta:         #1A1A1A;   /* schwarze CTA-Buttons */
  --cta-hover:   #000000;
  --success:     #2F7A4A;
  --error:       #B8412A;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 3px rgba(31, 27, 22, .05), 0 1px 2px rgba(31, 27, 22, .03);
  --shadow:      0 6px 24px rgba(31, 27, 22, .07), 0 2px 6px rgba(31, 27, 22, .04);
  --shadow-lg:   0 18px 48px rgba(31, 27, 22, .10), 0 4px 12px rgba(31, 27, 22, .05);

  --max:         1140px;
  --max-narrow:  720px;
  --section-py:  clamp(3.5rem, 7vw, 6rem);

  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
section[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-muted); line-height: 1.6; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 1.4rem; }
section { padding: var(--section-py) 0; }
.bg-soft { background: var(--bg-soft); }                         /* Signal-Gelb-Block */
.bg-mute { background: var(--bg-mute); }                         /* neutraler Block */
.bg-soft .eyebrow { color: var(--text); }                        /* Eyebrow auf Gelb wird Schwarz */
.bg-soft .lead    { color: var(--text); }                        /* Lead auf Gelb wird Schwarz */
.bg-deep { background: var(--bg-deep); color: #F1F1F1; }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #FFFFFF; }
.bg-deep p, .bg-deep .lead { color: #C8C8C8; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header a, .mobile-nav a { text-decoration: none; }
.site-logo { display: flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.site-logo:hover { color: var(--text); }
.site-logo .logo-img { width: 36px; height: 36px; display: block; }
.logo-mark { color: var(--text); font-weight: 700; }
.logo-dot  { color: var(--text); }
.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { color: var(--text); font-weight: 500; font-size: .98rem; }
.site-nav a:hover { color: var(--accent); }
.site-nav a.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav a.nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px;
    background: transparent; border: 0; padding: .5rem; cursor: pointer;
  }
  .nav-toggle span {
    width: 24px; height: 2px; background: var(--text); border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-nav {
    display: flex; flex-direction: column; gap: .9rem;
    padding: 1.4rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 60px; z-index: 49;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { color: var(--text); font-weight: 500; padding: .35rem 0; }
  .mobile-nav a.nav-cta {
    background: var(--text); color: var(--bg);
    padding: .65rem 1rem; border-radius: 999px; text-align: center; margin-top: .3rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  line-height: 1.2;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-yellow  { background: var(--accent); color: var(--text); }
.btn-yellow:hover { background: var(--accent-hover); color: var(--text); }
.btn-dark    { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost   { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-ghost:hover { background: var(--text); color: #fff; }
.btn-link    { background: transparent; color: var(--text); padding: .55rem .2rem; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.btn-link:hover { color: var(--text); text-decoration-color: var(--text); }
.bg-soft .btn-primary { background: var(--text); color: #fff; }
.bg-soft .btn-primary:hover { background: #000; }
.bg-soft .btn-ghost   { border-color: var(--text); color: var(--text); }
.bg-soft .btn-ghost:hover { background: var(--text); color: var(--accent); }

.btn-group { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ===== Hero ===== */
.hero {
  padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 12%; right: -10%;
  width: 480px; height: 480px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .35;
  filter: blur(80px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 940px; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent {
  background: var(--accent);
  padding: 0 .15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero .lead { max-width: 720px; }
.hero .hero-note {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  background: var(--bg-mute);
  border-radius: var(--radius);
  font-size: .98rem;
  color: var(--text);
  max-width: 720px;
  border-left: 4px solid var(--accent);
}
.hero .btn-group { margin-top: 2rem; }

/* ===== Quote / Pull ===== */
.pull-quote {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote::before, .pull-quote::after {
  display: block;
  color: var(--text);
  font-size: 1.4em;
  line-height: 1;
  font-weight: 700;
}
.pull-quote::before { content: "«"; margin-bottom: .6rem; }
.pull-quote::after  { content: "»"; margin-top: .4rem; }
.bg-soft .pull-quote::before, .bg-soft .pull-quote::after { color: var(--text); }

/* ===== Cards / Grids ===== */
.cards {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.5rem;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.card h3 { margin-bottom: .5rem; }
.card .card-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ===== Kompass (interaktiv) ===== */
.compass {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 2px solid var(--text);
  max-width: 880px;
  margin: 2.5rem auto 0;
}
.compass-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .6rem;
  margin-bottom: 1.6rem;
}
.compass-mode {
  background: var(--bg-mute);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .98rem;
  color: var(--text);
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.compass-mode:hover { background: var(--accent-soft); }
.compass-mode[aria-pressed="true"] {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  transform: translateY(-1px);
}
.compass-output {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  min-height: 130px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
  transition: opacity .2s;
}
.compass-output .impulse {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  max-width: 640px;
}
.compass-output .impulse-hint {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
}
.compass-output.fade { opacity: 0.15; }
.compass-actions {
  display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center;
}

/* ===== Methode ===== */
.method-steps {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2.5rem;
  counter-reset: step;
}
.method-step {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1.5px solid var(--text);
  position: relative;
  transition: background .2s, transform .2s;
}
.method-step:hover { background: var(--accent); transform: translateY(-2px); }
.method-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem; right: 1.4rem;
  color: var(--text);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: .15;
  line-height: 1;
}
.method-step h3 { color: var(--text); margin-bottom: .4rem; }

/* ===== Angebote ===== */
.offer {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.offer h3 { margin-bottom: .25rem; }
.offer .offer-sub { color: var(--accent); font-weight: 600; margin-bottom: 1rem; font-size: .98rem; }
.offer ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.offer ul li { margin-bottom: .35rem; }

/* ===== Buch ===== */
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 780px) {
  .book { grid-template-columns: 1.2fr 1fr; }
}
.book-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  margin: 0 auto;
  background: var(--bg-mute);
  aspect-ratio: 3/4;
}
.book-cover picture, .book-cover img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}

.book-credits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.8rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: .5rem;
  padding: 1.1rem 0;
}
.book-credits li { color: var(--text-muted); font-size: .95rem; }
.book-credits strong { color: var(--text); font-weight: 600; margin-right: .35rem; }
.book-credits a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.book-credits a:hover { text-decoration-color: var(--text); }

.book-video {
  margin-top: 3rem;
  background: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 880px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.book-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-cover {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--text);
  overflow: hidden;
  font-family: inherit;
}
.video-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: opacity .2s, transform .3s;
  display: block;
}
.video-cover:hover img { opacity: 1; transform: scale(1.02); }
.video-cover .play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  padding-left: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .2s;
}
.video-cover:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-cover .video-hint {
  position: absolute;
  left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .65);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-video-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: .92rem;
  margin-top: .9rem;
}

/* ===== Über Michael ===== */
.michael {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 820px) {
  .michael { grid-template-columns: 280px 1fr; gap: 3rem; }
}
.michael-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 280px;
  background: var(--bg-mute);
}
.michael-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Kontaktformular ===== */
.contact-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 720px;
  margin: 2.5rem auto 0;
}
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .35rem;
  color: var(--text);
}
.form-label .req { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: .87rem; color: var(--text-muted); margin-top: .35rem; }
.form-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }
.form-consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; color: var(--text-muted); }
.form-consent input[type=checkbox] { margin-top: .25rem; accent-color: var(--accent); width: 16px; height: 16px; }
.form-consent a { text-decoration: underline; }
.form-submit { margin-top: .5rem; align-self: start; }

.form-success, .form-error {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: none;
}
.form-success { background: #E8F2EC; color: var(--success); border-left: 3px solid var(--success); }
.form-error   { background: #F8E5E0; color: var(--error);   border-left: 3px solid var(--error); }
.form-success.show, .form-error.show { display: block; }

/* ===== FAQ ===== */
.faq-list { margin-top: 2.5rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.3rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.faq-q::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--text);
  font-weight: 300;
  transition: transform .2s;
  flex: 0 0 auto;
  margin-left: 1rem;
  line-height: 1;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  color: #D5CCBC;
  padding: 4rem 1.4rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .footer-inner { grid-template-columns: 1fr 2fr; }
}
.footer-brand .footer-name { color: #F8F4EC; font-weight: 700; font-size: 1.2rem; }
.footer-brand .footer-tagline { color: #B0A693; font-size: .95rem; margin-top: .3rem; }
.footer-nav {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col .footer-head {
  color: #F8F4EC;
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .35rem;
}
.footer-col a { color: #C7BDA9; font-size: .96rem; text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: #8A7F70;
  font-size: .9rem;
}

/* ===== Static Pages (Impressum, Datenschutz, Danke) ===== */
.static-page {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.static-page h1 { margin-bottom: 1.4rem; }
.static-page h2 { margin-top: 2.5rem; }
.static-page p, .static-page li { color: var(--text-muted); }
.static-page strong { color: var(--text); }

/* ===== Utilities ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
