/* ---------- WordPress-Ergänzungen: Navigation, Footer, Unterseiten ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Untermenü „Leistungen“ */
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::before { content: "▾"; position: absolute; right: -14px; top: 1px; font-size: .7em; color: var(--muted); }
.site-nav .sub {
  position: absolute; left: -18px; top: calc(100% + 14px);
  display: grid; gap: 0; min-width: 270px;
  padding: 10px; list-style: none; margin: 0;
  border: 1px solid var(--border); border-radius: 18px;
  background: rgba(8, 12, 34, .96); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--text); white-space: nowrap; }
.site-nav .sub a::after { display: none; }
.site-nav .sub a:hover { background: rgba(47, 123, 255, .15); }
.site-nav ul { flex-wrap: nowrap; }
@media (max-width: 1100px) and (min-width: 861px) { .site-nav ul { gap: 22px; } .header-cta { display: none; } }

@media (max-width: 860px) {
  .site-nav ul { gap: 14px; }
  .site-nav .has-sub > a::before { display: none; }
  .site-nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 4px 0 0; border: 0; background: none; box-shadow: none; backdrop-filter: none;
    text-align: center;
  }
  .site-nav .sub a { font-size: 1.05rem !important; font-weight: 500 !important; font-style: normal !important; color: var(--muted) !important; padding: 4px; }
  .site-nav a { font-size: 1.8rem !important; }
}

/* Leistungskarten auf der Startseite verlinkt */
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.card:has(.card-link) .card-body::after {
  content: "Mehr erfahren →";
  display: inline-block; margin-top: 16px;
  font-size: .9rem; font-weight: 700; color: var(--light);
  transition: transform .3s var(--ease), color .3s;
}
.card:has(.card-link):hover .card-body::after { color: var(--cyan); transform: translateX(4px); }

/* Footer-Spalten */
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-bottom: 50px; }
.footer-cols h4 { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--light); margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-cols address { font-style: normal; color: var(--muted); line-height: 1.8; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.sp-hero { position: relative; padding: 150px 0 70px; overflow: hidden; isolation: isolate; }
.sp-hero-small { padding-bottom: 30px; }
.sp-hero-glow { position: absolute; right: -10%; top: -30%; width: 760px; height: 760px; border-radius: 50%; background: var(--brand); filter: blur(150px); opacity: .32; z-index: -1; }
.sp-hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.sp-intro { color: #c3cbe6; font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 620px; margin: 22px 0 34px; }
.sp-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.sp-hero-img { margin: 0; position: relative; }
.sp-hero-img::before { content: ""; position: absolute; inset: 10% -4% -6% 6%; background: var(--gradient); border-radius: 30px; filter: blur(50px); opacity: .45; z-index: -1; }
.sp-hero-img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 28px; border: 1px solid var(--border); transform: rotate(1.5deg); transition: transform .8s var(--ease); }
.sp-hero-img:hover img { transform: rotate(0) scale(1.02); }

.sp-features-wrap { padding-top: 20px; }
.sp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sp-feature { padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); transition: transform .4s var(--ease), border-color .3s; }
.sp-feature:hover { transform: translateY(-5px); border-color: rgba(111, 163, 255, .45); }
.sp-feature h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.sp-feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.sp-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sp-row-grid.flip .sp-row-text { order: 2; }
.sp-row-text h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.sp-row-text > p { color: var(--muted); font-size: 1.12rem; margin: 22px 0 24px; }
.sp-checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.sp-checks li { position: relative; padding-left: 36px; }
.sp-checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient); font-size: .75rem; font-weight: 800;
}
.sp-row-img { margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgba(0, 56, 255, .7); }
.sp-row-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.sp-row-img:hover img { transform: scale(1.04); }
.sp-row-img.contain { background: #fff; }
.sp-row-img.contain img { aspect-ratio: auto; object-fit: contain; }

.sp-quote { text-align: center; }
.sp-quote p { margin: 0 auto; max-width: 900px; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1.1; }

.sp-related-wrap h2 { margin-bottom: 36px; }
.sp-related { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-rel {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center;
  padding: 14px; border: 1px solid var(--border); border-radius: 22px;
  background: var(--surface); text-decoration: none;
  transition: transform .4s var(--ease), border-color .3s;
}
.sp-rel:hover { transform: translateY(-4px); border-color: var(--cyan); }
.sp-rel img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; }
.sp-rel span { display: grid; gap: 4px; color: var(--muted); }
.sp-rel strong { color: var(--text); font-size: 1.15rem; }

.kontakt-page { padding-top: 150px; }
.kontakt-page h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }

/* FAQ */
.faq-grid { display: grid; gap: 40px; max-width: 900px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 16px; }
.faq details { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); margin-bottom: 10px; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(0, 209, 255, .4); background: rgba(47, 123, 255, .08); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--cyan); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Inhaltsseiten aus dem Editor (Impressum, Datenschutz …): heller Kasten für Lesbarkeit */
.wa-content-wrap { padding-top: 30px; }
.wa-prose {
  max-width: 980px; margin: 0 auto;
  padding: clamp(24px, 5vw, 60px);
  border-radius: 28px;
  background: #fff; color: #1b1f33;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.wa-prose h1, .wa-prose h2, .wa-prose h3, .wa-prose h4 { color: #0a0f2c; margin: 1.4em 0 .5em; line-height: 1.2; }
.wa-prose h1:first-child, .wa-prose h2:first-child { margin-top: 0; }
.wa-prose a { color: var(--brand); }
.wa-prose img { max-width: 100%; height: auto; }
.wa-prose table { width: 100%; border-collapse: collapse; }
.wa-prose td, .wa-prose th { border: 1px solid #e3e6f0; padding: 8px 10px; }
/* Elementor-Abschnitte im hellen Kasten nicht über die Breite hinauslaufen lassen */
.wa-prose .elementor-section.elementor-section-stretched { width: 100% !important; left: 0 !important; }

@media (max-width: 1000px) {
  .sp-hero-grid, .sp-row-grid { grid-template-columns: 1fr; gap: 40px; }
  .sp-row-grid.flip .sp-row-text { order: 0; }
  .sp-features { grid-template-columns: 1fr 1fr; }
  .sp-related { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sp-hero { padding: 120px 0 40px; }
  .sp-features { grid-template-columns: 1fr; }
  .sp-rel { grid-template-columns: 84px 1fr; }
  .sp-rel img { width: 84px; height: 84px; }
  .kontakt-page { padding-top: 120px; }
}

/* Komplett in Elementor gestaltete Seiten (z. B. Website-Check) ohne weißen Lesekasten */
.page-template-elementor_header_footer .wa-prose,
.page-template-elementor_canvas .wa-prose { background: none; padding: 0; color: inherit; max-width: 1240px; }

/* ---------- Mobiles Menü (eigenes Panel außerhalb des Headers) ---------- */
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .site-nav { display: none !important; }

  /* Menü-Button: drei Striche, exakt zentriert, wird zum X */
  .nav-toggle {
    position: relative; display: block !important;
    width: 48px; height: 48px; padding: 0; margin: 0;
    border-radius: 14px; border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer; text-transform: none; min-width: 0;
  }
  .nav-toggle span {
    position: absolute; left: 50%; top: 50%;
    width: 20px; height: 2px; margin: -1px 0 0 -10px;
    border-radius: 2px; background: var(--text);
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle span:nth-child(1) { transform: translateY(-6px); }
  .nav-toggle span:nth-child(3) { transform: translateY(6px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

  /* Header bleibt über dem Panel, damit Logo und X an derselben Stelle stehen */
  body.menu-open .site-header { z-index: 10001; background: #050816; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--border); }
  body.menu-open { overflow: hidden; }
  body.menu-open [id*="ht-ctc"], body.menu-open [class*="ht-ctc"] { display: none !important; }

  .mobile-menu {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 10000;
    padding: 96px 16px 28px;
    background: radial-gradient(ellipse at 100% 0, rgba(0, 56, 255, .28), transparent 55%), #050816;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .admin-bar .mobile-menu { padding-top: 142px; }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }

  .mm-list { list-style: none; margin: 0; padding: 0; }
  .mm-list > li { border-bottom: 1px solid var(--border); }
  .mm-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-height: 60px; padding: 0 6px; margin: 0;
    border: 0; border-radius: 0; background: none;
    color: var(--text); text-decoration: none; text-align: left; text-transform: none; letter-spacing: -0.01em;
    font: 700 1.3rem var(--font);
    cursor: pointer;
  }
  .mm-item:active { background: rgba(47, 123, 255, .1); }
  .mm-arrow { color: var(--light); font-size: 1.1rem; }
  .mm-chev { width: 10px; height: 10px; border-right: 2px solid var(--light); border-bottom: 2px solid var(--light); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
  .mm-acc[aria-expanded="true"] .mm-chev { transform: rotate(-135deg) translate(-2px, -2px); }
  .mm-item .nav-new { vertical-align: 3px; }

  .mm-sub { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 4px; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s; }
  .mm-acc[aria-expanded="true"] + .mm-sub { max-height: 520px; padding-bottom: 12px; }
  .mm-sub a {
    display: flex; align-items: center; gap: 14px;
    min-height: 52px; padding: 6px 10px;
    border-radius: 14px; color: #c9d1ec; text-decoration: none; font-weight: 600; font-size: 1rem;
  }
  .mm-sub a:active { background: rgba(47, 123, 255, .14); }
  .mm-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(0, 209, 255, .1); border: 1px solid rgba(0, 209, 255, .3); color: var(--cyan); }
  .mm-ico svg { width: 20px; height: 20px; }

  .mm-cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 26px; }
  .mm-cta .btn { justify-content: center; padding: 15px 18px; text-transform: none; }
  .mm-contact { margin: 22px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
  .mm-contact a { color: var(--text); text-decoration: none; font-weight: 600; }

  /* Einträge nacheinander einblenden */
  .mobile-menu.open .mm-list > li, .mobile-menu.open .mm-cta, .mobile-menu.open .mm-contact { animation: mmIn .45s var(--ease) both; }
  .mobile-menu.open .mm-list > li:nth-child(2) { animation-delay: .04s; }
  .mobile-menu.open .mm-list > li:nth-child(3) { animation-delay: .08s; }
  .mobile-menu.open .mm-list > li:nth-child(4) { animation-delay: .12s; }
  .mobile-menu.open .mm-list > li:nth-child(5) { animation-delay: .16s; }
  .mobile-menu.open .mm-list > li:nth-child(6) { animation-delay: .2s; }
  .mobile-menu.open .mm-cta { animation-delay: .24s; }
  .mobile-menu.open .mm-contact { animation-delay: .28s; }
  @keyframes mmIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Orte im Einzugsgebiet (Regionalseiten) */
.town-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.town-list li {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; font-size: .95rem;
}
.town-list li::before { content: "📍 "; }
.sp-faq { padding-top: 0; }

/* ---------- Team ---------- */
.team .section-head { text-align: center; margin-inline: auto; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 24px; }
.member {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease), border-color .3s;
}
.member:hover { transform: translateY(-5px); border-color: rgba(0, 209, 255, .45); }
.member-head { display: flex; align-items: center; gap: 20px; }
.member-photo {
  flex: none; position: relative; margin: 0;
  width: 112px; height: 112px; border-radius: 50%;
  padding: 3px; background: var(--gradient);
  box-shadow: 0 14px 34px -10px rgba(0, 120, 255, .7);
}
.member-photo img, .member-initials {
  display: grid; place-items: center;
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: center 35%;
  border: 3px solid #0a0f2c; background: #0a0f2c;
}
.member-initials { font-size: 2.1rem; font-weight: 800; font-style: italic; letter-spacing: -0.04em; background: linear-gradient(135deg, #0a1440, #0a0f2c); color: #fff; }
.member-head h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin: 0; }
.member-role { margin: 4px 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.member-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(47, 123, 255, .16); border: 1px solid rgba(111, 163, 255, .35);
  color: #cfe0ff; font-size: .78rem; font-weight: 700; font-style: italic;
}
.member-body > p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.member-body .tags { margin-top: 16px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: minmax(0, 520px); } }
@media (max-width: 480px) {
  .member { padding: 22px 18px; }
  .member-head { gap: 14px; }
  .member-photo { width: 88px; height: 88px; }
  .member-initials { font-size: 1.6rem; }
  .member-head h3 { font-size: 1.25rem; }
}

/* Porträts in 3D-Optik: geneigte Scheibe mit gestaffelten Ebenen dahinter */
.member-head { perspective: 700px; }
.member-photo {
  --rx: 8deg; --ry: -16deg;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease);
  box-shadow: none;
}
.member-photo::before, .member-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
}
.member-photo::before {
  background: linear-gradient(135deg, rgba(0, 209, 255, .55), rgba(0, 56, 255, .55));
  transform: translateZ(-22px) translate(10px, 10px);
  filter: blur(1px); opacity: .7;
}
.member-photo::after {
  border: 1px solid rgba(160, 210, 255, .35);
  transform: translateZ(-44px) translate(20px, 20px);
  box-shadow: 0 30px 40px -12px rgba(0, 0, 0, .85), 0 0 40px rgba(0, 120, 255, .45);
}
.member-photo img, .member-initials {
  position: relative;
  transform: translateZ(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 18px 30px -12px rgba(0, 0, 0, .9);
}
.member-photo .member-shine {
  position: absolute; inset: 3px; border-radius: 50%; transform: translateZ(19px); pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 38%);
  mix-blend-mode: screen;
}
.member:hover .member-photo { --rx: 0deg; --ry: 0deg; }
@media (prefers-reduced-motion: reduce) { .member-photo { transform: none; } }
/* 3D-Ebenen dürfen den Text darunter nicht überdecken */
.member-head { padding-bottom: 16px; position: relative; z-index: 0; }
.member-body { position: relative; z-index: 1; }
.member-photo::before { transform: translateZ(-18px) translate(7px, 7px); }
.member-photo::after { transform: translateZ(-34px) translate(13px, 13px); box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .7), 0 0 30px rgba(0, 120, 255, .35); }
/* Rolle und Abzeichen als Buttons nebeneinander */
.member-head h3 { margin-bottom: 10px; }
.member-role {
  display: inline-flex; align-items: center;
  margin: 0 6px 6px 0; padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff; font-size: .74rem; letter-spacing: .1em;
  box-shadow: 0 8px 20px -8px rgba(0, 120, 255, .8);
}
.member-badge { display: inline-flex; align-items: center; padding: 6px 14px; margin: 0 0 6px; }
.member-body { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* Geöffnetes Handy-Menü liegt über dem Cookie-Banner (z-index 99999) und dem WhatsApp-Button */
@media (max-width: 860px) {
  .mobile-menu { z-index: 100000; }
  body.menu-open .site-header { z-index: 100001; }
  body.menu-open .cmplz-cookiebanner, body.menu-open .cmplz-soft-cookiewall { visibility: hidden !important; }
}
.footer-cols .nav-new { margin-left: 6px; vertical-align: 1px; }

/* ---------- Rechtsseiten (Impressum, Datenschutz, AGB …): Glasoptik mit heller Schrift ---------- */
.wa-content-wrap { position: relative; isolation: isolate; }
.wa-content-wrap::before {
  content: ""; position: absolute; left: 50%; top: 10%; z-index: -1;
  width: min(900px, 90vw); height: 600px; transform: translateX(-50%);
  border-radius: 50%; background: #0038ff; filter: blur(150px); opacity: .22; pointer-events: none;
}
.wa-prose,
.page-template-elementor_header_footer .wa-prose {
  max-width: 980px; margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  border: 1px solid rgba(140, 170, 255, .18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -40px rgba(0, 0, 0, .8);
  color: #c9d1ec;
  font-size: 1rem; line-height: 1.75;
}
/* Elementor-Textfarben überschreiben */
.wa-prose, .wa-prose p, .wa-prose li, .wa-prose span, .wa-prose div, .wa-prose td, .wa-prose th,
.wa-prose .elementor-widget-text-editor { color: #c9d1ec !important; font-family: var(--font) !important; }
.wa-prose h1, .wa-prose h2, .wa-prose h3, .wa-prose h4, .wa-prose b, .wa-prose strong { color: #fff !important; font-family: var(--font) !important; }
.wa-prose h1, .wa-prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid rgba(140, 170, 255, .16); }
.wa-prose h3 { font-size: 1.12rem; font-weight: 700; margin: 1.6em 0 .4em; }
.wa-prose h1:first-child, .wa-prose h2:first-child, .wa-prose h3:first-child,
.wa-prose .elementor-widget-container > h2:first-child, .wa-prose .elementor-widget-container > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.wa-prose p { margin: 0 0 1em; }
.wa-prose a, .wa-prose a span { color: #7fd8ff !important; text-decoration: underline; text-underline-offset: 3px; }
.wa-prose a:hover { color: #fff !important; }
.wa-prose td, .wa-prose th { border-color: rgba(140, 170, 255, .2) !important; }
.wa-prose ::selection { background: #0038ff; color: #fff; }

/* ---------- Kontaktseite ---------- */
.kontakt .sp-hero-small { padding-bottom: 40px; }
.k-ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.k-way {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 28px; border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  border: 1px solid rgba(140, 170, 255, .16);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -34px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ease), border-color .3s;
}
.k-way:hover { transform: translateY(-5px); border-color: rgba(0, 209, 255, .45); }
.k-way h2 { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--light); margin: 14px 0 2px; }
.k-big { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.k-big:hover { color: var(--cyan); }
.k-way p { margin: 0; color: var(--muted); font-size: .92rem; }
.k-way p a { color: #c9d1ec; }
.k-addr { color: #fff !important; font-size: 1.02rem !important; line-height: 1.5; }
.k-copy {
  margin-top: auto; align-self: stretch; text-align: center;
  padding: 10px 14px; margin-block-start: 14px;
  border-radius: 12px; border: 1px solid rgba(111, 163, 255, .35);
  background: rgba(47, 123, 255, .12); color: #cfe0ff;
  font: 700 .85rem var(--font); text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer;
  transition: background .25s, color .25s;
}
.k-copy:hover { background: var(--brand); color: #fff; }

.k-main { padding-top: 40px; }
.k-main-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.k-form, .k-callback {
  display: grid; gap: 14px;
  padding: clamp(24px, 4vw, 36px); border-radius: 26px;
  background: linear-gradient(160deg, rgba(0, 56, 255, .14), rgba(255, 255, 255, .02) 55%);
  border: 1px solid rgba(140, 170, 255, .18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.k-form h2, .k-callback h2 { font-size: 1.5rem; margin: 0; }
.k-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.k-form .chips legend span { opacity: .6; }
.k-form .btn, .k-callback .btn { justify-self: start; }
.k-side { display: grid; gap: 20px; }
.k-callback { background: linear-gradient(160deg, rgba(0, 209, 255, .14), rgba(255, 255, 255, .02) 60%); }
.k-callback .badge-new { justify-self: start; margin: 0; }
.k-callback > p { margin: -6px 0 2px; color: var(--muted); }
.k-slots { gap: 6px; }
.k-slots span { padding: 7px 12px; }

.k-vcard {
  display: grid; gap: 10px; padding: 22px; border-radius: 22px;
  border: 1px dashed rgba(140, 190, 255, .35); background: rgba(255, 255, 255, .03);
}
.k-vcard-card {
  display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px;
  background: linear-gradient(120deg, #0038ff, #2f7bff 55%, #00c2ff);
  box-shadow: 0 20px 40px -18px rgba(0, 90, 255, .9);
  transform: rotate(-1.5deg); transition: transform .5s var(--ease);
}
.k-vcard:hover .k-vcard-card { transform: rotate(0) translateY(-3px); }
.k-vcard-card img { width: 150px; height: auto; margin-bottom: 8px; filter: brightness(0) invert(1); }
.k-vcard-card span { font-size: .76rem; color: rgba(255, 255, 255, .88); }
.k-vcard .btn { justify-content: center; }

.k-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 10002;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(8, 14, 40, .95); border: 1px solid rgba(0, 209, 255, .45);
  color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8);
  transition: opacity .3s, transform .3s var(--ease);
}
.k-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .k-ways-grid { grid-template-columns: 1fr; }
  .k-main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .k-row { grid-template-columns: 1fr; }
  .k-way { padding: 22px; }
}
.k-form .chips legend span { display: inline; padding: 0; border: 0; background: none; font-size: inherit; color: inherit; opacity: .6; }
