body {
  padding-top: 110px;
}

a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.ucc-project-text a {
  color: #910714;
  text-decoration: underline;
}

.ucc-project-text a:hover, .ucc-project-text a:focus {
  color: #910714;
}

.ucc-back, .ucc-back:hover, .ucc-back:focus {
  color: #910714;
  text-decoration: none !important;
}

/* ========================================
   NAVIGATION
   ======================================== */

.ucc-navbar {
  min-height: 110px;
  padding: 0 3rem;
  transition: min-height 0.3s ease;
  border-top: 10px solid #910714;
}

.ucc-logo {
  width: 250px;
  height: auto;
  max-width: 100%;
  transition: width 0.3s ease;
}

.ucc-navbar.scrolled {
  min-height: 75px;
}

.ucc-navbar.scrolled .ucc-logo {
  width: 200px;
}

/* ========================================
   HERO / PORTFOLIO
   ======================================== */

.ucc-hero-bg {
  padding-top: 60px;
  padding-bottom: 0;
}

.ucc-hero-title {
  color: #fff;
  font-size: 4.4rem;
  line-height: 1.02;
  text-align: left;
  margin: 0;
  padding-left: 1rem;
}

.ucc-hero-text {
  color: #fff;
  text-align: right;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-right: 1rem;
}

/* ========================================
   PORTFOLIO-KACHELN
   ======================================== */

.ucc-project {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.ucc-project img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.ucc-project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: rgba(145, 7, 20, 0);
  color: rgba(255, 255, 255, 0);
  text-align: center;
  font-size: 1rem;
  line-height: 1.3;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ucc-project-overlay p {
  margin: 0;
}

.ucc-project:hover img {
  transform: scale(1);
}

.ucc-project:hover .ucc-project-overlay {
  background: rgba(145, 7, 20, 0.8);
  color: #fff;
}

.ucc-hero-bg, .ucc-portfolio-bg {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.ucc-portfolio-title {
  padding-left: 1rem;
}

.ucc-portfolio-col {
  margin-top: 45px;
}

@media (max-width: 767px) {
  .ucc-project {
    margin-bottom: 0.5rem;
  }
}

/* ========================================
   PARALLAX-TRENNER NACH PORTFOLIO
   ======================================== */

.ucc-parallax-break {
  margin: 0;
  padding: 0;
}

.ucc-parallax-break-bg {
  height: 296px;
  min-height: 0;
}

/* ========================================
   ANTWORTEN / FRAGEN
   ======================================== */

.ucc-answers {
  background: #fff;
  padding-top: 7rem;
  padding-bottom: 0;
}

/* Überschrift und Einleitung */

.ucc-answers-head {
  margin-bottom: 8rem;
}

.ucc-answers-title {
  margin: 0;
  padding-left: 1rem;
  color: #910714;
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 300;
}

.ucc-answers-title strong {
  font-weight: 700;
}

.ucc-answers-text {
  margin-top: 12px;
  margin-bottom: 1.5em;
  padding-left: 3rem;
  padding-right: 1rem;
  color: #222;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: 3px;
  font-weight: 500;
  text-align: right;
}

/* ========================================
   DREI FRAGEZEICHEN
   ======================================== */

.ucc-question {
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
}

.ucc-question img {
  display: block;
  width: 100%;
  height: auto;
}

/* Vertikale Beschriftung */

.ucc-question-label {
  position: absolute;
  top: 0;
  right: 2.5rem;
  color: #222;
  line-height: 1;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* ========================================
   DESKTOP
   ======================================== */

@media (min-width: 1200px) {
  .ucc-question-blue {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .ucc-question-red {
    margin-top: 128px;
  }
}

@media (min-width: 1200px) {
  .ucc-question-green {
    margin-top: 256px;
  }
}

@media (min-width: 1200px) {
  .ucc-question-col {
    border-left: 1px dotted rgba(55, 60, 66, 0.5);
  }
}

@media (min-width: 1200px) {
  .ucc-question-col:last-child {
    border-right: 1px dotted rgba(55, 60, 66, 0.5);
  }
}

/* ========================================
   TABLET
   ======================================== */

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question-blue {
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question-red {
    margin-top: 70px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question-green {
    margin-top: 140px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question-label {
    right: 1.6rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question-col {
    border-left: 1px dotted rgba(55, 60, 66, 0.5);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-question-col:last-child {
    border-right: 1px dotted rgba(55, 60, 66, 0.5);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-answers-head {
    margin-bottom: 5rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-answers-title {
    font-size: 3.2rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-answers-text {
    font-size: 1.05rem;
    letter-spacing: 2px;
  }
}

/* ========================================
   MOBIL
   ======================================== */

@media (max-width: 767px) {
  .ucc-question-col {
    border-bottom: 1px dotted rgba(55, 60, 66, 0.5);
  }
}

@media (max-width: 767px) {
  .ucc-question-col:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .ucc-question {
    margin-top: 0;
    padding: 2rem 1rem;
  }
}

@media (max-width: 767px) {
  .ucc-question-label {
    top: 2rem;
    right: 1.5rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   PHILOSOPHIE
   ======================================== */

.ucc-philosophie {
  margin: 0;
  padding: 0;
}

.ucc-philosophie-bg {
  min-height: 650px;
  padding: 5rem 0 8rem;
}

.ucc-philosophie-title {
  margin: 0 0 1.5rem;
  color: #910714;
  font-size: 3.3rem;
  line-height: 1.05;
  font-weight: 400;
}

.ucc-philosophie-text {
  margin: 0;
  color: #777;
  font-size: 1.4rem;
  line-height: 1.55;
  font-weight: 400;
}

.ucc-philosophie-text strong {
  font-weight: 700;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-philosophie-bg {
    min-height: 0;
    padding: 4rem 0 6rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-philosophie-title {
    font-size: 3.2rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ucc-philosophie-text {
    font-size: 1.3rem;
    line-height: 1.55;
  }
}

/* MOBIL */

@media (max-width: 767px) {
  .ucc-philosophie-bg {
    min-height: 0;
    padding: 3rem 0 4rem;
  }
}

@media (max-width: 767px) {
  .ucc-philosophie-title {
    font-size: 2.7rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767px) {
  .ucc-philosophie-text {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

.ucc-philosophie-panel {
  background: rgba(255, 255, 255, 0.75);
  padding: 3rem;
}

@media (max-width: 767px) {
  .ucc-philosophie-panel {
    padding: 2rem 1.5rem;
  }
}

/* ========================================
   TYPO-BILDBLOCK
   ======================================== */

.ucc-typo {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.ucc-typo-bg {
  position: relative;
  height: 500px;
  min-height: 0;
  overflow: hidden;
}

/* weißes Overlay */

.ucc-typo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
  pointer-events: none;
}

/* roter Kreis */

.ucc-typo-circle {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 100px;
  right: 0;
  border-radius: 50%;
  background: #d90a2c;
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}

/* ========================================
   LEISTUNGEN
   ======================================== */

.ucc-services {
  background: #fff;
  padding: 9rem 0 7rem;
}

.ucc-service {
  padding: 2rem;
  margin-bottom: 2rem;
}

.ucc-service-category {
  margin: 0 0 0.6rem;
  color: #910714;
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 400;
}

.ucc-service-title {
  margin: 0 0 1rem;
  color: #222;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 700;
}

.ucc-service-text {
  margin: 0;
  color: #777;
  font-size: 1.5rem;
  line-height: 1.55;
}

.ucc-services-head {
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.ucc-services-kicker {
  margin: 0 0 1.2rem;
  color: #910714;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.ucc-services-heading {
  margin: 0;
  color: #222;
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .ucc-services-heading {
    font-size: 3.3rem;
  }
}

@media (max-width: 767px) {
  .ucc-services-head {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 767px) {
  .ucc-services-heading {
    font-size: 2.6rem;
  }
}

.ucc-img {
  width: 72%;
  align-self: center;
}

.ucc-img img {
  display: block;
  width: 100%;
  height: auto;
}

.ucc-contact {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.ucc-contact-content {
  width: 100%;
  padding: 1rem 2rem;
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.5;
}

.ucc-contact-content p {
  margin-bottom: 2rem;
}

.ucc-contact-kicker {
  margin-bottom: 3rem !important;
}

.ucc-contact-content {
  width: 100%;
  padding: 1rem 9rem 1rem 2rem;
  color: #fff;
  text-align: right;
  font-size: 1.25rem;
  line-height: 1.5;
}

.ucc-contact-content a, .ucc-contact-content a:hover {
  color: #fff;
}

.ucc-project-number {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.ucc-project-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.ucc-project-text {
  font-size: 1.25rem;
}

.ucc-project-text p {
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.ucc-project-lead {
  font-size: 1.4rem;
}

.ucc-project-small {
  font-size: 1.1rem;
}

/* =========================================
   ZURÜCK-LINK
   ========================================= */

.ucc-back {
  display: inline-flex;
  align-items: center;
  color: #910714;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ucc-back:hover, .ucc-back:focus {
  color: #910714;
  text-decoration: none;
}

/* =========================================
   SVG
   ========================================= */

.ucc-back-arrow {
  width: 34px;
  height: 16px;
  margin-left: 15px;
  overflow: hidden;
}

/* Linie */

.ucc-back-arrow rect {
  transform: translateX(-13px);
  transform-origin: right;
  stroke: currentColor;
  stroke-width: .5;
}

/* Pfeilspitze */

.ucc-back-arrow path {
  animation: ucc-button-cap-out 0.35s ease-in-out;
  transform: translateX(-13px);
  transform-origin: right;
  fill: currentColor;
}

/* zweite Original-Animation auf der Pfeilspitze */

.ucc-back-arrow .ucc-button-cap-fake {
  animation: ucc-button-cap-fake-out 0.35s linear;
}

/* =========================================
   HOVER
   ========================================= */

.ucc-back:hover .ucc-back-arrow rect {
  animation: ucc-button-line 0.7s ease forwards;
}

.ucc-back:hover .ucc-back-arrow path {
  animation: ucc-button-cap 0.7s ease forwards;
}

/* =========================================
   ANIMATION: Pfeilspitze beim Verlassen
   ========================================= */

@keyframes ucc-button-cap-fake-out {
  0% {
    clip-path: inset(0 0 0 0);
  }
  49%, 51% {
    clip-path: inset(50% 0 50% 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* =========================================
   ANIMATION: Linie
   ========================================= */

@keyframes ucc-button-line {
  0%, 100% {
    transform: translateX(-13px) scaleX(1);
  }
  10% {
    transform: translateX(-13px) scaleX(1);
  }
  46%, 55% {
    transform: translateX(0) scaleX(0.5);
  }
  99% {
    transform: translateX(-13px) scaleX(0.6);
  }
}

/* =========================================
   ANIMATION: Pfeilspitze zurück
   ========================================= */

@keyframes ucc-button-cap-out {
  0%, 50% {
    transform: translateX(-35px) scaleX(-1);
  }
  51%, 100% {
    transform: translateX(-13px) scaleX(1);
  }
}

/* =========================================
   ANIMATION: Pfeilspitze beim Hover
   ========================================= */

@keyframes ucc-button-cap {
  0% {
    -webkit-transform: translateX(-13px) scaleX(1);
    transform: translateX(-13px) scaleX(1);
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  54% {
    -webkit-transform: translateX(-1px) scaleX(1);
    transform: translateX(-1px) scaleX(1);
    -webkit-clip-path: inset(50% 0 50% 0);
    clip-path: inset(50% 0 50% 0);
  }
  55% {
    -webkit-transform: translateX(-20px) scaleX(-1);
    transform: translateX(-20px) scaleX(-1);
    -webkit-clip-path: inset(50% 0 50% 0);
    clip-path: inset(50% 0 50% 0);
  }
  100% {
    -webkit-transform: translateX(-35px) scaleX(-1);
    transform: translateX(-35px) scaleX(-1);
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}

.ucc-project-row {
  align-items: center;
}

.ucc-project-image-col {
  padding-top: 100px;
  padding-right: 50px;
}

@media (max-width: 990px) {
  .ucc-project-image-col {
    padding-top: 0;
    padding-right: 15px;
  }
}

@media (max-width: 770px) {
  .ucc-project-image-col {
    padding-right: 0;
  }
}

.ucc-project-text-row {
  column-gap: 1.5rem;
}

.ucc-legal h1 {
  color: #910714;
}

.ucc-legal h2 {
  font-size: 1.4rem;
  font-weight: 700;
}

.ucc-legal h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.ucc-datenschutz h1 {
  color: var(--bs-primary);
}

.ucc-datenschutz a {
  color: var(--bs-primary);
}

.ucc-datenschutz a:hover, .ucc-datenschutz a:focus {
  color: var(--bs-primary);
  text-decoration: underline;
}

.ucc-navbar .nav-link.link-primary:hover, .ucc-navbar .nav-link.link-primary:focus {
  color: #000 !important;
}

