/* =========================================================
   SARAH CARINA — Kontaktseite
   Eigener Layer (kt-*) auf Basis der Tokens aus style.css.
   Bewusst ruhig: Ein Kontaktformular ist kein Verkaufsmoment,
   sondern der Punkt, an dem jemand Vertrauen aufbringt.
   ========================================================= */

:root {
  --kt-max: 1080px;
  --kt-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------
   HERO — ruhig, kein Bildlärm
   --------------------------------------------------------- */
.kt-hero {
  position: relative;
  padding: calc(var(--nav-offset) + clamp(96px, 12vw, 160px)) clamp(20px, 5vw, 48px) clamp(48px, 6vw, 80px);
  background: var(--bg);
  overflow: hidden;
}
.kt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(64% 52% at 78% 6%,
    rgba(218, 213, 202, 0.6) 0%,
    rgba(218, 213, 202, 0.14) 46%,
    rgba(0, 0, 0, 0) 78%);
}
html[data-theme="dark"] .kt-hero::before {
  background: radial-gradient(64% 52% at 78% 6%,
    rgba(169, 138, 82, 0.14) 0%,
    rgba(169, 138, 82, 0.04) 46%,
    rgba(0, 0, 0, 0) 78%);
}
.kt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--kt-max);
  margin: 0 auto;
}
.kt-eyebrow {
  font-size: 10.5px;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 20px;
}
.kt-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
}
.kt-lead {
  font-size: clamp(16.5px, 1.7vw, 19px);
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0;
}

/* ---------------------------------------------------------
   ABSCHNITTE
   --------------------------------------------------------- */
.kt-section { padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 48px); }
.kt-section--panel { background: var(--bg-panel); }
.kt-inner { max-width: var(--kt-max); margin: 0 auto; }
.kt-inner--narrow { max-width: 760px; margin: 0 auto; }
.kt-h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.24;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 22ch;
}
.kt-body { font-size: 16px; line-height: 1.74; color: var(--text-muted); max-width: 62ch; margin: 0 0 16px; }
.kt-body strong { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------
   DEIN NÄCHSTER SCHRITT — drei ruhige Schritte
   --------------------------------------------------------- */
.kt-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; counter-reset: ktstep; }
.kt-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 30px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--hairline);
  counter-increment: ktstep;
}
.kt-steps li:last-child { border-bottom: 1px solid var(--hairline); }
.kt-steps li::before {
  content: counter(ktstep, decimal-leading-zero);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  color: var(--accent-dark);
  padding-top: 3px;
}
.kt-steps h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--ink);
  margin: 0 0 6px;
}
.kt-steps p { margin: 0; font-size: 15.5px; line-height: 1.66; color: var(--text-muted); max-width: 56ch; }

/* ---------------------------------------------------------
   FORMULAR
   Zweispaltig auf Desktop: links die Einordnung, rechts das
   Formular. Kein Kasten im Kasten, nur eine ruhige Fläche.
   --------------------------------------------------------- */
.kt-formwrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.kt-aside-note {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 42ch;
}
.kt-aside-note strong { color: var(--ink); font-weight: 500; }

.kt-form {
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.kt-section--panel .kt-form { background: var(--bg-cream); }

.kt-field { margin-bottom: 24px; }
.kt-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.kt-req { color: var(--accent-dark); }

.kt-field input[type="text"],
.kt-field input[type="email"],
.kt-field textarea {
  width: 100%;
  font-family: "Jost", sans-serif;
  font-size: 16px;   /* nie kleiner: iOS zoomt sonst beim Fokus */
  line-height: 1.6;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 2px;
  min-height: 46px;
  transition: border-color 300ms var(--kt-ease);
  -webkit-appearance: none;
  appearance: none;
}
.kt-field textarea { resize: vertical; min-height: 132px; }
.kt-field input::placeholder,
.kt-field textarea::placeholder { color: var(--text-muted); opacity: 0.72; }
.kt-field input:hover,
.kt-field textarea:hover { border-bottom-color: var(--accent); }
.kt-field input:focus,
.kt-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-dark);
  border-bottom-width: 2px;
  padding-bottom: 11px;   /* gleicht die dickere Linie aus, kein Springen */
}
/* Sichtbarer Fokus auch für Tastaturbedienung */
.kt-field input:focus-visible,
.kt-field textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
  border-radius: 3px;
}
/* Fehlerzustand: nie nur Farbe — es gibt zusätzlich Text */
.kt-field.is-error input,
.kt-field.is-error textarea { border-bottom-color: #9a3b2f; border-bottom-width: 2px; }
.kt-error {
  display: none;
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #8a3327;
}
html[data-theme="dark"] .kt-error { color: #e0a599; }
html[data-theme="dark"] .kt-field.is-error input,
html[data-theme="dark"] .kt-field.is-error textarea { border-bottom-color: #c9705f; }
.kt-field.is-error .kt-error { display: block; }

/* Einwilligung */
.kt-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 30px 0 26px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.kt-consent input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent-dark);
  cursor: pointer;
  flex-shrink: 0;
}
.kt-consent label {
  font-size: 14px;
  line-height: 1.66;
  color: var(--text-muted);
  cursor: pointer;
}
.kt-consent a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.kt-consent.is-error label { color: #8a3327; }
html[data-theme="dark"] .kt-consent.is-error label { color: #e0a599; }

/* Honeypot — für Menschen unsichtbar, für Bots verlockend.
   Nicht display:none: manche Bots ignorieren versteckte Felder. */
.kt-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.kt-form .btn { width: 100%; justify-content: center; }
/* Der globale .btn trägt einen Rahmen in der Farbe seiner Fläche.
   Im Dunkelmodus verschwindet die Form dadurch fast im Hintergrund.
   Auf einer Kontaktseite ist dieser Button die eigentliche Handlung —
   deshalb hier eine dezente Champagner-Kante. Global unverändert. */
html[data-theme="dark"] .kt-form .btn { border-color: rgba(240, 236, 228, 0.3); }
.kt-form-foot {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.66;
  color: var(--text-muted);
}

/* Rückmeldung nach dem Absenden */
.kt-status {
  display: none;
  margin: 22px 0 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.68;
}
.kt-status.is-visible { display: block; }
.kt-status--ok {
  background: var(--bg-panel);
  border-left: 2px solid var(--accent-dark);
  color: var(--ink);
}
.kt-section--panel .kt-status--ok { background: var(--bg-deep); }
.kt-status--warn {
  background: var(--bg-panel);
  border-left: 2px solid #9a3b2f;
  color: var(--ink);
}
.kt-section--panel .kt-status--warn { background: var(--bg-deep); }
.kt-status strong { font-weight: 500; }

/* ---------------------------------------------------------
   EDITORIAL-ZITAT MIT BILD
   --------------------------------------------------------- */
.kt-quote {
  position: relative;
  min-height: clamp(380px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 48px);
  overflow: hidden;
  background: var(--ink-fixed);
}
.kt-quote-media { position: absolute; inset: 0; z-index: 0; }
.kt-quote-media picture { display: block; width: 100%; height: 100%; }
.kt-quote-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  filter: grayscale(0.28) brightness(0.78);
}
.kt-quote-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 19, 18, 0.22) 0%,
    rgba(20, 19, 18, 0.46) 50%,
    rgba(20, 19, 18, 0.86) 100%);
}
.kt-quote-inner { position: relative; z-index: 1; max-width: var(--kt-max); margin: 0 auto; width: 100%; }
.kt-quote-text {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(23px, 3.4vw, 42px);
  line-height: 1.24;
  color: #f0ece4;
  margin: 0 0 20px;
  max-width: 24ch;
}
.kt-quote-name {
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.7);
  margin: 0;
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.kt-faq { margin-top: 34px; border-top: 1px solid var(--hairline); }
.kt-faq details { border-bottom: 1px solid var(--hairline); }
.kt-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.45;
  color: var(--ink);
  transition: color 220ms var(--kt-ease);
}
.kt-faq summary::-webkit-details-marker { display: none; }
.kt-faq summary:hover { color: var(--accent-dark); }
.kt-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px; height: 11px;
  margin-top: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 240ms var(--kt-ease);
}
.kt-faq details[open] summary::after { transform: rotate(-135deg); }
.kt-faq details > div { padding: 0 0 22px; }
.kt-faq p { font-size: 15.5px; line-height: 1.72; color: var(--text-muted); margin: 0 0 12px; max-width: 70ch; }
.kt-faq p:last-child { margin-bottom: 0; }
.kt-faq a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 940px) {
  .kt-formwrap { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); }
  .kt-aside-note { max-width: none; }
}
@media (max-width: 620px) {
  .kt-steps li { grid-template-columns: 38px minmax(0, 1fr); }
  .kt-form { padding: 24px 20px; border-radius: var(--radius); }
  .kt-quote { min-height: clamp(340px, 92vw, 460px); }
}

/* ---------------------------------------------------------
   MOTION & PRINT
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .kt-field input, .kt-field textarea, .kt-faq summary, .kt-faq summary::after {
    transition: none !important;
  }
}
@media print {
  .kt-quote-media, .site-header, .nav-mobile { display: none !important; }
  .kt-quote { background: none; min-height: 0; }
  .kt-quote-text, .kt-quote-name { color: #141312 !important; }
}
