/* ---------------------------------------------------------------
   Farben aus dem Logo
   --------------------------------------------------------------- */
:root {
  --c-primary:      #082149;  /* Logo-Blau */
  --c-primary-deep: #061630;  /* Header / Footer */
  --c-accent:       #e60c23;  /* Logo-Rot */
  --c-accent-deep:  #c00a1d;  /* Hover */
  --c-accent-text:  #c40b20;  /* Rot für kleine Schrift (Kontrast) */
  --c-bg:           #ffffff;
  --c-surface:      #f3f5f8;
  --c-line:         #dde3ea;
  --c-text:         #18222e;
  --c-muted:        #4e5b6c;
  --c-on-dark:      #e9eef4;
  --c-on-dark-muted:#a9b6c5;

  --radius: 4px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-primary); text-underline-offset: 2px; }
a:hover { color: var(--c-accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--c-primary); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: none;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-deep); color: #fff; }
.btn-ghost { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-ghost:hover { background: var(--c-primary); color: #fff; }

/* Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-primary-deep);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--c-on-dark); font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 9px 16px; font-size: 15px; color: #fff; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 36px; }
}

/* Hero ------------------------------------------------------------ */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.hero-inner { max-width: 840px; }
.hero-bar { display: block; width: 48px; height: 4px; background: var(--c-accent); margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 700; line-height: 1.08; margin-bottom: 22px; }
.hero .tagline { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; color: var(--c-primary); margin: 0; }
.hero .tagline span { display: block; color: var(--c-accent); }
.hero .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--c-muted); max-width: 34em; margin: 26px 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections -------------------------------------------------------- */
section { scroll-margin-top: 80px; }
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--c-surface); }
.section-head { max-width: 680px; margin-bottom: 48px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p, .intro { color: var(--c-muted); font-size: 18px; margin: 0; }

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.points li:first-child { padding-top: 6px; }
.points li:last-child { border-bottom: 0; }
.points .mark { width: 12px; height: 12px; background: var(--c-accent); margin-top: 8px; }
.points strong { display: block; color: var(--c-primary); font-size: 19px; }
.points p { color: var(--c-muted); margin: 4px 0 0; font-size: 17px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 32px 32px 30px;
}
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--c-muted); font-size: 17px; margin: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; color: var(--c-text); font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.card li:last-child { margin-bottom: 0; }
.card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--c-accent); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info .mail {
  display: inline-block; margin-top: 8px;
  font-size: 20px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--c-accent); padding-bottom: 2px;
}

form { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--c-text); }
label .opt { font-weight: 400; color: var(--c-muted); }
input, textarea {
  width: 100%;
  font: inherit; font-size: 16px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid #c3ccd7;
  border-radius: var(--radius);
  padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(8,33,73,.15); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--c-muted); margin: 4px 0 20px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; }
.form-status.ok { display: block; background: #e8f4ec; color: #1d5a32; border-left: 4px solid #2e7d4a; }
.form-status.err { display: block; background: #fbeaec; color: #7d1626; border-left: 4px solid var(--c-accent); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; gap: 0; } }

/* Footer ---------------------------------------------------------- */
.site-footer { background: var(--c-primary-deep); color: var(--c-on-dark-muted); font-size: 14px; }
.site-footer a { color: var(--c-on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 28px; width: auto; }
