@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@700;800&family=Nunito+Sans:wght@400;700;800&display=swap');

:root {
  --hero-bg: #cdcc00;
  --hero-text: #ffffff;
  --hero-media-width: 1180px;
  --hero-text-width: 1180px;
  --hero-button-bg: #0c4d61;
}

h1, h2, h3 {
  font-family: 'Eczar', serif;
  font-weight: 700;
}

h4, h5, h6 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
}

body,
p,
li,
a,
span,
strong,
em {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
}

#hero.mod-hero {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 10rem 1.5rem 16rem;
  background-color: var(--hero-bg);
  color: var(--hero-text);
  overflow: visible;
  text-align: left;
}

#hero.mod-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(205, 204, 0, 0) 0%, rgba(205, 204, 0, 0.15) 35%, rgba(205, 204, 0, 0.45) 55%, rgba(240, 240, 190, 0.8) 78%, #ffffff 100%);
  pointer-events: none;
  z-index: 0;
}

#hero.mod-hero > * {
  position: relative;
  z-index: 1;
}

#hero .hero-kicker,
#hero .hero-title,
#hero .hero-title h1,
#hero .hero-subtitle,
#hero .hero-text,
#hero .hero-text p,
#hero .hero-cta,
#hero .hero-cta a {
  color: var(--hero-text);
}

#hero .hero-kicker {
  max-width: var(--hero-text-width);
  margin: 0 auto 14rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#hero .hero-title,
#hero .hero-title h1 {
  max-width: var(--hero-text-width);
  margin: 0 auto;
  font-family: 'Eczar', serif;
  font-weight: 700;
  font-size: clamp(3.8rem, 8vw, 8.8rem);
  line-height: 0.9;
}

#hero .hero-subtitle {
  max-width: var(--hero-text-width);
  margin: 1rem auto 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
}

#hero .hero-showreel {
  max-width: var(--hero-media-width);
  margin: 0 auto 8rem;
}

#hero .hero-showreel .image_container,
#hero .hero-showreel figure,
#hero .hero-showreel picture {
  margin: 0;
}

#hero .hero-showreel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 1rem;
}

#hero .hero-text {
  width: 100%;
  max-width: var(--hero-text-width);
  margin: 0 auto 4rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #ffffff;
  text-align: left;
}

#hero .hero-text p {
  max-width: 1260px;
  margin: 0;
  color: #575756;
}

#hero .hero-cta,
#hero .hero-cta-primary,
#hero .hero-cta-secondary {
  display: inline-block;
  margin: 0 0.5rem 0.75rem;
  text-align: center;
  position: static;
}

#hero .hero-cta-primary a,
#hero .hero-cta-secondary a,
#hero .hero-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.35rem;
  border: 1px solid #0c4d61;
  border-radius: 999px;
  background: var(--hero-button-bg);
  color: #ffffff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

#hero .hero-cta-primary a:hover,
#hero .hero-cta-secondary a:hover,
#hero .hero-cta a:hover {
  background: #ffffff;
  color: var(--hero-button-bg);
  border-color: #ffffff;
}

#hero .hero-showreel ~ .hero-text,
#hero .hero-showreel ~ .hero-cta-primary,
#hero .hero-showreel ~ .hero-cta-secondary,
#hero .hero-showreel ~ .hero-cta {
  position: relative;
  z-index: 2;
}

#hero .hero-showreel ~ .hero-cta-primary {
  margin-left: calc(42% - 0.5rem);
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  #hero.mod-hero {
    padding: 6.5rem 1.25rem 9rem;
  }

  #hero.mod-hero::after {
    height: 160px;
  }

  #hero .hero-kicker {
    margin-bottom: 3.5rem;
  }

  #hero .hero-title,
  #hero .hero-title h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
    line-height: 0.94;
  }

  #hero .hero-subtitle {
    margin-bottom: 3.5rem;
  }

  #hero .hero-showreel {
    margin-bottom: 5rem;
  }

  #hero .hero-text {
    margin-bottom: 2.5rem;
  }

  #hero .hero-showreel ~ .hero-cta-primary,
  #hero .hero-showreel ~ .hero-cta-secondary,
  #hero .hero-showreel ~ .hero-cta {
    display: block;
    margin: 0 0 0.85rem;
    transform: none;
    text-align: center;
  }
}

#hero .hero-logo-right {
  position: absolute;
  top: 11.2rem;
  right: calc((100vw - min(100vw, var(--hero-media-width))) / 4);
  z-index: 3;
  margin: 0;
  width: auto;
  max-width: none;
}

#hero .hero-logo-right .image_container,
#hero .hero-logo-right figure,
#hero .hero-logo-right picture {
  margin: 0;
}

#hero .hero-logo-right img {
  display: block;
  width: 100%;
  max-width: 84px;
  height: auto;
}

@media (max-width: 767px) {
  #hero .hero-logo-right {
    top: 6.4rem;
    right: 1rem;
  }

  #hero .hero-logo-right img {
    max-width: 58px;
  }
}

.hero--home {
  position: relative;
  min-height: 100svh;
}

#hero.mod-hero {
  position: relative;
}
/* Hero-Scrollindicator – Desktop */

#hero.mod-hero {
  position: relative;
}

/* Scrollindicator – korrigierte finale Version */
#hero.mod-hero {
  position: relative;
}

#hero .scrollindicator {
  position: absolute;
  z-index: 6;
  top: 36.5rem;
  right: calc((100vw - min(100vw, var(--hero-text-width))) / 2 - 8.5rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.8rem;
  color: #ffffff;
  text-decoration: none;
  transform: none;
}

#hero .scrollindicator .label {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center center;
}

#hero .scrollindicator .line {
  position: relative;
  display: block;
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

#hero .scrollindicator .flicker {
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: translateY(-100%);
  animation: scrollIndicatorFlicker 1.8s ease-in-out infinite;
}

@keyframes scrollIndicatorFlicker {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Tablet-Feintuning, falls nötig */
@media (min-width: 768px) and (max-width: 1199px) {
  #hero .scrollindicator {
    bottom: 18.5rem;      /* etwas näher an die Subline holen */
    right: 1.75rem;       /* näher zum Logo, da der Hero schmaler wird */
  }

  #hero .scrollindicator .label {
    font-size: 0.7rem;
    gap: 0.75rem;
  }

  #hero .scrollindicator .line {
    height: 48px;
  }
}

/* Mobile – entweder reduziert oder ganz ausblenden */
@media (max-width: 767px) {
  #hero .scrollindicator {
    display: none;
  }
}

#hero-showreel {
  scroll-margin-top: 4rem;
}

/* 02 Intro */
#intro.mod-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  column-gap: 4rem;
  row-gap: 1.25rem;
  max-width: var(--hero-text-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  align-items: start;
  background: #ffffff;
  color: #575756;
}

#intro.mod-intro > .intro-kicker {
  grid-column: 1 / -1;
  margin: 0 0 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #575756;
}

#intro.mod-intro > .intro-title,
#intro.mod-intro > .intro-title h2,
#intro.mod-intro > .intro-title h3 {
  grid-column: 1;
  margin: 0 0 1.5rem;
  font-family: 'Eczar', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: #575756;
}

#intro.mod-intro > .intro-text {
  grid-column: 1;
}

#intro.mod-intro > .intro-text,
#intro.mod-intro > .intro-text p,
#intro.mod-intro > .intro-text a,
#intro.mod-intro > .intro-text strong,
#intro.mod-intro > .intro-text em,
#intro.mod-intro > .intro-text span {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #575756;
}

#intro.mod-intro > .intro-visual {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  perspective: 1400px;
}

#intro .intro-flip {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
}

#intro .intro-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: introFlip 8s ease-in-out infinite;
}

#intro .intro-flip-front,
#intro .intro-flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#intro .intro-flip-front img,
#intro .intro-flip-back img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#intro .intro-flip-back {
  transform: rotateY(180deg);
}

@keyframes introFlip {
  0%, 42% {
    transform: rotateY(0deg);
  }
  50%, 92% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #intro .intro-flip-inner {
    animation: none;
    transform: none;
  }

  #intro .intro-flip-back {
    display: none;
  }
}

@media (max-width: 767px) {
  #intro.mod-intro {
    display: block;
    padding: 3rem 1.25rem 4rem;
  }

  #intro.mod-intro > .intro-title,
  #intro.mod-intro > .intro-title h2,
  #intro.mod-intro > .intro-title h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  #intro.mod-intro > .intro-text,
  #intro.mod-intro > .intro-text p,
  #intro.mod-intro > .intro-text a,
  #intro.mod-intro > .intro-text strong,
  #intro.mod-intro > .intro-text em,
  #intro.mod-intro > .intro-text span {
    font-size: 1.15rem;
    line-height: 1.55;
  }

  #intro.mod-intro > .intro-visual {
    margin-top: 2.5rem;
  }

  #intro .intro-flip {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* 03 Leistungsräume */
#services.mod-services {
  padding: 4rem 1.5rem 7rem;
  background: #ffffff;
  color: #575756;
}

#services {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

#services .services-kicker,
#services .services-title,
#services .services-intro {
  grid-column: 1 / -1;
  width: 100%;
  max-width: var(--hero-text-width);
  margin: 0;
  justify-self: center;
  text-align: left;
}

#services .services-kicker {
  margin-bottom: 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #575756;
}

#services .services-title,
#services .services-title h2,
#services .services-title h3 {
  margin: 0 0 1.5rem;
  font-family: 'Eczar', serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1;
  color: #575756;
}

#services .services-intro {
  margin-bottom: 7rem;
}

#services .services-intro,
#services .services-intro p,
#services .services-intro a,
#services .services-intro strong,
#services .services-intro em,
#services .services-intro span {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #575756;
}

#services .services-intro p {
  max-width: 760px;
  margin: 0;
}

#services .service-box {
  grid-column: span 4;
  padding: 2rem 2rem 1.8rem;
  border-radius: 1.25rem;
  background: #f3f3f3;
  transition: background-color 180ms ease, transform 180ms ease;
}

#services .service-box.service-box-identity,
#services .service-box.service-box-web {
  background: linear-gradient(45deg, #cdcc00 0%, #e3e25d 100%);
}

#services .service-box.service-box-consulting {
  background: #0c4d61;
}

#services .service-box-title,
#services .service-box-title h3,
#services .service-box-title h4 {
  margin: 0 0 3rem;
  font-family: 'Eczar', serif;
  font-size: clamp(1.8rem, 2.4vw, 3.4rem);
  line-height: 1.05;
  color: #575756;
}

#services .service-box-text,
#services .service-box-text p,
#services .service-box-text a,
#services .service-box-text strong,
#services .service-box-text em,
#services .service-box-text span {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #575756;
}

#services .service-box-meta,
#services .service-box-meta p {
  margin: 2.5rem 0 0;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #575756;
}

#services .service-box.service-box-consulting .service-box-title,
#services .service-box.service-box-consulting .service-box-title h3,
#services .service-box.service-box-consulting .service-box-title h4,
#services .service-box.service-box-consulting .service-box-text,
#services .service-box.service-box-consulting .service-box-text p,
#services .service-box.service-box-consulting .service-box-meta,
#services .service-box.service-box-consulting .service-box-meta p {
  color: #ffffff;
}

#services .service-box:hover {
  background: #ef8354;
  transform: translateY(-3px);
}

#services .service-box:hover .service-box-title,
#services .service-box:hover .service-box-title h3,
#services .service-box:hover .service-box-title h4,
#services .service-box:hover .service-box-text,
#services .service-box:hover .service-box-text p,
#services .service-box:hover .service-box-meta,
#services .service-box:hover .service-box-meta p {
  color: #ffffff;
}

@media (max-width: 1023px) {
  #services.mod-services {
    padding: 3.5rem 1.25rem 5.5rem;
  }

  #services .services-kicker {
    margin-bottom: 4rem;
  }

  #services .services-intro {
    margin-bottom: 4rem;
  }

  #services .services-intro,
  #services .services-intro p,
  #services .services-intro a,
  #services .services-intro strong,
  #services .services-intro em,
  #services .services-intro span {
    font-size: 1.25rem;
  }

  #services .service-box {
    grid-column: span 6;
  }

  #services .service-box-title,
  #services .service-box-title h3,
  #services .service-box-title h4 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
  }

  #services .service-box-text,
  #services .service-box-text p,
  #services .service-box-text a,
  #services .service-box-text strong,
  #services .service-box-text em,
  #services .service-box-text span,
  #services .service-box-meta,
  #services .service-box-meta p {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  #services {
    display: block;
  }

  #services.mod-services {
    padding: 3rem 1.25rem 4.5rem;
  }

  #services .services-kicker {
    margin-bottom: 2.5rem;
  }

  #services .services-title,
  #services .services-title h2,
  #services .services-title h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  #services .services-intro {
    margin-bottom: 2.5rem;
  }

  #services .services-intro,
  #services .services-intro p,
  #services .services-intro a,
  #services .services-intro strong,
  #services .services-intro em,
  #services .services-intro span {
    font-size: 1.15rem;
    line-height: 1.55;
  }

  #services .service-box {
    margin-bottom: 1rem;
    padding: 1.5rem 1.35rem;
  }

  #services .service-box:last-child {
    margin-bottom: 0;
  }

  #services .service-box-title,
  #services .service-box-title h3,
  #services .service-box-title h4 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  #services .service-box-text,
  #services .service-box-text p,
  #services .service-box-text a,
  #services .service-box-text strong,
  #services .service-box-text em,
  #services .service-box-text span,
  #services .service-box-meta,
  #services .service-box-meta p {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  #services .service-box-meta,
  #services .service-box-meta p {
    margin-top: 1.5rem;
  }
}

/* =========================================================
   04 Cases
   Finale Version komplett
   ========================================================= */

#cases.mod-cases {
  padding: 4rem 0 7rem;
  background: #ffffff;
  color: #575756;
  overflow: hidden;
}

#cases {
  width: 100%;
}

#cases .cases-kicker,
#cases .cases-title,
#cases .cases-intro {
  width: 100%;
  max-width: var(--hero-text-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: left;
}

#cases .cases-kicker {
  margin-bottom: 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #575756;
}

#cases .cases-title,
#cases .cases-title h2,
#cases .cases-title h3 {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: var(--hero-text-width);
  font-family: 'Eczar', serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1;
  color: #575756;
  text-align: left;
}

#cases .cases-title h2,
#cases .cases-title h3 {
  margin-bottom: 0;
}

#cases .cases-intro {
  margin-bottom: 3rem;
}

#cases .cases-intro,
#cases .cases-intro p,
#cases .cases-intro a,
#cases .cases-intro strong,
#cases .cases-intro em,
#cases .cases-intro span {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #575756;
}

#cases .cases-intro p {
  max-width: 760px;
  margin: 0;
}

/* ---------------------------------------------------------
   Marquee Slider
   --------------------------------------------------------- */

#cases .cases-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#cases .cases-slider--marquee {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0 1.5rem;
}

#cases .cases-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: cases-marquee 42s linear infinite;
  will-change: transform;
}

#cases .cases-slider-wrap:hover .cases-track,
#cases .cases-slider-wrap:focus-within .cases-track {
  animation-play-state: paused;
}

#cases .cases-item {
  flex: 0 0 auto;
  width: min(38vw, 36rem);
}

/* ---------------------------------------------------------
   Card
   --------------------------------------------------------- */

#cases .case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 0;
  background: #000000;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
}

#cases .case-card:visited,
#cases .case-card:hover,
#cases .case-card:active {
  color: #ffffff;
  text-decoration: none;
}

#cases .case-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  background: #d9d9d9;
}

#cases .case-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.58) 24%,
      rgba(0, 0, 0, 0.20) 52%,
      rgba(0, 0, 0, 0.00) 100%
    );
  pointer-events: none;
}

#cases .case-card-media .image_container,
#cases .case-card-media picture,
#cases .case-card-media figure,
#cases .case-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

#cases .case-card-media picture,
#cases .case-card-media figure {
  position: relative;
}

#cases .case-card-media a {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#cases .case-card-media img {
  object-fit: cover;
  transform: scale(1);
  transition: transform 420ms ease;
  will-change: transform;
}

#cases .case-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.55rem 1.45rem 1.65rem;
  background: transparent;
}

#cases .case-card-title {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin: 0;
  max-width: 15ch;
  color: #ffffff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: clamp(1.2rem, 1.75vw, 1.5rem);
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em;
}

#cases .case-card-title,
#cases .case-card-title *,
#cases .case-card-body span,
#cases .case-card-body a {
  color: #ffffff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 900 !important;
}

#cases .case-card-title-text {
  display: inline;
}

#cases .case-card-arrow {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 1em;
  line-height: 1;
  transform: translateX(0);
  transition: transform 220ms ease;
}

#cases .case-card:hover .case-card-media img,
#cases .case-card:focus-visible .case-card-media img {
  transform: scale(1.04);
}

#cases .case-card:hover .case-card-arrow,
#cases .case-card:focus-visible .case-card-arrow {
  transform: translateX(6px);
}

#cases .case-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

#cases .case-card .ce_text,
#cases .case-card .teaser,
#cases .case-card p.info,
#cases .case-card .more,
#cases .case-card .news-date {
  display: none;
}

/* ---------------------------------------------------------
   Animation
   --------------------------------------------------------- */

@keyframes cases-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 2.5rem));
  }
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (min-width: 768px) {
  #cases.mod-cases {
    padding: 3.5rem 0 5.5rem;
  }

  #cases .cases-kicker,
  #cases .cases-title,
  #cases .cases-intro {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #cases .cases-kicker {
    margin-bottom: 4rem;
  }

  #cases .cases-intro {
    margin-bottom: 3rem;
  }

  #cases .cases-slider--marquee {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #cases .cases-track,
  #cases .cases-slider--marquee {
    gap: 2.25rem;
  }

  #cases .cases-item {
    width: min(46vw, 34rem);
  }
}

/* ---------------------------------------------------------
   Desktop
   --------------------------------------------------------- */

@media (min-width: 1200px) {
  #cases .cases-item {
    width: min(34vw, 32rem);
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  #cases.mod-cases {
    padding: 3rem 0 4.5rem;
  }

  #cases .cases-kicker,
  #cases .cases-title,
  #cases .cases-intro {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #cases .cases-kicker {
    margin-bottom: 2.5rem;
  }

  #cases .cases-title,
  #cases .cases-title h2,
  #cases .cases-title h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  #cases .cases-intro {
    margin-bottom: 2rem;
  }

  #cases .cases-intro,
  #cases .cases-intro p,
  #cases .cases-intro a,
  #cases .cases-intro strong,
  #cases .cases-intro em,
  #cases .cases-intro span {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  #cases .cases-slider--marquee {
    gap: 1.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #cases .cases-track {
    gap: 1.5rem;
    animation-duration: 34s;
  }

  #cases .cases-item {
    width: 80vw;
  }

  #cases .case-card-media {
    aspect-ratio: 4 / 4.8;
  }

  #cases .case-card-body {
    padding: 1.15rem 1.05rem 1.2rem;
  }

  #cases .case-card-title,
  #cases .case-card-title *,
  #cases .case-card-title-text,
  #cases .case-card-arrow {
    font-size: clamp(1.15rem, 5.8vw, 1.45rem);
    line-height: 1.16 !important;
    font-weight: 900 !important;
    max-width: 14ch;
  }
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  #cases .cases-track {
    animation: none;
  }

  #cases .case-card-media img,
  #cases .case-card-arrow {
    transition: none;
  }
}

/* =========================================================
   05 Workflow / vertikal
   ========================================================= */

#workflow.mod-workflow {
  padding: 4rem 0 7rem;
  background: #ffffff;
  color: #575756;
  overflow: hidden;
}

#workflow {
  width: 100%;
}

#workflow .workflow-kicker,
#workflow .workflow-title,
#workflow .workflow-intro,
#workflow .workflow-journey {
  width: 100%;
  max-width: var(--hero-text-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: left;
}

#workflow .workflow-kicker {
  margin-bottom: 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #575756;
}

#workflow .workflow-title,
#workflow .workflow-title h2,
#workflow .workflow-title h3 {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: var(--hero-text-width);
  font-family: 'Eczar', serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1;
  color: #575756;
  text-align: left;
}

#workflow .workflow-title h2,
#workflow .workflow-title h3 {
  margin-bottom: 0;
}

#workflow .workflow-intro {
  margin-bottom: 4rem;
}

#workflow .workflow-intro,
#workflow .workflow-intro p,
#workflow .workflow-intro a,
#workflow .workflow-intro strong,
#workflow .workflow-intro em,
#workflow .workflow-intro span {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #575756;
}

#workflow .workflow-intro p {
  max-width: 760px;
  margin: 0;
}

/* ---------------------------------------------------------
   Vertikaler Aufbau
   --------------------------------------------------------- */

#workflow .workflow-journey {
  margin-top: 0;
}

#workflow .workflow-viewport {
  width: 100%;
  overflow: visible;
  padding: 0;
}

#workflow .workflow-track {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  min-width: 0;
  position: relative;
}

#workflow .workflow-track::before {
  content: none;
}

#workflow .workflow-step {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(320px, 1fr);
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(90deg, #f8f8f2 0%, #ececd7 100%);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

#workflow .workflow-step-content {
  position: relative;
  z-index: 2;
  max-width: 28rem;
}

#workflow .workflow-step-number {
  margin: 0 0 0.85rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6d7f88;
}

#workflow .workflow-step-heading {
  margin: 0 0 1.25rem;
  font-family: 'Eczar', serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.02;
  color: #3f6476;
}

#workflow .workflow-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#workflow .workflow-step-list li {
  position: relative;
  margin: 0 0 0.9rem;
  padding-left: 1.35rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #575756;
}

#workflow .workflow-step-list li:last-child {
  margin-bottom: 0;
}

#workflow .workflow-step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #c9cf2f;
  transform: translateY(-50%);
}

#workflow .workflow-step-visual {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

#workflow .workflow-step-visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

#workflow .workflow-step--strategy .workflow-step-visual img {
  max-width: 500px;
}

#workflow .workflow-step--implementation .workflow-step-visual img {
  max-width: 500px;
}

#workflow .workflow-step--finale .workflow-step-visual img {
  max-width: 540px;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1199px) {
  #workflow.mod-workflow {
    padding: 3.5rem 0 5.5rem;
  }

  #workflow .workflow-kicker,
  #workflow .workflow-title,
  #workflow .workflow-intro,
  #workflow .workflow-journey {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #workflow .workflow-kicker {
    margin-bottom: 4rem;
  }

  #workflow .workflow-intro {
    margin-bottom: 3rem;
  }

  #workflow .workflow-track {
    gap: 2rem;
  }

  #workflow .workflow-step {
    grid-template-columns: minmax(220px, 300px) minmax(260px, 1fr);
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  #workflow .workflow-step-heading {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
  }

  #workflow .workflow-step-list li {
    font-size: 1.02rem;
  }

  #workflow .workflow-step-visual img {
    max-width: 420px;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  #workflow.mod-workflow {
    padding: 3rem 0 4.5rem;
  }

  #workflow .workflow-kicker,
  #workflow .workflow-title,
  #workflow .workflow-intro,
  #workflow .workflow-journey {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #workflow .workflow-kicker {
    margin-bottom: 2.5rem;
  }

  #workflow .workflow-title,
  #workflow .workflow-title h2,
  #workflow .workflow-title h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  #workflow .workflow-intro {
    margin-bottom: 2.5rem;
  }

  #workflow .workflow-intro,
  #workflow .workflow-intro p,
  #workflow .workflow-intro a,
  #workflow .workflow-intro strong,
  #workflow .workflow-intro em,
  #workflow .workflow-intro span {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  #workflow .workflow-track {
    gap: 1.5rem;
  }

  #workflow .workflow-step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
    border-radius: 1.1rem;
  }

  #workflow .workflow-step-heading {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    margin-bottom: 1rem;
  }

  #workflow .workflow-step-list li {
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  #workflow .workflow-step-visual {
    justify-content: flex-start;
  }

  #workflow .workflow-step-visual img {
    max-width: 100%;
  }
}

/* =========================================================
   06 Studio
   ========================================================= */

#studio.mod-studio {
  padding: 4rem 0 7rem;
  background: #ffffff;
  color: #575756;
  overflow: hidden;
}

#studio {
  width: 100%;
}

#studio .studio-kicker,
#studio .studio-title,
#studio .studio-intro,
#studio .studio-news-wrap {
  width: 100%;
  max-width: var(--hero-text-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: left;
}

#studio .studio-kicker {
  margin-bottom: 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #575756;
}

#studio .studio-title,
#studio .studio-title h2,
#studio .studio-title h3 {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: var(--hero-text-width);
  font-family: 'Eczar', serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1;
  color: #575756;
  text-align: left;
}

#studio .studio-title h2,
#studio .studio-title h3 {
  margin-bottom: 0;
}

#studio .studio-intro {
  margin-bottom: 3rem;
}

#studio .studio-intro,
#studio .studio-intro p,
#studio .studio-intro a,
#studio .studio-intro strong,
#studio .studio-intro em,
#studio .studio-intro span {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #575756;
}

#studio .studio-intro p {
  max-width: 760px;
  margin: 0;
}

/* ---------------------------------------------------------
   News / Blog Liste
   --------------------------------------------------------- */

#studio .studio-news-wrap {
  margin-top: 0;
}

#studio .studio-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#studio .studio-news-item {
  min-width: 0;
}

#studio .studio-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.35rem;
  overflow: hidden;
  text-decoration: none;
  background: #efefea;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

#studio .studio-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

#studio .studio-news-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d8d2;
}

#studio .studio-news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.02) 38%,
    rgba(0, 0, 0, 0) 65%
  );
  pointer-events: none;
}

#studio .studio-news-media img,
#studio .studio-news-media .image_container,
#studio .studio-news-media picture,
#studio .studio-news-media figure {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

#studio .studio-news-media img {
  object-fit: cover;
}

#studio .studio-news-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

#studio .studio-news-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 1.4rem;
  background: #efefea;
  flex-grow: 1;
}

#studio .studio-news-title,
#studio .studio-news-title h3,
#studio .studio-news-title h4 {
  margin: 0;
  font-family: 'Eczar', serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.06;
  color: #575756;
}

#studio .studio-news-title a {
  color: inherit;
  text-decoration: none;
}

#studio .studio-news-title a:hover {
  color: #3f6476;
}

#studio .studio-news-teaser,
#studio .studio-news-teaser p {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: #575756;
}

#studio .studio-news-more {
  margin-top: auto;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #3f6476;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1199px) {
  #studio.mod-studio {
    padding: 3.5rem 0 5.5rem;
  }

  #studio .studio-kicker,
  #studio .studio-title,
  #studio .studio-intro,
  #studio .studio-news-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #studio .studio-kicker {
    margin-bottom: 4rem;
  }

  #studio .studio-intro {
    margin-bottom: 3rem;
  }

  #studio .studio-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  #studio.mod-studio {
    padding: 3rem 0 4.5rem;
  }

  #studio .studio-kicker,
  #studio .studio-title,
  #studio .studio-intro,
  #studio .studio-news-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #studio .studio-kicker {
    margin-bottom: 2.5rem;
  }

  #studio .studio-title,
  #studio .studio-title h2,
  #studio .studio-title h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  #studio .studio-intro {
    margin-bottom: 2rem;
  }

  #studio .studio-intro,
  #studio .studio-intro p,
  #studio .studio-intro a,
  #studio .studio-intro strong,
  #studio .studio-intro em,
  #studio .studio-intro span {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  #studio .studio-news-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #studio .studio-news-body {
    padding: 1.1rem 1.1rem 1.2rem;
  }

  #studio .studio-news-title,
  #studio .studio-news-title h3,
  #studio .studio-news-title h4 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  #studio .studio-news-date {
    top: 0.9rem;
    left: 0.9rem;
    font-size: 0.9rem;
  }
}

/* =========================================================
   07 Anfrage / Kontakt
   ========================================================= */

#anfrage.mod-anfrage {
  padding: 4rem 0 7rem;
  background: #ffffff;
  color: #575756;
  overflow: hidden;
}

#anfrage {
  width: 100%;
}

#anfrage .anfrage-kicker,
#anfrage .anfrage-titel,
#anfrage .anfrage-intro,
#anfrage .anfrage-contact {
  width: 100%;
  max-width: var(--hero-text-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: left;
}

#anfrage .anfrage-kicker {
  margin-bottom: 7rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #575756;
}

#anfrage .anfrage-titel,
#anfrage .anfrage-titel h2,
#anfrage .anfrage-titel h3 {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: var(--hero-text-width);
  font-family: 'Eczar', serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1;
  color: #575756;
  text-align: left;
}

#anfrage .anfrage-titel h2,
#anfrage .anfrage-titel h3 {
  margin-bottom: 0;
}

#anfrage .anfrage-intro {
  margin-bottom: 3rem;
}

#anfrage .anfrage-intro,
#anfrage .anfrage-intro p,
#anfrage .anfrage-intro a,
#anfrage .anfrage-intro strong,
#anfrage .anfrage-intro em,
#anfrage .anfrage-intro span {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #575756;
}

#anfrage .anfrage-intro p {
  max-width: 760px;
  margin: 0;
}

#anfrage .anfrage-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

#anfrage .anfrage-contact-group {
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 1.25rem;
  background: #efefea;
}

#anfrage .anfrage-label {
  margin: 0 0 0.65rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d7f88;
}

#anfrage .anfrage-value,
#anfrage .anfrage-value a,
#anfrage .anfrage-value p,
#anfrage .anfrage-value span {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #575756;
  text-decoration: none;
}

#anfrage .anfrage-value a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

#anfrage .anfrage-value a:hover {
  color: #3f6476;
  border-color: rgba(63, 100, 118, 0.35);
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1199px) {
  #anfrage.mod-anfrage {
    padding: 3.5rem 0 5.5rem;
  }

  #anfrage .anfrage-kicker,
  #anfrage .anfrage-titel,
  #anfrage .anfrage-intro,
  #anfrage .anfrage-contact {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #anfrage .anfrage-kicker {
    margin-bottom: 4rem;
  }

  #anfrage .anfrage-intro {
    margin-bottom: 3rem;
  }

  #anfrage .anfrage-contact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  #anfrage.mod-anfrage {
    padding: 3rem 0 4.5rem;
  }

  #anfrage .anfrage-kicker,
  #anfrage .anfrage-titel,
  #anfrage .anfrage-intro,
  #anfrage .anfrage-contact {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #anfrage .anfrage-kicker {
    margin-bottom: 2.5rem;
  }

  #anfrage .anfrage-titel,
  #anfrage .anfrage-titel h2,
  #anfrage .anfrage-titel h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  #anfrage .anfrage-intro {
    margin-bottom: 2rem;
  }

  #anfrage .anfrage-intro,
  #anfrage .anfrage-intro p,
  #anfrage .anfrage-intro a,
  #anfrage .anfrage-intro strong,
  #anfrage .anfrage-intro em,
  #anfrage .anfrage-intro span {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  #anfrage .anfrage-contact {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  #anfrage .anfrage-contact-group {
    padding: 1.15rem 1.15rem 1.2rem;
    border-radius: 1rem;
  }

  #anfrage .anfrage-value,
  #anfrage .anfrage-value a,
  #anfrage .anfrage-value p,
  #anfrage .anfrage-value span {
    font-size: 1.06rem;
  }
}

/* =========================================================
07 Anfrage / Formular
========================================================= */

/* Formular leicht nach links ziehen, um den Restversatz auszugleichen */
@media (min-width: 768px) {
  #anfrage .ce_form.anfrage-form {
    position: relative;
    left: -0.25rem;  /* bei Bedarf feinjustieren: -0.2rem bis -0.4rem */
  }
}

#anfrage .ce_form.anfrage-form {
  width: 100%;
  max-width: var(--hero-text-width);
  margin: 0 auto 0;
  box-sizing: border-box;
}

#anfrage .ce_form.anfrage-form > form.anfrage-form {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#anfrage .ce_form.anfrage-form > form.anfrage-form > .formbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.6rem;
  row-gap: 1.35rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: start;
}

#anfrage .ce_form.anfrage-form .widget {
  width: 100%;
  min-width: 0;
  margin: 0;
}

#anfrage .ce_form.anfrage-form .half {
  grid-column: span 1;
}

#anfrage .ce_form.anfrage-form .full,
#anfrage .ce_form.anfrage-form .widget-radio,
#anfrage .ce_form.anfrage-form .widget-submit {
  grid-column: 1 / -1;
}

#anfrage .ce_form.anfrage-form label,
#anfrage .ce_form.anfrage-form legend {
  display: block;
  margin: 0 0 0.6rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d7f88 !important;
}

#anfrage .ce_form.anfrage-form .mandatory {
  color: #6d7f88 !important;
}

#anfrage .ce_form.anfrage-form .invisible {
  display: none;
}

#anfrage .ce_form.anfrage-form input[type="text"],
#anfrage .ce_form.anfrage-form input[type="email"],
#anfrage .ce_form.anfrage-form input[type="tel"],
#anfrage .ce_form.anfrage-form select,
#anfrage .ce_form.anfrage-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0.95rem 1.05rem;
  border: 1px solid #cdcc00;
  border-radius: 1.1rem;
  background: transparent;
  box-shadow: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: #575756;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

#anfrage .ce_form.anfrage-form textarea {
  min-height: 13rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  resize: vertical;
}

#anfrage .ce_form.anfrage-form select {
  min-height: 58px;
  background-image:
    linear-gradient(45deg, transparent 50%, #575756 50%),
    linear-gradient(135deg, #575756 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

#anfrage .ce_form.anfrage-form input::placeholder,
#anfrage .ce_form.anfrage-form textarea::placeholder {
  color: rgba(87, 87, 86, 0.62);
}

#anfrage .ce_form.anfrage-form input[type="text"]:hover,
#anfrage .ce_form.anfrage-form input[type="email"]:hover,
#anfrage .ce_form.anfrage-form input[type="tel"]:hover,
#anfrage .ce_form.anfrage-form select:hover,
#anfrage .ce_form.anfrage-form textarea:hover {
  border-color: #b8b700;
}

#anfrage .ce_form.anfrage-form input:focus,
#anfrage .ce_form.anfrage-form select:focus,
#anfrage .ce_form.anfrage-form textarea:focus {
  outline: none;
  border-color: #0c4d61;
  box-shadow: 0 0 0 3px rgba(12, 77, 97, 0.10);
}

#anfrage .ce_form.anfrage-form .help {
  display: none;
}

#anfrage .ce_form.anfrage-form .error {
  margin-top: 0.45rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #b14c39;
}

/* Worum geht es konkret? aktuell ist es im HTML noch input[type="text"].
   Falls du es in Contao auf Textarea umstellst, greift die textarea-Regel automatisch. */
#anfrage .ce_form.anfrage-form #ctrl_6 {
  min-height: 92px;
}

/* Datenschutz: ist bei dir widget-radio, nicht widget-checkbox */
#anfrage .ce_form.anfrage-form .widget-radio {
  margin-top: 0.2rem;
}

#anfrage .ce_form.anfrage-form .radio_container {
  border: 0;
  padding: 0;
  margin: 0;
}

#anfrage .ce_form.anfrage-form .radio_container legend {
  margin-bottom: 0.7rem;
}

#anfrage .ce_form.anfrage-form .radio_container > span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

#anfrage .ce_form.anfrage-form input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #0c4d61;
  flex: 0 0 auto;
}

#anfrage .ce_form.anfrage-form .radio_container > span > label,
#anfrage .ce_form.anfrage-form #lbl_8_0 {
  display: inline-block;
  margin: 0 !important;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: #575756 !important;
}

/* Submit */
#anfrage .ce_form.anfrage-form .widget-submit {
  margin-top: 0.35rem;
}

#anfrage .ce_form.anfrage-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.9rem 1.45rem;
  border: 1px solid #ef8354;
  border-radius: 999px;
  background: #ef8354;
  color: #ffffff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

#anfrage .ce_form.anfrage-form .submit:hover {
  background: #0c4d61;
  color: #ffffff;
  border-color: #0c4d61;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
  #anfrage .ce_form.anfrage-form {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #anfrage .ce_form.anfrage-form > form.anfrage-form > .formbody {
    grid-template-columns: 1fr;
    row-gap: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  #anfrage .ce_form.anfrage-form {
    margin-top: 2rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #anfrage .ce_form.anfrage-form > form.anfrage-form > .formbody {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  #anfrage .ce_form.anfrage-form .submit {
    width: 100%;
  }
}

/* =========================================================
   08 Footer
   ========================================================= */

#footer.mod-footer {
  margin-top: 0;
  padding: 3rem 0 2rem;
  background: #0c4d61;
  color: #ffffff;
}

#footer .footer-inner,
#footer .footer-bottom {
  width: 100%;
  max-width: var(--hero-text-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#footer .footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
}

#footer .footer-logo-link {
  display: inline-block;
  text-decoration: none;
  border: 0;
}

#footer .footer-logo {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 0 1rem;
}

#footer .footer-text {
  margin: 0;
  max-width: 28rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

#footer .footer-heading {
  margin: 0 0 0.85rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

#footer .footer-nav ul,
#footer .footer-contact ul,
#footer .footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .footer-nav li,
#footer .footer-contact li,
#footer .footer-legal li {
  margin: 0 0 0.55rem;
}

#footer .footer-nav li:last-child,
#footer .footer-contact li:last-child,
#footer .footer-legal li:last-child {
  margin-bottom: 0;
}

#footer a {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

#footer a:hover {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.35);
}

#footer .footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

#footer .footer-bottom p {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1199px) {
  #footer .footer-inner,
  #footer .footer-bottom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  #footer .footer-logo {
    max-width: 155px;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  #footer.mod-footer {
    padding: 2.25rem 0 1.5rem;
  }

  #footer .footer-inner,
  #footer .footer-bottom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  #footer .footer-logo {
    max-width: 145px;
    margin-bottom: 0.9rem;
  }

  #footer a {
    font-size: 0.98rem;
  }

  #footer .footer-bottom p {
    font-size: 0.88rem;
  }
}
