/* --- Modernisierung und visuelle Aufwertung --- */
:root {
  /* Firmenfarbe: RGB(0,167,235) = #00A7EB */
  --accent: rgb(0, 167, 235);
  --accent-quiet: rgba(0, 167, 235, 0.08);
  /* leicht dunklere Variante für Hervorhebungen */
  --accent-dark: #0072b5;
  /* Höhe des Headers für Ausgleich im Content (anpassen bei Designänderungen) */
  --header-height: 78px;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}
body {
  background: var(--bg);
  font-family: "Inter", "Segoe UI", "Roboto", Arial, sans-serif;
  color: var(--text);
}
/* Prevent iOS Safari from auto-adjusting font sizes in small containers */
html,
body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}
header {
  /* fixed header so navigation remains visible during scroll */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid #eef2f7;
  z-index: 9999;
}

/* push main content down so it's not hidden behind the fixed header */
main {
  padding-top: var(--header-height);
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
nav > a {
  margin-left: 18px;
  font-size: 0.98rem;
  color: var(--text);
  position: relative;
  z-index: 2;
}

/* Active navigation link styling applied by assets/nav-active.js */
nav a.is-active,
nav a[aria-current="page"] {
  font-weight: 700;
  color: var(--accent-dark);
}
.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 18px;
  /* Bridge small gap under the trigger so hover doesn't break */
  padding-bottom: 8px;
}
.dropbtn {
  background: transparent;
  border: none;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  padding: 0;
}

/* Ensure the anchor inside the dropdown trigger inherits the button color
   so 'Leistungen' doesn't appear as a default blue link. This keeps the
   same visual color for top-level nav items. The active link styling
   (nav a.is-active) still overrides the color when appropriate. */
.dropbtn a {
  color: inherit;
  text-decoration: none;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown-content:hover,
/* JS-enhanced state */
.dropdown.open .dropdown-content {
  display: block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  z-index: 100;
  left: 0;
  right: auto;
  border-radius: 8px;
  border: 1px solid #eef2f7;
  /* Sit right under the trigger without a gap */
  top: 100%;
  white-space: nowrap;
  width: auto;
}
.dropdown-content a {
  color: var(--text);
  padding: 12px 18px;
  text-decoration: none;
  display: block;
  font-size: 0.98rem;
  white-space: nowrap;
}
.dropdown-content a:hover {
  background-color: var(--accent-quiet);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 64px;
  width: auto;
}

/* Hamburger menu responsive styles */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger-box {
  display: inline-block;
  width: 28px;
  height: 18px;
  position: relative;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background: var(--text);
  width: 28px;
  height: 2px;
  display: block;
  border-radius: 2px;
  position: absolute;
  left: 0;
}
.hamburger-inner {
  top: 8px;
}
.hamburger-inner::before {
  content: "";
  top: -8px;
}
.hamburger-inner::after {
  content: "";
  top: 8px;
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-6%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
  z-index: 9998;
}
.mobile-nav {
  /* make centering of the inner panel robust against other layout rules */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.mobile-nav[aria-hidden="false"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-nav-inner {
  /* Align the mobile nav content with the page container so links
     line up with other page content instead of sticking to the left
     edge of the viewport. Use a small inline padding that matches the
     container's implicit side gutters (approx. 4%). */
  width: min(1100px, 100%);
  max-width: 1100px;
  padding: 18px calc(4% + 8px);
  margin: 0 auto;
  box-sizing: border-box;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  /* make the UL fill the inner container so list items align with page content */
  width: 100%;
}
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 0;
  display: block;
}
.mobile-nav .mobile-close {
  background: transparent;
  border: none;
  font-size: 20px;
  float: right;
}

/* Visual polish for the mobile panel */
.mobile-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.mobile-nav-inner {
  border-radius: 12px;
  background: transparent; /* inner stays transparent to show subtle gradient */
  padding-top: 14px;
  padding-bottom: 28px;
}

.mobile-nav ul > li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.mobile-nav ul > li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  padding: 10px 0;
  font-size: 1rem;
}

/* Nested items (Leistungen submenu) */
.mobile-nav .mobile-dropdown details > ul {
  padding-left: 14px;
  margin-top: 6px;
  display: grid;
  gap: 6px;
}
.mobile-nav .mobile-dropdown summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* custom caret for details/summary */
.mobile-nav .mobile-dropdown summary::-webkit-details-marker {
  display: none;
}
.mobile-nav .mobile-dropdown summary:after {
  content: "\25BE"; /* small down triangle */
  font-size: 0.78rem;
  transform-origin: center;
  transition: transform 0.18s ease;
  opacity: 0.75;
}
.mobile-nav .mobile-dropdown details[open] summary:after {
  transform: rotate(180deg);
}

/* Link hover/focus */
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent-dark);
  background: rgba(0, 167, 235, 0.04);
  border-radius: 6px;
  padding-left: 6px;
}

/* Hide desktop nav and show hamburger on small screens */
@media (max-width: 800px) {
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
}
.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}
.hero {
  background: linear-gradient(120deg, #e6f6fd 60%, #fff 100%);
  border-bottom: 1px solid #eef2f7;
  /* leave a small top padding so content isn't clipped by the fixed header */
  padding: clamp(18px, 3vh, 48px) 0 0 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 0 48px 0;
}
.hero-visual {
  /* make visual flexible: width clamps between 220px and 420px depending on viewport */
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 420px);
  height: clamp(140px, 22vh, 260px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 160px;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 24px;
    padding: 32px 0 28px 0;
  }
  .hero-visual {
    width: min(92%, 420px);
    min-width: 0;
    height: clamp(120px, 26vw, 180px);
  }
}

/* Layout for pages that use a blocks + CTA two-column pattern.
   On small screens we stack the CTA under the blocks and disable sticky/fixed positioning. */
@media (max-width: 900px) {
  .blocks-and-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .blocks-grid {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .blocks-cta {
    order: 2;
    width: 100%;
    flex: 0 0 auto;
    margin-top: 0.75rem;
    z-index: 0;
  }

  /* disable sticky on small screens and override inline JS-fixed styles if present */
  .blocks-cta .sticky-cta {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
  }

  /* ensure the web component fills the available width */
  .blocks-cta sc-call-button {
    display: block;
    width: 100%;
  }
}
.tag {
  display: inline-block;
  padding: 6px 10px;
  background: var(--accent-quiet);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
}
h1 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 14px 0 12px;
}
p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 18px;
}
.cta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.btn,
.btn.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(17, 167, 230, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn.secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}
.btn:hover,
.btn.secondary:hover {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
}
.card-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
  position: relative;
  border: 1px solid #e6eef5;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding-top: 38px;
}
.card.has-icon {
  padding-left: 64px;
  padding-top: 18px;
}
.card.has-icon::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  /* Fallback: neutrales Icon, kann überschrieben werden */
  background: url("OeffentlicheVerwaltung.svg") center/contain no-repeat;
  opacity: 0.8;
}
/* spezifische Icons für Startseiten-Karten */
.card.has-icon.icon-kommune::before {
  background-image: url("OeffentlicheVerwaltung.svg");
}
.card.has-icon.icon-kmu::before {
  background-image: url("KMU.svg");
}
.card.has-icon.icon-pe::before {
  background-image: url("PrivateEquity.svg");
}
.card h3 {
  margin-top: 0;
  font-size: 1.18rem;
  font-weight: 600;
}
.card p {
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--muted);
  margin-bottom: 0;
}
.card .btn.secondary {
  display: inline-block;
  margin-top: auto;
  margin-bottom: 0;
  width: auto;
  min-width: 140px;
  font-size: 1rem;
  position: static;
}
section {
  padding: 48px 0;
}
h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

/* Mehr Abstand vor H2-Überschriften innerhalb der Seite-Container */
.container h2 {
  margin-top: 2.5rem; /* Abstand vor der Überschrift */
  margin-bottom: 1rem; /* Abstand nach der Überschrift */
  scroll-margin-top: 3rem; /* nützlich bei Ankern / Sprunglinks */
}

@media (max-width: 600px) {
  .container h2 {
    margin-top: 1.5rem; /* geringerer Abstand auf kleinen Bildschirmen */
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Contact page: place sc-call-button to the right of the contact card */
.contact-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-card {
  /* make the card 50% wider by giving it larger flex-grow */
  flex: 1.5 1 0;
  min-width: 420px; /* ensure enough room for email on desktop */
}
.contact-cta {
  flex: 0 0 260px; /* reserve space for the button area */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .contact-meta {
    flex-direction: column;
    gap: 12px;
  }
  .contact-cta {
    flex: none;
    justify-content: stretch;
  }
  .contact-cta sc-call-button {
    display: block;
    width: 100%;
  }
  .contact-card {
    min-width: 0; /* allow full responsiveness on small screens */
  }
}

/* Avoid email/phone link line breaks inside the contact card */
.contact-card #email a,
.contact-card #phone a {
  white-space: nowrap;
}

/* About page: profile image left, text right */
.about-profile {
  display: grid;
  /* single column layout where the image floats inside the text flow */
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* clearfix so later blocks don't wrap the float unexpectedly */
.about-text::after {
  content: "";
  display: table;
  clear: both;
}

/* Keep the image floated to the right so text flows around it; limit width by clamp */
.about-text .profile-wrap {
  float: right;
  margin-left: 1rem;
  margin-bottom: 0.6rem;
  width: auto;
}

.about-text .profile {
  width: 220px;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  /* keep single column but reduce image size so it doesn't dominate and no empty column appears */
  .about-profile {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-text .profile-wrap {
    margin-left: 0.75rem;
    margin-bottom: 0.8rem;
  }
  .about-text .profile {
    width: clamp(90px, 22vw, 140px);
    height: auto;
  }
}

@media (max-width: 420px) {
  /* very small phones: keep image small but still float right; if you prefer center, we can change */
  .about-profile {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-text .profile-wrap {
    margin-left: 0.6rem;
    margin-bottom: 0.6rem;
  }
  .about-text .profile {
    width: clamp(80px, 28vw, 120px);
    height: auto;
  }
}
.profile-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}
.profile {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  /* leichter, subtilerer Schatten */
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), filter 0.35s ease,
    box-shadow 0.35s ease;
  filter: grayscale(20%);
}
.profile:hover {
  transform: translateY(-4px) rotate(-1.2deg) scale(1.02);
  filter: grayscale(0%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* --- Accent ring variant (recommended) --- */
.profile-accent-wrap {
  position: relative;
  padding: 6px; /* spacing for ring */
}
.profile-accent {
  border-radius: 8px;
  /* kleiner Schatten direkt unter dem Bild */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}
.profile-accent-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 4px;
  /* Nutze Firmenfarbe für den feinen Ring; leichter Verlauf */
  background: linear-gradient(
    135deg,
    rgba(0, 167, 235, 0.12),
    rgba(0, 114, 181, 0.06)
  );
  transform: scale(0.96);
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1), opacity 320ms;
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
  /* dezent nach rechts versetzter Schatten für 'looking right' Effekt */
  box-shadow: 6px 6px 18px rgba(11, 20, 30, 0.06);
}
.profile-accent-wrap:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Make the portrait float on the right so text flows around it */
.about-text .profile-wrap {
  float: right;
  margin-left: 1.25rem;
  margin-bottom: 0.6rem;
}
.about-text .profile {
  width: 220px;
  height: 220px;
  object-position: top center;
  display: block;
}
@media (max-width: 900px) {
  .about-text .profile-wrap {
    float: none;
    margin: 0 auto 1rem auto;
    display: flex;
    justify-content: center;
  }
  .about-text {
    overflow: visible;
  }
}

/* Featured quote styling */
.featured-quote {
  position: relative;
  margin: 1.25rem 0;
  padding: 1.15rem 1.5rem 1.15rem 3.6rem;
  /* keep a consistent tint across the full width so the right side remains visible */
  background: linear-gradient(
    90deg,
    rgba(0, 167, 235, 0.12) 0%,
    rgba(0, 167, 235, 0.06) 100%
  );
  /* subtle outer border to keep the box defined on all sides */
  border: 1px solid rgba(0, 167, 235, 0.04);
  border-left: 8px solid rgba(0, 167, 235, 0.22);
  border-radius: 10px;
  color: var(--text);
  font-style: italic;
  box-shadow: 0 10px 28px rgba(11, 20, 30, 0.06);
  transform: translateY(0);
  opacity: 1;
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.3, 1), opacity 420ms;
}
.featured-quote:before {
  content: "“";
  position: absolute;
  left: 10px;
  top: -12px;
  font-size: 96px;
  line-height: 1;
  color: rgba(0, 167, 235, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.featured-quote p {
  margin: 0;
}
.featured-quote:focus {
  outline: 3px solid rgba(0, 167, 235, 0.26);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .featured-quote {
    padding-left: 1rem;
    border-left-width: 5px;
  }
  .featured-quote:before {
    left: 8px;
    font-size: 64px;
    top: -8px;
  }
}

/* Inline Checks (Variante A) */
.checks-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0.25rem 0 1.25rem;
}
.check-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-quiet);
  color: var(--text);
  font-weight: 500;
  /* stabilize font-size/line-height so mobile browsers render consistently */
  font-size: 1rem;
  line-height: 1.2;
}
.check-badge .check-icon {
  /* size the SVG relative to the surrounding text to avoid iOS scaling issues */
  width: auto;
  height: 1em;
  color: var(--accent);
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .featured-quote {
    transition: none;
  }
}

/* --- Variant C: Storytelling card --- */
.profile-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(11, 20, 30, 0.04);
  padding: 1rem;
  max-width: 720px;
}
.profile-card-media img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.profile-card-body h4 {
  margin: 0 0 0.25rem 0;
}
.profile-card-body .muted {
  color: #666;
  margin-bottom: 0.5rem;
}
.profile-card-body ul.clean {
  margin: 0;
  padding-left: 1rem;
}
.profile-card-body ul.clean li {
  margin: 0.2rem 0;
}
ul.clean {
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}
ul.clean li {
  padding-left: 22px;
  position: relative;
  margin: 8px 0;
  color: var(--muted);
}
ul.clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.muted-box {
  background: var(--accent-quiet);
  border: 1px solid #d7ecfa;
  border-radius: 14px;
  padding: 16px;
}
footer {
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  padding: 36px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
footer .links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
}
footer .social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
}
footer .social a {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: none;
  opacity: 0.8;
  margin: 0 4px;
}
footer .social a img {
  width: 28px;
  height: 28px;
  display: block;
}
footer .social a:hover {
  opacity: 1;
}

/* Added: cards and animations for Leistungsseiten */
.grid {
  display: grid;
  gap: 18px;
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.offer-card {
  border: 1px solid #e6eef5;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
.offer-card h3 {
  margin: 6px 0 8px;
  font-size: 1.15rem;
}
.offer-card p {
  color: var(--muted);
  margin: 0 0 8px;
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  background: var(--accent-quiet);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
}
.kicker {
  letter-spacing: 0.4px;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-slim {
  background: linear-gradient(135deg, var(--accent-quiet), #ffffff);
  border-bottom: 1px solid #eef2f7;
  padding: 32px 0;
}
.fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade.in {
  opacity: 1;
  transform: translateY(0);
}

/* Feature grid for Werte und Arbeitsweise */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card .feature-badge,
.feature-badge {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  /* enforce company color (hex) and remove gradients that might override it */
  background-image: none !important;
  background-color: #00a7eb !important;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0, 167, 235, 0.16);
}
.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Flip-Card Struktur für Leistungsseiten */
/* Variante A: gesamter Card-Body flippt (Rückwärtskompatibel) */
.offer-card.is-flip {
  position: relative;
  padding: 0;
  overflow: hidden;
  perspective: 1000px;
}
.offer-card.is-flip .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  border-radius: 16px;
}
.offer-card.is-flip .flip-front,
.offer-card.is-flip .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
}
.offer-card.is-flip .flip-front {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--text);
  background: radial-gradient(1200px 300px at 0% 0%, var(--accent-quiet), #fff);
}
.offer-card.is-flip .flip-front .title {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}
.offer-card.is-flip .flip-back {
  padding: 18px;
  background: #fff;
  transform: rotateY(180deg);
}
.offer-card.is-flip:hover .flip-inner {
  transform: rotateY(180deg);
}
.offer-card.is-flip.flipped .flip-inner {
  transform: rotateY(180deg);
}
.offer-card.is-flip {
  cursor: pointer;
}

/* Variante B: nur ein Inhaltsblock flippt (Überschrift bleibt statisch darüber) */
.is-flip {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  border-radius: 16px;
  margin-top: 10px;
}
.is-flip .flip-inner {
  position: relative;
  width: 100%;
  min-height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  border-radius: 16px;
}
.is-flip .flip-front,
.is-flip .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
}
.is-flip .flip-front {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: radial-gradient(1200px 300px at 0% 0%, var(--accent-quiet), #fff);
  background-size: cover;
  background-position: center;
}
.is-flip .flip-back {
  padding: 16px;
  background: #fff;
  transform: rotateY(180deg);
}
.is-flip:hover .flip-inner {
  transform: rotateY(180deg);
}
.is-flip.flipped .flip-inner {
  transform: rotateY(180deg);
}
.is-flip {
  cursor: pointer;
}
