@charset "UTF-8";

/* ---------------------------------------------------------
   1) Design-Tokens
   --------------------------------------------------------- */

/* Farben */
:root {
  --sbm-black: #0F0F0F;
  --sbm-white: #ffffff;
  --sbm-cyan: #007A98;
  /* dunkler Ton deines Cyan fürs Hover (kannst du später feinjustieren) */
  --sbm-cyan-dark: #005B72;
}

html body *{
  letter-spacing: 0 !important;
}

b, strong {
    font-weight: 600;
}

.copyright-text a {
    color: #009EC2;
}

/* ---------------------------------------------------------
   2) A11y – Zoom & Utilities
   --------------------------------------------------------- */

/* Zoom (A11y) */
html { font-size: 100%; }
html.a11y-zoom-1 { font-size: 112.5%; } /* A+ */
html.a11y-zoom-2 { font-size: 125%; }   /* A++ */

/* Grundschrift */
body {
  font-size: 1.25rem; /* aus custom-typography */
  line-height: 1.6;   /* aus custom-kopie */
  color: var(--sbm-black);
}

/* Screenreader Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: #000;
  color: #fff;
  padding: .5rem .75rem;
  border-radius: .25rem;
  text-decoration: none;
  outline: 2px solid var(--sbm-cyan);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   3) Links & Buttons (Basis)
   --------------------------------------------------------- */

/* Links */
a {
  color: var(--sbm-cyan);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover,
a:focus-visible {
  color: var(--sbm-cyan);
}

/* Buttons (Reset) */
button {
  appearance: none;
  background: none;
}

/* ---------------------------------------------------------
   4) A11y – Fokus (Global + Header + Mobile-Menü)
   --------------------------------------------------------- */

/* Globaler Tastaturfokus (zentral & eindeutig) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sbm-cyan);
  outline-offset: 4px;
}

/* Header: extra Abstand, damit Fokus nicht „verschluckt“ wird */
.quanto-header a:focus-visible,
.quanto-header button:focus-visible {
  outline-offset: 6px;
}

/* Logo & Hamburger explizit absichern */
.header-logo a:focus-visible,
.quanto-menu-toggle:focus-visible {
  outline: 3px solid var(--sbm-cyan);
  outline-offset: 6px;
}

/* A11y Toggle */
.a11y-toggle {
  position: fixed;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 1060;
}

.a11y-btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, .2);
  background: #fff;
  color: #222;
  padding: .45rem .6rem;
  border-radius: .5rem;
  font-size: .875rem;
  cursor: pointer;
}

.a11y-btn[aria-pressed="true"] {
  background: var(--sbm-cyan);
  color: #fff;
  border-color: var(--sbm-cyan);
}

.a11y-btn:focus-visible {
  outline: 2px solid var(--sbm-cyan);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   5) Social (Header & Footer)
   --------------------------------------------------------- */

/* Footer: Social-Layout */
.footer__bottom-content
.link-social-wrapper
.footer-social-icons.with-text {
  gap: 1rem;
}

/* Social Icon Hover (Transition) */
.quanto-header a.fs-3 i,
.footer6-area .footer-social-icons a.fs-3 i {
  transition: color .15s ease;
}

/* Header */
.quanto-header a.fs-3 { color: var(--sbm-cyan); }

.quanto-header a.fs-3:hover,
.quanto-header a.fs-3:focus-visible {
  color: var(--sbm-black);
}

.quanto-header a.fs-3:hover i,
.quanto-header a.fs-3:focus-visible i {
  color: var(--sbm-black);
}

/* Footer */
.footer6-area .footer-social-icons a.fs-3 { color: var(--sbm-cyan); }

.footer6-area .footer-social-icons a.fs-3:hover,
.footer6-area .footer-social-icons a.fs-3:focus-visible {
  color: #ffffff;
}

.footer6-area .footer-social-icons a.fs-3:hover i,
.footer6-area .footer-social-icons a.fs-3:focus-visible i {
  color: #ffffff;
}

/* =========================================================
   6) Mobile Overlay Menü (A11y + Layout + Typo)
   ========================================================= */

/* Fokus im Mobile-Menü (ohne Scroll-Probleme) */
.quanto-menu-wrapper.v2 .quanto-mobile-menu a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--sbm-cyan);
  border-radius: 6px;
}

/* Maus-Fokus unterdrücken, Tastatur-Fokus bleibt */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none !important;
}

/* Close-Button im Overlay */
.quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-menu-toggle {
  display: grid;
  place-content: center;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  background: var(--color-3);
  color: var(--color-white);
  margin-left: auto;
  transition: all 0.25s ease-in-out;
}

.quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-menu-toggle i,
.quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-menu-toggle svg {
  color: var(--color-white);
  line-height: 1;
  font-size: 30px;
  font-weight: 100;
}

/* Right-Spalte (≤1199.98px) */
@media only screen and (max-width: 1199.98px) {
  .quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-right {
    max-width: 75px;
    padding-inline: 5px;
    padding-block: 5px;
  }
}

/* Mobile-Menü Listen-Spacing */
.quanto-mobile-menu ul {
  margin: 0;
  padding: 0 0 80px 0;
}

.quanto-mobile-menu ul ul {
  margin: 0;
  padding: 0;
}

.quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-mobile-menu > ul > li > a {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-mobile-menu > ul > li > a:hover,
.quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-mobile-menu .sub-menu li a:hover {
  color: var(--sbm-cyan);
}

/* Touch-Geräte: Hover ausschalten (iOS "sticky hover" beim Scrollen) */
@media (hover: none) and (pointer: coarse){
  .quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-mobile-menu > ul > li > a:hover,
  .quanto-menu-wrapper.v2 .quanto-menu-area .quanto-mobile-menu-center .quanto-mobile-menu .sub-menu li a:hover{
    color: white;
  }

  /* iOS Tap-Highlight (blauer Flash) deaktivieren */
  .quanto-menu-wrapper.v2 .quanto-mobile-menu a{
    -webkit-tap-highlight-color: transparent;
  }
}

/* Standard-Spacings */
.section-padding-top-bottom {
  padding-top: 65px;
  padding-bottom: 65px;
}

.section-padding-top {
  padding-top: 65px;
}

.section-padding-bottom {
  padding-bottom: 65px;
}

/* Baseline (wird durch die spezifischere Typo-Regel unten überschrieben) */
.quanto-mobile-menu ul li a {
  font-weight: 400;
  font-size: 1.5rem;
}

/* ---------------------------------------------------------
   7) Typografie – rem Overrides (aus custom-typography)
   --------------------------------------------------------- */

/* Buttons / kleine UI */
.back-to-top-btn i { font-size: 1.125rem; }

.quanto-link-btn,
.optech-full-btn { font-size: 1.125rem; }

/* Headings – Desktop Default */
h1, .h1 { font-size: 8.75rem; }
h2, .h2 { font-size: 6.25rem; }
h3, .h3 { font-size: 5rem; }
h4, .h4 { font-size: 3.75rem; }
h5, .h5 { font-size: 1.75rem; }
h6, .h6 { font-size: 1.5rem; }

/* Utility */
.fs-44 { font-size: 2.75rem; }

/* Hero / Template-spezifische Typo */
.quanto-hero--big-content-title { font-size: 3.75rem; }
.quanto-hero--big-content-text  { font-size: 1.25rem; }

.quanto-hero__subtitle,
.quanto-hero__subtitle span { font-size: 1.125rem; }

.quanto-hero--big-number .video-box__link span { font-size: 1rem; }

.hero-sec-4 h1 { font-size: 7.5rem; }
.hero-sec-4 .hero4__subtitle span { font-size: 1.25rem; }
.hero-sec-4 .hero4__subtitle i    { font-size: 1.5rem; }

.hero-sec-5 h1 { font-size: 7.5rem; }
.hero5__counter-box h4 { font-size: 1.75rem; }
.hero5__counter-box h5 { font-size: 1.5rem; }
.hero5__subtitle span  { font-size: 1.125rem; }
.hero5__subtitle i     { font-size: 1.5rem; }

.hero6__subtitle h4  { font-size: 1.125rem; }
.hero6__subtitle span { font-size: 1.125rem; }
.hero6__subtitle i   { font-size: 1.75rem; }

.hero6__right-box h5 { font-size: 1.5rem; }
.hero6__right-box h4 { font-size: 1.75rem; }

/* Content / Karten / Listen */
.about3__content-right__item h3 { font-size: 1.75rem; }
.about3__counter-item h5 { font-size: 1.5rem; }
.about3__counter-item h3 { font-size: 3.75rem; }

.about4__content h4,
.about5__content h4,
.about6__content h4 { font-size: 1.75rem; }

.about5__content-sub-title { font-size: 1.125rem; }
.about5__statistics-item h4 { font-size: 1.5rem; }
.about5__statistics-item h5 { font-size: 1.125rem; }
.about5__center-content h3 { font-size: 1.75rem; }

.about6__counter-item h3,
.funfact-counter-item h3 { font-size: 3.75rem; }

.project-card-meta ul li,
.project-details-info__category,
.price-card-item__list ul li span,
.blog-card-meta ul li,
.blog-card-meta-3 ul li span,
.blog-details-meta ul li span,
.blog-details-tags a,
.faq-sidebar-form input,
.contact-form input,
.contact-form textarea,
.contact-form-2 input,
.contact-form-2 textarea,
.contact3__grid__form input,
.contact3__grid__form textarea,
.footer-subscribe-form input { font-size: 1rem; }

.project-details-info__item-content h4 { font-size: 1.125rem; }
.project-details-info__content-header h3 { font-size: 2.5rem; }

.service-card-item__top svg,
.service-card-item__top i,
.footer-contact-list li i,
.team-details-contact-list ul li i { font-size: 1.25rem; }

.service-card-item__bottom a,
.service-card-item__list ul li span,
.service-details-list-3 ul li span,
.footer-menu ul li a,
.footer-dark-2 .footer-menu ul li a,
.footer-contact-list li span,
.contact-list span,
.team-details-contact-list ul li span { font-size: 1.125rem; }

.service-card-item__content h4,
.price-card-item__top h4,
.testimonial-card-item-4__bottom__reviewer h4,
.testimonial-card-item-3__bottom__reviewer h4,
.team-card-item-3__content h4,
.team-card-item-4__content h4,
.blog-post-card-2__box h4,
.contact-list h4,
.footer-widgets h4 { font-size: 1.5rem; }

.service-details-heading-title,
.testimonial-card-item-3__top h3,
.testimonial-card-item-4__top h3,
.contact3__grid__title h3 { font-size: 2.5rem; }

.price-card-item__price h3,
.team-details-bg-text { font-size: 8.75rem; }

.price-card-item__badge span,
.career-card__meta ul li { font-size: 0.875rem; }

/* Footer (spezielle Regel) */
.footer-widgets.info h4 { font-size: 2.5rem; }

/* SBM – Mobile Overlay Menü Typografie (neu) */
.quanto-menu-wrapper.v2
.quanto-menu-area
.quanto-mobile-menu-center
.quanto-mobile-menu > ul > li > a {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.05;
}

/* Responsive – gebündelt nach Breakpoint */

/* ≤ 1400px */
@media (max-width: 1399.98px) {
  h1, .h1 { font-size: 7.5rem; }

  h3, .h3 { font-size: 4.375rem; }
  h4, .h4 { font-size: 3.4375rem; }
  h5, .h5 { font-size: 1.625rem; }
  h6, .h6 { font-size: 1.5rem; }

  .fs-44 { font-size: 2.5rem; }

  .hero6__header h1 { font-size: 6.25rem; }

  .quanto-menu-wrapper.v2
  .quanto-menu-area
  .quanto-mobile-menu-center
  .quanto-mobile-menu > ul > li > a { font-size: 3rem; }
}

/* ≤ 1200px */
@media (max-width: 1199.98px) {
  h1, .h1 { font-size: 5.9375rem; }
  h2, .h2 { font-size: 5.625rem; }

  h3, .h3 { font-size: 4.375rem; }
  h4, .h4 { font-size: 3.125rem; }
  h5, .h5 { font-size: 1.625rem; }
  h6, .h6 { font-size: 1.375rem; }

  .fs-44 { font-size: 2.1875rem; }

  .quanto-hero--big-content-title { font-size: 3.125rem; }

  .hero-sec-4 h1 { font-size: 5.9375rem; }
  .hero-sec-5 h1 { font-size: 5rem; }

  .hero6__header h1 { font-size: 5.9375rem; }
  .video-modal-btn__info h4 { font-size: 1.5rem; }

  .quanto-menu-wrapper.v2
  .quanto-menu-area
  .quanto-mobile-menu-center
  .quanto-mobile-menu > ul > li > a { font-size: 2.8rem; }
}

/* ≤ 992px */
@media (max-width: 991.98px) {
  h1, .h1 { font-size: 4.6875rem; }
  h2, .h2 { font-size: 4.375rem; }
  h3, .h3 { font-size: 3.75rem; }
  h4, .h4 { font-size: 2.5rem; }
  h5, .h5 { font-size: 1.5rem; }
  h6, .h6 { font-size: 1.25rem; }

  .fs-44 { font-size: 1.875rem; }

  .quanto-hero--big-content-title { font-size: 2.5rem; }

  .hero-sec-4 h1 { font-size: 4.6875rem; }
  .hero-sec-5 h1 { font-size: 4.375rem; }

  .hero6__header h1 { font-size: 4.6875rem; }

  .funfact-counter-item h3 { font-size: 2.5rem; }
  .team-details-bg-text { font-size: 5.625rem; }

  .footer6__center .footer-content h2 { font-size: 4.6875rem; }
  .footer-widgets.info h4 { font-size: 2.1875rem; }

  .quanto-menu-wrapper.v2
  .quanto-menu-area
  .quanto-mobile-menu-center
  .quanto-mobile-menu > ul > li > a { font-size: 2.5rem; }
}

/* ≤ 768px */
@media (max-width: 767.98px) {
  h1, .h1 { font-size: 4.0625rem; }
  h2, .h2 { font-size: 3.75rem; }
  h3, .h3 { font-size: 2.5rem; }
  h4, .h4 { font-size: 1.875rem; }
  h5, .h5 { font-size: 1.375rem; }

  .fs-44 { font-size: 1.75rem; }

  .hero-sec-4 h1 { font-size: 4.0625rem; }
  .hero-sec-5 h1 { font-size: 3.4375rem; }

  .hero6__header h1 { font-size: 4.0625rem; }
  .footer6__center .footer-content h2 { font-size: 4.0625rem; }

  .quanto-menu-wrapper.v2
  .quanto-menu-area
  .quanto-mobile-menu-center
  .quanto-mobile-menu > ul > li > a { font-size: 1.5rem; }
}

/* ≤ 576px */
@media (max-width: 575.98px) {
  h1, .h1 { font-size: 3.4375rem; }
  h2, .h2 { font-size: 3.125rem; }
  h3, .h3 { font-size: 2.25rem; }
  h4, .h4 { font-size: 1.75rem; }
  h5, .h5 { font-size: 1.25rem; }

  .fs-44 { font-size: 1.5625rem; }

  .hero-sec-4 h1 { font-size: 3.4375rem; }
  .hero-sec-5 h1 { font-size: 2.8125rem; }

  .hero6__header h1 { font-size: 3.4375rem; }

  .testimonial-slider-btn-2 button { font-size: 1.25rem; }
}

/* =========================================================
   8) Textblock – Layout + Typo-Varianten
   ========================================================= */

/* Layout (macht die Einrückung) */
.textblock {
  width: min(90%, 80ch);
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Layout-Varianten (nur sinnvoll zusammen mit .textblock) */
.textblock.textblock--narrow  { width: min(90%, 65ch); }
.textblock.textblock--wide    { width: min(92%, 95ch); }
.textblock.textblock--compact { padding: 1.25rem 1rem; }

/* Typo-Basis (ohne Einrückung) */
.textblock,
.textblock--article,
.textblock--legal {
  line-height: 1.7;
  color: #2e3338;
  font-size: 1.125rem; /* bewusst etwas kleiner als body(1.25rem) */
}

/* Kleine Utility-Headings (falls du Template-Styles nutzt) */
.textblock .h3,
.textblock--article .h3,
.textblock--legal .h3,
.textblock .h4,
.textblock--article .h4,
.textblock--legal .h4 {
  margin-bottom: 1rem;
}

/* Typo-Grundregeln */
.textblock p,
.textblock--article p,
.textblock--legal p {
  margin-bottom: 1em;
}

.textblock ul,
.textblock--article ul,
.textblock--legal ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.textblock li,
.textblock--article li,
.textblock--legal li {
  margin-bottom: 0.5em;
}

/* Links: Default = underline */
.textblock a,
.textblock--article a,
.textblock--legal a {
  color: var(--sbm-cyan);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  word-break: break-word;
}

.textblock a:hover,
.textblock--article a:hover,
.textblock--legal a:hover,
.textblock a:focus,
.textblock--article a:focus,
.textblock--legal a:focus {
  color: var(--sbm-black);
}

/* Headings */
.textblock h1,
.textblock--article h1,
.textblock--legal h1,
.textblock h2,
.textblock--article h2,
.textblock--legal h2,
.textblock h3,
.textblock--article h3,
.textblock--legal h3,
.textblock h4,
.textblock--article h4,
.textblock--legal h4,
.textblock h5,
.textblock--article h5,
.textblock--legal h5 {
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
  letter-spacing: 0;
}

.textblock h1,
.textblock--article h1,
.textblock--legal h1 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  margin-bottom: 1.2em;
}

.textblock h2,
.textblock--article h2,
.textblock--legal h2 {
  font-size: clamp(1.4rem, 1.5vw + 0.8rem, 2rem);
  margin-top: 1.2em;
  margin-bottom: 0.9em;
}

.textblock h3,
.textblock--article h3,
.textblock--legal h3 {
  font-size: clamp(1.2rem, 1vw + 0.6rem, 1.5rem);
  margin-top: 1.8em;
  margin-bottom: 0.7em;
}

.textblock h4,
.textblock--article h4,
.textblock--legal h4 {
  font-size: clamp(1.05rem, 0.9vw + 0.5rem, 1.25rem);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* Varianten */

/* Legal: leicht größer, Links als Border (statt underline) + H2-Trenner */
.textblock--legal { font-size: 1.2rem; }

.textblock--legal a {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 158, 194, 0.35);
  transition: border-color 0.2s ease;
}

.textblock--legal a:hover,
.textblock--legal a:focus {
  border-bottom-color: var(--sbm-black);
}

.textblock--legal h2:not(:first-child) {
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding-top: 1.2em;
}

/* Artikel/Content: luftiger */
.textblock--article {
  font-size: 1.125rem;
  line-height: 1.75;
}

.textblock--article h2 {
  margin-top: 1.6em;
  margin-bottom: 1em;
}

.textblock--article h3 {
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

.textblock--article h4 {
  margin-top: 1em;
  margin-bottom: 0.6em;
}

.textblock--article p { margin-bottom: 1.15em; }

.textblock--article img,
.textblock--article figure,
.textblock--article video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.6em 0;
}

/* Zitate/Highlights */
.textblock blockquote,
.textblock--article blockquote,
.textblock--legal blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid rgba(0, 158, 194, 0.45);
  color: rgba(46, 51, 56, 0.92);
}

.textblock blockquote p:last-child,
.textblock--article blockquote p:last-child,
.textblock--legal blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 50rem) {
  .textblock,
  .textblock--article,
  .textblock--legal {
    font-size: 1rem;
    line-height: 1.7;
  }

  .textblock h1,
  .textblock--article h1,
  .textblock--legal h1 {
    margin-bottom: 1em;
  }

  .textblock h2,
  .textblock--article h2,
  .textblock--legal h2 {
    margin-top: 2em;
  }

  .textblock h3,
  .textblock--article h3,
  .textblock--legal h3 {
    margin-top: 1.5em;
  }
}

/* =========================================================
   9) Sponsor-Slider – Kacheln + Navigation
   ========================================================= */

/* Slides strecken, damit alle Karten gleich hoch werden */
.quanto-project__slider .swiper-wrapper { align-items: stretch; }

.quanto-project__slider .swiper-slide {
  height: auto;
  display: flex;
}

/* Karte: Rahmen + gleiche Höhe + Flex-Layout */
.quanto-project__slider .sponsor-card {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Logo-Bereich: feste Höhe + zentrieren */
.quanto-project__slider .sponsor-card .quanto-project-thumb {
  height: 96px; /* <- hier stellst du die Kachelhöhe fürs Logo ein */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
}

/* Logo selbst: w-100 überschreiben, klein halten */
.quanto-project__slider .sponsor-card img.logo-image {
  width: auto !important; /* überschreibt .w-100 */
  max-width: 100%;
  max-height: 56px; /* <- Logo-Größe */
  object-fit: contain;
  display: block;
}

.quanto-project-thumb:hover img {
    transform: none;
}

/* Textbereich immer nach unten "kleben" */
.quanto-project__slider .sponsor-card .quanto-project-content {
  margin-top: auto;
  padding-top: .75rem;
}

/* Optional: Typo etwas ruhiger */
.quanto-project__slider .sponsor-card .quanto-project-date {
  opacity: .85;
  font-size: .95rem;
}

.bg-sbm-cyan { background: var(--sbm-cyan); }

/* Slider-Navigation: Buttons als Kreise + Hover/Fokus */
.quanto-project__slider-navigation .prev-btn,
.quanto-project__slider-navigation .next-btn {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, .15);
  background: transparent;
  color: var(--sbm-black);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  cursor: pointer;
}

/* Pfeil-Icon übernimmt die Farbe */
.quanto-project__slider-navigation .prev-btn i,
.quanto-project__slider-navigation .next-btn i {
  color: inherit;
}

/* Hover: Kreis cyan, Pfeil weiß */
.quanto-project__slider-navigation .prev-btn:hover,
.quanto-project__slider-navigation .next-btn:hover {
  background: var(--sbm-cyan);
  border-color: var(--sbm-cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* Tastatur-Fokus: gleiche Optik + sichtbarer Ring */
.quanto-project__slider-navigation .prev-btn:focus-visible,
.quanto-project__slider-navigation .next-btn:focus-visible {
  background: var(--sbm-cyan);
  border-color: var(--sbm-cyan);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 .22rem rgba(0, 158, 194, .35);
}

/* Optional: deaktiviert (Swiper setzt ggf. swiper-button-disabled) */
.quanto-project__slider-navigation .swiper-button-disabled,
.quanto-project__slider-navigation .prev-btn[aria-disabled="true"],
.quanto-project__slider-navigation .next-btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
  transform: none;
}

/* =========================================================
   10) Marquee
   ========================================================= */

.marquee-title {
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.marquee-container .marquee .marquee-item-container .marquee-item .marquee-title {
  color: rgba(0,0,0,0.1);
}

/* ---------------------------------------------------------
   11) Reduced Motion (global)
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior: auto !important;
  }

  .cursor{
    display: none !important;
  }

  *,
  *::before,
  *::after{
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .quanto-header.v6 .status .status-dot{
    display: none;
  }

  .marquee{
    animation: none !important;
    transform: none !important;
  }
}

/* Bilduntertitel (Figure Caption) */
.quanto-about2__thumb figcaption{
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 0.5rem;
}

/* Clients/Logos: Hover auf klickbaren Bildern */
.clients__box-wrapper .client-box a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.clients__box-wrapper .client-box img{
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}

/* Hover: leicht anheben + minimal größer + etwas mehr Kontrast */
.clients__box-wrapper .client-box a:hover{
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
}

.clients__box-wrapper .client-box a:hover img{
  transform: scale(1.04);
  opacity: .92;
}

/* Tastatur-Fokus (barrierefrei) */
.clients__box-wrapper .client-box a:focus-visible{
  outline: 2px solid var(--bs-primary);
  outline-offset: 4px;
}

/* Bildergalerie – eigenes Styling, unabhängig von Clients/Logos */
.sbm-gallery .sbm-gallery__link{
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: zoom-in;
  transition: transform .2s ease, filter .2s ease;
}

.sbm-gallery .sbm-gallery__img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}

/* Hover: leicht anheben + minimal größer + Schatten */
.sbm-gallery .sbm-gallery__link:hover{
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
}

.sbm-gallery .sbm-gallery__link:hover .sbm-gallery__img{
  transform: scale(1.03);
  opacity: .94;
}

/* Fokus sichtbar (A11y) */
.sbm-gallery .sbm-gallery__link:focus-visible{
  outline: 2px solid var(--bs-primary);
  outline-offset: 4px;
}

/* =========================================
   SBM Contest Items
   - Center ONLY on small screens (stacked)
   - Cyan button, hover -> dark tone (or black)
   ========================================= */

/* Card */
.sbm-contest-item{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 16px;
}

/* ===== Default (Desktop/Tablet): NICHT zentriert ===== */
@media (min-width: 768px){

  .sbm-date{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    border-right: 1px solid rgba(0,0,0,.08);
    padding: 0 10px 0 0;
  }

  .sbm-content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;     /* links */
    text-align: left;
    padding: 0 6px;
  }

  .sbm-attrs{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* links */
    gap: 10px 18px;
  }

  .sbm-action{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;   /* rechts */
    padding-top: 0;
  }
}

/* ===== Small screens (stacked): ALLES zentriert ===== */
@media (max-width: 767.98px){

  .sbm-date{
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;         /* center */
    text-align: center;
    gap: 6px;
    padding: 10px 0 12px;
    border-right: 0;
  }

  .sbm-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;         /* center */
    text-align: center;
    padding: 10px 0;
  }

  .sbm-attrs{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     /* center */
    gap: 10px 18px;
  }

  .sbm-action{
    display: flex;
    align-items: center;
    justify-content: center;     /* center */
    padding-top: 12px;
  }
}

/* Typo */
.sbm-day{
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,1);
}

.sbm-month{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,1);
}

.sbm-title{
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
}

.sbm-attr{
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(0,0,0,.72);
  white-space: nowrap;
}

.sbm-attr .lbl{
  font-weight: 700;
  margin-right: 6px;
}

/* Button */
.sbm-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: 1rem;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--sbm-cyan);
  color: #fff;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

/* Hover-Variante A: dunkler Cyan-Ton */
.sbm-btn:hover,
.sbm-btn:focus-visible{
  background: var(--sbm-cyan-dark);
  color: #fff;
  text-decoration: none;
}

/* Hover-Variante B: schwarz (wenn du lieber hart willst)
   -> Einfach aktivieren und die A-Variante oben auskommentieren
*/
/*
.sbm-btn:hover,
.sbm-btn:focus-visible{
  background: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none;
}
*/

@media (max-width: 575.98px){
  .sbm-attrs{ gap: 8px 14px; }
  .sbm-day{ font-size: 40px; }
}

.sbm-datasport-links .sbm-datasport-link{
  display:block;
  width:100%;
  text-decoration:none;
  transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}

.sbm-datasport-links .sbm-datasport-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
  border:1px solid rgba(0,0,0,.06);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
}

.sbm-datasport-links .sbm-datasport-link:hover{
  transform: translateY(-2px);
  opacity:.96;
}

.sbm-datasport-links .sbm-datasport-link:focus-visible{
  outline: 2px solid var(--bs-primary);
  outline-offset: 4px;
}

/* =========================================
   SBM Preisstaffeln
   ========================================= */

.sbm-fees{
  display: grid;
  gap: 16px;
}

.sbm-fee-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
}

.sbm-fee-title{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
}

.sbm-fee-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sbm-fee-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 10px 12px;
}

.sbm-fee-date{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sbm-fee-date-text{
  font-weight: 700;
  color: rgba(0,0,0,.78);
}

.sbm-fee-note{
  font-size: 13px;
  color: rgba(0,0,0,.55);
}

.sbm-fee-price{
  font-weight: 900;
  white-space: nowrap;
}

/* Small screens: sauber stapeln */
@media (max-width: 575.98px){
  .sbm-fee-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .sbm-fee-price{
    margin-top: 2px;
  }
}

/* =========================================
   CKEditor Table Styling (figure.table)
   ========================================= */

.textblock--article figure.table{
  margin: 1.25rem 0;
}

/* Responsive wrapper: bei kleinen Screens horizontal scrollen */
.textblock--article figure.table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table Base */
.textblock--article figure.table > table{
  width: 100%;
  min-width: 640px;              /* verhindert „quetschen“ auf mobil */
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 10px;
}

/* Head */
.textblock--article figure.table > table thead th{
  position: sticky;              /* nice-to-have; bleibt oben beim Scrollen */
  top: 0;
  z-index: 1;
  background: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid rgba(0,0,0,.10);
  white-space: nowrap;
}

/* Body cells */
.textblock--article figure.table > table tbody td{
  padding: 12px 14px;
  font-size: .95rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}

/* Zebra */
.textblock--article figure.table > table tbody tr:nth-child(even){
  background: rgba(0,0,0,.02);
}

/* Hover */
.textblock--article figure.table > table tbody tr:hover{
  background: rgba(0,158,194,.06); /* dein Cyan als Hauch */
}

/* Letzte Zeile ohne Border */
.textblock--article figure.table > table tbody tr:last-child td{
  border-bottom: 0;
}

/* Erste/letzte Zellen runden (wegen separate borders) */
.textblock--article figure.table > table thead th:first-child{
  border-top-left-radius: 10px;
}
.textblock--article figure.table > table thead th:last-child{
  border-top-right-radius: 10px;
}
.textblock--article figure.table > table tbody tr:last-child td:first-child{
  border-bottom-left-radius: 10px;
}
.textblock--article figure.table > table tbody tr:last-child td:last-child{
  border-bottom-right-radius: 10px;
}

/* Spalten-Optimierung für deinen Use-Case */
.textblock--article figure.table > table th:nth-child(1),
.textblock--article figure.table > table td:nth-child(1){
  width: 140px;                  /* Startzeit */
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.textblock--article figure.table > table th:nth-child(3),
.textblock--article figure.table > table td:nth-child(3){
  width: 150px;                  /* Jahrgang */
  white-space: nowrap;
}

@media (max-width: 575.98px){
  .textblock--article figure.table > table{
    min-width: 560px;
  }
}
.textblock--article blockquote{
  border-left: 4px solid var(--sbm-cyan);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  background: rgba(0, 158, 194, 0.08);
}

.textblock--article blockquote h4{
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.textblock--article blockquote p{
  margin: 0;
}

.textblock--article blockquote strong{
  color: var(--sbm-cyan);
}

.qtextblock--article blockquote a{
  color: var(--sbm-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.textblock--article blockquote a:hover,
.textblock--article blockquote a:focus{
  color: #007a95;
}
