/* ============ RESET & BASIS ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: linear-gradient(180deg, #f9fafb 0%, #f0f4f8 100%);
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #f7741e;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #d45700;
}

/* ============ NAVIGATION ============ */
.navbar {
  background: linear-gradient(135deg, #1a2634 0%, #0d1b28 50%, #071521 100%);
  padding: 14px 28px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

/* Desktop: Navigation immer sichtbar */
@media (min-width: 901px) {
  /* Sticky ist in manchen Browser-Kombis (mit overflow-x hidden) unzuverlässig.
     Fixed sorgt dafür, dass Logo + Menü beim Scrollen immer sichtbar bleiben. */
  .navbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
  }

  /* Platz für die fixe Navigation schaffen (verhindert Überdeckung der ersten Sektion) */
  body {
    padding-top: 86px;
  }

  /* Weißer Streifen vermeiden: füllt den Bereich oberhalb des Contents passend zur Navbar */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 86px;
    background: linear-gradient(135deg, #1a2634 0%, #0d1b28 50%, #071521 100%);
    z-index: 999;
    pointer-events: none;
  }

  /* Anchor-Jumps (z.B. #anfrageformular) nicht unter der fixen Navigation verstecken */
  html {
    scroll-padding-top: 96px;
  }
}


.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

/* Logo-Karte in der Navigation */
.nav-logo-card {
  background: #071521;
  border-radius: 18px;
  padding: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-frame {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 3px;
}

.nav-logo-frame img {
  height: 26px;
  width: auto;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-brand-text {
  margin-left: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-links a {
  color: #d1dce5;
  font-size: 0.98rem;
  font-weight: 500;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-links a.active {
  color: #ffffff;
  border-bottom: 3px solid #f7741e;
  padding-bottom: 4px;
}
/* Portal CTA (rechts) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.nav-btn i {
  font-size: 1rem;
}

.nav-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav-btn-primary {
  background: #f7741e;
  border-color: #f7741e;
  color: #071521;
}

.nav-btn-primary:hover {
  background: #ff7f2e;
  border-color: #ff7f2e;
}

.nav-btn-ghost.active,
.nav-btn-primary.active {
  box-shadow: 0 0 0 3px rgba(247, 116, 30, 0.22);
}

/*
  Hinweis: Portal-Links werden als CTA rechts angezeigt.
  Wir vermeiden doppelte Einträge im Menü (Desktop/Mobile).
*/

.has-dropdown > .dropdown li.dropdown-sep {
  height: 1px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.14);
}

/* Mobile: CTA bleibt sichtbar, aber kompakter (kein doppelter Menüeintrag) */
@media (max-width: 900px) {
  .nav-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-btn {
    padding: 9px 12px;
    font-size: 0.88rem;
  }
}


/* Burger-Icon */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.burger div {
  width: 26px;
  height: 3px;
  background: #f7741e;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* Burger-Animation */
.burger.open div:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open div:nth-child(2) {
  opacity: 0;
}
.burger.open div:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO MIT HINTERGRUNDBILD ============ */
.hero {
  position: relative;
  color: #fff;
  padding: 100px 20px 90px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
 
/* allgemeiner Verlauf */
.hero-bg {
  background: linear-gradient(135deg, #0b1825 0%, #0f253a 40%, #14304b 100%);
}

/* Fallback-Hintergrundbild (Startseite) */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.4;
  filter: blur(1px);
  z-index: 0;
  transition: transform 0.3s ease;
}

/* Animated gradient overlay */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(247,116,30,0.15) 0%, transparent 50%, rgba(247,116,30,0.1) 100%);
  z-index: 0;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Spezielle Bilder pro Seite */
.hero-about.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1920&q=80");
}

.hero-facility.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/leistungen/facility/facility-hero.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-smart.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1920&q=80");
}

.hero-services.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1920&q=80");
}

.hero-prices.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1920&q=80");
}

.hero-contact.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1920&q=80");
}

.hero-impressum.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1920&q=80");
}

.hero-privacy.hero-bg::before {
  background-image: url("https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1920&q=80");
}

/* Overlay über Foto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(247,116,30,0.25), transparent 55%),
    linear-gradient(135deg, rgba(5,10,20,0.94), rgba(15,37,58,0.97));
  z-index: 1;
}


/* Inhalt im Hero */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

/* Startseiten-Layout: Logo links, Text rechts */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* Logo-Karte im Hero */
.hero-logo-card {
  background: #071521;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-logo-frame {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 8px;
}

.hero-logo {
  width: 120px;
  height: auto;
}

/* Text im Hero */
.hero-content {
  text-align: left;
}

.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd9b6;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

.hero .subline {
  font-size: 1.02rem;
  color: #e0e7ef;
  margin-bottom: 22px;
}

/* Hero-Badges */
.hero-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.hero-usp span {
  background: rgba(15, 37, 58, 0.9);
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(247, 116, 30, 0.6);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-usp span:hover {
  background: rgba(247, 116, 30, 0.2);
  border-color: #f7741e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(247, 116, 30, 0.25);
}

.hero-usp span a {
  color: #fff;
}

.hero-usp a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.hero-usp a:hover {
  color: #ffffff;
}

/* CTA-Button */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #f7741e 0%, #e85d04 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(247, 116, 30, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e85d04 0%, #c85c13 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(247, 116, 30, 0.45);
  color: #fff;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #f7741e;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #f7741e;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #f7741e;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(247, 116, 30, 0.3);
}



/* ===== Button/Action rows ===== */
.btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.btn-row.left{ justify-content: flex-start; }
.btn-row.center{ justify-content: center; }
.btn-row.right{ justify-content: flex-end; }

.btn-row.spaced{ margin-top: 18px; }
.btn-row.tight{ margin-top: 10px; }

@media (max-width: 768px){
  .btn-row{
    flex-direction: column;
    align-items: stretch;
  }
  .btn-row > a,
  .btn-row > button{
    width: 100%;
    text-align: center;
  }
}


/* ===== Width helper ===== */
.narrow{
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Small note text ===== */
.small-note{
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* ===== List inside card ===== */
.card-list{
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}
.card-list li{
  margin: 6px 0;
}
/* ============ HERO FÜR UNTERSEITEN (zentriert) ============ */
.hero-page .hero-inner {
  max-width: 900px;
  text-align: center;
}

.hero-page .hero-kicker {
  text-align: center;
}

.hero-page .subline {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ ALLGEMEINE SECTIONS ============ */
section {
  max-width: 1140px;
  margin: 70px auto;
  padding: 0 24px;
}

section h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2.2rem;
  color: #14304b;
  position: relative;
  font-weight: 700;
}

section h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #f7741e, #e85d04);
  display: block;
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
  color: #4c5a67;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Karten-Grid (Leistungen etc.) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 22px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f7741e, #e85d04);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #14304b;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #4b5966;
  margin-bottom: 10px;
  line-height: 1.65;
}

.card .tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  background: linear-gradient(135deg, #fef3e8, #fff5eb);
  color: #c85c13;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

/* Card with icon */
.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fff5eb 0%, #fef3e8 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.8rem;
}

/* Card with image */
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* ============ KONTAKT-BLOCK STARTSEITE ============ */
.contact-block {
  background: linear-gradient(135deg, #14304b 0%, #0f253a 100%);
  color: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 860px;
  margin: 0 auto 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-block::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247,116,30,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-block h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  position: relative;
}

.contact-block p {
  color: #d1dce5;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.95rem;

  max-width: 820px;
  margin-left:auto;
  margin-right:auto;
}


.contact-list li {
  margin-bottom: 6px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn-pill {
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.btn-phone { background: linear-gradient(135deg, #27ae60, #219a52); }
.btn-wa    { background: linear-gradient(135deg, #25D366, #128C7E); }
.btn-mail  { background: linear-gradient(135deg, #e67e22, #d35400); }
.btn-instagram { background: linear-gradient(135deg, #d6249f, #fd5949); }
.btn-facebook { background: linear-gradient(135deg, #1877F2, #0d65d9); }
.btn-tiktok { background: linear-gradient(135deg, #000, #333); }

/* ============ FORMULAR (kontakt.html) ============ */
/* ============ KONTAKT: Alerts, Reihen, Checkbox-Pills, Honeypot ============ */
.alert{
  max-width: 920px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
}
.alert.success{ background: rgba(39,174,96,.12); border:1px solid rgba(39,174,96,.35); color:#eaf6ef; }
.alert.error{ background: rgba(231,76,60,.10); border:1px solid rgba(231,76,60,.35); color:#ffeceb; }

.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.form-row{
  display:grid;
  gap: 14px;
}
.form-row.two{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-row.three{ grid-template-columns: 1.4fr 0.7fr 1fr; }
@media (max-width: 900px){
  .form-row.two, .form-row.three{ grid-template-columns: 1fr; }
}

.form-card h2{
  text-align:left;
  margin-bottom: 8px;
}
.form-intro{
  margin-bottom: 16px;
  color:#4c5a67;
  font-size:0.95rem;
}

/* Kontaktformular: Sektionen wie Register */
.page-contact .csec{ margin-top: 18px; }
.page-contact .form-card form > .csec:first-of-type{ margin-top: 4px; }

.page-contact .csec-title{
  color:#14304b;
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 12px 0;
}
.page-contact .csec-title::after{
  content:"";
  display:block;
  width: 44px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(247,116,30,.95);
}

.page-contact .csec-panel{
  background:#eaf4ff;
  border:1px solid #d7e8f8;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}
.page-contact .csec-panel-title{
  color:#1565c0;
  font-weight: 900;
  display:flex;
  align-items:center;
  gap: 8px;
  margin: 0 0 10px 0;
}

.page-contact .csec-legalbox{
  background:#f7fafc;
  border:1px solid #e8eef4;
  border-radius: 14px;
  padding: 14px;
}
.page-contact .csec-legalbox small{
  display:block;
  margin-top: 10px;
  color:#6b7a87;
  font-size: 0.82rem;
}


.checkbox-wrap{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 8px;
}
.checkbox-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f4f7fb;
  border: 1px solid rgba(20,48,75,.10);
  font-size: 0.88rem;
  color:#223446;
  cursor:pointer;
  user-select:none;
}
.checkbox-pill input{
  margin: 0;
}

.privacy-row{
  align-items:flex-start;
  gap: 10px;
  margin-top: 10px;
}
.privacy-row span{ display:block; }
.privacy-row input{ margin-top: 3px; }

/* Kontaktblock: Überschrift in Weiß + einheitliche Breite */
.contact-block{
  text-align:center;
  max-width: 1080px;
  margin: 0 auto 26px;
}
.contact-block h2{
  color:#fff;
  font-size: 1.8rem;
  margin: 0 0 10px;
  position: relative;
}
.contact-block .section-lead{
  color:#d1dce5;
  margin: 0 auto 16px;
  max-width: 820px;
}
.contact-block a{ color:#fff; text-decoration:none; }
.contact-block a:hover{ text-decoration:underline; }
.contact-note{
  margin-top: 14px;
  font-size: 0.92rem;
  color:#d1dce5;
}


.form-section {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,.10);
  border: 1px solid rgba(20, 48, 75, 0.08);
}

@media (max-width: 600px) {
  .form-card { padding: 24px; }
}

@media (max-width: 600px) {
  .form-card { padding: 24px; }
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #14304b;
  font-weight: 800;
  font-size: 0.95rem;
}

.form-group .required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 2px solid #e8eef4;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #f7741e;
  box-shadow: 0 0 0 4px rgba(247,116,30,.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #4c5a67;
  margin-top: 6px;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
}

.form-hint {
  font-size: 0.8rem;
  color: #6b7a87;
  margin-top: 6px;
}

.form-submit-row {
  margin-top: 14px;
}

.form-submit-row small {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #6b7a87;
}


/* ============ RESPONSIVE NAV ============ */
@media (max-width: 900px) {
  .nav-container {
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0;
  }

  .nav-logo {
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100% - 50px);
  }

  .nav-brand-text {
    display: inline-block;
    font-size: 0.95rem;
    margin-left: 8px;
    opacity: 0.95;
    white-space: nowrap;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #0f253a;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 999;
  }

  .nav-links.show {
    max-height: 80vh;
    overflow-y: auto;
    padding: 14px 0 10px;
  }

  .burger {
    display: flex;
    flex-shrink: 0;
    z-index: 1001;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ RESPONSIVE HERO & SECTIONS ============ */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-logo-card {
    margin: 0 auto 6px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 70px 16px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-logo {
    width: 100px;
  }

  .nav-logo-frame img {
    height: 22px;
  }

  section {
    margin: 45px auto;
  }
}

/* ============ RECHTSTEXTE (IMPRESSUM / DATENSCHUTZ) ============ */

.legal-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px 10px;
}

.legal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 18px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #4b5966;
}

.legal-content h2 {
  text-align: left;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #14304b;
}

.legal-content h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #14304b;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 18px;
}

.legal-meta {
  font-size: 0.82rem;
  color: #6b7a87;
  margin-top: 10px;
}

/* ==========================
   IMPROVED NAVIGATION DROPDOWN
   ========================== */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Basis-Dropdown */
.has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0f253a 0%, #14304b 100%);
  padding: 16px 32px;
  border-radius: 16px;
  min-width: 520px;
  max-width: 620px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  z-index: 999;
  border: 1px solid rgba(255, 255, 255, 0.1);

  /* Zweispaltiges Layout */
  column-count: 2;
  column-gap: 48px;
}

/* Vertikale Trennlinie in der Mitte
   mit 20% Abstand oben und unten */
.has-dropdown > .dropdown::before {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

/* Einträge im Dropdown */
.has-dropdown > .dropdown li {
  break-inside: avoid;
  padding: 0;
  margin: 0;
}

.has-dropdown > .dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  color: #d1dce5;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

/* Icon links */
.has-dropdown > .dropdown a i {
  margin-right: 6px;
}

/* Pfeil rechts (Platzhalter für zukünftige Unterseiten) */
.has-dropdown > .dropdown a::after {
  content: "›";
  font-size: 0.9rem;
  opacity: 0.75;
  margin-left: 10px;
}

/* Hover-Effekt */
.has-dropdown > .dropdown a:hover {
  background: rgba(247, 116, 30, 0.15);
  color: #fff;
  border-left-color: #f7741e;
  transform: translateX(4px);
}

/* Desktop: Dropdown bei Hover anzeigen */
@media (min-width: 900px) {
  .has-dropdown:hover > .dropdown {
    display: block;
    animation: dropdownFadeIn 0.25s ease;
  }
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile: Dropdown unter dem Menüpunkt einblenden */
@media (max-width: 899px) {
  .has-dropdown {
    flex-direction: column;
    align-items: center;
  }

  .has-dropdown.open > .dropdown {
    display: block;
    position: relative;
    left: 0;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    max-height: none;
    padding: 10px 18px;
    min-width: 0;
    width: 100%;
    column-count: 1;
    column-gap: 0;
    list-style: none
  }

  .has-dropdown > .dropdown::before {
    display: none; /* Trennlinie im Mobile ausblenden */
  }

  .has-dropdown.open > .dropdown a {
    padding-left: 30px;
  }
}

/* Desktop groß: Spalten beibehalten, aber nicht mehr als 2 */
@media (min-width: 1100px) {
  .has-dropdown > .dropdown {
    column-count: 2;
    list-style: none;
    column-gap: 48px;
  }
}

/* Pfeil-Button neben "Leistungen" (nur Mobile sichtbar) */
.dropdown-toggle {
  background: transparent;
  border: none;
  color: #d1dce5;
  font-size: 0.9rem;
  margin-left: 4px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle:hover {
  color: #ffffff;
}

@media (min-width: 900px) {
  .dropdown-toggle {
    display: none;
  }

  /* Lücke schließen, wenn der Pfeil ausgeblendet ist */
  .has-dropdown {
    gap: 0;
  }
}

/* ============ FEATURE ITEM AS LINK ============ */
.feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(247, 116, 30, 0.15);
  border-color: #f7741e;
}

.feature-link:hover .feature-more {
  color: #f7741e;
}

.feature-more {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7a87;
  transition: color 0.3s ease;
}

/* ============ CHAT-ASSISTENT (SHELL) ============ */
/* Inner UI Styles werden in `chat-assistent.js` injiziert.
   Hier definieren wir nur Button + Fenster + Hidden-State. */
.shfm-chat-hidden { display: none !important; }

.shfm-chat-launch{
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(247, 116, 30, 0.55);
  background: linear-gradient(135deg, #14304b, #0f253a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2100; /* unter scroll-to-top (2101), über sticky CTA (2000) */
  box-shadow: 0 10px 25px rgba(0,0,0,0.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.shfm-chat-launch:hover{
  transform: translateY(-2px);
  border-color: rgba(247, 116, 30, 0.85);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.shfm-chat-window{
  position: fixed;
  right: 20px;
  bottom: 92px; /* genug Abstand zur Sticky-CTA-Leiste */
  width: 380px;
  height: 540px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 140px);
  border-radius: 18px;
  overflow: hidden;
  background: #f5f7fb;
  border: 1px solid rgba(15, 37, 58, 0.14);
  box-shadow: 0 18px 55px rgba(0,0,0,0.32);
  z-index: 2099;
}

/* ============ CHAT-ASSISTENT RESPONSIVE ============ */
@media (max-width: 480px) {
  .shfm-chat-launch {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .shfm-chat-window {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* ============ ANGEBOTE / OFFERS SECTION ============ */
.offers-section {
  background: linear-gradient(135deg, #fff5eb 0%, #fef3e8 100%);
  padding: 80px 24px;
  margin: 0;
  max-width: 100%;
}

.offers-section h2 {
  color: #14304b;
}

.offer-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offer-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f7741e, #e85d04);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.offer-card:hover {
  transform: translateY(-12px);
  border-color: #f7741e;
  box-shadow: 0 24px 60px rgba(247, 116, 30, 0.18);
}

.offer-card:hover::before {
  transform: scaleX(1);
}

.offer-badge {
  position: absolute;
  top: 20px;
  right: -32px;
  background: linear-gradient(135deg, #f7741e, #e85d04);
  color: #fff;
  padding: 10px 50px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(247, 116, 30, 0.3);
}

.offer-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f7741e, #e85d04);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(247, 116, 30, 0.25);
  transition: transform 0.3s ease;
}

.offer-card:hover .offer-icon {
  transform: scale(1.05) rotate(5deg);
}

.offer-card h3 {
  color: #14304b;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.offer-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #f7741e;
  margin-bottom: 10px;
  line-height: 1.2;
}

.offer-price span {
  font-size: 0.95rem;
  color: #6b7a87;
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.offer-card p {
  color: #6b7a87;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.offer-card ul {
  margin: 18px 0;
  padding-left: 0;
  list-style: none;
  flex-grow: 1;
}

.offer-card ul li {
  color: #4b5966;
  font-size: 0.9rem;
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.offer-card ul li:last-child {
  border-bottom: none;
}

.offer-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f7741e;
  font-weight: 700;
  font-size: 0.95rem;
}

.offer-card .btn-primary {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
}

.offer-old-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 1rem;
  margin-left: 8px;
}

/* ============ FEATURES / VORTEILE SECTION ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-item {
  text-align: center;
  padding: 36px 24px 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f7741e, #e85d04);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(247, 116, 30, 0.12);
  border-color: rgba(247, 116, 30, 0.15);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(145deg, #fff5eb 0%, #fef3e8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.4rem;
  color: #f7741e;
  box-shadow: 0 8px 25px rgba(247, 116, 30, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(247, 116, 30, 0.2);
}

.feature-item h3 {
  color: #14304b;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-item p {
  color: #6b7a87;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials-section {
  background: linear-gradient(135deg, #14304b 0%, #0f253a 100%);
  padding: 70px 24px;
  margin: 0;
  max-width: 100%;
}

.testimonials-section h2 {
  color: #fff;
}

.testimonials-section h2::after {
  background: linear-gradient(90deg, #f7741e, #ffa04d);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.testimonial-stars {
  color: #f7741e;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: #e0e7ef;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f7741e, #e85d04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-name {
  color: #fff;
  font-weight: 600;
}

.testimonial-location {
  color: #9ca3af;
  font-size: 0.85rem;
}

/* ============ SERVICE CARDS WITH IMAGES ============ */
.service-card-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f7741e, #e85d04);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 10;
}

.service-card-img:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(247, 116, 30, 0.15);
  border-color: rgba(247, 116, 30, 0.2);
}

.service-card-img:hover::before {
  transform: scaleX(1);
}

.service-card-img .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-img:hover .card-image {
  transform: scale(1.08);
}

.service-card-img .card-content {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-img h3 {
  color: #14304b;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card-img p {
  color: #6b7a87;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-img .btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

/* ============ STATS COUNTER ============ */
.stats-section {
  background: linear-gradient(135deg, #f7741e 0%, #e85d04 100%);
  padding: 50px 24px;
  margin: 0;
  max-width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, #14304b 0%, #0f253a 100%);
  border-radius: 28px;
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(20, 48, 75, 0.25);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(247,116,30,0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
  will-change: transform, opacity;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(247,116,30,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite 2s;
  will-change: transform, opacity;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.cta-banner h2::after {
  display: none;
}

.cta-banner p {
  color: #d1dce5;
  font-size: 1.15rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ============ FLOATING ACTION ELEMENTS ============ */
/* Scroll to Top Button - z-index set below chat (1999) and above other content */
.scroll-to-top {
  position: fixed;
  bottom: 96px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #14304b, #0f253a);
  border: 2px solid rgba(247, 116, 30, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2101; /* Above chat, above sticky CTA */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #f7741e, #e85d04);
  border-color: #f7741e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(247, 116, 30, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    right: 20px;
    bottom: 96px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

.floating-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1998;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* CTA-Bereich für gewerbliche & öffentliche Verwalter */
.cta-gewerbe {
  margin-top: 30px;
  max-width: 720px;
}

.cta-gewerbe h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.cta-gewerbe p {
  font-size: 0.96rem;
  color: #e0e7ef;
  margin-bottom: 14px;
}

.cta-gewerbe-btn {
  display: inline-block;
  margin-top: 4px;
}

/* ============ BOOTSTRAP ICONS STYLING ============ */
.bi {
  vertical-align: -0.125em;
  margin-right: 0.25em;
}

/* Icons in buttons and links */
.btn-primary .bi,
.btn-secondary .bi,
.btn-pill .bi {
  margin-right: 0.35em;
}

/* Icons in feature boxes */
.feature-icon .bi,
.offer-icon .bi,
.card-icon .bi {
  font-size: inherit;
  margin-right: 0;
}

/* Icons in headings */
h2 .bi,
h3 .bi {
  margin-right: 0.3em;
}

/* Navigation dropdown icons */
.dropdown .bi {
  margin-right: 0.4em;
}

/* Hero kicker icons */
.hero-kicker .bi {
  margin-right: 0.3em;
}

/* Hero USP icons */
.hero-usp .bi {
  margin-right: 0.25em;
}

/* ============ TESTIMONIALS SLIDER ============ */
.testimonials-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.testimonials-swiper {
  padding: 20px 0 60px;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.testimonials-swiper .testimonial-card {
  height: 100%;
  margin: 0;
}

/* Swiper Navigation Buttons - Custom Styling */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  background: rgba(247, 116, 30, 0.9);
  transform: scale(1.1);
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
  bottom: 20px;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: #f7741e;
  width: 32px;
  border-radius: 6px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .testimonials-swiper .swiper-button-next::after,
  .testimonials-swiper .swiper-button-prev::after {
    font-size: 16px;
  }
}

/* ============ SERVICE CARDS SLIDER ============ */
.services-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Show grid on desktop, hide slider */
.services-grid-desktop {
  display: grid;
}

.services-slider-mobile {
  display: none;
}

/* Show slider on mobile, hide grid */
@media (max-width: 768px) {
  .services-grid-desktop {
    display: none;
  }
  
  .services-slider-mobile {
    display: block;
    padding: 0;
  }
}

.services-mobile-swiper {
  padding: 20px 10px 60px;
}

.services-mobile-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.services-mobile-swiper .service-card-img {
  width: 100%;
  margin: 0;
}

.services-mobile-swiper .swiper-button-next,
.services-mobile-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f7741e, #e85d04);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 15px rgba(247, 116, 30, 0.4);
  transition: all 0.3s ease;
}

.services-mobile-swiper .swiper-button-next::after,
.services-mobile-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.services-mobile-swiper .swiper-button-next:hover,
.services-mobile-swiper .swiper-button-prev:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(247, 116, 30, 0.6);
}

.services-mobile-swiper .swiper-pagination {
  bottom: 20px;
}

.services-mobile-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  transition: all 0.3s ease;
}

.services-mobile-swiper .swiper-pagination-bullet-active {
  background: #f7741e;
  width: 28px;
  border-radius: 5px;
}

.services-swiper {
  padding: 20px 0 60px;
}

.services-swiper .swiper-slide {
  height: auto;
}

.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f7741e, #e85d04);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 15px rgba(247, 116, 30, 0.4);
  transition: all 0.3s ease;
}

.services-swiper .swiper-button-next::after,
.services-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(247, 116, 30, 0.6);
}

.services-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  transition: all 0.3s ease;
}

.services-swiper .swiper-pagination-bullet-active {
  background: #f7741e;
  width: 28px;
  border-radius: 5px;
}

/* ============ IMAGE GALLERY SLIDER ============ */
.gallery-slider-container {
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
}

.gallery-swiper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(20, 48, 75, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
  background: rgba(247, 116, 30, 0.95);
  transform: scale(1.1);
}

.gallery-swiper .swiper-pagination {
  bottom: 15px;
}

.gallery-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: #f7741e;
  width: 26px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .gallery-swiper .swiper-slide img {
    height: 280px;
  }
}

/* ============ BEFORE/AFTER COMPARISON SLIDER ============ */
.before-after-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.project-title {
  font-size: 1.5rem;
  color: #14304b;
  margin-bottom: 12px;
  font-weight: 700;
}

.project-description {
  color: #6b7a87;
  margin-bottom: 30px;
  line-height: 1.7;
}

.before-after-slider {
  margin-bottom: 30px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.comparison-slide {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-container.after {
  clip-path: inset(0 50% 0 0);
}

.label {
  position: absolute;
  top: 20px;
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 20px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #f7741e;
  cursor: ew-resize;
  z-index: 20;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(247, 116, 30, 0.5);
}

.slider-handle::before,
.slider-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: #f7741e;
}

.slider-handle::before {
  top: 0;
}

.slider-handle::after {
  bottom: 0;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #f7741e;
  border: 4px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  transition: transform 0.2s ease;
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.project-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.detail-card {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 10px;
  border-left: 4px solid #f7741e;
  font-size: 0.9rem;
  color: #4b5966;
}

.detail-card strong {
  color: #14304b;
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .comparison-slide {
    height: 350px;
  }
  
  .slider-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .label {
    font-size: 0.8rem;
    padding: 6px 15px;
  }
  
  .project-details {
    grid-template-columns: 1fr;
  }
}

/* ============ LAZY LOADING IMPROVEMENTS ============ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============ PARTNERS/CERTIFICATIONS SLIDER ============ */
.partners-slider-container {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.partners-swiper {
  padding: 20px 0;
}

.partners-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.partner-badge {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.partner-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(247, 116, 30, 0.15);
  border-color: rgba(247, 116, 30, 0.3);
}

.partner-icon {
  font-size: 3rem;
  color: #f7741e;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.partner-badge:hover .partner-icon {
  transform: scale(1.1);
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #14304b;
  line-height: 1.4;
}

/* ============ BREADCRUMB NAVIGATION ============ */
.breadcrumb-nav {
  max-width: 1140px;
  margin: 20px auto 0;
  padding: 0 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 12px 20px;
  margin: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #4b5966;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 12px;
  color: #9ca3af;
  font-weight: 600;
}

.breadcrumb-item a {
  color: #4b5966;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #f7741e;
}

.breadcrumb-item.active {
  color: #14304b;
  font-weight: 600;
}

.breadcrumb-item i {
  margin-right: 6px;
  font-size: 0.95em;
}

@media (max-width: 600px) {
  .breadcrumb {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 8px;
  }
}

/* ============ SMOOTH SCROLL IMPROVEMENTS ============ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ============ FADE-IN ANIMATION ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ============ IMPROVED CARD HOVER EFFECTS ============ */
.service-card-img,
.offer-card,
.feature-item {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ BETTER BUTTON INTERACTIONS ============ */
.btn-primary,
.btn-secondary,
.btn-pill {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn-primary:active::after,
.btn-secondary:active::after {
  width: 300px;
  height: 300px;
}

/* ============ ACCESSIBILITY IMPROVEMENTS ============ */
*:focus {
  outline: 2px solid #f7741e;
  outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #f7741e;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
}

.skip-to-content:focus {
  top: 0;
}

/* ============ PERFORMANCE OPTIMIZATIONS ============ */
/* Only apply will-change to images in sliders and cards that will be animated */
.service-card-img .card-image,
.swiper-slide img {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  /* Disable animations and transitions for accessibility */
  .card,
  .service-card-img,
  .offer-card,
  .feature-item,
  .btn-primary,
  .btn-secondary,
  .scroll-to-top,
  .swiper-slide {
    animation: none !important;
    transition: none !important;
  }
  
  /* Keep essential functionality but remove decorative animations */
  .shfm-chat-launch,
  .swiper {
    animation: none !important;
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .navbar,
  .burger,
  .floating-whatsapp,
  .shfm-chat-launch,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  .hero {
    page-break-after: avoid;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* ============ ENHANCED MOBILE NAVIGATION ============ */
/* Sicherstellen, dass Navigation auf mobilen Geräten nicht zu groß wird */
@media (max-width: 900px) {
  /* Navigation container padding anpassen */
  .navbar {
    padding: 12px 20px;
  }
  
  /* Logo kleiner auf sehr kleinen Bildschirmen */
  @media (max-width: 480px) {
    .nav-logo-card {
      padding: 4px;
    }
    
    .nav-logo-frame {
      padding: 2px;
    }
    
    .nav-logo-frame img {
      height: 20px;
    }
  }
  
  /* Dropdown im Mobile-Modus besser lesbar */
  .has-dropdown.open > .dropdown {
    max-width: 90vw;
  }
  
  .has-dropdown.open > .dropdown a {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
  
  /* Navigation Links im Mobilmodus zentrieren */
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 12px 20px;
  }
}

/* ============ ACCESSIBILITY IMPROVEMENTS ============ */
/* Focus styles für bessere Tastatur-Navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #f7741e;
  outline-offset: 2px;
}

/* Skip to main content link für Barrierefreiheit */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: #f7741e;
  color: white;
  text-decoration: none;
}

.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
}

/* ============ PRINT STYLES ============ */
@media print {
  /* Navigation und Footer beim Drucken ausblenden */
  .navbar,
  .footer,
  .shfm-chat-launch,
  .shfm-chat-window,
  .cookie-consent {
    display: none !important;
  }
  
  /* Seite für Druck optimieren */
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  /* URLs nach Links anzeigen */
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
  
  /* Hero-Bereiche vereinfachen */
  .hero {
    background: white !important;
    color: black !important;
    padding: 20px 0;
  }
  
  .hero::before,
  .hero::after {
    display: none !important;
  }
}

/* ============ SMOOTH SCROLLING ============ */
html {
  scroll-behavior: smooth;
}

/* Scroll-Padding für fixed Header */
html {
  scroll-padding-top: 80px;
}

/* ============ LOADING STATES ============ */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f7741e;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ UTILITY CLASSES ============ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

/* Responsive visibility utilities */
@media (max-width: 768px) {
  .d-mobile-none { display: none !important; }
}

@media (min-width: 769px) {
  .d-desktop-none { display: none !important; }
}

/* ==============================
   MOBILE STICKY CTA (GLOBAL)
   ============================== */
.mobile-sticky-cta{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  background: #f7741e;
  color: #fff;
}

@media (max-width: 900px){
  .mobile-sticky-cta{ display: flex; }

  /* iOS Safe-Area + Footer bleibt klickbar */
  .mobile-sticky-cta{
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  footer{
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  /* Platz am Ende, damit nichts verdeckt wird */
  body{
    padding-bottom: 80px;
  }

  /* Chat-Button über dem Sticky CTA (nur wenn CTA existiert) */
  body.has-sticky-cta .shfm-chat-launch{
    bottom: calc(90px + env(safe-area-inset-bottom));
  }
  body.has-sticky-cta .shfm-chat-window{
    bottom: calc(160px + env(safe-area-inset-bottom));
  }

.has-sticky-cta .scroll-to-top{
  bottom: calc(170px + env(safe-area-inset-bottom));
}

}
.swiper { overflow: hidden; }
.swiper-wrapper { will-change: transform; }


/* ===== Slider: wie Partner & Qualifikationen (ohne Pfeile/Pagination) ===== */
.services-mobile-swiper .swiper-button-next,
.services-mobile-swiper .swiper-button-prev,
.services-mobile-swiper .swiper-pagination,
.why-swiper .swiper-button-next,
.why-swiper .swiper-button-prev,
.why-swiper .swiper-pagination,
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-pagination,
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-pagination,
.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev,
.services-swiper .swiper-pagination {
  display: none !important;
}



/* ===== Slider-Container (wie Partner & Qualifikationen) ===== */
.offers-slider-container,
.faq-slider-container {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}

/* Slides: Karten sollen sauber strecken (kein "unordentlich") */
.offers-swiper .swiper-slide,
.faq-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.offers-swiper .offer-card,
.faq-swiper .feature-item {
  width: 100%;
}

/* Einheitlich wie Partner: keine Pfeile/Pagination anzeigen, falls irgendwo noch vorhanden */
.offers-swiper .swiper-button-next,
.offers-swiper .swiper-button-prev,
.offers-swiper .swiper-pagination,
.faq-swiper .swiper-button-next,
.faq-swiper .swiper-button-prev,
.faq-swiper .swiper-pagination,
.why-swiper .swiper-button-next,
.why-swiper .swiper-button-prev,
.why-swiper .swiper-pagination,
.services-mobile-swiper .swiper-button-next,
.services-mobile-swiper .swiper-button-prev,
.services-mobile-swiper .swiper-pagination,
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-pagination {
  display: none !important;
}


/* ===== Startseite: Micro-Trust + Hinweise ===== */
.micro-trust{
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
  color: #d1dce5;
}

.ust-hint{
  margin-top: 8px;
  font-size: 0.86rem;
  opacity: 0.85;
  color: #d1dce5;
}

/* ===== Angebote: Mini-Zeile als Preis-Ersatz ===== */
.offer-mini{
  margin-top: 8px;
  font-size: 0.92rem;
  opacity: 0.9;
}

/* ===== Slider zentraler (global) ===== */
:root{
  --shfm-slider-max: 1100px;
  --shfm-slider-pad: 16px;
}

.partners-slider-container,
.testimonials-slider-container,
.services-slider-mobile,
.offers-slider-container,
.faq-slider-container,
.portal-teaser .partners-slider-container,
.why-swiper,
.gallery-swiper,
.services-swiper{
  max-width: var(--shfm-slider-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--shfm-slider-pad);
  padding-right: var(--shfm-slider-pad);
}

.partners-swiper .swiper-slide,
.testimonials-swiper .swiper-slide,
.services-mobile-swiper .swiper-slide,
.offers-swiper .swiper-slide,
.faq-swiper .swiper-slide,
.portal-swiper .swiper-slide,
.why-swiper .swiper-slide,
.gallery-swiper .swiper-slide{
  display: flex;
  justify-content: center;
}

.testimonial-card{
  width: 100%;
  max-width: 520px;
}

.services-mobile-swiper .service-card-img{
  width: 100%;
  max-width: 520px;
}

.partner-badge{
  width: 100%;
  max-width: 320px;
}

@media (max-width: 420px){
  :root{ --shfm-slider-pad: 12px; }
}


/* ===== Testimonials: "Beispiel" als sauberes Badge ===== */
.testimonial-stars{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  margin-bottom: 12px;
}

/* ===== Schadensportal: Trust-Zeile im Hero ===== */
.hero-trust{
  margin-top: 18px;
}

.hero-trust-items{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}

.hero-trust-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #d1dce5;
  font-size: 0.92rem;
}

.hero-trust-note{
  margin-top: 10px;
  color: #d1dce5;
  opacity: 0.95;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
}


/* ===== Startseite: Schadensportal Trust-Chips ===== */
.portal-trust-chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0 18px;
}
.portal-trust-chips span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.portal-trust-chips i{
  font-size: 1.05em;
  opacity: 0.95;
}
@media (max-width: 420px){
  .portal-trust-chips span{ font-size: 0.9rem; padding: 7px 10px; }
}

/* Kontakt-Block: Überschrift/Line wie restliche Sektionen */
.contact-block h2{
  text-align:center;
}
.contact-block h2::after{
  content:"";
  display:block;
  width:70px;
  height:4px;
  border-radius:4px;
  margin:12px auto 0;
  background:#ff7a18;
}
.contact-block .section-lead{ text-align:center; }

/* Upload vorbereitet (disabled) */
#attachments:disabled{
  opacity:.65;
  cursor:not-allowed;
  background:#f3f6fa;
}

.btn-whatsapp{ background:#1ea85b !important; color:#fff !important; }

/* Kontaktseite: Contact-Buttons zentriert + einheitlich */
.contact-block .contact-buttons{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}
.contact-block .contact-list{
  text-align:center;
  margin: 16px auto 0;
}
.contact-block .contact-list li{
  margin: 10px 0;
}


/* ===== CTA / Social Buttons: einheitliche Form, Shadow, Border, Hover ===== */
.contact-block .contact-buttons .btn-pill{
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, opacity .16s ease;
}
.contact-block .contact-buttons .btn-pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
  filter: brightness(1.02);
}
.contact-block .contact-buttons .btn-pill:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  filter: brightness(.98);
}
.contact-block .contact-buttons .btn-pill:focus-visible{
  outline: 3px solid rgba(255,255,255,.25);
  outline-offset: 3px;
}

/* Kontaktblock: reduzierte „Weitere Kanäle“ (Textlinks statt Button-Flut) */
.contact-block .contact-more-links{
  text-align: center;
  margin: 12px auto 0;
  color: #d1dce5;
  font-size: 0.95rem;
}
.contact-block .contact-more-links a{
  color: #fff;
  text-decoration: underline;
}
.contact-block .contact-more-links a:hover{
  text-decoration: none;
}

/* WhatsApp-Grün konsistent (überall) */
.btn-whatsapp{ background:#1ea85b !important; color:#fff !important; }
.btn-whatsapp:hover{ filter: brightness(1.03); }

/* Optional: gleiche Border/Shadow auch auf anderen CTA-Button-Typen, falls sie als btn-pill verwendet werden */

/* ===================== SERVICES ACCORDION (W3) ===================== */
.services-accordion {
  margin-top: 10px;
}

.services-accordion .svc-acc {
  background: #ffffff;
  border: 1px solid rgba(20, 48, 75, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin: 12px 0;
}

.services-accordion .svc-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: #14304b;
}

.services-accordion .svc-acc summary::-webkit-details-marker {
  display: none;
}

.services-accordion .svc-acc summary::after {
  content: "\F282"; /* bootstrap-icons: chevron-down */
  font-family: "bootstrap-icons";
  font-weight: 400;
  color: rgba(20, 48, 75, 0.7);
  transition: transform 0.2s ease;
}

.services-accordion .svc-acc[open] summary::after {
  transform: rotate(180deg);
}

.services-accordion .svc-acc-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.services-accordion .svc-acc-meta {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(20, 48, 75, 0.72);
}

.services-accordion .svc-acc-body {
  padding: 0 18px 18px;
  color: #4b5966;
}

.services-accordion .svc-acc-body p {
  margin: 6px 0 12px;
}

.services-accordion .svc-acc-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.services-accordion .svc-acc-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #14304b;
}

.services-accordion .svc-acc-links a:hover {
  color: #f7741e;
}

.services-accordion .svc-acc-links a::before {
  content: "\F309"; /* bootstrap-icons: arrow-right */
  font-family: "bootstrap-icons";
  font-weight: 400;
  color: rgba(20, 48, 75, 0.55);
}

@media (max-width: 700px) {
  .services-accordion .svc-acc summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-accordion .svc-acc summary::after {
    align-self: flex-end;
  }
  .services-accordion .svc-acc-links {
    grid-template-columns: 1fr;
  }
}


/* ============ SERVICE DETAIL NAV (W3.3) ============ */
.service-backbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin: 12px auto 20px;
  max-width: 1200px;
  padding: 0 20px;
}
.service-backbar-link{
  color:#4b5966;
  text-decoration:none;
  font-size:14px;
}
.service-backbar-link:hover{ text-decoration:underline; }
.service-backbar-btn{
  padding:10px 14px;
  height:44px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* Mobile */
@media (max-width: 768px){
  .service-backbar{
    flex-direction:column;
    align-items:stretch;
  }
  .service-backbar-btn{
    width:100%;
    justify-content:center;
  }
  .service-backbar-link{
    text-align:center;
  }
}


/* ============ SERVICES HUB SEARCH (W3.5) ============ */
.svc-search{
  max-width: 720px;
  margin: 14px 0 18px;
}
.svc-search-label{
  display:block;
  font-weight:600;
  margin: 0 0 8px;
  color:#1b2b3a;
}
.svc-search-input{
  width:100%;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.12);
  padding: 0 14px;
  font-size:16px;
  background:#fff;
}
.svc-search-input:focus{
  outline:none;
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.svc-search-empty{
  margin: 10px 0 0;
  color:#7b8794;
  font-size:14px;
}

/* ===== CTA Panel (Next steps) – P0.5 ===== */
.cta-section{ margin-top: 50px; margin-bottom: 50px; }
.cta-panel{
  background: #f8fbff;
  border: 1px solid rgba(20,48,75,0.10);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 10px 25px rgba(15, 33, 52, 0.06);
}
.cta-kicker{
  margin: 0 0 8px 0;
  color: #f7741e;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-panel h3{
  margin: 0 0 10px 0;
  font-size: 1.4rem;
  color: #14304b;
}
.cta-text{
  margin: 0;
  opacity: 0.95;
}

/* === merged from ux_p0_5.css === */
@charset "UTF-8";
/*
  Shaaban FM – P0.5 UX Quick Wins (ohne neue Features)
  Ziel: konsistente Komponenten, saubere Mobile-Layouts, bessere Tabellen & Form-States.
  Dieses File wird nach style.css geladen (override-last).
*/

:root{
  --sfm-primary: #f7741e;
  --sfm-primary-2: #ff7f2e;
  --sfm-ink: #14304b;
  --sfm-muted: #6b7a87;
  --sfm-border: #e8eef4;
  --sfm-radius: 14px;
  --sfm-focus: rgba(247,116,30,.22);
  --sfm-danger: #ff6b6b;
  --sfm-success: #27ae60;
}

/* ==============================
   Buttons / CTAs
   ============================== */

.btn-primary,
.btn-secondary,
.btn-pill,
.sfm-btn,
.sfm-btn2,
.nav-btn{
  min-height: 44px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-pill:focus-visible,
.sfm-btn:focus-visible,
.sfm-btn2:focus-visible,
.nav-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--sfm-focus);
}

/* ==============================
   Forms: Labels, Fokus, Validierung
   ============================== */

/* Einheitliches Fokus-Highlight (ohne JS) */
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea,
.sfm-card input.sfm-input,
.sfm-card select.sfm-input,
.sfm-card textarea.sfm-input{
  border-radius: var(--sfm-radius);
}

.form-card input:not([type="checkbox"]):not([type="radio"]):focus,
.form-card select:focus,
.form-card textarea:focus,
.sfm-input:focus{
  outline: none;
  border-color: var(--sfm-primary);
  box-shadow: 0 0 0 4px var(--sfm-focus);
}

/* HTML5 Inline-Validierung: rot nur im Fokus */
.form-card input:required:invalid:focus,
.form-card select:required:invalid:focus,
.form-card textarea:required:invalid:focus,
.sfm-card input.sfm-input:required:invalid:focus,
.sfm-card select.sfm-input:required:invalid:focus,
.sfm-card textarea.sfm-input:required:invalid:focus{
  border-color: rgba(231,76,60,.85);
  box-shadow: 0 0 0 4px rgba(231,76,60,.14);
}

/* Pflichtfelder */
.required{
  color: var(--sfm-primary);
  font-weight: 800;
}

/* Success-States: konsistent (ohne neue Logik) */
.sfm-ok,
.alert.success{
  border-left: 4px solid rgba(39,174,96,.55);
}

.sfm-err,
.alert.error{
  border-left: 4px solid rgba(231,76,60,.55);
}


