/* ═══ Lokale Schriften (keine Verbindung zu Google) ═══
   DM Sans & DM Serif Display – SIL Open Font License 1.1, siehe /fonts/ */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-latin-400-italic.woff2') format('woff2');
}

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

:root {
  --ink: #0f1923;
  --ink-soft: #3a4a58;
  --ink-muted: #6b7a88;
  --accent: #1a4fcc;
  --accent-light: #e8eeff;
  --rule: #d5dde6;
  --bg: #f7f8fa;
  --white: #ffffff;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

/* ─── NAV ─── */
header > nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  min-height: calc(100vh - 64px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  align-items: center;
}

.hero-content { padding-right: 3rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.cred-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink-soft);
  background: var(--bg);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: #1340a8; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  color: var(--accent);
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-ghost:hover { opacity: 0.75; }

/* ─── PHOTO ─── */
 .hero-photo {
position: relative;
width: 420px;
flex-shrink: 0;
align-self: stretch;
display: flex;
align-items: flex-start;
justify-content: center;
}
.photo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--bg) 100%);
  border-radius: 12px;
}
.photo-img {
position: relative;
z-index: 1;
width: 100%;
height: auto;
border-radius: 12px;
display: block;
background: linear-gradient(160deg, var(--accent-light) 0%, var(--bg) 100%);
}

/* ─── DIVIDER ─── */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--rule);
}

/* ─── USP STRIP ─── */
.usp-strip {
  background: var(--ink);
  padding: 4rem 2rem;
}
.usp-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.usp-item {}
.usp-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.usp-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.usp-body {
  font-size: 0.88rem;
  color: #8fa5bc;
  line-height: 1.65;
}

/* ─── LEISTUNGEN ─── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 3rem;
  max-width: 560px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 2rem 2rem 2rem 2rem;
  position: relative;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg); }
.service-number {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.service-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-body {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── BRANCHE ─── */
.branche-section {
  background: var(--bg);
  padding: 5rem 2rem;
}
.branche-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.branche-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.branche-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.branche-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 1px;
}
.branche-highlight {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 2rem;
}
.branche-highlight .label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.branche-highlight p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.branche-highlight p:last-child { margin-bottom: 0; }

/* ─── ÜBER MICH ─── */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.quals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.qual-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
  border: 1px solid var(--rule);
}
.qual-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── KONTAKT ─── */
.contact-section {
  background: var(--ink);
  padding: 5rem 2rem;
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .section-label { color: #6b93b8; }
.contact-inner .section-headline { color: var(--white); max-width: 100%; margin-bottom: 1.5rem; }
.contact-sub {
  font-size: 1rem;
  color: #8fa5bc;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.contact-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  text-decoration: none;
  transition: background 0.2s;
}
.contact-card:hover { background: rgba(255,255,255,0.12); }
.contact-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b93b8;
  margin-bottom: 0.35rem;
}
.contact-card-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}
.contact-address {
  font-size: 0.82rem;
  color: #6b93b8;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: #080f18;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
footer p { font-size: 0.78rem; color: #44596d; }
footer a { color: #44596d; text-decoration: none; }
footer a:hover { color: #8fa5bc; }
.footer-links { display: flex; gap: 1.5rem; }

/* ─── SEMANTISCHE ÜBERSCHRIFTEN (vorher div) ─── */
h3.usp-title, h3.service-title { font-family: var(--sans); }
address { font-style: normal; }

/* ─── FAQ ─── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
  margin-top: 2.5rem;
}
.faq-item h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.faq-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: fadeUp 0.5s ease both; }
.hero-headline { animation: fadeUp 0.5s 0.1s ease both; }
.hero-sub    { animation: fadeUp 0.5s 0.2s ease both; }
.hero-creds  { animation: fadeUp 0.5s 0.3s ease both; }
.hero-cta    { animation: fadeUp 0.5s 0.4s ease both; }
.hero-photo  { animation: fadeUp 0.6s 0.15s ease both; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .hero-content { padding-right: 0; }
  .hero-photo { min-height: 360px; width: 100%; max-width: 420px; }
  .photo-img { max-height: 360px; }
  .usp-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .branche-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-section { grid-template-columns: 1fr; gap: 2rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  header > nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; }
}
@media (max-width: 600px) {
  header > nav { height: auto; padding: 0.75rem 1.25rem; flex-wrap: wrap; gap: 0.4rem 1rem; }
  .nav-links { gap: 1rem; flex-wrap: wrap; }
  .nav-links a { font-size: 0.8rem; }
  .hero { min-height: auto; padding: 2.5rem 1.25rem; }
}

/* ═══ ERGÄNZUNGEN STARTSEITE ═══ */
.service-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.service-more:hover { text-decoration: underline; }
.services-footer { margin-top: 2rem; }

.service-card-wide { grid-column: 1 / -1; }

/* ═══ LEISTUNGSSEITE ═══ */
.nav-links a[aria-current="page"] { color: var(--accent); }

.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 4rem 2rem 3.5rem;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}
.breadcrumb li + li::before { content: '›'; margin-right: 0.5rem; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 1.25rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 720px;
}

.toc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
}
.toc ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.toc a {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.toc a:hover { border-color: var(--accent); color: var(--accent); }

.svc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
  scroll-margin-top: 72px;
}
.svc:last-of-type { border-bottom: none; }
.svc h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.svc h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.svc p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.phase-list {
  list-style: none;
  counter-reset: phase;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.phase-list li {
  counter-increment: phase;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.phase-list li::before {
  content: counter(phase, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 0.2rem;
}
.phase-list strong { color: var(--ink); font-weight: 500; }

.svc-aside {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.75rem;
  position: sticky;
  top: 88px;
}
.svc-aside .label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.svc-aside dl { display: flex; flex-direction: column; gap: 0.9rem; }
.svc-aside dt { font-size: 0.75rem; color: var(--ink-muted); margin-bottom: 0.15rem; }
.svc-aside dd { font-size: 0.88rem; color: var(--ink); line-height: 1.5; }
.svc-aside .btn-primary { margin-top: 1.5rem; width: 100%; text-align: center; }

.process {
  background: var(--ink);
  padding: 5rem 2rem;
}
.process-inner { max-width: 1200px; margin: 0 auto; }
.process .section-label { color: #6b93b8; }
.process .section-headline { color: var(--white); }
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.process-steps h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin: 0.5rem 0;
}
.process-steps p { font-size: 0.88rem; color: #8fa5bc; line-height: 1.65; }
.process-steps .num { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); line-height: 1; }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.5rem; }
  .svc-aside { position: static; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 3rem 1.5rem 2.5rem; }
  .toc { padding: 2rem 1.5rem 0; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
}
