/* ---------- Lokale Schriften (kein Google-Server-Aufruf mehr) ---------- */
@font-face { font-family:'Archivo'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/archivo-700.woff2') format('woff2'); }
@font-face { font-family:'Archivo'; font-style:normal; font-weight:800; font-display:swap; src:url('fonts/archivo-800.woff2') format('woff2'); }
@font-face { font-family:'Archivo'; font-style:normal; font-weight:900; font-display:swap; src:url('fonts/archivo-900.woff2') format('woff2'); }
@font-face { font-family:'Arimo'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/arimo-400.woff2') format('woff2'); }
@font-face { font-family:'Arimo'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/arimo-600.woff2') format('woff2'); }
@font-face { font-family:'Arimo'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/arimo-700.woff2') format('woff2'); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Arimo','Helvetica Neue',Helvetica,Arial,sans-serif; color: #16283A; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
::selection { background: #004F9F; color: #FFFFFF; }
img { max-width: 100%; display: block; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #E4EAF0;
  transition: box-shadow .25s ease, background .25s ease;
}
header.site-header.scrolled { box-shadow: 0 8px 24px rgba(0,42,84,0.08); background: rgba(255,255,255,0.97); }

.nav-link { position: relative; padding-bottom: 4px; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: #E30613; transform: scaleX(0); transform-origin: right;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover { color: #004F9F !important; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { transition: background .2s, transform .2s, box-shadow .2s; }
.nav-cta:hover { background: #003A75 !important; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,79,159,0.25); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: #16283A; display: block; transition: transform .25s, opacity .25s; }
.mobile-menu {
  display: none; position: fixed; top: 66px; left: 0; right: 0; background: #FFFFFF;
  border-bottom: 1px solid #E4EAF0; z-index: 60; flex-direction: column;
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 340px; }
.mobile-menu a { padding: 16px 32px; border-bottom: 1px solid #E4EAF0; font-weight: 600; color: #43566A; transition: background .2s, color .2s; }
.mobile-menu a:hover { background: #F4F7FA; color: #004F9F; }
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero-stripes span { transition: transform .1s linear; }
.hero-cta-primary { transition: transform .25s ease, box-shadow .25s ease, background .2s; }
.hero-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,0.18); }
.hero-cta-secondary { transition: background .2s, border-color .2s, transform .25s; }
.hero-cta-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* ---------- Nummern-Liste ---------- */
.punkt-row { transition: background .25s, padding-left .25s; border-radius: 8px; }
.punkt-row:hover { background: #F4F7FA; padding-left: 10px; }
.punkt-row .punkt-nummer { transition: color .25s; }
.punkt-row:hover .punkt-nummer { color: #E30613; }

/* ---------- Karten ---------- */
.service-card { transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s; position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: #E30613; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,79,159,0.14); border-color: #C7DAEC; }
.service-card:hover::before { transform: scaleX(1); }

/* ---------- Formular ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #004F9F; }
.field input, .field textarea {
  border: 1px solid #E4EAF0; border-radius: 8px; padding: 12px 14px; font-size: 15px;
  font-family: 'Arimo', sans-serif; color: #16283A; background: #FFFFFF; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #004F9F; box-shadow: 0 0 0 3px rgba(0,79,159,0.12); }
.field textarea { resize: vertical; min-height: 100px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #6B8298; margin-bottom: 18px; }
.checkline input { margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.submit-btn {
  background: #004F9F; color: #FFFFFF; border: none; padding: 14px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.submit-btn:hover { background: #003A75; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,79,159,0.25); }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.form-msg.ok { background: #EAF7EF; color: #1E8449; border: 1px solid #C8E9D3; }
.form-msg.error { background: #FDEDEC; color: #C0392B; border: 1px solid #F5C6C1; }

/* ---------- Footer / echtes Logo ---------- */
.footer-logo { position: relative; display: inline-block; }
.footer-logo .zeile1 { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #DCEAF7; }
.footer-logo .zeile2 { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #7FA6CE; }
.footer-link { color: #7FA6CE; transition: color .2s; }
.footer-link:hover { color: #FFFFFF; }

/* ---------- Impressum / Recht ---------- */
.legal-content h3 { font-family: 'Archivo', sans-serif; color: #004F9F; margin: 34px 0 14px; font-size: 20px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.65; color: #43566A; margin: 0 0 12px; }
.legal-content .platzhalter { color: #E30613; font-weight: 600; }

/* ---------- Placeholder-Seite ---------- */
.placeholder-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #004F9F; color: #fff; text-align: center; padding: 40px;
}
.placeholder-page .inner { max-width: 520px; }
.placeholder-page .wortmarke { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 48px; margin-bottom: 6px; }
.placeholder-page h1 { font-family: 'Archivo', sans-serif; font-size: 26px; margin: 26px 0 14px; }
.placeholder-page p { font-size: 16px; color: #DCEAF7; line-height: 1.6; }
.placeholder-page .kontakt { margin-top: 30px; font-size: 15px; color: #fff; }
