@import "tailwindcss";

/* Der Header bleibt beim Scrollen sichtbar, ohne Platz im Dokument zu verlieren. */
.topbar {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  box-shadow: 0 8px 24px rgba(17, 19, 21, 0.08);
}

:root {
  --yellow: #ffdf00;
  --ink: #23262a;
  --black: #111315;
  --grey: #afb1b3;
  --paper: #f4f4f1;
  --white: #fff;
  --line: rgba(35, 38, 42, 0.16);
}

/* Textauswahl im gelb-anthraziten Erscheinungsbild. */
::selection {
  background: var(--yellow);
  color: var(--black);
}

::-moz-selection {
  background: var(--yellow);
  color: var(--black);
}

main>.wp-block-group{margin-block-start:0;margin-block-end:0}
.subhero-photo.about-image{background-image:url('../img/stuckrestaurierung-gesims.png')}.subhero-photo.services-image{background-image:url('../img/fassadenputz-geruest.png')}.subhero-photo.contact-image{background-image:url('../img/innenputz-stuckateur.png')}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/*
 * Schlanke Absicherung für Blocks Animation.
 * Die Gutenberg-Klassen bleiben im visuellen Editor editierbar; falls das
 * Plugin seine Animations-CSS nicht lädt, übernimmt das Theme die Darstellung.
 * Die individuelle translate-Eigenschaft verändert bestehende transform-
 * Positionierungen (zum Beispiel im Hero) nicht.
 */
@keyframes grafFadeInUp {
  from {
    opacity: 0;
    translate: 0 36px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes grafCardFadeInUp {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.animated.fadeInUp {
  animation: none;
}
.animated.fadeInUp.graf-reveal-pending {
  opacity: 0;
  translate: 0 36px;
  will-change: opacity, translate;
}
.animated.fadeInUp.graf-reveal-visible {
  animation: grafFadeInUp 820ms cubic-bezier(.22, .61, .36, 1) both;
}
.animated.fadeInUp.fast.graf-reveal-visible {
  animation-duration: 720ms;
}
.animated.fadeInUp.delay-200ms.graf-reveal-visible {
  animation-delay: 200ms;
}
.graf-reveal-visible :is(.service-card, .values > div, .process-grid > div, .team-grid > article, .timeline > article) {
  animation: grafCardFadeInUp 620ms cubic-bezier(.22, .61, .36, 1) both;
}
.graf-reveal-visible :is(.service-card, .values > div, .process-grid > div, .team-grid > article, .timeline > article):nth-child(2) {
  animation-delay: 90ms;
}
.graf-reveal-visible :is(.service-card, .values > div, .process-grid > div, .team-grid > article, .timeline > article):nth-child(3) {
  animation-delay: 180ms;
}
.graf-reveal-visible :is(.service-card, .values > div, .process-grid > div, .team-grid > article, .timeline > article):nth-child(4) {
  animation-delay: 270ms;
}
.graf-reveal-visible :is(.service-card, .values > div, .process-grid > div, .team-grid > article, .timeline > article):nth-child(n+5) {
  animation-delay: 360ms;
}
.animated.fadeInUp.graf-reveal-complete {
  opacity: 1;
  translate: none;
}

/* Der Hintergrund des Kontaktbereichs ist sofort sichtbar. Bei älteren
 * Gutenberg-Inhalten, die die Animation noch am Abschnitt tragen, werden
 * ausschließlich die beiden inneren Spalten animiert. */
.contact-page.animated.fadeInUp,
.contact-page.animated.fadeInUp.graf-reveal-pending,
.contact-page.animated.fadeInUp.graf-reveal-visible,
.contact-page.animated.fadeInUp.graf-reveal-complete {
  opacity: 1;
  translate: none;
  animation: none;
}
.contact-page.animated.fadeInUp.graf-reveal-pending > * {
  opacity: 0;
  translate: 0 24px;
}
.contact-page.animated.fadeInUp.graf-reveal-visible > * {
  animation: grafCardFadeInUp 720ms cubic-bezier(.22, .61, .36, 1) both;
}
.contact-page.animated.fadeInUp.graf-reveal-visible > *:nth-child(2) {
  animation-delay: 140ms;
}
.contact-page.animated.fadeInUp.graf-reveal-complete > * {
  opacity: 1;
  translate: none;
}
.editor-styles-wrapper .animated.fadeInUp {
  animation-name: none;
  opacity: 1;
  translate: none;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip-link{position:fixed;left:18px;top:-80px;z-index:3000;background:var(--yellow);color:var(--black);padding:14px 18px;font-weight:900;transition:top .2s}.skip-link:focus{top:14px}.skip-target{position:absolute}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--yellow);outline-offset:4px}
.btn.primary:focus-visible,.header-cta:focus-visible,.skip-link:focus-visible{outline-color:var(--black)}

/* Gutenberg-Buttons behalten auch mit der kantigen Clip-Path-Form einen
 * eindeutig sichtbaren Tastaturfokus. Der Fokus liegt auf dem unverclippten
 * Wrapper, damit er nicht von der Button-Silhouette abgeschnitten wird. */
.wp-block-button:focus-within {
  outline: 3px solid #fff !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 2px var(--black) !important;
}
.wp-block-button__link:focus-visible {
  outline: 0 !important;
}
svg {
  width: 20px;
  height: 20px;
}
.topbar {
  height: 104px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5vw;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: max-content;
}
.brand img {
  width: 130px;
  height: 77px;
  object-fit: contain;
}
.brand > span {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 800;
  max-width: none;
  line-height: 1.2;
  white-space: nowrap;
  color: #6f7275;
  text-align: center;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%;
  font-size: 15px;
  font-weight: 800;
}
.mobile-menu{display:none}
.topbar nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}
.topbar nav a:after {
  content: "";
  position: absolute;
  height: 5px;
  background: var(--yellow);
  left: 0;
  right: 100%;
  bottom: 0;
  transition: 0.25s;
}
.topbar nav a:hover:after,
.topbar nav a.active:after {
  right: 0;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--yellow);
  padding: 17px 22px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 92% 100%, 0 100%);
}
.hero {
  height: calc(100vh - 104px);
  min-height: 650px;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("/innenputz-stuckateur.png") center 45% / cover;
  filter: saturate(0.7);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 19, 21, 0.92) 0%,
    rgba(17, 19, 21, 0.68) 52%,
    rgba(17, 19, 21, 0.18) 100%
  );
}
.hero:before,
.subhero:before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 46%;
  left: 5.5vw;
  bottom: 0;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
}
.hero-content {
  position: absolute;
  z-index: 3;
  left: 8.5vw;
  top: 50%;
  transform: translateY(-53%);
  width: min(980px, 76vw);
  max-width: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 900;
  color: #7a7d80;
  margin: 0 0 24px;
}
.eyebrow.light {
  color: var(--yellow);
}
.hero h1,
.section h2,
.project h2,
.contact h2,
.subhero h1,
.contact-band h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(52px, 6.7vw, 98px);
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero h1 em,
.section h2 em,
.project h2 em,
.contact h2 em,
.subhero h1 em,
.contact-band h2 em {
  font-style: normal;
  color: var(--yellow);
  font-weight: 900;
}
.hero h1 {
  font-size: clamp(52px, 6vw, 84px);
}
.hero-copy {
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  margin: 30px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 24px;
  border: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 92% 100%, 0 100%);
}
.btn.primary {
  background: var(--yellow);
  color: var(--black);
}
.btn.dark {
  background: var(--ink);
  color: #fff;
}
.btn:hover svg,
.text-link:hover svg,
.header-cta:hover svg {
  transform: translateX(4px);
}
.btn svg,
.text-link svg,
.header-cta svg {
  transition: 0.2s;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--yellow);
}
.light {
  color: #fff;
}
.hero-facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  width: min(600px, 48vw);
  background: var(--yellow);
  color: var(--black);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 24%);
}
.hero-facts div {
  min-width: 0;
  padding: 25px 20px;
  border-left: 1px solid rgba(17, 19, 21, 0.18);
}
.hero-facts strong {
  font: 900 clamp(27px, 2.3vw, 33px) Arial;
  display: block;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.hero-facts span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: #55513b;
  white-space: nowrap;
}
.section {
  padding: 115px 8vw;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 6vw;
  align-items: start;
}
.section h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.intro h2 {
  font-size: clamp(38px, 3.7vw, 52px);
}
.intro h2 br {
  display: none;
}
.intro h2 br + em {
  margin-left: .22em;
}
.intro-copy {
  padding-top: 34px;
}
.intro-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: #666a6c;
}
.intro-copy .lead {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0;
}
.intro-copy .text-link {
  margin-top: 22px;
}
.services {
  background: #fff;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.section-head > p {
  max-width: 420px;
  line-height: 1.7;
  color: #686b6d;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: 0.25s;
  background: #fff;
  overflow: hidden;
}
.service-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 0;
  background: var(--yellow);
  transition: 0.25s;
}
.service-card:hover:before {
  height: 100%;
}
.service-card > span {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 900;
  color: #9a9d9f;
}
.service-card h3 {
  font-size: clamp(21px, 1.7vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  margin: 52px 0 15px;
  letter-spacing: -0.03em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.service-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #777b7d;
}
.service-card > a:not(.btn) {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}
.service-card:hover {
  background: #f7f7f4;
  transform: translateY(-4px);
}
.service-cta {
  background: var(--yellow);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-cta:before {
  display: none;
}
.service-cta:hover {
  background: #f1d300;
}
.service-cta p {
  color: #625b28;
  margin: 0;
}
.service-cta h3 {
  margin: 14px 0 32px;
  font-size: 28px;
}
.service-cta .btn {
  align-self: flex-start;
}
.home-services {
  grid-template-columns: repeat(4, 1fr);
}
.all-services {
  margin-top: 34px;
}
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 680px;
}
.project-image {
  background: url("/fassadenputz-geruest.png") center/cover;
  filter: saturate(0.65);
}
.project-panel {
  background: var(--ink);
  color: #fff;
  padding: 90px clamp(36px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.project-panel:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 14px;
  background: var(--yellow);
}
.project h2 {
  font-size: clamp(40px, 4.2vw, 58px);
}
.project-panel > p:not(.eyebrow) {
  color: #b9bbbc;
  line-height: 1.8;
  margin: 30px 0;
}
.project-panel .text-link {
  align-self: flex-start;
}
.subhero {
  height: 520px;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.subhero-photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.25) saturate(0.7);
}
.subhero .hero-shade {
  background: linear-gradient(
    90deg,
    rgba(17, 19, 21, 0.94),
    rgba(17, 19, 21, 0.34)
  );
}
.subhero-content {
  position: absolute;
  z-index: 3;
  left: 8.5vw;
  bottom: 75px;
}
.subhero h1 {
  font-size: clamp(49px, 6vw, 86px);
}
.history {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
}
.history-title {
  position: sticky;
  top: 140px;
  align-self: start;
}
.timeline article {
  display: grid;
  grid-template-columns: 75px 112px 1fr;
  gap: 25px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.timeline article > img {
  width: 112px;
  height: 142px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.06);
  border-bottom: 7px solid var(--yellow);
}
.timeline article > span {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 900;
  color: #999;
}
.timeline h3 {
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.timeline p {
  margin: 0;
  line-height: 1.7;
  color: #73777a;
}
.timeline .active h3,
.timeline .active > span {
  color: #a68f00;
}
.values {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.values > div {
  padding: 45px;
  border-left: 1px solid var(--line);
}
.values span,
.process-grid strong {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 900;
  color: #a68f00;
}
.values h3,
.process-grid h3 {
  font-size: 27px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 28px 0 12px;
}
.values p,
.process-grid p {
  line-height: 1.7;
  color: #73777a;
}
.process {
  background: var(--paper);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 35px;
}
.process-grid > div {
  padding: 40px;
  border-right: 1px solid var(--line);
}
.team {
  background: var(--ink);
  color: #fff;
}
.team .section-head > p {
  color: #b9bbbc;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #45484c;
  border-left: 1px solid #45484c;
}
.team-grid article {
  min-height: 540px;
  padding: 0 32px 32px;
  border-right: 1px solid #45484c;
  border-bottom: 1px solid #45484c;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.25s;
}
.team-grid article:hover {
  background: #2d3034;
  transform: translateY(-4px);
}
.team-photo {
  width: calc(100% + 64px);
  height: 280px;
  margin: 0 -32px 32px;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.72) contrast(1.04);
  border-bottom: 7px solid var(--yellow);
}
.team-photo-1,
.team-photo-2,
.team-photo-3,
.team-photo-4,
.team-photo-5 {
  background-image: url('../img/team-platzhalter.png');
  background-repeat: no-repeat;
  background-size: 500% 100%;
}
.team-photo-1 { background-position: 0 0; }
.team-photo-2 { background-position: 25% 0; }
.team-photo-3 { background-position: 50% 0; }
.team-photo-4 { background-position: 75% 0; }
.team-photo-5 { background-position: 100% 0; }
.team-grid span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.team-grid h3 {
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 13px 0 14px;
}
.team-grid p {
  font-size: 13px;
  line-height: 1.7;
  color: #b9bbbc;
  margin: 0;
}
.team-join {
  background: var(--yellow) !important;
  color: var(--black);
}
.team-join span,
.team-join p {
  color: #5e582d;
}
.team-join .text-link {
  margin-top: auto;
}
.contact-band {
  padding: 85px 8vw;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: end;
}
.contact-band .eyebrow {
  color: #615a28;
}
.contact-band h2 {
  font-size: clamp(40px, 4.2vw, 58px);
}
.contact-band h2 em {
  color: var(--black);
  -webkit-text-stroke: 1px var(--black);
  color: transparent;
}
.contact-band > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.contact-band p:not(.eyebrow) {
  color: #5e582d;
  line-height: 1.7;
  margin: 0;
}
.contact-band .btn {
  background: var(--ink);
  color: #fff;
}
.contact {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}
.contact h2 {
  font-size: clamp(40px, 4.2vw, 58px);
}
.contact-copy > p:not(.eyebrow) {
  color: #b9bbbc;
  line-height: 1.8;
  max-width: 530px;
}
.contact-links {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}
.contact form {
  background: #303338;
  padding: 42px;
  border-top: 8px solid var(--yellow);
}
.contact label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #bbb;
  margin-bottom: 24px;
}
.contact input,
.contact select,
.contact textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #666a6d;
  padding: 12px 0;
  color: #fff;
  font: 14px Arial;
  margin-top: 5px;
}
.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  border-color: var(--yellow);
}
.contact textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.contact form small {
  display: block;
  color: #929597;
  line-height: 1.5;
  margin-top: 16px;
  font-size: 12px;
}
.contact .wpcf7{width:100%}.contact .wpcf7 form{background:#303338;padding:42px;border:0;border-top:8px solid var(--yellow);border-radius:0;color:#fff}.contact .wpcf7 form>p:first-child{margin:0 0 26px;color:#fff;font-size:12px}.contact .wpcf7 .row{--bs-gutter-x:25px;--bs-gutter-y:24px}.contact .wpcf7 label.form-label{display:block;margin:0 0 5px;color:#bbb;font-size:12px;font-weight:800;line-height:1.4;letter-spacing:.15em;text-transform:uppercase}.contact .wpcf7 .form-control,.contact .wpcf7 .form-select{display:block;width:100%;min-height:47px;margin:0;padding:12px 0;background:transparent!important;color:#fff!important;border:0!important;border-bottom:1px solid #666a6d!important;border-radius:0!important;box-shadow:none!important;font-size:14px}.contact .wpcf7 textarea.form-control{min-height:120px;resize:vertical}.contact .wpcf7 .form-control:focus,.contact .wpcf7 .form-select:focus{border-bottom-color:var(--yellow)!important}.contact .wpcf7 .form-select option{background:#303338;color:#fff}.contact .wpcf7 .wpcf7-acceptance label{display:flex;align-items:flex-start;gap:10px;margin:0;color:#c7c9ca;font-size:12px;line-height:1.6;letter-spacing:0;text-transform:none}.contact .wpcf7 .wpcf7-acceptance input{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0;accent-color:var(--yellow)}.contact .wpcf7 .wpcf7-acceptance a{color:#fff;text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:3px}.contact .wpcf7-submit{width:auto;min-height:52px;padding:15px 24px;background:var(--yellow)!important;color:var(--black)!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.contact .wpcf7-submit:hover,.contact .wpcf7-submit:focus-visible{background:#fff!important;color:var(--black)!important}.contact .wpcf7-response-output{margin:22px 0 0!important;padding:12px 15px!important;color:#fff;border-color:var(--yellow)!important;font-size:12px}.contact .wpcf7-not-valid-tip{font-size:12px;color:#ffb3b3;margin-top:6px}.contact .wpcf7-spinner{background-color:var(--yellow)}
/* Barrierearme Gestaltung für das Contact-Form-7-Projektformular. */
.contact .wpcf7-submit:disabled {
  background: #d5c44c !important;
  color: #303030 !important;
  cursor: not-allowed;
  opacity: 1;
}
.contact .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.contact .wpcf7 label.form-label > .wpcf7-form-control-wrap {
  margin-top: 10px;
}
.contact .wpcf7 .form-hint {
  display: block;
  margin-top: 7px;
  color: #c7c9ca;
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}
.contact .wpcf7 label.form-label {
  color: #e3e4e5;
  font-size: 14px;
  letter-spacing: .1em;
}
.contact .wpcf7 .form-control,
.contact .wpcf7 .form-select {
  border-bottom-width: 2px !important;
  border-bottom-color: #a6a9ab !important;
  font-size: 16px;
  line-height: 1.5;
}
.contact .wpcf7 .form-control::placeholder {
  color: #d4d6d7 !important;
  opacity: 1;
}
.contact .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.contact .wpcf7 .wpcf7-acceptance label.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.6;
}
.contact .wpcf7 .wpcf7-acceptance input[type="checkbox"].form-check-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  margin: 1px 0 0 !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 2px solid #fff !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer;
}
.contact .wpcf7 .wpcf7-acceptance input[type="checkbox"].form-check-input:checked {
  background-color: var(--yellow) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.4 11.5 13.2 4.7' fill='none' stroke='%23111315' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 16px !important;
  border-color: var(--yellow) !important;
}
.contact .wpcf7 .wpcf7-acceptance input[type="checkbox"].form-check-input:focus-visible {
  outline: 3px solid var(--yellow) !important;
  outline-offset: 3px;
}
.contact .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
  color: #fff !important;
}
.contact .wpcf7 .wpcf7-acceptance a {
  color: var(--yellow) !important;
  font-weight: 800;
  text-decoration-thickness: 2px;
}
.contact .wpcf7-response-output {
  background: #202326 !important;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.6;
}
.contact .wpcf7-not-valid-tip {
  color: #ffd1d1 !important;
  font-size: 14px;
  line-height: 1.5;
}
.contact .wpcf7 .required-note,
.contact .wpcf7 form > p:first-child,
.contact .wpcf7 .form-hint {
  font-size: 14px;
  line-height: 1.6;
}
.contact .wpcf7-submit {
  font-size: 16px;
}
.address {
  margin-top: 42px;
  color: #b9bbbc;
  line-height: 1.8;
}
.contact-page {
  padding-top: 110px;
}
.legal-hero{background:var(--ink);color:#fff;padding:90px 8vw 75px;border-bottom:10px solid var(--yellow)}
.legal-hero h1{font-size:clamp(50px,7vw,92px);line-height:.95;letter-spacing:-.055em;text-transform:uppercase;margin:0;font-weight:900}
.legal-hero h1 span{color:var(--yellow)}
.legal-content{max-width:1000px;margin:0 auto;padding:90px 40px 120px}
.legal-content section{padding:0 0 44px;margin:0 0 44px;border-bottom:1px solid var(--line)}
.legal-content section:last-child{border-bottom:0;margin-bottom:0}
.legal-content h2{font-size:28px;text-transform:uppercase;letter-spacing:-.025em;margin:0 0 22px;font-weight:900}
.legal-content h3{font-size:17px;margin:28px 0 10px;text-transform:uppercase}
.legal-content p,.legal-content li{font-size:15px;line-height:1.8;color:#63676a}
.legal-content a{font-weight:800;border-bottom:2px solid var(--yellow)}
footer {
  padding: 68px 8vw 28px;
  background: var(--black);
  color: #b8bbbd;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 45px;
  font-size: 12px;
  line-height: 1.8;
}
footer p,footer a,footer li,footer span,footer strong,footer b,footer h2{font-size:12px!important}
footer b,footer h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  margin:0;
}
footer a{display:inline-block;min-height:24px}
.footer-nav{list-style:none;margin:14px 0 0;padding:0}.footer-nav li{margin:0}.footer-nav a{color:inherit;text-decoration:none;padding:3px 0;border-bottom:2px solid transparent;transition:color .2s ease,border-color .2s ease}.footer-nav a:hover,.footer-nav a:focus-visible,.footer-nav .current-menu-item>a{color:#fff;border-bottom-color:var(--yellow)}
.cookie-settings-link{display:inline-block;margin:8px 0 0;padding:3px 0;min-height:30px;background:transparent;color:inherit;border:0;border-bottom:2px solid transparent;font-size:12px;text-align:left;cursor:pointer}.cookie-settings-link:hover,.cookie-settings-link:focus-visible{color:#fff;border-bottom-color:var(--yellow)}
/* bs Cookie Settings */
#cm,.cc_div #cm,.cc_div #s-cnt{background:#202326;color:#fff;border:0;border-top:8px solid var(--yellow);border-radius:0;box-shadow:0 18px 55px rgba(0,0,0,.35)}.cc_div .c-bn,.cc_div #c-bns .c-bn,.cc_div #s-bns .c-bn{min-height:48px;padding:12px 18px;border:2px solid var(--yellow);border-radius:0;background:var(--yellow);color:var(--black);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.cc_div .c-bn:hover,.cc_div .c-bn:focus-visible{background:#fff;border-color:#fff;color:var(--black)}.cc_div #c-bns .c-bn.c_link,.cc_div #s-bns .c-bn.c_link{background:transparent;color:#fff;border-color:#777}.cc_div a{color:#fff;text-decoration-color:var(--yellow);text-underline-offset:3px}.cc_div .b-tl,.cc_div .b-tl.exp{background:#303338;color:#fff;border-radius:0}.cc_div .b-bn .b-tl:hover,.cc_div .b-bn .b-tl:focus{background:#3a3e43}.cc_div .c-tgl:checked~.c-tg{background:var(--yellow)}#bs-cookie-modal .modal-content{background:#202326;color:#fff;border:0;border-top:8px solid var(--yellow);border-radius:0}#bs-cookie-modal .modal-header,#bs-cookie-modal .modal-footer{border-color:#45494d}#bs-cookie-modal .btn-primary{background:var(--yellow);border-color:var(--yellow);color:var(--black);border-radius:0;font-weight:900}#bs-cookie-modal .btn-secondary{background:transparent;border-color:#777;color:#fff;border-radius:0}
.footer-brand {
  display: block;
}
.footer-brand img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p {
  margin: 12px 0;
  color: var(--yellow);
  font-weight: 800;
}
.copyright {
  grid-column: 1/-1;
  border-top: 1px solid #3a3d40;
  padding-top: 24px;
  margin-top: 25px;
  font-size: 12px;
  color: #777b7d;
}
.error-page{min-height:calc(100vh - 104px);display:grid;grid-template-columns:minmax(300px,.9fr) minmax(420px,1.1fr);align-items:center;gap:clamp(40px,7vw,120px);padding:clamp(80px,10vw,150px) 8vw;background:linear-gradient(135deg,#f5f4ef 0%,#fff 68%);overflow:hidden}
.error-code{font-size:clamp(170px,25vw,390px);line-height:.72;font-weight:950;letter-spacing:-.09em;color:var(--yellow);white-space:nowrap;text-shadow:16px 16px 0 var(--ink)}
.error-copy{max-width:680px}.error-copy h1{font-size:clamp(48px,6vw,88px);line-height:.95;margin:16px 0 30px;letter-spacing:-.055em}.error-copy h1 em{font-style:normal;color:#746400}.error-copy>p:not(.eyebrow){max-width:610px;font-size:18px;line-height:1.7;color:#55595b}.error-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px}.btn.secondary{border:2px solid var(--ink);background:transparent;color:var(--ink)}.btn.secondary:hover{background:var(--ink);color:#fff}
@media (max-width: 1250px) {
  .topbar .desktop-nav {
    display: none;
  }
  .mobile-menu{display:block;position:relative;margin-left:auto}.mobile-menu summary{list-style:none;cursor:pointer;width:52px;height:52px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary span{display:block;width:26px;height:3px;background:var(--ink)}.mobile-menu summary b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.mobile-menu nav{position:absolute;right:0;top:63px;width:250px;height:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;background:#fff;box-shadow:0 15px 30px rgba(17,19,21,.18);border-top:6px solid var(--yellow)}.mobile-menu nav a{display:block;height:auto;padding:18px 22px;border-bottom:1px solid var(--line)}.mobile-menu nav a.active{background:var(--yellow)}
  .topbar > .header-cta{display:none}
  .mobile-phone{display:flex!important;align-items:center;justify-content:space-between;background:var(--yellow);color:var(--black);font-weight:900;min-height:56px}
  .mobile-phone svg{width:18px;height:18px}
  .brand > span {display:block}
  .intro,
  .history,
  .contact {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .history-title {
    position: static;
  }
  .service-grid,
  .home-services,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project {
    grid-template-columns: 1fr;
  }
  .project-image {
    min-height: 480px;
  }
  .contact-band {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 850px){.error-page{grid-template-columns:1fr;gap:70px;padding-top:100px}.error-code{font-size:clamp(150px,47vw,300px);justify-self:start}}
/* WCAG 2.2 AA: kontraststarke Kleinschrift */
.eyebrow:not(.light){color:#5d6062}.service-card>span{color:#626668}.service-card p,.values p,.process-grid p,.timeline p{color:#626668}.values span,.process-grid strong,.timeline .active h3,.timeline .active>span{color:#746400}.contact form small{color:#c7c9ca;font-size:12px}.contact form small a{color:#fff;text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:3px}.copyright{color:#9da0a2}.hero-facts span{font-size:12px;color:#494521}.required-note{font-size:12px;color:#fff;margin:0 0 24px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Barrierefreiheit: zuverlässige Kontraste und Fokuszustände für bs Cookie Settings. */
.cc_div #cm,
.cc_div #s-cnt,
#bs-cookie-modal .modal-content {
  color: #fff !important;
  background-color: #202326 !important;
}
.cc_div #c-bns .c-bn,
.cc_div #s-bns .c-bn,
#bs-cookie-modal .modal-footer .btn,
#bs-cookie-modal .btn-primary,
#bs-cookie-modal .btn-secondary {
  min-width: 44px;
  min-height: 48px;
  border: 2px solid #ffdf00 !important;
  background-color: #ffdf00 !important;
  color: #111315 !important;
  opacity: 1 !important;
  font-size: max(12px, .75rem) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}
.cc_div #c-bns .c-bn.c_link,
.cc_div #s-bns .c-bn.c_link,
.cc_div #c-s-bn,
.cc_div #s-c-bn,
.cc_div #c-bns > :nth-child(n+2),
.cc_div #s-bns > :nth-child(n+2),
#bs-cookie-modal .btn-secondary {
  border-color: #fff !important;
  background-color: #fff !important;
  color: #111315 !important;
  box-shadow: 0 0 0 1px #111315, 0 3px 0 #ffdf00 !important;
}
.cc_div #c-bns .c-bn:hover,
.cc_div #s-bns .c-bn:hover,
#bs-cookie-modal .modal-footer .btn:hover {
  border-color: #fff !important;
  background-color: #fff !important;
  color: #111315 !important;
}
.cc_div #c-bns .c-bn:focus-visible,
.cc_div #s-bns .c-bn:focus-visible,
#bs-cookie-modal .btn:focus-visible,
#bs-cookie-modal .btn-close:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #111315 !important;
}
#bs-cookie-modal .btn-close {
  min-width: 44px;
  min-height: 44px;
  background-color: #fff;
  opacity: 1;
}
.cc_div #c-bns > :nth-child(n+2):hover,
.cc_div #s-bns > :nth-child(n+2):hover,
.cc_div #c-bns > :nth-child(n+2):focus-visible,
.cc_div #s-bns > :nth-child(n+2):focus-visible,
#bs-cookie-modal .btn-secondary:hover,
#bs-cookie-modal .btn-secondary:focus-visible {
  border-color: #ffdf00 !important;
  background-color: #111315 !important;
  color: #fff !important;
}
.cc_div .consent_footer,
.cc_div .consent-footer,
.cc_div #cm .cc-link,
.cc_div #cm a,
#bs-cookie-modal a {
  color: #ffdf00 !important;
  font-weight: 800 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: #ffdf00 !important;
  text-underline-offset: 4px !important;
}
.cc_div #cm a:hover,
.cc_div #cm a:focus-visible,
#bs-cookie-modal a:hover,
#bs-cookie-modal a:focus-visible {
  color: #fff !important;
  text-decoration-color: #fff !important;
}

/* Formularfelder behalten einen deutlich sichtbaren Tastaturfokus. */
.contact input:focus-visible,
.contact select:focus-visible,
.contact textarea:focus-visible,
.contact .wpcf7 .form-control:focus-visible,
.contact .wpcf7 .form-select:focus-visible {
  outline: 2px solid var(--yellow) !important;
  outline-offset: 2px !important;
}

/* Browser-Autofill darf das dunkle Formulardesign nicht gelb übermalen. */
.contact .wpcf7 input.form-control:autofill,
.contact .wpcf7 textarea.form-control:autofill,
.contact .wpcf7 input.form-control:-webkit-autofill,
.contact .wpcf7 textarea.form-control:-webkit-autofill {
  background-color: #303338 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #303338 inset !important;
  box-shadow: 0 0 0 1000px #303338 inset !important;
  border-bottom-color: #a6a9ab !important;
}
.contact .wpcf7 input.form-control:autofill:focus,
.contact .wpcf7 textarea.form-control:autofill:focus,
.contact .wpcf7 input.form-control:-webkit-autofill:focus,
.contact .wpcf7 textarea.form-control:-webkit-autofill:focus {
  border-bottom-color: var(--yellow) !important;
}

/* Links in Fließ- und Rechtstexten sind nicht nur über die Farbe erkennbar. */
.legal-content a,
.contact-copy p a,
.contact .wpcf7 p a {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .topbar {
    height: 82px;
    padding: 0 18px;
  }
  .brand img {
    width: 88px;
    height: 55px;
  }
  .brand > span{font-size:12px;letter-spacing:.04em;line-height:1.1}
  .header-cta {
    font-size: 12px;
    padding: 12px;
    gap: 8px;
  }
  .header-cta svg{display:none}
  .error-page{min-height:0;padding:80px 24px 100px;gap:55px}.error-code{font-size:clamp(128px,45vw,210px);text-shadow:9px 9px 0 var(--ink)}.error-copy h1{font-size:clamp(40px,12vw,58px)}.error-copy>p:not(.eyebrow){font-size:16px}.error-actions{align-items:stretch;flex-direction:column}.error-actions .btn{justify-content:space-between;width:100%}
  .hero {
    height: 750px;
    min-height: 0;
  }
  .hero-content {
    left: 8vw;
    right: 7vw;
    width: auto;
    top: 43%;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-copy {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-facts {
    left: 0;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    clip-path: none;
  }
  .hero-facts div {
    padding: 16px 10px;
  }
  .hero-facts strong {
    font-size: 24px;
  }
  .hero-facts span {
    font-size: 12px;
    white-space: normal;
    letter-spacing: .02em;
  }
  .hero-facts p:not(.fact-value) {
    white-space: normal;
    letter-spacing: .02em;
  }
  .hero:before,
  .subhero:before {
    display: none;
  }
  .section {
    padding: 78px 22px;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 28px;
  }
  .service-grid,
  .home-services,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 280px;
  }
  .project-image {
    min-height: 350px;
  }
  .project-panel {
    padding: 72px 24px;
  }
  .subhero {
    height: 380px;
  }
  .subhero-content {
    left: 22px;
    bottom: 52px;
  }
  .subhero h1 {
    font-size: 46px;
  }
  .timeline article {
    grid-template-columns: 70px 1fr;
  }
  .timeline article > img {
    grid-column: 2;
    width: 100%;
    max-width: 180px;
    height: 210px;
  }
  .timeline article > div {
    grid-column: 2;
  }
  .contact-band {
    padding: 68px 22px;
  }
  .legal-hero{padding:68px 22px 55px}.legal-content{padding:65px 22px 85px}.legal-content h2{font-size:23px}
  .contact form {
    padding: 28px 20px;
  }
  .contact .wpcf7 form{padding:28px 20px}
  .form-row {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 58px 24px 25px;
  }
}
@media (max-width:480px){.brand>span{display:none}}

/* bootScore / Bootstrap integration */
.topbar .navbar-nav{display:flex;flex-direction:row;align-items:center;gap:34px;height:100%;margin:0;padding:0;list-style:none}
.topbar .nav-item{height:100%;display:flex;align-items:center}
.topbar .nav-link{color:inherit;padding:0}
.mobile-menu .dropdown-menu{display:none;padding:0;border:0;border-radius:0}
.mobile-toggle{border:0;background:transparent;width:52px;height:52px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:10px}
.mobile-toggle span{display:block;width:26px;height:3px;background:var(--ink)}
main{padding:0!important;max-width:none!important}
@media(max-width:1250px){.topbar .mobile-menu{display:block;position:relative;margin-left:auto}.mobile-menu .dropdown-menu.show{display:flex;flex-direction:column}.mobile-menu .navbar-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;height:auto}.mobile-menu .nav-item{display:block;height:auto}.mobile-menu .nav-link{display:block;padding:18px 22px;border-bottom:1px solid var(--line);min-height:52px;font-size:15px}.mobile-menu .current-menu-item>.nav-link{background:var(--yellow)}}

/* Native Gutenberg blocks */
.wp-block-group,.wp-block-columns,.wp-block-image{margin-block-start:0;margin-block-end:0}
figure.hero-photo,figure.subhero-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;z-index:0;overflow:hidden}
figure.hero-photo img,figure.subhero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hero>.hero-shade,.subhero>.hero-shade{z-index:1}
.hero>.hero-content,.subhero>.subhero-content,.hero>.hero-facts{z-index:2}
.hero-facts .fact-value{font-size:clamp(27px,2.3vw,33px);line-height:1;margin:0;color:var(--ink);font-weight:900;white-space:nowrap}.hero-facts p:not(.fact-value){font-size:12px;color:#494521;margin:5px 0 0;text-transform:uppercase;font-weight:800;letter-spacing:.07em;white-space:nowrap}
.wp-block-button.primary .wp-block-button__link{background:var(--yellow);color:var(--black);border-radius:0;font-weight:900;padding:17px 24px}.wp-block-button.dark .wp-block-button__link{background:var(--ink);color:#fff;border-radius:0;font-weight:900}.wp-block-button.text-link .wp-block-button__link{background:transparent;border:0;border-radius:0;padding:0;color:inherit;text-decoration:none}
.service-card>.service-number{color:#626668;font-size:12px;font-weight:900;letter-spacing:.15em;margin:0 0 32px}.service-card>.service-arrow{margin-top:auto}.service-card>.service-arrow a{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--yellow);color:var(--black);font-size:22px;text-decoration:none}
.process-number{font-size:12px;font-weight:900;letter-spacing:.15em;color:#746400;margin:0 0 25px}
.timeline article>figure{width:92px;height:92px;margin:0;overflow:hidden;flex:0 0 92px}.timeline article>figure img{width:100%;height:100%;object-fit:cover;display:block}.timeline-year{font-weight:900}
.team-grid figure.team-photo{width:100%;height:360px;margin:0 0 25px;overflow:hidden}.team-grid figure.team-photo img{width:100%;height:100%;object-fit:cover;display:block}.team-role{color:#746400;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.contact-copy .contact-link{margin:0}.contact-copy .contact-link a{display:block;color:#fff;font-size:clamp(18px,2vw,26px);font-weight:900;text-decoration:none;margin:8px 0}
.legal-content>.wp-block-group{padding:0 0 44px;margin:0 0 44px;border-bottom:1px solid var(--line)}
.legal-content>.wp-block-group:last-child{border-bottom:0;margin-bottom:0}
.editor-styles-wrapper .hero,.editor-styles-wrapper .subhero{min-height:620px}.editor-styles-wrapper .section{max-width:none}.editor-styles-wrapper .hero-content,.editor-styles-wrapper .subhero-content{position:absolute}

/* bs Cookie Settings 5.6.6: vollständiges Farbschema für Banner und Dialog. */
#bs-cookie-bar {
  border-top: 8px solid var(--yellow) !important;
  background: #202326 !important;
  color: #fff !important;
  box-shadow: 0 -12px 36px rgba(17,19,21,.28) !important;
}
#bs-cookie-bar #c-ttl,
#bs-cookie-bar #c-txt,
#bs-cookie-bar #c-txt p,
#bs-cookie-bar #c-txt strong {
  color: #fff !important;
}
#bs-cookie-bar #c-txt {
  font-size: 14px !important;
  line-height: 1.65 !important;
}
#bs-cookie-bar #consent-links {
  border-color: #5f6468 !important;
  background: #111315 !important;
  color: #fff !important;
}
#bs-cookie-bar #consent-links a {
  color: var(--yellow) !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}
#bs-cookie-bar #consent-links a:hover,
#bs-cookie-bar #consent-links a:focus-visible {
  color: #fff !important;
  text-decoration-color: #fff !important;
}
#bs-cookie-bar #c-p-bn {
  border: 2px solid var(--yellow) !important;
  background: var(--yellow) !important;
  color: #111315 !important;
}
#bs-cookie-bar #c-s-bn {
  border: 2px solid #fff !important;
  background: #fff !important;
  color: #111315 !important;
  box-shadow: none !important;
}
#bs-cookie-bar #set-s-bn {
  border: 2px solid var(--yellow) !important;
  background: #111315 !important;
  color: #fff !important;
  box-shadow: none !important;
}
#bs-cookie-bar #c-p-bn:hover,
#bs-cookie-bar #c-p-bn:focus-visible,
#bs-cookie-bar #c-s-bn:hover,
#bs-cookie-bar #c-s-bn:focus-visible,
#bs-cookie-bar #set-s-bn:hover,
#bs-cookie-bar #set-s-bn:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: #111315 !important;
}
#bs-cookie-modal .modal-content,
#bs-cookie-modal .modal-header,
#bs-cookie-modal .modal-body,
#bs-cookie-modal .modal-footer {
  background: #202326 !important;
  color: #fff !important;
}
#bs-cookie-modal .modal-header,
#bs-cookie-modal .modal-footer,
#bs-cookie-modal #s-bl tr,
#bs-cookie-modal .desc.b-acc {
  border-color: #5f6468 !important;
}
#bs-cookie-modal #s-ttl,
#bs-cookie-modal #s-bl,
#bs-cookie-modal #s-bl .title,
#bs-cookie-modal #s-bl .p,
#bs-cookie-modal #s-bl p,
#bs-cookie-modal #s-bl label,
#bs-cookie-modal #s-bl th,
#bs-cookie-modal #s-bl td,
#bs-cookie-modal #s-bl td::before,
#bs-cookie-modal #s-bl .on-i,
#bs-cookie-modal #s-bl .off-i {
  color: #fff !important;
}
#bs-cookie-modal #s-bl .b-tl {
  border: 1px solid #5f6468 !important;
  background: #303438 !important;
  color: #fff !important;
}
#bs-cookie-modal #s-bl button.b-tl.exp::before {
  background-color: var(--yellow) !important;
}
#bs-cookie-modal #s-bl .b-tl:hover,
#bs-cookie-modal #s-bl .b-tl:focus-visible {
  border-color: var(--yellow) !important;
  background: #3b4045 !important;
  color: #fff !important;
}
#bs-cookie-modal .form-check-input {
  border: 2px solid #fff !important;
  background-color: #fff !important;
  opacity: 1 !important;
}
#bs-cookie-modal .form-check-input:checked {
  border-color: var(--yellow) !important;
  background-color: var(--yellow) !important;
}
#bs-cookie-modal .form-check-input:focus {
  border-color: var(--yellow) !important;
  box-shadow: 0 0 0 .25rem rgba(255,223,0,.38) !important;
}
#bs-cookie-modal #s-all-bn {
  border: 2px solid var(--yellow) !important;
  background: var(--yellow) !important;
  color: #111315 !important;
}
#bs-cookie-modal #s-rall-bn {
  border: 2px solid #fff !important;
  background: #fff !important;
  color: #111315 !important;
}
#bs-cookie-modal #s-sv-bn {
  border: 2px solid var(--yellow) !important;
  background: #111315 !important;
  color: #fff !important;
}
#bs-cookie-modal #s-all-bn:hover,
#bs-cookie-modal #s-all-bn:focus-visible,
#bs-cookie-modal #s-rall-bn:hover,
#bs-cookie-modal #s-rall-bn:focus-visible,
#bs-cookie-modal #s-sv-bn:hover,
#bs-cookie-modal #s-sv-bn:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: #111315 !important;
}

/*
 * Cookie-Details: rein visuelle Korrektur, bewusst nur auf den
 * Einstellungsdialog begrenzt. Der Cookie-Banner bleibt unangetastet.
 */
#bs-cookie-modal .modal-content,
#bs-cookie-modal .modal-header,
#bs-cookie-modal .modal-body,
#bs-cookie-modal .modal-footer,
#bs-cookie-modal #s-cnt,
#bs-cookie-modal #s-hdr,
#bs-cookie-modal #s-bl,
.cc_div #s-cnt,
.cc_div #s-cnt #s-hdr,
.cc_div #s-cnt #s-bl {
  background-color: #202326 !important;
  color: #fff !important;
}

#bs-cookie-modal #s-bl .b-bn,
#bs-cookie-modal #s-bl .b-acc,
#bs-cookie-modal #s-bl .desc,
#bs-cookie-modal #s-bl table,
#bs-cookie-modal #s-bl tbody,
#bs-cookie-modal #s-bl tr,
#bs-cookie-modal #s-bl th,
#bs-cookie-modal #s-bl td,
.cc_div #s-cnt #s-bl .b-bn,
.cc_div #s-cnt #s-bl .b-acc,
.cc_div #s-cnt #s-bl .desc,
.cc_div #s-cnt #s-bl table,
.cc_div #s-cnt #s-bl tbody,
.cc_div #s-cnt #s-bl tr,
.cc_div #s-cnt #s-bl th,
.cc_div #s-cnt #s-bl td {
  --bs-table-bg: #292d31;
  --bs-table-color: #fff;
  background-color: #292d31 !important;
  color: #fff !important;
}

#bs-cookie-modal #s-bl h2,
#bs-cookie-modal #s-bl h3,
#bs-cookie-modal #s-bl p,
#bs-cookie-modal #s-bl span,
#bs-cookie-modal #s-bl label,
#bs-cookie-modal #s-bl strong,
#bs-cookie-modal #s-bl th,
#bs-cookie-modal #s-bl td,
#bs-cookie-modal #s-bl td::before,
.cc_div #s-cnt #s-bl h2,
.cc_div #s-cnt #s-bl h3,
.cc_div #s-cnt #s-bl p,
.cc_div #s-cnt #s-bl span,
.cc_div #s-cnt #s-bl label,
.cc_div #s-cnt #s-bl strong,
.cc_div #s-cnt #s-bl th,
.cc_div #s-cnt #s-bl td,
.cc_div #s-cnt #s-bl td::before {
  color: #fff !important;
}

#bs-cookie-modal #s-bl a,
.cc_div #s-cnt #s-bl a {
  color: var(--yellow) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

/* Klassischer, gut erkennbarer Schiebeschalter ohne zusätzliche Beschriftung. */
#bs-cookie-modal .c-tg,
.cc_div #s-cnt .c-tg {
  box-sizing: border-box !important;
  display: inline-block !important;
  position: relative !important;
  width: 48px !important;
  height: 26px !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  background: #111315 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

#bs-cookie-modal .c-tg::after,
.cc_div #s-cnt .c-tg::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.35) !important;
  transform: translateX(0) !important;
  transition: transform .2s ease, background-color .2s ease !important;
}

#bs-cookie-modal .c-tgl:checked ~ .c-tg,
.cc_div #s-cnt .c-tgl:checked ~ .c-tg {
  border-color: var(--yellow) !important;
  background: var(--yellow) !important;
}

#bs-cookie-modal .c-tgl:checked ~ .c-tg::after,
.cc_div #s-cnt .c-tgl:checked ~ .c-tg::after {
  background: #111315 !important;
  transform: translateX(22px) !important;
}

#bs-cookie-modal .c-tgl:focus-visible ~ .c-tg,
.cc_div #s-cnt .c-tgl:focus-visible ~ .c-tg {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #111315 !important;
}

/* Das echte Kontrollfeld bleibt für Hilfstechnologien erhalten. */
#bs-cookie-modal .c-tgl,
.cc_div #s-cnt .c-tgl {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  white-space: nowrap !important;
}

#bs-cookie-modal .form-switch .form-check-input:not(.c-tgl) {
  box-sizing: border-box !important;
  width: 48px !important;
  height: 26px !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  background-color: #111315 !important;
  background-image: radial-gradient(circle at 25% 50%, #fff 0 27%, transparent 30%) !important;
  box-shadow: none !important;
}

#bs-cookie-modal .form-switch .form-check-input:not(.c-tgl):checked {
  border-color: var(--yellow) !important;
  background-color: var(--yellow) !important;
  background-image: radial-gradient(circle at 75% 50%, #111315 0 27%, transparent 30%) !important;
}

/* Transparentes gelbes X statt weißer quadratischer Schaltfläche. */
#bs-cookie-modal .btn-close,
#bs-cookie-modal #s-c-bn,
.cc_div #s-cnt #s-c-bn {
  position: relative !important;
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

#bs-cookie-modal .btn-close::before,
#bs-cookie-modal .btn-close::after,
#bs-cookie-modal #s-c-bn::before,
#bs-cookie-modal #s-c-bn::after,
.cc_div #s-cnt #s-c-bn::before,
.cc_div #s-cnt #s-c-bn::after {
  content: "" !important;
  position: absolute !important;
  top: 21px !important;
  left: 10px !important;
  width: 24px !important;
  height: 3px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: var(--yellow) !important;
  opacity: 1 !important;
}

#bs-cookie-modal .btn-close::before,
#bs-cookie-modal #s-c-bn::before,
.cc_div #s-cnt #s-c-bn::before {
  transform: rotate(45deg) !important;
}

#bs-cookie-modal .btn-close::after,
#bs-cookie-modal #s-c-bn::after,
.cc_div #s-cnt #s-c-bn::after {
  transform: rotate(-45deg) !important;
}

#bs-cookie-modal .btn-close:hover,
#bs-cookie-modal #s-c-bn:hover,
.cc_div #s-cnt #s-c-bn:hover {
  background: rgba(255,223,0,.12) !important;
}

/* Einheitliches Typografie-System: Lesetext 16 px, UI 14 px, Metatext 13 px. */
body {
  font-size: 16px;
  line-height: 1.7;
}

.topbar nav,
.topbar nav a,
.mobile-menu .nav-link,
.mobile-phone {
  font-size: 16px;
}

.brand > span,
.eyebrow,
.hero-facts span,
.hero-facts p:not(.fact-value),
.service-card > span,
.service-card > .service-number,
.values span,
.process-grid strong,
.process-number,
.timeline article > span,
.team-grid span,
.team-role {
  font-size: 13px;
  line-height: 1.5;
}

.header-cta,
.btn,
.text-link,
.wp-block-button__link,
.cc_div .c-bn,
.cc_div #c-bns .c-bn,
.cc_div #s-bns .c-bn,
#bs-cookie-modal .btn {
  font-size: 14px;
  line-height: 1.5;
}

.intro-copy p,
.service-card p,
.values p,
.process-grid p,
.timeline p,
.team-grid p,
.section-head > p,
.project-panel > p:not(.eyebrow),
.contact-band p:not(.eyebrow),
.contact-copy > p:not(.eyebrow),
.legal-content p,
.legal-content li,
.legal-content code {
  font-size: 16px;
  line-height: 1.75;
}

.contact .wpcf7 .form-select option,
.contact .wpcf7 .wpcf7-acceptance a {
  font-size: 16px;
}

footer {
  font-size: 16px;
  line-height: 1.7;
}

footer p,
footer a,
footer li,
footer span,
footer strong,
footer b,
footer .cookie-settings-link {
  font-size: 16px !important;
  line-height: 1.7;
}

footer h2 {
  font-size: 14px !important;
  line-height: 1.5;
}

footer .copyright {
  font-size: 14px !important;
  line-height: 1.7;
}

#bs-cookie-bar #c-txt,
.cc_div .p,
.cc_div .p.small,
#bs-cookie-modal .modal-body,
#bs-cookie-modal .modal-body p {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

#bs-cookie-modal th,
#bs-cookie-modal td,
#bs-cookie-modal a,
.cc_div #s-cnt th,
.cc_div #s-cnt td,
.cc_div #s-cnt a {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

@media (max-width: 600px) {
  .hero-copy,
  .intro-copy p,
  .service-card p,
  .values p,
  .process-grid p,
  .timeline p,
  .team-grid p,
  .legal-content p,
  .legal-content li {
    font-size: 16px;
  }
}

/* Hochformatige Porträts im Bereich „Unsere Geschichte“. */
.timeline article {
  grid-template-columns: 90px 130px minmax(0, 1fr);
}
.timeline article > figure.wp-block-image {
  width: 130px;
  height: 180px;
  margin: 0;
  overflow: hidden;
  border-bottom: 7px solid var(--yellow);
}
.timeline article > figure.wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 600px) {
  .timeline article {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .timeline article > figure.wp-block-image {
    grid-column: 2;
    width: min(160px, 100%);
    height: 220px;
  }
  .timeline article > div {
    grid-column: 2;
  }
}

/* Contact Form 7: Statusfläche nur anzeigen, wenn eine Meldung vorliegt. */
.contact .wpcf7 form.init .wpcf7-response-output,
.contact .wpcf7 .wpcf7-response-output:empty,
.contact .wpcf7 .wpcf7-response-output[aria-hidden="true"] {
  display: none !important;
}
.contact .wpcf7 form.sent .wpcf7-response-output,
.contact .wpcf7 form.invalid .wpcf7-response-output,
.contact .wpcf7 form.unaccepted .wpcf7-response-output,
.contact .wpcf7 form.spam .wpcf7-response-output,
.contact .wpcf7 form.failed .wpcf7-response-output,
.contact .wpcf7 form.aborted .wpcf7-response-output {
  display: block !important;
}

/* Eindeutige Statussymbole mit fest reserviertem Textabstand. */
.contact .wpcf7 .wpcf7-response-output {
  position: relative;
  min-height: 64px;
  padding: 17px 20px 17px 64px !important;
  border-width: 2px !important;
}
.contact .wpcf7 .wpcf7-response-output::before {
  content: "!" !important;
  position: absolute !important;
  top: 50% !important;
  left: 18px !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border: 2px solid var(--yellow) !important;
  border-radius: 50% !important;
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  opacity: 1 !important;
  transform: translateY(-50%) !important;
}
.contact .wpcf7 .wpcf7-response-output::after {
  content: none !important;
  display: none !important;
}
.contact .wpcf7 form.sent .wpcf7-response-output::before {
  content: "✓" !important;
}
.contact .wpcf7 form.failed .wpcf7-response-output::before,
.contact .wpcf7 form.aborted .wpcf7-response-output::before,
.contact .wpcf7 form.spam .wpcf7-response-output::before {
  content: "×" !important;
}

@media (max-width: 480px) {
  .contact .wpcf7 .wpcf7-response-output {
    padding: 58px 18px 18px !important;
  }
  .contact .wpcf7 .wpcf7-response-output::before {
    top: 16px !important;
    left: 18px !important;
    transform: none !important;
  }
}

/*
 * Mobile Startseite bis 650 px:
 * Der Hero wächst mit seinem Inhalt. Dadurch stehen CTA und Kennzahlen immer
 * nacheinander im Dokumentfluss und können sich nicht mehr überdecken.
 * Lange Gutenberg-Überschriften dürfen an sprachlich möglichen Stellen und
 * notfalls innerhalb eines sehr langen Wortes umbrechen.
 */
@media (max-width: 650px) {
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
    padding: clamp(56px, 12vw, 78px) 22px 0;
  }

  .hero-content {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    padding: 0 0 42px;
    transform: none;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-facts {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: calc(100% + 44px);
    max-width: none;
    margin: auto -22px 0;
  }

  .hero-facts p,
  .hero-facts span,
  .hero-facts p:not(.fact-value) {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  main .wp-block-heading,
  main .wp-block-heading em {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
}
