/* Lato – lokal eingebunden, keine Verbindung zu Google */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/lato-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/lato-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/lato-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/lato-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0d2763;
  --navy-dark: #081a44;
  --blue: #1a7fe0;
  --blue-light: #e8f2fd;
  --text: #1c2433;
  --muted: #5a6478;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #d6deea;
  --error: #b42318;
  --success: #067647;
  --radius: 10px;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand img { width: 190px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--navy); font-weight: 700;
  padding: .45em .9em; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-light); }
.nav a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  padding: .8em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Hero */
/* Titelbild ohne Text: Überschrift und Buttons liegen als HTML im Himmel rechts.
   Auf schmalen Bildschirmen wandert der Text unter das Bild. */
.hero { position: relative; background: var(--navy-dark); color: #fff; }
.hero img { width: 100%; height: clamp(420px, 42.85vw, 760px); object-fit: cover; object-position: 30% center; }
.hero-content { position: absolute; inset: 0; display: flex; align-items: flex-start; }
/* Himmel oben rechts leicht abdunkeln, damit der Text auch über der hellen Skyline lesbar bleibt */
.hero-content::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 72% 22%, rgba(8, 26, 68, .55), rgba(8, 26, 68, .25) 55%, transparent 80%);
}
.hero-content .wrap { position: relative; }
.hero-content .wrap { width: 100%; }
.hero-text {
  max-width: 640px; margin-left: auto; margin-top: clamp(24px, 3.5vw, 60px); text-align: center;
  text-shadow: 0 2px 14px rgba(8, 26, 68, .55);
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: .35em; }
.hero .lead { font-size: clamp(1rem, 1.4vw, 1.2rem); margin: 0 auto 1.4em; max-width: 540px; opacity: .95; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--navy); }
@media (max-width: 760px) {
  .hero img { height: auto; aspect-ratio: 4 / 3; object-position: 18% center; }
  .hero-content { position: static; display: block; padding: 28px 0 36px; }
  .hero-content::before { display: none; }
  .hero-text { margin: 0 auto; text-shadow: none; }
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Leistungen */
.services { padding: 56px 0 64px; }
.services h2 { text-align: center; margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); }

/* Klickbare Leistungskarten */
.card-link {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card-link:hover, .card-link:focus-visible {
  transform: translateY(-3px); border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(13, 39, 99, .12); color: inherit;
}
.card-link .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--blue); }
.card-link:hover .more { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .card-link { transition: none; } .card-link:hover { transform: none; } }

/* Icons im Stil des Titelbilds: weiße Linie im Navy-Kreis mit blauem Leuchtring */
.icon-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #0b3277, #04163f 75%);
  border: 2px solid #a9dcff;
  box-shadow: 0 0 0 2px #1677ff, 0 0 10px 2px rgba(22, 119, 255, .75), inset 0 0 10px rgba(22, 119, 255, .5);
  color: #fff;
}
.icon-badge svg { width: 34px; height: 34px; }
.icon-badge-lg { width: 88px; height: 88px; }
.icon-badge-lg svg { width: 46px; height: 46px; }
#leistungen { scroll-margin-top: 96px; }

/* Leistungsseiten */
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.service-hero { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 8px; }
.service-hero .lead { font-size: 1.15rem; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .service-hero { flex-direction: column; gap: 16px; } }
.service-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .service-grid { grid-template-columns: 1fr; gap: 0; } }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; margin: .5em 0; }
/* Häkchen rein per CSS – die CSP erlaubt keine data:-Bilder */
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue-light);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: calc(.3em + 3px); width: 5px; height: 9px;
  border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.service-cta { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 2em; }
.service-cta h2 { margin-top: 0; }
.service-cta .btn { display: block; text-align: center; margin: 18px 0 8px; }
.more-services { padding-bottom: 0; }
.more-services h2 { text-align: left; margin-top: 2em; }

.band { background: var(--navy); color: #fff; padding: 48px 0; text-align: center; }
.band h2 { color: #fff; margin-top: 0; }
.band p { margin: 0 0 1.4em; opacity: .9; }
.band .btn { background: #fff; color: var(--navy); }
.band .btn:hover { background: var(--blue-light); }

/* Inhaltsseiten */
.page { padding: 48px 0 72px; }
.page address { font-style: normal; }
.page ul { padding-left: 1.2em; }
.page li { margin: .2em 0; }
.note { background: var(--bg-alt); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }

.form { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form h2 { margin-top: 0; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--error); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: .65em .8em; border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible {
  outline: 3px solid rgba(26,127,224,.4); outline-offset: 2px; border-color: var(--blue);
}
.hint { font-size: .9rem; color: var(--muted); }
/* Honeypot – für Menschen unsichtbar */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 700; }
.alert[hidden] { display: none; }
.alert-error { background: #fef3f2; color: var(--error); border: 1px solid #fecdca; }
.alert-success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c9d3e6; padding: 28px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.error-text { color: var(--error); margin: -10px 0 18px; }
.field .error-text { margin: 6px 0 0; }
[aria-invalid="true"] { border-color: var(--error); }

/* Leuchtende Icons (freigestellte Grafiken); Größe passend zu .icon-badge inkl. Leuchtrand */
.icon-img { width: 76px; height: 76px; margin: -6px; flex: none; }
.icon-img.icon-lg { width: 104px; height: 104px; margin: -8px; }

/* Opt-out Webanalyse (Datenschutzerklärung) */
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.optout .btn { font-size: .95rem; padding: .6em 1.2em; }
