:root {
  --blue: #1f6fd8;
  --blue-dark: #15529f;
  --navy: #0f2c52;
  --navy-dark: #0b1a30;
  --ink: #101828;
  --muted: #5a6472;
  --muted2: #465268;
  --muted3: #3a4454;
  --border: #e3edf7;
  --tint: #eaf4fd;
  --tint2: #dbeefc;
  --soft: #f6faff;
  --gray: #8a94a3;
  --danger: #d92d20;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; color: var(--blue); }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::placeholder { color: #92a3b8; }
img { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-mid { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 9px; font-weight: 700; font-size: 15px; padding: 14px 26px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid #bcdcfa; }
.btn-outline:hover { background: var(--tint); color: var(--blue-dark); }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: #eef4fb; }
.btn-ghost-dark { background: transparent; color: var(--tint); border: 1px solid #3f6698; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.08); }
.btn-tint { background: var(--tint); color: var(--blue-dark); border-radius: 7px; }
.btn-tint:hover { background: #d9ecfb; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }
.btn-xs { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.header-inner { padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg,#2d7ce0,#1a4f9c); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark-drop { width: 16px; height: 16px; border: 2.5px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(45deg); }
.brand-name { font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1; display: block; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .03em; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-link { font-size: 14px; color: #33404f; font-weight: 500; }
.nav-link.is-active, .nav-link:hover { color: var(--blue); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link { color: var(--ink); font-weight: 600; font-size: 14px; display: none; }
.cart-btn { position: relative; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); border: none; display: flex; align-items: center; justify-content: center; }
.cart-icon { width: 16px; height: 12px; border: 2px solid var(--blue); border-top: none; border-radius: 0 0 3px 3px; }
.cart-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.cart-badge[hidden] { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Sections / typography ---------- */
.section { padding: 72px 24px; }
.section-soft { background: var(--soft); padding: 72px 24px; }
.page-hero { background: var(--tint); padding: 56px 24px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.eyebrow.small { font-size: 12px; margin-bottom: 6px; display: inline-block; }
.h1 { font-size: 44px; line-height: 1.1; margin: 18px 0 16px; font-weight: 800; color: #0b1220; }
.h1.sm { font-size: 34px; margin: 8px 0 12px; }
.h2 { font-size: 30px; margin: 6px 0 0; font-weight: 800; color: #0b1220; }
.h2.sm { font-size: 26px; }
.h2.light { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.lead { font-size: 17px; color: var(--muted2); line-height: 1.6; max-width: 520px; }
.lead.center-text { max-width: 640px; margin: 0 auto; font-size: 15px; }
.center { text-align: center; }
.center-text { text-align: center; }
.mb-sm { margin-bottom: 10px; }
.mb-md { margin-bottom: 20px; }
.mb-lg { margin: 6px 0 32px; }
.mb-xl { margin-bottom: 40px; }
.mb-xxl { margin-bottom: 40px; }
.mt-lg { margin-top: 20px; }
.mt-sm { margin-top: 6px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.link-more { cursor: pointer; font-weight: 700; color: var(--blue); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg,var(--tint),#fff); padding: 64px 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.badge { display: inline-block; background: #dcecfb; color: var(--blue-dark); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; letter-spacing: .03em; }
.btn-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.stat-row { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.stat-num { font-weight: 800; font-size: 22px; color: var(--ink); }
.stat-label { font-size: 13px; color: var(--muted); }
.hero-media { border-radius: 20px; overflow: hidden; border: 1px solid #cfe4f8; }
.ph-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy); padding: 26px 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 18px; text-align: center; color: var(--tint); font-size: 14px; font-weight: 600; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
.grid-3-w { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
.grid-4-w { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 22px; }

.card { border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.service-card { padding: 24px; background: #fbfdff; }
.icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); margin-bottom: 14px; }
.icon-box-lg { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
.card-title { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.card-title.sm { font-size: 15px; margin-bottom: 6px; }
.card-text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.card-body { padding: 16px; }

.dot-box { width: 46px; height: 46px; border-radius: 12px; background: var(--blue); margin-bottom: 14px; }
.feat-title { font-weight: 700; margin-bottom: 6px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 12px; }

.product-card { overflow: hidden; }
.product-media { background: repeating-linear-gradient(45deg,#dbeefc,#dbeefc 10px,#eef6fd 10px,#eef6fd 20px); overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price { font-weight: 800; color: var(--blue); font-size: 16px; }

.article-card { display: block; overflow: hidden; }
.article-media { background: repeating-linear-gradient(45deg,#dbeefc,#dbeefc 10px,#eef6fd 10px,#eef6fd 20px); overflow: hidden; }
.article-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.muted-sm { font-size: 13px; color: var(--muted); }
.muted-sm.lg { font-size: 14px; }

.testimonial-card { padding: 24px; }
.stars { color: var(--blue); font-size: 14px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--muted3); line-height: 1.6; margin-bottom: 16px; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--ink); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row.center { justify-content: center; }
.chip { background: var(--tint); color: var(--blue-dark); padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; }

.cta-section { padding: 0 24px 72px; }
.cta-box { background: linear-gradient(135deg,var(--blue),#0f3e82); padding: 56px 24px; margin: 24px auto; border-radius: 22px; max-width: 1192px; text-align: center; }
.cta-text { color: #dceafc; font-size: 15px; margin: 0 0 24px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-flat { padding: 48px 24px; text-align: center; }
.cta-flat .h2 { margin-bottom: 16px; }

/* ---------- Services page ---------- */
.stack-lg { display: flex; flex-direction: column; gap: 20px; }
.stack-md { display: flex; flex-direction: column; gap: 18px; }
.service-row { border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 24px; }
.service-row-title { font-weight: 800; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item { font-size: 14px; color: var(--muted3); display: flex; gap: 8px; }
.check-item span { color: var(--blue); }

/* ---------- Pricing ---------- */
.price-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 48px; }
.price-table-head { background: var(--navy); color: #fff; display: grid; grid-template-columns: 2fr 1fr; padding: 14px 20px; font-weight: 700; font-size: 14px; }
.price-row { display: grid; grid-template-columns: 2fr 1fr; padding: 16px 20px; border-top: 1px solid #eef2f6; font-size: 14px; }
.price-name { color: var(--ink); font-weight: 600; }
.price-val { color: var(--blue); font-weight: 700; }
.pkg-card { border: 1.5px solid var(--border); border-radius: 16px; padding: 26px; background: #fbfdff; }
.pkg-highlight { border-color: var(--blue); background: var(--tint); }
.pkg-name { font-weight: 800; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.pkg-price { font-weight: 800; font-size: 26px; color: var(--blue); margin-bottom: 14px; }
.fine-print { font-size: 13px; color: var(--gray); margin-top: 24px; }

/* ---------- Blog post ---------- */
.back-link { color: var(--blue); font-weight: 700; font-size: 14px; }
.article-title { line-height: 1.25; }
.article-hero { border-radius: 16px; overflow: hidden; margin-bottom: 32px; }
.article-body { display: flex; flex-direction: column; gap: 18px; }
.article-body p { font-size: 16px; line-height: 1.75; color: #2f3a4a; margin: 0; }
.related-block { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 32px; }
.related-card { display: block; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.related-card:hover { border-color: var(--blue); }

/* ---------- About ---------- */
.about-media { border-radius: 16px; overflow: hidden; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; background: var(--tint2); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-role { font-size: 13px; color: var(--blue); font-weight: 600; margin: 4px 0 10px; }
.cert-box { border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; color: var(--ink); }
.faq-sign { color: var(--blue); font-size: 18px; }
.faq-a { font-size: 14px; color: var(--muted); line-height: 1.6; padding: 0 20px 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.contact-media { border-radius: 14px; overflow: hidden; }
.contact-form-box { border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-form, .cart-form { display: flex; flex-direction: column; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  padding: 12px 14px; border: 1px solid #d8e6f5; border-radius: 8px; font-size: 14px; width: 100%; color: var(--ink); background: #fff;
}
select { color: var(--muted3); }
textarea { resize: vertical; }
.consent-label { display: flex; gap: 8px; font-size: 12px; color: var(--muted); align-items: flex-start; }
.consent-label input { margin-top: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 13px; min-height: 18px; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: #067647; }
.form-success, .cart-success { text-align: center; padding: 40px 0; }
.success-icon { font-size: 40px; margin-bottom: 12px; color: var(--blue); }
.success-title { font-weight: 800; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.success-text { font-size: 14px; color: var(--muted); }

/* ---------- Legal ---------- */
.legal-body { display: flex; flex-direction: column; gap: 20px; font-size: 15px; line-height: 1.7; color: #2f3a4a; }
.impressum-box { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; color: #2f3a4a; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }

/* ---------- Cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(10,20,35,.45); z-index: 60; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px,100vw); background: #fff; z-index: 61; box-shadow: -8px 0 30px rgba(0,0,0,.15); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-title { font-weight: 800; font-size: 17px; color: var(--ink); }
.cart-close { background: none; border: none; font-size: 20px; color: var(--muted); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; padding: 40px 0; color: var(--gray); font-size: 14px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #f0f4f8; padding-bottom: 14px; }
.cart-item-media { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: repeating-linear-gradient(45deg,#dbeefc,#dbeefc 6px,#eef6fd 6px,#eef6fd 12px); }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 13px; color: var(--ink); }
.cart-item-price { font-size: 12px; color: var(--muted); }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #d8e6f5; background: #fff; font-weight: 700; }
.qty-val { font-size: 13px; font-weight: 600; min-width: 16px; text-align: center; }
.cart-item-remove { cursor: pointer; color: var(--danger); font-size: 16px; margin-left: 4px; background: none; border: none; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; color: var(--ink); margin-top: 8px; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: var(--navy); color: var(--tint); padding: 18px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cookie-text { font-size: 13px; max-width: 640px; line-height: 1.5; }
.cookie-text a { color: var(--tint); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #a9bdd6; padding: 56px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 10px; }
.footer-text { font-size: 13px; line-height: 1.7; }
.footer-heading { font-weight: 700; color: #fff; margin-bottom: 12px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-links a { color: #a9bdd6; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1c3252; font-size: 12px; text-align: center; color: #7690b3; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { flex-basis: 100%; display: none; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 8px 0; width: 100%; }
}
@media (max-width: 600px) {
  .h1 { font-size: 32px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-table-head, .price-row { grid-template-columns: 1.6fr 1fr; }
}
