*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      #1a2b24;
  --ink-mid:  #3a5046;
  --sage:     #4a7c6b;
  --sage-light: #6ba38e;
  --teal:     #2a5f78;
  --teal-light: #3d8aa8;
  --mist:     #edf4f1;
  --cream:    #f7faf8;
  --white:    #ffffff;
  --border:   #c8ddd5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

/* ── HEADER / NAV (einheitlich auf allen Seiten) ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background: rgba(247, 250, 248, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--sage);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-logo:hover { color: var(--teal); }
.nav-cta { flex-shrink: 0; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.nav-link {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--sage); }
.nav-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 3rem 2.5rem 4rem;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  margin-bottom: 1rem;
}

.hero-slogan {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-slogan em {
  font-style: italic;
  color: var(--sage);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--teal); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  color: var(--sage);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--sage);
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--mist); }

/* ── Portrait ── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.portrait-wrap {
  width: 320px;
  height: 380px;
  background: linear-gradient(145deg, var(--mist) 0%, #d4e8df 100%);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-mid);
  max-width: 340px;
  text-align: center;
  line-height: 1.6;
}
.hero-badge strong { color: var(--sage); font-weight: 500; }
.nb { white-space: nowrap; }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── SECTION SHARED ── */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

/* ── LEISTUNGEN ── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.leistung-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.leistung-card:hover {
  border-color: var(--sage);
  box-shadow: 0 4px 20px rgba(74,124,107,0.08);
}

.leistung-num {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.leistung-title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.leistung-text {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── ÜBER ── */
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ueber-text p {
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
  line-height: 1.8;
}

.quote-block {
  border-left: 3px solid var(--sage);
  padding: 1.25rem 1.5rem;
  background: var(--mist);
  border-radius: 0 4px 4px 0;
  margin: 2rem 0;
}

.quote-block p {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sage);
  line-height: 1.6;
  margin: 0 !important;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.kontakt-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-mid);
}

.kontakt-item a {
  color: var(--teal);
  text-decoration: none;
}
.kontakt-item a:hover { text-decoration: underline; }

.kontakt-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

/* ── FORMULAR ── */
.form-section {
  background: linear-gradient(135deg, var(--ink) 0%, #1e3d4f 100%);
  max-width: 100%;
  padding: 5rem 2.5rem;
}

.form-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.form-intro .section-label { color: var(--sage-light); }

.form-intro .section-title {
  color: var(--white);
}

.form-intro p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.35rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }
input:focus, textarea:focus, select:focus { border-color: var(--sage-light); }

select {
  cursor: pointer;
}
select option { background: var(--ink); color: var(--white); }

textarea { min-height: 120px; resize: vertical; }

.form-submit {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--sage);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--sage-light); transform: translateY(-1px); }

.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
}

/* Honeypot: für Nutzer unsichtbar, aber im DOM vorhanden */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Datenschutz-Zustimmung */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}
.form-consent input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-top: 0.15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  flex-shrink: 0;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--sage);
  cursor: pointer;
}
.form-consent a { color: var(--sage-light); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

footer a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}
footer a:hover { color: var(--sage-light); }

/* ── RECHTSSEITEN (Impressum / Datenschutz) ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--teal);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.back-link.top { margin-bottom: 1.5rem; }
.back-link.bottom { margin-top: 3rem; }

/* Seiten mit wenig Inhalt: Footer an den unteren Rand drücken */
.page-flex { min-height: 100vh; display: flex; flex-direction: column; }
.page-flex > main { flex: 1 0 auto; }

.legal { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal h1 {
  font-family: 'Source Serif 4', serif; font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em;
  margin-bottom: 2rem; color: var(--ink);
}
.legal h2 {
  font-family: 'Source Serif 4', serif; font-weight: 600; font-size: 1.2rem;
  margin: 2.5rem 0 0.75rem; color: var(--ink);
}
.legal p { margin-bottom: 0.9rem; color: var(--ink-mid); }
.legal a { color: var(--teal); }
.todo {
  background: #fff7e6; border: 1px dashed #e0b050; color: #7a5a10;
  padding: 0.15rem 0.5rem; border-radius: 3px; font-size: 0.9em;
}

/* ── FAQ ── */
.faq-intro {
  color: var(--ink-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 60ch;
}
.faq-cat {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--sage);
  margin: 2.5rem 0 0.5rem;
}
.faq-cat:first-of-type { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--sage); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sage);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer {
  padding: 0 0 1.3rem;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 65ch;
}
.faq-cta {
  margin-top: 3.5rem;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}
.faq-cta p { color: var(--ink-mid); margin-bottom: 1.25rem; }
.legal .nav-cta { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem 3rem;
    gap: 1.75rem;
    min-height: 0;
  }
  /* Kinder von .hero-content zu direkten Hero-Elementen machen,
     damit das Portrait zwischen Headline und Untertext einsortiert werden kann */
  .hero-content { display: contents; }
  .hero-headline { order: 2; margin-bottom: 0; }
  .hero-visual { order: 3; }
  .hero-sub { order: 4; margin: 0 auto; }
  .hero-actions { order: 5; justify-content: center; }
  .portrait-wrap { width: 100%; max-width: 300px; height: 340px; }
  .hero-badge { display: none; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .ueber-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  nav { padding: 1rem 1.25rem; }
  section { padding: 3.5rem 1.25rem; }
  .form-section { padding: 3.5rem 1.25rem; }
}

@media (max-width: 560px) {
  .nav-logo { font-size: 1.05rem; max-width: 45vw; }
  .nav-right { gap: 0.85rem; }
  .nav-link { font-size: 0.85rem; }
  .nav-cta { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; }
  footer { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
