/* ============================================================
   Meistry — Landing Page Styles
   Palette: warm cream · deep forest green · clay accent
   Type:    Fraunces (display serif) + Inter (body)
   ============================================================ */

:root {
  --forest: #2E4B3C;          /* primary brand green (pine) */
  --forest-deep: #1B2D23;     /* darkest sections */
  --forest-soft: #E2EAE1;     /* light green tint */
  --clay: #C16A43;            /* warm clay accent / CTA */
  --clay-dark: #A4542F;
  --clay-soft: #F3E3D6;       /* eyebrow / soft accent bg */
  --ink: #21271F;             /* warm near-black for text */
  --ink-soft: #4C5247;
  --muted: #837F72;
  --bg: #F7F3EA;              /* warm cream */
  --bg-alt: #EFE8D8;
  --card: #FFFDF8;            /* warm white */
  --line: #E4DBC8;
  --line-dark: rgba(255, 253, 248, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(33, 39, 31, 0.06);
  --shadow-md: 0 14px 36px rgba(33, 39, 31, 0.10);
  --shadow-lg: 0 30px 70px rgba(27, 45, 35, 0.20);
  --maxw: 1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-dark);
  background: var(--clay-soft);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-light {
  color: #EBC9B2;
  background: rgba(193, 106, 67, 0.18);
}

.highlight {
  color: var(--clay);
  font-style: italic;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 8px 20px rgba(193, 106, 67, 0.30);
}
.btn-primary:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(193, 106, 67, 0.40);
}
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--clay-dark); }
.header-cta { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 56px;
  background:
    radial-gradient(820px 420px at 86% -10%, rgba(46, 75, 60, 0.12), transparent 60%),
    radial-gradient(680px 420px at 4% 6%, rgba(193, 106, 67, 0.10), transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 600;
  margin-bottom: 22px;
}
.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
}
.hero-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hero-form input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(193, 106, 67, 0.15);
}
.hero-note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Hero card / browser mock */
.hero-card { position: relative; }
.browser {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(0.6deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.browser-bar .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #CDBFA6;
}
.browser-url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}
.browser-body { padding: 22px; }
.mock-hero {
  background: linear-gradient(140deg, var(--forest) 0%, var(--forest-deep) 100%);
  border-radius: 14px;
  padding: 22px;
  color: #fff;
}
.mock-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #E7B79C;
  background: rgba(193, 106, 67, 0.24);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.mock-h1 {
  height: 18px;
  width: 78%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  margin-bottom: 14px;
}
.mock-line {
  height: 9px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  margin-bottom: 8px;
}
.mock-line.short { width: 55%; }
.mock-btn {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: var(--clay);
  padding: 8px 16px;
  border-radius: 999px;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mock-tile {
  height: 64px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.floating-stat {
  position: absolute;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  border: 1px solid var(--line);
}
.floating-stat strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--forest); }
.floating-stat span { font-size: 0.78rem; color: var(--muted); }
.stat-1 { top: 6%; left: -28px; }
.stat-2 { bottom: 8%; right: -22px; }
.stat-2 strong { color: var(--clay); }

/* Trust row */
.trust-row {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.trust-list li {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 600;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 14px auto 0;
}

/* Problem */
.problem { background: var(--bg-alt); }
.problem-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.problem-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.problem-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.problem-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* Leistungen */
.feature-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--forest);
}
.feature-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--clay);
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); }

/* Ablauf / Steps */
.ablauf { background: var(--forest); color: #fff; }
.ablauf .section-title { color: #fff; }
.ablauf .section-sub { color: rgba(255, 255, 255, 0.75); }
.steps {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
}
.step-num {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  background: var(--clay);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; color: #fff; }
.step p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Waitlist ---------- */
.waitlist-section { padding: 96px 0; }
.waitlist-card {
  background: linear-gradient(155deg, var(--forest) 0%, var(--forest-deep) 100%);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.waitlist-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(193, 106, 67, 0.28), transparent 65%);
  pointer-events: none;
}
.waitlist-copy { color: #fff; position: relative; z-index: 1; }
.waitlist-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; }
.waitlist-copy > p { color: rgba(255, 255, 255, 0.80); font-size: 1.06rem; }
.waitlist-perks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.waitlist-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
}
.waitlist-perks .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--clay);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.waitlist-form-wrap { position: relative; z-index: 1; }
.waitlist-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-title { font-size: 1.5rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .optional { color: var(--muted); font-weight: 500; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(193, 106, 67, 0.15);
}
.field input.invalid {
  border-color: #D64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12);
}
.waitlist-form .btn-block { margin-top: 8px; }
/* Honeypot field — hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-fineprint {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.form-message {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: #C0392B;
}

/* Success state */
.waitlist-success {
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-check {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  animation: pop 0.4s ease;
}
@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.waitlist-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.waitlist-success p { color: var(--ink-soft); }
.success-counter {
  margin-top: 16px !important;
  font-weight: 600;
  color: var(--clay-dark);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: box-shadow 0.18s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clay);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 18px; }
.faq-body p { color: var(--ink-soft); }

.faq-cta { margin-top: 44px; text-align: center; }
.faq-cta p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.logo-footer { color: #fff; margin-bottom: 12px; }
.footer-tagline { color: rgba(255, 255, 255, 0.62); max-width: 300px; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}
.footer-nav a, .footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
  width: fit-content;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--clay); }
.footer-legal .copyright { margin-top: 8px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.42); }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}
.legal-main h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}
.legal-lead { color: var(--muted); margin-bottom: 44px; }
.legal-block { margin-bottom: 34px; }
.legal-block h2 { font-size: 1.3rem; margin-bottom: 12px; }
.legal-block p { color: var(--ink-soft); margin-bottom: 8px; }
.legal-block a { color: var(--clay-dark); text-decoration: underline; }
.legal-address { font-style: normal; line-height: 1.9; color: var(--ink); }
.legal-note {
  background: var(--clay-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 28px;
}
.back-link:hover { color: var(--clay); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 460px; margin: 0 auto; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .waitlist-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .main-nav { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero-form { flex-direction: column; }
  .hero-form .btn { width: 100%; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .floating-stat { display: none; }
  .waitlist-card { padding: 32px 22px; }
  .waitlist-form { padding: 24px; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Über mich ---------- */
.about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.portrait-frame {
  width: 250px;
  height: 300px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #F2E9D9;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4.6rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--card);
  overflow: hidden;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-caption { text-align: center; line-height: 1.4; }
.portrait-caption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.portrait-caption span { color: var(--muted); font-size: 0.92rem; }
.about-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 18px;
}
.about-content p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 16px;
  max-width: 560px;
}
.about-photo {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 50% 18%;   /* bias toward the face */
  border-radius: 24px;
  border: 6px solid var(--card);
  box-shadow: var(--shadow-md);
}
.about-caption { text-align: center; line-height: 1.45; }
.about-caption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.about-caption span { color: var(--muted); font-size: 0.92rem; }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  box-shadow: none;
  margin-top: 10px;
}
.btn-outline:hover {
  background: var(--forest);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline svg { width: 18px; height: 18px; }

/* LinkedIn profile card in the About section */
.li-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  max-width: 300px;
}
.li-fallback__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #F2E9D9;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.li-fallback__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}
.li-fallback__headline {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.li-fallback .btn { margin-top: 6px; }

@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .about-content p { margin-left: auto; margin-right: auto; }
}
