/* MVZ-KI Beratung – Bauhaus-Grundgerüst (Navy, Amber, Paper) */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.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-normal.woff2") format("woff2");
}

:root {
  --navy: #0A1628;
  --amber: #D4A843;
  --paper: #F8F6F1;
  --paper-2: #F1EDE4;
  --muted: #4B5567;
  --line: #D9D3C6;
  --wrap: 1040px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

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

/* Kopf */
.site-header {
  border-top: 3px solid var(--amber);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand img { width: 40px; height: auto; display: block; }
.header-link {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.header-link:hover { color: var(--navy); text-decoration: underline; }

/* Inhalt */
main { flex: 1; }

.hero {
  padding: 88px 0 72px;
}
.hero-inner {
  border-left: 4px solid var(--amber);
  padding-left: 28px;
  max-width: 760px;
}
.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
h1, h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(36px, 6vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 20px; }
h3 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; }

.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 620px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--navy);
  border-radius: 0;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: #16294A; border-color: #16294A; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--paper-2); }
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.hint {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Trennlinie: kurz, Navy */
.rule {
  width: 72px;
  height: 3px;
  background: var(--navy);
  border: 0;
  margin: 0;
}

.contact { padding: 56px 0 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.contact-grid .k {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-grid a { text-decoration: none; }
.contact-grid a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal { padding: 64px 0 80px; }
.legal .text { max-width: 720px; }
.legal p, .legal li { color: var(--navy); }
.legal ul { padding-left: 20px; }
.legal .back { display: inline-block; margin-bottom: 32px; font-size: 15px; color: var(--muted); }

/* Fuß */
.site-footer {
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .hero-inner { padding-left: 18px; }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .header-link { display: none; }
}
