:root {
  --blue-900: #0a2b61;
  --blue-700: #145ec9;
  --blue-500: #2e8bf0;
  --blue-300: #8fd0ff;
  --white: #ffffff;
  --ink: #0f2440;
  --bg: #f3f9ff;
  --shadow: 0 16px 35px rgba(10, 43, 97, 0.18);
  --radius: 18px;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #cbe8ff 0%, #f2f8ff 35%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 94, 201, 0.12);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: 0.4px;
}

.bm-highlight {
  color: #cfe6ff;
  font-weight: 900;
  text-shadow: 0 0 5px rgba(18, 70, 150, 0.78), 0 0 12px rgba(46, 139, 240, 0.34), 0 0 20px rgba(10, 43, 97, 0.66);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--blue-900);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 20px rgba(20, 94, 201, 0.28), 0 0 20px rgba(46, 139, 240, 0.35);
}

.menu-toggle {
  display: none;
  border: 0;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 43, 97, 0.84) 12%, rgba(10, 43, 97, 0.42) 48%, rgba(10, 43, 97, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.2rem 1rem 3.4rem;
  color: var(--white);
}

.index-hero {
  align-items: start;
}

.index-hero-content {
  width: 100%;
  max-width: 1240px;
  padding: 6.8rem 1rem 2.2rem;
}

.index-hero-content h1,
.index-hero-content p {
  max-width: 12ch;
}

.index-hero-content h1 {
  font-size: clamp(2.3rem, 6.6vw, 5.8rem);
}

.index-hero-content p {
  max-width: 56ch;
  font-size: clamp(1.05rem, 2.35vw, 1.38rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.98;
  max-width: 10ch;
}

.hero p {
  margin: 1rem 0 1.5rem;
  max-width: 58ch;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.hero-visual-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-visual-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(105%);
}

.hero-visual-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 43, 97, 0.7), rgba(20, 94, 201, 0.48));
}

.services-hero {
  align-items: center;
}

.services-hero-content {
  text-align: center;
  max-width: 980px;
  padding: 3.6rem 1rem;
}

.services-hero-content h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6.4vw, 5.9rem);
}

.services-hero-content p {
  margin-left: auto;
  margin-right: auto;
  max-width: 66ch;
  font-size: clamp(1.08rem, 2.2vw, 1.36rem);
}

.services-hero-buttons {
  justify-content: center;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--blue-900);
}

.section h3 {
  margin: 0 0 0.6rem;
  color: var(--blue-900);
}

.lead {
  color: #22466e;
  font-size: 1.07rem;
  line-height: 1.65;
  max-width: 72ch;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, #ffffff, #eaf6ff);
  border: 1px solid rgba(20, 94, 201, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(10, 43, 97, 0.08);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 16px 34px rgba(10, 43, 97, 0.2), 0 0 24px rgba(46, 139, 240, 0.2);
  border-color: rgba(20, 94, 201, 0.45);
}

.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-body p {
  line-height: 1.65;
}

.action-week-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: stretch;
}

.action-week-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.action-week-card .card-body {
  padding: 1.4rem 1.5rem;
}

.action-week-card .card-body h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.action-week-copy {
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.75;
  color: #1c3d63;
}

.free-workshop-copy {
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.8;
  color: #173a5c;
}

.free-workshop-left-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.45rem 1.35rem;
}

.free-workshop-left-card .free-workshop-copy {
  margin: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Position buttons visually close and relative to the about-section marquee */
.marquee-cta-row {
  margin-top: 1.2rem; /* increased gap below marquee per request */
  justify-content: center;
  position: static;
  z-index: 10; /* keep below sticky header (z-index:30) so header stays on top */
}

@media (max-width: 600px) {
  .marquee-cta-row {
    margin-top: 0.9rem;
    gap: 0.5rem;
  }
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 11px 24px rgba(20, 94, 201, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-900);
  border: 1px solid rgba(10, 43, 97, 0.25);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow), 0 0 18px rgba(143, 208, 255, 0.7);
  filter: brightness(1.06);
}

.kpis {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.kpi {
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #d8eeff, #ffffff);
  border: 1px solid rgba(20, 94, 201, 0.16);
}

.controls {
  margin: 1rem 0 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.input,
.select,
textarea {
  width: 100%;
  border: 1px solid rgba(10, 43, 97, 0.25);
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font-size: 1rem;
  background: #fff;
}

.input,
.select {
  max-width: 320px;
}

label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--blue-900);
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-card {
  padding: 1.2rem;
}

.faq-item {
  border-bottom: 1px solid rgba(10, 43, 97, 0.12);
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1rem 2.1rem 1rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-900);
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.35rem;
  color: var(--blue-700);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-a {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: #244a72;
  line-height: 1.6;
  transition: max-height 0.35s ease, opacity 0.28s ease, margin 0.25s ease;
}

.faq-item.open .faq-a {
  max-height: 420px;
  opacity: 1;
  margin: 0 0 1rem;
}

.faq-item.open .faq-q::after {
  content: "×";
  transform: translateY(-50%) rotate(180deg);
  color: var(--blue-900);
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #eaf6ff, #fff);
  border: 1px solid rgba(20, 94, 201, 0.18);
  margin-top: 1.2rem;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  position: relative;
  min-width: 280px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 94, 201, 0.2);
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.marquee-item::after {
  content: attr(data-hover-label);
  position: absolute;
  inset: auto 0 0;
  padding: 0.5rem 0.75rem;
  background: rgba(10, 43, 97, 0.78);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.marquee-item:hover::after {
  opacity: 1;
}

.marquee-item img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.about-top-intro {
  margin: 0.6rem auto 0;
  text-align: center;
  max-width: 78ch;
}

.about-top {
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 1.2rem;
}

.about-marquee-hint {
  text-align: center;
  color: #24517c;
  font-weight: 700;
  margin: 0.35rem auto 0;
}

.about-top-gap {
  height: clamp(28px, 6vh, 76px);
}

.about-center-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 80ch;
}

/* Ensure in-page anchor scrolling accounts for sticky header height */
[id] {
  scroll-margin-top: calc(var(--header-height) + 8px);
}

.about-marquee-controls {
  justify-content: center;
  margin-top: 1rem;
}

.about-sections-marquee .marquee-track {
  gap: 0.55rem;
  padding: 0.35rem;
}

.about-sections-marquee {
  width: min(98vw, 1360px);
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.about-sections-marquee {
  width: min(98vw, 1180px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.about-sections-marquee .marquee-track {
  margin: 0 auto;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0.4rem;
}

.about-sections-marquee .marquee-item {
  min-width: 200px;
  width: 200px;
  flex: 0 0 200px;
  border-radius: 8px;
}

.about-sections-marquee .marquee-item img {
  aspect-ratio: 1/1;
}

.about-sections-marquee .marquee-item::after {
  font-size: 0.66rem;
  padding: 0.14rem 0.28rem;
}

.about-duo-grid {
  align-items: stretch;
}

.about-duo-card {
  display: flex;
}

.about-duo-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.about-marquee-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-marquee-item:hover {
  transform: scale(1.035);
  box-shadow: 0 14px 24px rgba(10, 43, 97, 0.28);
}

#ueber-bm .grid.two {
  margin-top: 0.55rem;
}

.section-divider {
  height: 2px;
  width: min(92vw, 1020px);
  max-width: 1020px;
  margin: 0.95rem auto;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 94, 201, 0), rgba(20, 94, 201, 0.95) 18%, rgba(143, 208, 255, 1) 50%, rgba(20, 94, 201, 0.95) 82%, rgba(20, 94, 201, 0));
  box-shadow: 0 0 8px rgba(46, 139, 240, 0.42);
}

.section-divider svg {
  display: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 1.1rem;
  align-items: start;
}

.service-detail-grid > .form-card,
.service-detail-grid > .service-gallery {
  height: auto;
}

.service-detail-grid > .form-card {
  display: flex;
  flex-direction: column;
}

.service-detail-grid > .form-card .btn-row {
  margin-top: 0.7rem;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 200px));
  gap: 0.6rem;
  justify-content: end;
}

.service-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(20, 94, 201, 0.2);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.service-sales-copy {
  font-size: 1.03rem;
  line-height: 1.72;
}

.service-points {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.22rem;
}

.service-points li {
  line-height: 1.55;
  color: #193b62;
}

.service-gallery img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 20px rgba(10, 43, 97, 0.2);
}

.emob-hero {
  align-items: center;
}

.emob-hero-content {
  text-align: center;
  max-width: 980px;
  margin: auto;
  padding: 2.2rem 1rem;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.emob-hero-content h1 {
  max-width: none;
}

.emob-hero-hint {
  margin: 0.55rem auto 0.7rem;
  font-weight: 800;
  color: #dff0ff;
}

.emob-strip {
  gap: 1.3rem;
}

.emob-rebuild-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.emob-rebuild-card {
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(20, 94, 201, 0.28);
  box-shadow: 0 16px 30px rgba(10, 43, 97, 0.2);
  transition: transform 0.28s ease, box-shadow 0.3s ease;
}

.emob-rebuild-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 42px rgba(10, 43, 97, 0.28), 0 0 24px rgba(143, 208, 255, 0.3);
}

.emob-rebuild-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emob-rebuild-card .overlay {
  position: absolute;
  inset: 0;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(10, 43, 97, 0.82), rgba(20, 94, 201, 0.56));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.emob-rebuild-card .overlay h2 {
  color: #fff;
  margin-bottom: 0.65rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.emob-rebuild-card .overlay p {
  margin: 0 0 0.7rem;
  font-size: 1.03rem;
  line-height: 1.72;
}

.emob-rebuild-card .overlay .btn {
  margin-top: 0.75rem;
  width: fit-content;
}

.emob-box {
  min-height: 560px;
}

.emob-box .overlay p {
  font-size: 1rem;
  line-height: 1.64;
}

.emob-box .overlay .btn {
  margin-top: 0.65rem;
  width: fit-content;
}

.emob-box:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 34px rgba(10, 43, 97, 0.22);
}

.feature-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-box {
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.werkstatt-box {
  min-height: 390px;
}

.feature-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-box .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 43, 97, 0.72), rgba(20, 94, 201, 0.5));
  padding: 1.3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.werkstatt-box .overlay h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.55rem;
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.werkstatt-box .overlay p {
  font-size: 1rem;
  line-height: 1.6;
}

.feedback-marquee .marquee-track {
  gap: 1rem;
  padding: 1rem;
}

.feedback-item {
  min-width: min(74vw, 660px);
  max-width: 660px;
  padding: 0;
  border-radius: 16px;
}

.feedback-item h3 {
  margin-bottom: 0.65rem;
}

.feedback-item p {
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 0;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(140deg, var(--blue-900), #0f488f);
  color: #e4f3ff;
}

.footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.45rem;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 243, 255, 0.45);
}

.footer-meta a:hover {
  border-bottom-color: rgba(228, 243, 255, 0.9);
}

.reveal {
  animation: enter 0.8s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

.reveal.delay-3 {
  animation-delay: 0.36s;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aktion Banner */
.aktion-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(150%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.aktion-banner img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.aktion-banner-content {
  position: relative;
}
.close-aktion {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  cursor: pointer;
}
.aktion-text {
  padding: 1.5rem;
}
.aktion-text h3 {
  margin-top: 0;
  font-size: 1.2rem;
}
.aktion-text p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}


.brand img {
    height: 80px;
    width: auto;
}
@media (max-width: 768px) {
    .brand img {
        height: 50px;
    }
}

/* Modern Footer */
.modern-footer {
    background-color: #0a2b61;
    color: #ffffff;
    padding: 3rem 1rem;
    font-size: 0.95rem;
    margin-top: 4rem;
}
.modern-footer .footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}
.modern-footer .footer-col {
    flex: 1 1 250px;
}
.modern-footer .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
}
.modern-footer h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 0;
}
.modern-footer p {
    margin: 0;
    line-height: 1.6;
}
.modern-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.modern-footer .footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.modern-footer .footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
.modern-footer .social-icons {
    display: flex;
    gap: 1rem;
}
.modern-footer .social-icons a {
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}
.modern-footer .social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .modern-footer .footer-wrap {
        flex-direction: column;
    }
}

/* === Agency Visual Fine-Tuning & Edge Alignment === */
.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.card-body > .btn,
.card-body > .btn-row {
  margin-top: auto;
  padding-top: 0.35rem;
}

.card-body > .btn {
  align-self: flex-start;
}

.service-gallery img,
.marquee-item img {
  object-position: center 22%;
}

.input,
.select,
textarea {
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(20, 94, 201, 0.16);
}

.aktion-banner {
  width: min(360px, calc(100vw - 2rem));
  right: 1rem;
  bottom: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 94, 201, 0.18);
  box-shadow: 0 18px 40px rgba(10, 43, 97, 0.26);
}
