.announce,
.site-header {
  border-bottom: 1px solid var(--border);
}
.features,
.footer-nav,
.nav-menu {
  list-style: none;
}
.logo,
.thankyou {
  place-items: center;
}
* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--announceH) + var(--headerH) + 6px);
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Helvetica Neue", Arial;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}
:root {
  --brand-900: #0d2b5b;
  --brand-600: #1b7cbf;
  --brand-500: #2196d3;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #fff;
  --border: #e5e7eb;
  --radius: 20px;
  --shadow: 0 30px 70px -40px rgba(13, 43, 91, 0.45);
  --announceH: 0px;
  --headerH: 64px;
  --navTop: calc(var(--announceH) + var(--headerH));
}
.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}
.brand .logo img,
.logo {
  width: 48px;
  height: 48px;
}
.section {
  padding: 96px 0;
}
.section.alt {
  background: #fff;
}
.section-head {
  margin-bottom: 28px;
}
.section-head.center {
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-900);
  background: #e6f2fb;
  border: 1px solid #cfe6fb;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 6px 0;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  color: var(--ink);
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.announce {
  background: linear-gradient(
    90deg,
    rgba(27, 124, 191, 0.12),
    rgba(13, 43, 91, 0.12)
  );
  padding: 10px 0;
  position: relative;
  z-index: 60;
}
.announce-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-inline: 8px;
}
.announce-text {
  white-space: nowrap;
}
.announce-link,
.map-deeplink,
.site-footer .legal a {
  color: var(--brand-900);
  text-decoration: underline;
}
@media (max-width: 480px) {
  .announce {
    padding: 8px 0;
  }
  .announce .pill {
    display: none;
  }
  .announce-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  border-radius: 14px;
  display: grid;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-600));
  box-shadow: var(--shadow);
}
.logo-sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.btn,
.nav-menu {
  align-items: center;
}
.brand-name {
  font-weight: 800;
  color: var(--brand-900);
}
.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-toggle {
  display: none;
  background: 0 0;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: 0.25s;
}
.nav-toggle span:first-child {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 21px;
}
.nav-toggle span:nth-child(3) {
  top: 28px;
}
.nav-menu {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  padding: 10px 12px;
  border-radius: 12px;
}
.nav-menu a:hover {
  background: #eef2ff;
}
.btn.btn-sm {
  padding: 8px 12px;
  font-size: 0.92rem;
}
.badge,
.btn,
.pill {
  display: inline-flex;
}
.btn {
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn-lg {
  padding: 14px 18px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
}
.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--brand-900);
}
.btn:hover {
  transform: translateY(-1px);
}
.badge,
.pill {
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.8rem;
}
.pill-primary {
  background: var(--brand-600);
}
.badge-outline,
.pill-outline {
  background: #fff;
  color: var(--brand-900);
  border: 1px solid var(--brand-900);
}
.badge + .badge {
  margin-left: 8px;
}
.hero {
  position: relative;
  padding: 72px 0 24px;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(2, 6, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1)
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1)
  );
}
.gradient-blur {
  position: absolute;
  filter: blur(70px);
  opacity: 0.6;
  pointer-events: none;
}
.card,
.features li,
.timeline {
  position: relative;
}
.gradient-blur.g1 {
  width: 440px;
  height: 440px;
  left: -120px;
  top: -80px;
  background: radial-gradient(circle at 30% 30%, #b2e8ff, transparent 50%),
    radial-gradient(circle at 70% 70%, #6db4ff, transparent 50%);
}
.gradient-blur.g2 {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -60px;
  background: radial-gradient(circle at 30% 30%, #e6f2fb, transparent 45%),
    radial-gradient(circle at 80% 60%, #c7e0ff, transparent 50%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}
.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 2rem + 1.8vw, 3.2rem);
  line-height: 1.07;
  color: var(--ink);
}
.hero-copy .topline {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  letter-spacing: 0.06em;
  color: var(--brand-900);
}
.grad {
  background: linear-gradient(90deg, var(--brand-900), var(--brand-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead,
.muted small,
.small.muted {
  color: var(--muted);
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.trust .logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.logo-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #0b2447;
  font-weight: 600;
}
.hero-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}
.stack-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  box-shadow: var(--shadow);
}
.calc,
.card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.stack-icon {
  font-size: 20px;
}
.stack-content h4,
.tl-content h4 {
  margin: 0 0 4px;
}
.stack-content p,
.tl-content p {
  margin: 0;
  color: var(--muted);
}
.cards,
.grid {
  display: grid;
  gap: 18px;
}
.cards.three,
.features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  border-radius: var(--radius);
  padding: 18px;
}
.card.highlight {
  border-color: rgba(27, 124, 191, 0.35);
  box-shadow: 0 30px 80px -40px rgba(27, 124, 191, 0.55);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calc-grid label,
.price {
  flex-direction: column;
  display: flex;
}
.price {
  gap: 4px;
  margin: 6px 0 8px;
}
.price .amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
}
.price .meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.price.small .amount {
  font-size: 1.4rem;
}
.features {
  margin: 10px 0 0;
  padding: 0;
  color: #0f172a;
}
.features li {
  margin: 6px 0;
  padding-left: 18px;
}
.features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-600);
}
.divider {
  border-top: 1px dashed var(--border);
  margin: 10px 0;
}
.addlines .muted.ex {
  margin-top: 6px;
}
.card-cta {
  margin-top: 12px;
}
.calc {
  margin-top: 26px;
  border-radius: var(--radius);
  padding: 18px;
}
.calc h4 {
  margin: 0 0 12px;
  color: var(--brand-900);
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.calc-grid label {
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}
.calc-grid input,
.calc-grid select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  font-size: 1rem;
  background: #fff;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.calc-grid input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc-grid input[type="number"]::-webkit-inner-spin-button,
.calc-grid input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #075985;
}
.card-spaced .card-head h3,
.timeline {
  margin: 0 auto;
}
.faq details,
.feature-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.footer-bottom,
.site-footer {
  border-top: 1px solid var(--border);
}
.faq .answer,
.footer-nav a,
.legal {
  color: #64748b;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
}
.feature-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-600));
  box-shadow: var(--shadow);
}
.feature-card h3 {
  margin: 8px 0 6px;
}
.feature-card p {
  margin: 0;
  color: #64748b;
}
.timeline {
  max-width: 760px;
  padding-inline: 8px;
  text-align: left;
}
.tl-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  margin: 12px auto;
  max-width: 680px;
}
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--brand-600);
  margin-top: 7px;
}
.faq details {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq .answer {
  margin-top: 8px;
}
.contact .contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  --row-gap: 18px;
  --label-gap: 8px;
}
.grid.two {
  grid-template-columns: 1fr 1fr;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}
.footer-inner,
.form-actions {
  align-items: center;
  display: flex;
}
.form-actions {
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.small {
  font-size: 0.9rem;
}
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu.open {
    pointer-events: auto;
    transition: opacity 0.25s, transform 0.25s;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
  }
  body.nav-open {
    overflow: hidden;
  }
  .grid.two,
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-header {
    z-index: 2000 !important;
  }
  .nav-menu {
    position: fixed;
    top: var(--navTop);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px;
    overflow: auto;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.15);
    z-index: 2010 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, -110%, 0) !important;
  }
}
.site-footer {
  background: #fff;
}
.footer-inner {
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: #93c5fd solid 2px;
  outline-offset: 2px;
}
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: 0.6s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@supports (padding: max(0px)) {
  .nav-menu {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
}
.nav-scrim {
  z-index: 1900 !important;
}
@media (max-width: 768px) {
  .announce-text {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .announce {
    padding: 6px 0 !important;
  }
  .announce .pill,
  .announce .pill-outline {
    display: none !important;
  }
}
.contact-form .hp,
.contact-form [name="_gotcha"],
.contact-form [name="_honeypot"] {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.card-spaced {
  width: min(1180px, 92vw);
  margin: 22px auto 0;
  text-align: center;
}
.card-spaced-features {
  max-width: 820px;
  margin: 8px 0 0;
}
.card-spaced .card-cta {
  display: flex;
  justify-content: center;
}
.card-spaced .card-head {
  position: relative;
  justify-content: center;
}
.card-spaced .card-head .pill {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.card-spaced .features {
  max-width: 820px;
  margin: 8px auto 0;
  text-align: center;
}
.card-spaced .features li {
  display: block;
  margin: 8px 0;
  padding-left: 0;
}
.card-spaced .features li::before {
  position: static;
  display: inline-block;
  margin-right: 8px;
  line-height: 1;
}
@media (max-width: 640px) {
  .card-spaced .card-head .pill {
    right: 12px;
  }
  .card-spaced .features {
    max-width: 92vw;
  }
}
@media (max-width: 680px) {
  .card-spaced .card-head {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .card-spaced .card-head .pill {
    position: static !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    order: -1;
    margin: 0 0 4px;
  }
  .card-spaced .card-head h3 {
    margin: 0;
    text-align: center;
  }
  .footer-brand,
  .legal {
    width: 100%;
    text-align: center;
  }
  .footer-inner,
  .site-footer {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .site-footer {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border-top: 1px solid var(--border);
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0)) !important;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 0;
  }
  .footer-nav a {
    padding: 4px 6px;
  }
  body,
  html {
    overflow-x: hidden;
  }
}
#kontakt .map-card,
.map-embed {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: start;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-brand .address {
  margin-top: 8px;
  font-style: normal;
  color: var(--muted);
}
.footer-brand .map-link {
  display: inline-block;
  margin-top: 6px;
  text-decoration: underline;
  color: var(--brand-900);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.footer-links .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links .footer-nav a {
  padding: 4px 0;
  border-radius: 0;
  color: var(--ink);
}
.footer-links .footer-nav a:hover {
  background: 0 0;
  text-decoration: underline;
}
.footer-cta {
  text-align: right;
}
.footer-bottom {
  padding: 12px 0 20px;
  margin-top: 8px;
}
.addr-chip {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-900);
  font-weight: 700;
  white-space: nowrap;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
}
@media (max-width: 1020px) {
  .cards.three,
  .contact-wrap,
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.map-card .card-head {
  margin-bottom: 10px;
}
.map-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 16/11;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 1020px) {
  .addr-chip {
    display: inline-flex;
  }
  .contact-wrap .contact-form,
  .contact-wrap .map-card {
    display: flex;
    flex-direction: column;
  }
}
.site-footer a {
  color: inherit;
}
#kontakt .contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}
#kontakt .map-card {
  padding: 0 !important;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
#kontakt .map-card iframe,
#kontakt .map-embed iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
#kontakt .contact-form {
  margin: 0 !important;
}
@media (max-width: 1100px) {
  #kontakt .contact-grid {
    grid-template-columns: 1.15fr 1fr;
  }
  #kontakt .map-card iframe,
  #kontakt .map-embed iframe {
    height: 420px;
  }
}
@media (max-width: 920px) {
  #nav-menu.nav-menu a,
  #nav-menu.nav-menu li {
    width: 100% !important;
  }
  .site-header {
    z-index: 3000 !important;
  }
  .nav-scrim {
    z-index: 2990 !important;
  }
  #nav-menu.nav-menu {
    position: fixed !important;
    top: var(--navTop) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    min-height: calc(100vh - var(--navTop)) !important;
    height: calc(100dvh - var(--navTop)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 24px 20px 28px !important;
    background: #fff !important;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.15) !important;
    overflow: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, -110%, 0) !important;
    transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s !important;
    z-index: 3010 !important;
  }
  #nav-menu.nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
    transition: opacity 0.25s, transform 0.25s !important;
  }
  #nav-menu.nav-menu a {
    display: block !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    border: 1px solid var(--border) !important;
    background: #fff !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
  }
  #nav-menu.nav-menu a.btn {
    border: none !important;
  }
  #nav-menu.nav-menu a.btn.btn-primary {
    background: linear-gradient(
      135deg,
      var(--brand-600),
      var(--brand-500)
    ) !important;
    color: #fff !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-cta {
    text-align: left;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  #kontakt .contact-grid {
    grid-template-columns: 1fr;
  }
  #kontakt .map-card iframe,
  #kontakt .map-embed iframe {
    height: 360px;
  }
}
@media (max-width: 520px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-brand .logo-sm {
    flex-shrink: 0;
  }
  #kontakt .map-card iframe,
  #kontakt .map-embed iframe {
    height: 300px;
  }
}
.contact .contact-form label {
  gap: var(--label-gap);
}
.contact .contact-form .grid {
  gap: var(--row-gap) var(--row-gap);
}
.contact .contact-form .grid.two + .grid.two,
.contact .contact-form .grid.two + label,
.contact .contact-form label + .grid.two {
  margin-top: 16px;
}
.contact .contact-form .mt-12 {
  margin-top: 18px !important;
}
.contact .contact-form input,
.contact .contact-form select,
.contact .contact-form textarea {
  padding-block: 12px;
  min-height: 44px;
}
.contact .contact-form textarea {
  min-height: 140px;
}
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .card-cta,
  .card-cta--spaced,
  .cta-center,
  .footer-cta,
  .form-actions,
  .hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex-wrap: wrap;
  }
  .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 420px;
  }
  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
    max-width: 520px;
    margin: 0 auto;
  }
  .footer-links .footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
  }
  #briefkasten .cards {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    gap: 16px;
  }
  #briefkasten .cards .card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }
  #briefkasten .cards .card .lead,
  #briefkasten .cards .card h3,
  #briefkasten .cards .card header,
  #briefkasten .cards .card p {
    text-align: inherit;
  }
  #briefkasten .cards .card .price {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    text-align: center;
  }
  #briefkasten .cards .card .price .amount {
    line-height: 1;
  }
  #briefkasten .cards .card .price .meta {
    margin-top: 2px;
  }
  #briefkasten .cards .card .card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  #briefkasten .cards .card .card-head h3 {
    margin: 0;
    width: 100%;
    text-align: center;
  }
}
.site-footer .footer-cta .btn-primary,
.site-footer .footer-cta .btn-primary:focus,
.site-footer .footer-cta .btn-primary:hover,
.site-footer .footer-cta .btn-primary:visited {
  color: #fff !important;
}
.site-footer .footer-cta .btn-primary svg {
  fill: currentColor;
}
.thankyou {
  min-height: 70vh;
  display: grid;
  padding: 64px 0;
}
.thankyou .card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.thankyou h1 {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  margin: 0 0 8px;
}
.thankyou p {
  margin: 0 0 16px;
  color: var(--muted);
}
.actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.brand .logo img {
  display: block;
}
.legal-page .card {
  max-width: 980px;
  margin: 0 auto;
}
.legal-page h2 {
  margin-top: 24px;
}
.legal-page h3 {
  margin-top: 18px;
}
.legal-page ul {
  margin: 8px 0 16px 18px;
}
.footer-brand .logo img {
  display: block;
  width: 36px;
  height: 36px;
}
/* === Galerie Grid === */
.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 3 / 2; /* saubere Kachel */
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid a:hover img {
  transform: scale(1.02);
}

@media (max-width: 1020px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* === Lightbox === */
.wo-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.9);
  z-index: 4000;
}
.wo-lightbox.open {
  display: flex;
}
.wo-lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.wo-lightbox .wo-close,
.wo-lightbox .wo-prev,
.wo-lightbox .wo-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.wo-lightbox .wo-close {
  top: 18px;
  right: 18px;
  transform: none;
}
.wo-lightbox .wo-prev {
  left: 14px;
}
.wo-lightbox .wo-next {
  right: 14px;
}
.wo-lightbox button {
  cursor: pointer;
}
