:root {
  --bg: #0b0d12;
  --bg-alt: #12151c;
  --text: #eef0f3;
  --text-dim: #9aa2b1;
  --accent: #4fd1c5;
  --border: #232838;
  --max-width: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.site-header img.logo {
  height: 34px;
  width: auto;
  display: block;
}

nav.site-nav a {
  color: var(--text-dim);
  margin-left: 28px;
  font-size: 15px;
}
nav.site-nav a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 100px 0 90px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.hero p.lead {
  color: var(--text-dim);
  font-size: 19px;
  max-width: 640px;
  margin: 0 auto 34px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  background: var(--accent);
  color: #08201d;
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { text-decoration: none; opacity: 0.9; }

section { padding: 70px 0; }

section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h2.section-title {
  font-size: 28px;
  margin: 0 0 12px;
  text-align: center;
}

p.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

.about p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 16px;
}

.contact { text-align: center; }
.contact p { color: var(--text-dim); }
.contact .email { font-size: 18px; font-weight: 600; margin-top: 28px; }

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.contact-form .field { margin-bottom: 18px; }

.contact-form label {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea { resize: vertical; min-height: 130px; }

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

/* Honeypot field: hidden from real visitors, left for bots to fill in */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-notice {
  display: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-notice.show { display: block; }
.form-notice.success { background: rgba(79, 209, 197, 0.1); border: 1px solid rgba(79, 209, 197, 0.35); color: var(--accent); }
.form-notice.error { background: rgba(220, 90, 90, 0.1); border: 1px solid rgba(220, 90, 90, 0.35); color: #e08585; }

footer.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
}

footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

footer.site-footer nav a { margin-left: 18px; }
footer.site-footer nav a:first-child { margin-left: 0; }

/* Legal pages (Impressum / Datenschutz) */
.legal { padding: 70px 0 100px; }
.legal h1 { font-size: 30px; margin-bottom: 30px; }
.legal h2 { font-size: 19px; margin-top: 40px; }
.legal p, .legal address { color: var(--text-dim); font-style: normal; }
