/* Schwerpunkt — Services-Website. Weiß, minimal, professionell B2B. */

:root {
  --bg: #ffffff;
  --ink: #14181a;
  --ink-soft: #2c3438;
  --muted: #6a7479;
  --line: #e9ecee;
  --line-strong: #d8dde0;
  --accent: #1f6f54;
  --accent-dark: #16523e;
  --accent-soft: #eef5f2;
  --max: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--accent-dark); margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo .dim { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.ext::after { content: " ↗"; color: var(--muted); font-size: 12px; }
.nav-cta { background: var(--ink); color: #fff !important; padding: 9px 18px; border-radius: 10px; font-weight: 600; }
.nav-cta:hover { background: #000; text-decoration: none; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-radius: 11px; padding: 13px 22px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; font-size: 15px; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: #f6f8f8; }

/* Hero */
.hero { padding: 104px 0 76px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; max-width: 16ch; margin: 0 0 24px; }
.hero .lead { font-size: 21px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dot { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, #dfe6e3 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 75%); opacity: .8; }

/* Section heads */
.sec-head { max-width: 60ch; margin: 0 0 44px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin: 0 0 14px; }

/* Product cards (Anträge / Karten) */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; display: flex; flex-direction: column; }
.product:hover { border-color: var(--line-strong); box-shadow: 0 14px 40px rgba(16,40,32,.07); transform: translateY(-2px); }
.product-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product h3 { font-size: 23px; font-weight: 700; margin: 0 0 10px; }
.product p { color: var(--ink-soft); margin: 0 0 18px; }
.product ul { list-style: none; padding: 0; margin: 0 0 26px; }
.product li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 14.5px; color: var(--ink-soft); }
.product li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.product .product-foot { margin-top: auto; }

/* Feature grid (Leistungen) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 28px; }
.feature h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* References */
.refs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.ref-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.ref-card .tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 4px 11px; margin-bottom: 16px; }
.ref-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.ref-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; }
.ref-card .meta { font-size: 13px; color: var(--muted); }

/* Generic prose (legal, about, kontakt) */
.page-head { padding: 80px 0 0; }
.page-head h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin: 8px 0 14px; }
.prose { max-width: 75ch; }
.prose h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 40px 0 10px; font-weight: 700; }
.prose p { color: var(--ink-soft); margin: 0 0 14px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card .k { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; font-weight: 700; }
.contact-card .v { font-size: 20px; font-weight: 700; color: var(--ink); }
.contact-card .v a { color: var(--ink); }

/* CTA band */
.cta { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #fbfdfc, #f3f7f5); padding: 56px; text-align: center; }
.cta h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin: 0 0 12px; }
.cta p { color: var(--ink-soft); margin: 0 auto 26px; max-width: 48ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fafbfb; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 56px 0 32px; }
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 0; max-width: 34ch; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .products, .grid-3, .refs, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 60px 0; }
  .hero { padding: 72px 0 56px; }
  .cta { padding: 40px 24px; }
}
