/* ============================================================
   hantig — Landingpage
   CI: Türkis #00C0A3 · Tannengrün #0C453D · Rot #C2001D
   Fredoka (Headlines) · Nunito (Text) · Radius 26 · Soft Shadows
   Quelle: Design & Marketing/ci-projekt-hantig.json
   ============================================================ */

:root {
  --primary: #00C0A3;
  --primary-strong: #00a68d;
  --primary-soft: rgba(0, 192, 163, 0.14);
  --secondary: #0C453D;
  --accent: #C2001D;
  --accent-soft: rgba(194, 0, 29, 0.08);
  --warning: #b26e08;
  --warning-soft: rgba(215, 133, 9, 0.12);

  --bg: #F8FAFC;
  --paper: #ffffff;
  --dark: #193430;
  --line: #dce8e4;
  --text: #193430;
  --text-muted: #587068;
  --link: #007a67;

  --sketch: #7aa39a;          /* Zeichnungs-Linien in Illustrationen */
  --sketch-bg: #eef7f4;       /* Flächen hinter Illustrationen */
  --topo: rgba(12, 69, 61, 0.10); /* Höhenlinien im Hintergrund */

  --radius: 26px;
  --radius-small: 14px;
  --shadow: 0 14px 40px rgba(12, 69, 61, 0.10);

  --font-head: "Fredoka", "Avenir Next Rounded", -apple-system, sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--secondary);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
}
.logo:hover { text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 50%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--secondary); text-decoration: none; }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--secondary); }

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  background: #00cfb0;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 192, 163, 0.35);
}
.btn.small { padding: 9px 20px; font-size: 0.9rem; }
.btn.ghost {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--line);
}
.btn.ghost:hover { border-color: var(--primary); background: var(--primary-soft); box-shadow: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-extra > a:not(.btn) {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-extra > a:not(.btn):hover { color: var(--secondary); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
}

.hero-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.9rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--primary-strong); }

.hero p {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-card svg { border-radius: calc(var(--radius) - 10px); }
.hero-card figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hero-card figcaption strong { color: var(--secondary); font-family: var(--font-head); font-weight: 500; }

.placeholder-note {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 1;
  background: var(--secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  transform: rotate(3deg);
}

/* ---------- USP-Leiste ---------- */

.usp-bar {
  background: var(--secondary);
  padding: 22px 0;
}
.usp-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: center;
}
.usp-bar span {
  color: #d7ebe6;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.usp-bar span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---------- Leistungen ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.card-visual {
  background: var(--sketch-bg);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-visual svg { width: 100%; height: 100%; }

.card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.3rem; }
.card-body p { color: var(--text-muted); font-size: 0.97rem; flex: 1; }

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--secondary);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-strong);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Galerie ---------- */

.gallery-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--sketch-bg);
}
.gallery-item svg { width: 100%; height: 100%; }
.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Über ---------- */

.about {
  background: var(--dark);
}
.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about h2 { color: #f2f7f5; }
.about .kicker { color: var(--primary); }
.about p { color: #b9cfc9; margin-bottom: 16px; }
.about p strong { color: #f2f7f5; }
.about blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 18px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 500;
  color: #f2f7f5;
  margin: 24px 0;
}

/* ---------- Kontakt ---------- */

.contact .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p { color: var(--text-muted); margin-bottom: 18px; }
.contact-info ul { list-style: none; margin-top: 8px; }
.contact-info li {
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-info li strong { color: var(--secondary); }

form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
  padding: 11px 14px;
  font: inherit;
  font-size: 0.95rem;
}
input::placeholder, textarea::placeholder { color: #8aa39b; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
  border-color: var(--primary);
}

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

.form-hint { font-size: 0.82rem; color: var(--text-muted); }

.demo-banner {
  background: var(--warning-soft);
  border: 1px dashed var(--warning);
  color: var(--warning);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-small);
  padding: 10px 14px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--secondary);
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}
footer p, footer a { color: #b9cfc9; font-size: 0.85rem; }
footer a:hover { color: #fff; }
footer nav { display: flex; gap: 20px; }
.ust-hinweis {
  width: 100%;
  font-size: 0.78rem;
  color: #8fb0a8;
}

/* ---------- Unterseiten (Kontakt, Impressum, Datenschutz) ---------- */

.subpage {
  padding: 72px 0 96px;
  min-height: 60vh;
}
.subpage .wrap { max-width: 800px; }
.subpage h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin-bottom: 16px;
}
.subpage h2 {
  font-size: 1.35rem;
  margin: 40px 0 10px;
}
.subpage p, .subpage li {
  color: var(--text-muted);
  margin-bottom: 12px;
}
.subpage ul { padding-left: 22px; }
.subpage strong { color: var(--secondary); }
.subpage address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.placeholder {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 800;
}

.draft-note {
  background: var(--warning-soft);
  border: 1px dashed var(--warning);
  border-radius: var(--radius-small);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 28px 0;
}
.draft-note strong { color: var(--warning); }

.subpage .stand {
  margin-top: 48px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.subpage h3 {
  font-size: 1.05rem;
  margin: 26px 0 6px;
}
.subpage .untertitel {
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.legal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-small);
  padding: 20px 24px;
  margin: 16px 0;
}
.legal-box h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.subpage-contact .wrap { max-width: 1100px; }

/* ---------- Kompakt-Landingpage (Übergangsversion) ---------- */

.leistungen-kompakt {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.leistungen-kompakt li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 20px 22px;
}
.leistungen-kompakt h3 { font-size: 1.08rem; margin-bottom: 4px; }
.leistungen-kompakt p { color: var(--text-muted); font-size: 0.93rem; }

.coming-soon-section { padding-top: 0; }
.coming-soon {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 64px);
  box-shadow: var(--shadow);
}
.coming-soon .kicker { color: var(--primary); }
.coming-soon h2 { color: #f2f7f5; }
.coming-soon p {
  color: #b9cfc9;
  max-width: 640px;
  margin-top: 12px;
  font-size: 1.05rem;
}
.coming-soon strong { color: #f2f7f5; }
.coming-soon a { color: var(--primary); font-weight: 800; }

.kontakt-kompakt { padding-top: 0; }
.kontakt-kompakt .kontakt-cta { margin-top: 28px; }

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  section { padding: 72px 0; }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    gap: 18px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .steps, .gallery, .form-row, .leistungen-kompakt { grid-template-columns: 1fr; }
}
