/* butler.de – Marketing-Website (gemeinsamer Stil aller Seiten) */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f7faff;
  --surface: #ffffff;
  --ink: #13255c;
  --text: #13255c;
  --text-muted: #556488;
  --text-soft: #8592b0;
  --muted: #556488;
  --line: #e7ecf7;
  --border: #e7ecf7;
  --border-strong: #cfdaee;
  --blue: #2163ff;
  --blue-dark: #1a52d2;
  --blue-soft: #edf3ff;
  --primary: #2163ff;
  --primary-hover: #1a52d2;
  --primary-soft: #edf3ff;
  --accent: #0fa66b;
  --accent-soft: #e6f5ee;
  --warning: #b07300;
  --danger: #c8362a;
  --shadow-sm: 0 1px 3px rgba(16, 38, 95, .06);
  --shadow-md: 0 10px 30px rgba(16, 38, 95, .12);
  --shadow-hero: 0 28px 56px rgba(17, 44, 108, .13);
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --focus: 0 0 0 3px rgba(33, 99, 255, 0.22);
  --maxw: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }

img { max-width: 100%; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5rem; line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .75rem; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
.soft { color: var(--text-soft); }
.center { text-align: center; }

.container { width: min(var(--maxw), calc(100% - 80px)); margin: 0 auto; }
@media (max-width: 1024px) { .container { width: calc(100% - 24px); } }

a:focus, .btn:focus, summary:focus, button:focus {
  outline: none;
  box-shadow: var(--focus);
}

/* ---------- Header ---------- */
.site-header,
header.topbar-host,
header > .topbar { /* Fallback */ }

.topbar {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 172px; height: auto; display: block; }
.brand:hover { text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #314474;
}
.site-nav a { color: #314474; }
.site-nav a:hover { color: var(--blue); }
.site-nav a.active { color: var(--blue); }

.topbar-cta { display: flex; align-items: center; gap: 16px; }
.topbar-login {
  color: #314474;
  font-size: 0.94rem;
  font-weight: 600;
}
.topbar-login:hover { color: var(--blue); }

.menu-button {
  display: none;
  width: 36px; height: 36px;
  border: 0; background: transparent;
  color: #4e5f87;
  font-size: 1.35rem; line-height: 1;
  align-items: center; justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 6px 0;
}
.mobile-menu a {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: #1a2c5f;
}
.mobile-menu a:last-child { border-bottom: 0; color: var(--blue); }
.mobile-menu.is-open { display: flex; }

@media (max-width: 1024px) {
  .topbar { height: 70px; }
  .brand img { width: 126px; }
  .site-nav { display: none; }
  .topbar-login { display: none; }
  .desktop-cta { display: none; }
  .menu-button { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  height: 44px;
  padding: 0 22px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, border-color .14s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary, .btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(33, 99, 255, 0.28);
}
.btn-primary:hover, .btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--blue); box-shadow: none; }
.btn.ghost:hover { background: var(--blue-soft); color: var(--blue); }
.btn.lg { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn.small { height: 32px; padding: 0 12px; font-size: .82rem; }

.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(33, 99, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .73rem;
  font-weight: 800;
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 1rem; }
.hero p.lead { margin: 0 auto 1.75rem; }
.hero-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust { margin-top: 2rem; color: var(--text-soft); font-size: .85rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.alt { background: var(--bg-alt); }
section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
section .section-head .lead { margin: 0 auto; }

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.feature h3 { margin-bottom: .35rem; color: var(--ink); }
.feature p { color: var(--muted); margin-bottom: 0; }
.feature .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: .75rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: .75rem;
}
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #2163ff 0%, #1a52d2 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 540px; margin: .5rem auto 1.5rem; }
.cta-banner .btn { background: #fff; color: var(--blue); border-color: #fff; }
.cta-banner .btn:hover { background: #f0f3ff; color: var(--blue); }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: #fff;
  margin: 0 auto 2rem;
}
.pricing-toggle button {
  border: none;
  background: transparent;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}
.pricing-toggle button.active { background: var(--blue); color: #fff; }
.pricing-toggle .save {
  margin-left: .35rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.plan.featured, .plan.recommended {
  border-color: var(--blue);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(33, 99, 255, .10);
}
.plan .badge-popular {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.1rem; color: var(--muted); font-weight: 700; }
.plan .price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: .25rem 0 0;
  letter-spacing: -.02em;
  color: var(--ink);
}
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan .price-hint { color: var(--text-soft); font-size: .85rem; margin-bottom: 1rem; }
.plan .desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.plan ul.features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.plan ul.features li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .35rem 0;
  font-size: .95rem;
}
.plan ul.features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.plan .btn { width: 100%; }
.plan .net-note { font-size: .75rem; color: var(--text-soft); text-align: center; margin-top: .75rem; }

/* ---------- Compare table ---------- */
.compare, .compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare th, .compare td,
.compare-table th, .compare-table td {
  padding: .9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th, .compare-table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  text-align: center;
}
.compare thead th:first-child, .compare-table thead th:first-child {
  text-align: left;
  background: #fff;
}
.compare tbody td, .compare-table tbody td { text-align: center; }
.compare tbody td:first-child, .compare-table tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.compare .check, .compare-table .check { color: var(--accent); font-weight: 700; }
.compare .dash, .compare-table .dash { color: var(--text-soft); }
.compare .featured-col { background: var(--blue-soft); border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); }
.compare thead .featured-col { background: var(--blue-soft); }
.compare thead .plan-name { font-size: 1.15rem; }
.compare thead .plan-price { font-size: 1.8rem; font-weight: 800; margin-top: .25rem; color: var(--ink); }
.compare thead .plan-price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.compare thead .plan-yearly { color: var(--muted); font-size: .85rem; }
.compare tfoot td { text-align: center; padding: 1.5rem 1rem; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: .5rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--text-soft);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: .75rem 0 0; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.form-card .field { margin-bottom: 1rem; }
.form-card label {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .35rem;
}
.form-card input, .form-card textarea, .form-card select {
  width: 100%;
  padding: .65rem .85rem;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .14s, box-shadow .14s;
}
.form-card textarea { min-height: 130px; height: auto; resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus);
}
.form-card .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-card .row-2 { grid-template-columns: 1fr; } }

.form-success, .form-error {
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.form-success { background: var(--accent-soft); color: var(--accent); }
.form-error { background: #fbe9e7; color: var(--danger); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h1 { font-size: 2.2rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.25rem; }
.prose strong { color: var(--ink); }
.prose .meta {
  color: var(--text-soft);
  font-size: .85rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* ---------- Helpers ---------- */
.tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.note {
  background: var(--bg-alt);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: .85rem 1rem;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
footer.site-footer-bottom, .site-footer-bottom {
  margin-top: 32px;
  background: #f7faff;
  border-top: 1px solid var(--line);
  padding: 40px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}
.site-footer-bottom .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.site-footer-bottom .footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.site-footer-bottom p {
  margin: 0;
  color: var(--muted);
  max-width: 280px;
}
.site-footer-bottom h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 800;
}
.site-footer-bottom ul { list-style: none; padding: 0; margin: 0; }
.site-footer-bottom li { margin-bottom: 8px; }
.site-footer-bottom a { color: var(--muted); }
.site-footer-bottom a:hover { color: var(--blue); }
.site-footer-bottom .footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .site-footer-bottom .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer-bottom .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Visually hidden ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
