@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111318;
  --teal: #17999a;
  --cream: #f6f6f3;
  --gray-bg: #f5f6f7;
  --border: #dedfe2;
  --muted: #5b5f68;
  --footer-bg: #0e1014;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--teal); }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 { font-size: 4.8rem; margin-bottom: 24px; }
h2 { font-size: 2.6rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }

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

.section { padding: 65px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }

.btn-teal { background: var(--teal); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo span { color: var(--teal); }

.main-nav ul {
  display: flex;
  gap: 30px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--teal); }
.main-nav a.active { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: var(--cream);
  background-image:
    radial-gradient(circle at 85% 10%, rgba(255, 176, 0, 0.24), rgba(0, 0, 0, 0) 28%),
    radial-gradient(circle at 10% 90%, rgba(236, 91, 36, 0.15), rgba(0, 0, 0, 0) 30%);
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}

.checklist {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  background: var(--ink);
  border-radius: 32px;
  padding: 36px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-dot {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-watermark {
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-size: 13rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-card-content { position: relative; z-index: 1; }

.hero-card-title {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Services */
.services { background: var(--gray-bg); }

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

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 19, 24, 0.08);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--teal);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card-num {
  display: block;
  color: var(--teal);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.card p { color: var(--muted); font-size: 0.98rem; }

.card-arrow {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Why */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.tag-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.step-num {
  display: block;
  color: var(--teal);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.step p { color: var(--muted); }

/* Local stats */
.local { background: var(--gray-bg); }

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
}

.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label { color: var(--muted); font-weight: 600; font-size: 0.95rem; }

/* CTA */
.cta-section { padding: 65px 0; }

.cta {
  background: var(--ink);
  border-radius: 34px;
  padding: 64px;
  text-align: center;
  max-width: 100%;
}

.cta h2 { color: #fff; }
.lead-light { color: rgba(255, 255, 255, 0.7); margin: 0 auto 32px; }
.cta .eyebrow { margin-bottom: 14px; }
.cta .btn { margin-top: 8px; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo { color: #fff; margin-bottom: 14px; display: inline-block; }
.footer-brand .logo span { color: var(--teal); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); max-width: 320px; }

.footer-contact h4, .footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-contact p { color: rgba(255, 255, 255, 0.75); margin-bottom: 8px; }
.footer-contact a:hover, .footer-links a:hover { color: var(--teal); }
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.whatsapp-link svg { flex-shrink: 0; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-line svg { flex-shrink: 0; opacity: 0.75; }
.contact-line a, .contact-line span { display: inline-flex; align-items: center; gap: 8px; }

.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.75); }

.footer-bottom {
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
}

/* Page header (subpages) */
.page-header {
  background: var(--cream);
  padding: 40px 0 60px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--teal); }

.page-header h1 { font-size: 3.2rem; margin-bottom: 18px; overflow-wrap: break-word; }
.page-header .lead { max-width: 680px; }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.benefit-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-weight: 600;
}
.benefit-list li:last-child { border-bottom: 1px solid var(--border); }
.benefit-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
}

.side-card {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
}
.side-card h3 { color: #fff; font-size: 1.5rem; }
.side-card p { color: rgba(255, 255, 255, 0.7); margin: 14px 0 24px; }

/* Referenzen */
.ref-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ref-gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
}
.ref-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.ref-gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(17, 19, 24, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 600px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 14px; }
}

.ref-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}
.ref-card-media {
  height: 200px;
  background:
    linear-gradient(135deg, rgba(23,153,154,0.18), rgba(255,176,0,0.14)),
    var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ref-card-body { padding: 26px 28px 30px; }
.ref-card-body p { color: var(--muted); font-size: 0.95rem; }
.ref-note {
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--gray-bg);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Ratgeber */
.post-list { display: flex; flex-direction: column; gap: 20px; }
.post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
}
.post-date {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card p { color: var(--muted); margin: 10px 0 14px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 { margin-top: 28px; font-size: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 6px; }
.contact-info a:hover { color: var(--teal); }
.contact-hint {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--gray-bg);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
}

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

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.field-checkbox input { width: auto; margin-top: 3px; }

.contact-form .btn { width: 100%; border: none; cursor: pointer; }

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.form-status-success { background: rgba(23, 153, 154, 0.12); color: #0f6f70; }
.form-status-error { background: rgba(217, 66, 66, 0.1); color: #b23a3a; }

/* Legal pages */
.legal-content {
  padding: 60px 24px 90px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 36px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 6px;
}
.legal-content p { color: var(--muted); margin-bottom: 14px; }
.legal-content .notice {
  margin-top: 10px;
  padding: 18px 20px;
  background: var(--gray-bg);
  border-radius: 16px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; gap: 8px; }
  .main-nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0 8px;
  }
  .main-nav ul li { border-top: 1px solid var(--border); }
  .main-nav ul a { display: block; padding: 12px 4px; }
  .nav-open .main-nav { max-height: 400px; }
  .nav-toggle { display: flex; }
  .header-inner .btn-dark { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .ref-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .page-header h1 { font-size: 2.6rem; }
}

@media (max-width: 600px) {
  .grid3 { grid-template-columns: 1fr; }
  .ref-gallery { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .cta { padding: 40px 24px; }
  h1 { font-size: 2.4rem; }
  .page-header h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}
