/* ==========================================================================
   Nicoleta Sennwitz – Supervision & Beratung
   Design system: calm, professional, warm
   ========================================================================== */

:root {
  --ink: #26332f;
  --text: #33403b;
  --muted: #64756e;
  --primary: #33615a;
  --primary-dark: #24453f;
  --primary-soft: #e9f1ef;
  --accent: #b0713a;
  --accent-dark: #965d2e;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --border: #e2e7e3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(38, 51, 47, 0.06), 0 8px 24px rgba(38, 51, 47, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-align: justify;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; 
    font-size: 18px;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

ul, ol { padding-left: 1.3em; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--primary-soft);
}

/* Contained background band (used inside a page, e.g. "Formate") */
.alt-band {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem;
  margin: 2.5rem 0;
}

.alt-band .grid-2,
.alt-band .grid-3 {
  margin-top: 1.5rem;
}

.section-intro {
  max-width: 42em;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.eyebrow.light { color: rgba(255, 255, 255, 0.75); }

.prose {
  max-width: 44em;
}

.prose h2 { margin-top: 2.2em; }

.prose h2:first-child { margin-top: 0; }

.prose ul.checklist {
  list-style: none;
  padding-left: 0;
}

.prose ul.checklist li {
  padding-left: 1.9em;
  position: relative;
  margin-bottom: 0.55em;
}

.prose ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Accessibility ---------- */
.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.6em 1.2em;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  text-decoration: none;
  line-height: 1.2;
}

.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 700;
}

.brand-sub {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.35em 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.site-nav a.btn-nav {
  border-bottom: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 2px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5em 1.2em;
}

.btn-nav:hover,
.btn-nav.active {
  background: var(--primary-dark);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 6.5rem 0 6rem;
}

.hero h1 {
  color: #fff;
  max-width: 16em;
  margin-bottom: 1.2em;
}

.hero .lead {
  font-size: 1.2rem;
  max-width: 38em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(340px, 30vw);
  height: auto;
  border-radius: var(--radius);
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0 3.2rem;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.4em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 40em;
  margin: 0;
}

/* ---------- Cards & grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}

.card-link:hover {
  color: var(--primary-dark);
}

.section-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.section-link:hover {
  color: var(--primary-dark);
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

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

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 10% -30%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 34em;
  margin: 0 auto 1.6em;
}

/* ---------- Price table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  background: var(--primary-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  white-space: nowrap;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- FAQ ---------- */
.faq-list {
  border: none;
  padding: 0;
  margin-top: 2rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
}

.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

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

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.4rem 0 1.2rem;
}

.info-card {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.info-card h3 {
  margin-top: 0;
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 1rem;
}

.info-card dt:first-child { margin-top: 0; }

.info-card dd {
  margin: 0.2rem 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.3em;
}

.footer-tag {
  font-size: 0.95rem;
  margin: 0;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.8em;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li { margin-bottom: 0.45em; }

.footer-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-legal p { margin: 0; }

.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-media {
    order: -1;
  }

  .hero-image {
    width: min(260px, 60vw);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 1.5rem;
    border-bottom: none;
  }

  .site-nav a.active {
    background: var(--primary-soft);
  }

  .site-nav a.btn-nav {
    margin: 0.5rem 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 4rem 0 3.5rem;
  }
}
