/* ============================================================
   Speidel Consulting & Ventures – Stylesheet
   Light, premium, minimalist. No external resources.
   ============================================================ */

:root {
  --bg:        #FAFAF7;
  --surface:   #FFFFFF;
  --surface-2: #F4F3EE;
  --ink:       #0B1220;
  --ink-soft:  #2A3142;
  --muted:     #6B7280;
  --line:      #E6E6E1;
  --accent:    #1B3A6B;
  --accent-2:  #C9A961;
  --max-w:     1180px;
  --radius-s:  6px;
  --radius-m:  10px;
  --radius-l:  16px;
  --shadow-s:  0 1px 2px rgba(11, 18, 32, .04);
  --shadow-m:  0 8px 28px rgba(11, 18, 32, .08);
  --t:         .2s cubic-bezier(.2,.7,.3,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01";
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--accent); color: #fff; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ----------- Language toggle (CSS-driven) ----------- */
html:not([data-lang="en"]) .lang-en { display: none !important; }
html[data-lang="en"] .lang-de       { display: none !important; }

/* ----------- Header ----------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Kopf-Variante des Logos (assets/logo-zweizeilig.svg): wie das volle Logo,
   aber ohne "GmbH" und mit groesserer Unterzeile, die sonst in dieser Groesse
   unlesbar waere. Das volle Logo liegt als assets/logo.svg bereit. */
.brand img {
  display: block;
  height: 56px;
  width: auto;
}
@media (max-width: 640px) { .brand img { height: 48px; } }
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right { gap: 12px; }
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: var(--surface);
}
.lang-switch button {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  transition: color var(--t), background var(--t);
}
.lang-switch button.active {
  background: var(--ink);
  color: #fff;
}

/* ----------- Hero ----------- */
.hero {
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -240px; right: -240px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(27,58,107,0.10), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,169,97,0.10), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

h1.hero-title {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 28px;
}
h1.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.55;
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background var(--t), border-color var(--t), color var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(3px); }

/* ----------- Sections ----------- */
section { padding: 112px 0; position: relative; }
@media (max-width: 640px) { section { padding: 80px 0; } }

.section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.section-eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
h2.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}

/* ----------- Services ----------- */
.services {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.svc-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: background var(--t);
}
.svc-card:hover { background: #FBFBF6; }
.svc-num {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.svc-card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.svc-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: auto;
}

/* ----------- About ----------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-text p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.7;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--ink); font-weight: 600; }

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-s);
}
.about-card dl { margin: 0; }
.about-card dt {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.about-card dd {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 22px;
  margin-left: 0;
}
.about-card dd:last-of-type { margin-bottom: 0; }
.about-card dd a:hover { color: var(--accent); text-decoration: underline; }

/* ----------- Contact CTA ----------- */
.contact {
  padding: 112px 0;
}
.contact-block {
  text-align: center;
  padding: 80px 32px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
}
.contact-block::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 70%);
  pointer-events: none;
}
.contact-block::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(27,58,107,0.4), transparent 70%);
  pointer-events: none;
}
.contact-block > * { position: relative; z-index: 1; }
.contact-block h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-weight: 600;
}
.contact-block p {
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.6;
}
.contact-block a.mailto {
  font-size: clamp(20px, 2.6vw, 30px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: border-color var(--t);
  display: inline-block;
}
.contact-block a.mailto:hover { border-bottom-color: var(--accent-2); }

/* ----------- Footer ----------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
}
.footer-links button,
.footer-links a {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: color var(--t);
}
.footer-links button:hover,
.footer-links a:hover { color: var(--ink); }

/* ----------- Rechtstexte (Impressum, Datenschutz) ----------- */
.legal-page { padding: 72px 0 96px; }
@media (max-width: 640px) { .legal-page { padding: 48px 0 72px; } }
.legal { max-width: 760px; }
.legal h1 {
  font-size: 36px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.legal .legal-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 32px 0 10px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 15px;
}
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .placeholder {
  color: var(--accent-2);
  font-weight: 500;
}

/* ----------- Reduced motion ----------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}
