:root {
  --blue: #1f6feb;
  --teal: #10b981;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --soft: #f1f5f9;
  --soft-2: #e9f2ff;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 16px;
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.12rem;
}
.brand-short {
  display: none;
}
.hamburger {
  position: relative;
  width: 20px;
  height: 14px;
  display: inline-block;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}
.hamburger::before {
  top: 0;
}
.hamburger::after {
  bottom: 0;
}
.hamburger {
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.mobile-brand {
  display: none;
}
.brand-logo {
  width: auto;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.nav-links a {
  font-weight: 600;
  color: var(--ink);
}
.nav-actions .cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(31, 111, 235, 0.3);
}
.mobile-toggle {
  display: none;
  border: 1px solid #cbd5f5;
  background: #fff;
  padding: 8px 10px;
  border-radius: 10px;
}
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.button.secondary {
  background: #e2e8f0;
  color: var(--ink);
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.badge {
  background: #eef2ff;
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}
.section {
  padding: 56px 0;
}
.section.soft {
  background: var(--soft);
}
.section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 18px;
}
.section p.lead {
  color: var(--muted);
  max-width: 720px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.card h3 {
  margin-top: 0;
}
.icon-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--teal);
  display: inline-block;
  margin-right: 8px;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 10px;
}
.faq {
  display: grid;
  gap: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.faq details {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}
.footer {
  padding: 40px 0 28px;
  background: #f8fafc;
}
.footer-card {
  background: #0b1d3a;
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer .brand-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer .brand-logo {
  width: auto;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(1.15) contrast(1.10) saturate(1.05);
}
.footer .brand-badge + .brand-text {
  margin-top: 10px;
}
.footer .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: #fff;
}
.footer .brand-text span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.85rem;
}
.footer-tagline {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}
.footer-social a {
  color: #fff;
  display: inline-flex;
}
.footer-social-text {
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-title {
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-bottom-links {
  display: flex;
  gap: 12px;
}
.footer-bottom a {
  color: var(--muted);
}
.footer-bottom a:hover {
  color: var(--ink);
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 700;
}
.callout {
  background: var(--soft-2);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #dbeafe;
}
.pricing {
  display: grid;
  gap: 16px;
}
.pricing .card {
  text-align: left;
}
.section#preise-pakete .card ul li {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.form {
  display: grid;
  gap: 14px;
}
.form label {
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #cbd5f5;
  font: inherit;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.form textarea {
  min-height: 120px;
}
.contact-grid {
  display: grid;
  gap: 20px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notice {
  font-size: 0.9rem;
  color: var(--muted);
}
.badge-teal {
  background: #ecfdf5;
  color: #047857;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .nav-actions {
    position: relative;
  }
  .nav-links {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    background: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    display: none;
    min-width: 200px;
    z-index: 50;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: inline-flex;
  }
}
@media (max-width: 480px) {
  .footer .brand-logo {
    height: 44px;
  }
}
@media (max-width: 360px) {
  .brand-logo {
    height: 44px;
  }
}
@media (min-width: 1024px) {
  .brand-logo {
    height: 52px;
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .brand-logo {
    height: 46px;
  }
}
@media (max-width: 520px) {
  .header-inner {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .brand {
    gap: 10px;
    min-width: 0;
  }
  .nav-actions {
    flex-shrink: 0;
    gap: 10px;
  }
  .nav-actions .cta {
    font-size: 14px;
    padding: 10px 14px;
    box-shadow: 0 4px 10px rgba(31, 111, 235, 0.22);
  }
  .mobile-toggle {
    padding: 6px 10px;
  }
}
@media (max-width: 480px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    position: relative;
  }
  .brand {
    min-width: 0;
    grid-column: 1;
  }
  .brand-logo {
    width: auto;
    height: 44px;
  }
  .brand-text {
    display: none;
  }
  .nav-actions {
    display: contents;
  }
  .nav-actions .cta {
    grid-column: 2;
    justify-self: center;
    font-size: 13px;
    padding: 8px 12px;
    display: inline-flex;
  }
  .mobile-toggle {
    grid-column: 3;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    right: 0;
    top: calc(100% + 8px);
  }
  .mobile-brand {
    padding: 6px 16px 8px;
    display: block;
  }
  .mobile-brand-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
  }
  .mobile-brand-sub {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.2;
  }
}
@media (max-width: 480px) {
  .brand {
    flex-wrap: wrap;
  }
  .brand-logo {
    width: auto;
    height: 44px;
  }
  .brand-short {
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
  }
  .brand-text {
    flex-basis: 100%;
    max-width: 260px;
    margin-top: 8px;
  }
  .brand-text .brand-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text .brand-sub {
    display: block;
    font-size: 13px;
  }
  .nav-actions {
    flex-wrap: nowrap;
  }
}
@media (max-width: 360px) {
  .brand-logo {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    gap: 10px;
  }
  .brand-text {
    max-width: 190px;
  }
  .brand-text span {
    display: none;
  }
  .brand-text {
    font-size: 16px;
    line-height: 1.15;
  }
  .nav-actions .cta {
    font-size: 14px;
    padding: 8px 12px;
  }
  .mobile-toggle {
    padding: 6px 10px;
  }
}
