html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

strong {
  font-weight: 700;
}

.noto-serif {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 75;
}

.header {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.header--hero {
  overflow: hidden;
  position: relative;
  height: 95vh;
}

.hero-slide {
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center bottom;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  background-attachment: fixed;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 1);
}

.hero-slide.active {
  opacity: 1;
  z-index: 0;
}

.navbar,
.hero-content,
.carousel-dots {
  position: relative;
  z-index: 1;
}

.navbar {
  z-index: 10;
}

.header--plain {
  background: none;
  color: #3c3c3b;
}

.navbar {
  display: flex;
  align-items: center;
  padding-inline: 14%;
  padding-top: 3%;
}
.navbar-brand img {
  height: 75px;
  width: auto;
}
.nav-links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 0.5rem;
  margin-left: 2%;
  list-style: none;
  padding: 0;
}
.navbar a {
  text-decoration: none;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  transition: color 0.3s;
}
.header--hero .navbar a {
  color: #fff;
}
.header--plain .navbar a {
  color: #3c3c3b;
  text-shadow: none;
}

.navbar a:hover {
  color: #f7a600;
}
.hero-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 3%;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text {
  color: #fff;
  margin-left: 14%;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.header--hero .hero-text h1 {
  color: #fff;
}
.hero-text h1 {
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.hero-text h3 {
  font-size: 2rem;
  font-weight: 300;
}

.hero-content-mobile {
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 3%;
}
.hero-text-mobile {
  color: #3c3c3b;
  margin-left: 7%;
}
.header--hero .hero-text-mobile h1 {
  color: #fff;
}
.hero-text-mobile h1 {
  font-size: 5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hero-text-mobile h3 {
  font-size: 2rem;
  font-weight: 300;
}

.top-banner {
  position: sticky;
  top: 0;
  background-color: #f7a600;
  color: #3c3c3b;
  z-index: 9999;
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 55s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.carousel-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 2rem;
}

.kreis {
  height: 17px;
  width: 17px;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

.kreis.active {
  background-color: #f7a600;
  border: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  position: relative;
  z-index: 1000;
}

.burger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: currentColor;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.hero-slide--video {
  background: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1000px) {
  .header {
    min-height: 25%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }


  .navbar {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    background-color: rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
  }

  /* Logo */
  .navbar-brand img {
    width: 300px;
    height: auto;
  }

  .burger {
    display: flex;
    border: none;
    cursor: pointer;
    color: #fff;
    position: relative;
    z-index: 10001;
  }

  .header--plain .burger {
    color: #3c3c3b;
  }

  /* Burger transforms to X when menu is open */
  .burger.active {
    color: #fff;
    position: fixed;
    top: 4.5rem;
    right: 1.25rem;
  }

  .burger.active span {
    background-color: #fff;
  }

  /* Burger im Active-State: 3 Spans verstecken, sauberes X aus Pseudo-Elementen */
  .burger.active span { display: none; }
  .burger.active::before,
  .burger.active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 3px;
    background-color: currentColor;
    border-radius: 2px;
  }
  .burger.active::before { transform: translate(-50%, -50%) rotate(45deg); }
  .burger.active::after  { transform: translate(-50%, -50%) rotate(-45deg); }

  .nav-links {
    margin: 0;
    padding: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    z-index: 9999;
    gap: 0.5rem;
  }

  /* Engerer Abstand zwischen Über uns und Kompetenz */
  .nav-links.active > .nav-item:nth-child(2) {
    margin-top: -0.3rem;
  }

  .nav-links.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 0;
    display: flex;
    margin: 0;
    padding: 11rem 2.25rem 2rem 3rem;
    overflow-y: auto;
    z-index: 99999 !important;
  }

  /* Stacking-Fix: maximaler z-index für nav-links + Header + alle Ancestors.
     Auf Landing-Page hat .header--hero overflow:hidden — wir heben den GESAMTEN
     Header-Stack auf 2147483646 (max safe z-index - 1) und das Menu auf max. */
  body.menu-open .header,
  body.menu-open .header--hero,
  body.menu-open .navbar {
    position: relative !important;
    z-index: 2147483646 !important;
  }
  body.menu-open .header--hero {
    overflow: visible !important;
  }
  body.menu-open .nav-links.active {
    z-index: 2147483645 !important;   /* zwischen Header (646) und Burger-X (646) */
  }
  /* Burger-X (Top oder Bottom) MUSS über dem Menü-Overlay liegen, sonst kein Schließen */
  body.menu-open .burger.active {
    z-index: 2147483646 !important;
  }
  body.menu-open .top-banner {
    z-index: 2147483645 !important;
  }

  /* Issue 3: bottom-bar (mit X-Schließbutton) ist per Default off-screen
     translateY(110%) bis JS .is-visible setzt. Auf Subpages ohne Scroll
     ist der X also unsichtbar. Beim Menu-Open zwingen wir sie rein. */
  /* Bottom-Bar nur force-visible wenn der Bottom-Burger das Menu geöffnet hat.
     Wird das Top-Burger genutzt, bleibt die Bottom-Bar in ihrem Scroll-State
     (off-screen wenn am Page-Top, sichtbar wenn gescrollt). */
  body.menu-open.menu-from-bottom .bottom-bar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    z-index: 2147483647 !important;
  }
  /* Wenn der Bottom-Burger nicht das Menu geöffnet hat aber die Bar
     trotzdem schon sichtbar ist (gescrollt), bleibt sie es ebenfalls. */
  body.menu-open .bottom-bar.is-visible {
    z-index: 2147483647 !important;
  }

  .nav-links > .nav-item {
    width: 100%;
    text-align: left;
  }

  .nav-links a,
  .header--plain .navbar .nav-links a,
  .header--hero .navbar .nav-links a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
    padding: 0;
  }

  /* Hero */
  .hero-slide {
    box-shadow: none;
  }

  .header--hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  .hero-content {
    display: flex;
    padding-bottom: 6rem;
  }

  .hero-content-mobile {
    display: none;
  }

  .hero-text {
    margin-left: 7%;
    margin-right: 7%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    font-weight: 400;
  }

  .hero-text h3 {
    font-size: 1.2rem;
    font-weight: 300;
  }

  /* Carousel Dots */
  .carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-slide {
    background-position: 60% center;
    background-attachment: scroll;
  }
  .hero-slide--2 {
    background-position: center center;
  }

  .hero-video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/* NEWS SECTION AUF INDEX */
#news-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: center;
  height: auto;
  width: 100%;
  padding: 3% 14%;
  color: #3c3c3b;
  overflow: hidden;
}

.news-box {
  width: 50%;
  padding: 3%;
  border: #d8d8d8 solid 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;

  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.news-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a.news-box {
  text-decoration: none;
  color: inherit;
}

@media (hover: hover) {
  .news-box:hover {
    border-color: #f7a600;
  }
  /* Nicht-verlinkte Variante: kein Hover-Effekt */
  .news-box--no-link:hover {
    border-color: inherit;
  }
}

/* Nicht-verlinkte Variante: nicht clickable wirken, Weiterlesen-Button und Pfeil weg */
.news-box--no-link { cursor: default; }
.news-box--no-link button,
.news-box--no-link .arrow { display: none !important; }

.news-box--plain {
  border: none;
  padding: 0;
}

.news-box--plain p {
  font-weight: 300;
  width: 80%;
}

.kanzlei-more {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.5s ease;
}

.kanzlei-more__inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.weiterlesen-toggle {
  display: none;
}

.news-box h2 {
  font-size: 4rem;
  font-weight: 400;
}

.news-box h4 {
  font-weight: 600;
  width: 80%;
}

.news-box p {
  font-size: 1.2rem;
  margin-right: 5%;
  font-weight: 300;
}

.news-box button {
  align-self: flex-start;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .news-box button:hover {
    background-color: #f7a600;
  }

  .news-box:hover button {
    background-color: #f7a600;
  }
}

@media (max-width: 1000px) {
  /* Kanzlei Weiterlesen Toggle */
  .kanzlei-more {
    grid-template-rows: 0fr;
  }
  .kanzlei-more.is-open {
    grid-template-rows: 1fr;
  }
  .weiterlesen-toggle {
    display: inline-block;
    align-self: flex-start;
    background-color: #3c3c3b;
    color: #fff;
    border: none;
    padding: 0.5rem 1.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: -1.25rem;
    -webkit-tap-highlight-color: transparent;
  }
  @media (hover: hover) {
    .weiterlesen-toggle:hover {
      background-color: #f7a600;
    }
  }

  #news-section {
    min-height: auto;
    padding: 4% 10%;
    margin-bottom: 2rem;
    gap: 3rem;
  }

  .news-box {
    width: 100%;
    min-height: auto;
    padding: 5%;
    border: #d8d8d8 solid 2rem;
  }

  .news-box h2 {
    font-size: 4rem;
  }

  .news-box h4 {
    font-weight: 600;
    width: 90%;
  }

  .news-box p {
    font-size: 1rem;
    width: 100%;
    margin-right: 5%;
  }

  .news-box--plain {
    border: none;
    width: 100%;
  }
}

.news-detail-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 480px));
  justify-content: center;
  padding: 6rem 6rem;
  gap: 3rem;
}

.news-box-detail {
  text-decoration: none;
  color: #3c3c3b;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: #d8d8d8 solid 1rem;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.news-box-detail h2 {
  width: 100%;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.news-box-detail h4 {
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.news-box-detail p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.45;
  margin: 0;
}

.news-box-detail button {
  align-self: flex-start;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color;
  margin-top: 0.5rem;
}

.news-box-detail button:hover {
  background-color: #f7a600;
}

.news-box-detail .arrow {
  font-family: system-ui;
  color: #3c3c3b;
  transition: color;
}

.news-box-detail:hover .arrow {
  color: #f7a600;
}

.news-box-detail:hover {
  border-color: #f7a600;
}

.news-box-detail:hover button {
  background-color: #f7a600;
}

.arrow {
  font-family: system-ui;
  font-size: 1.2em;
  font-weight: 800;
  margin-right: 1rem;
}

.button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.button-container button {
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color;
  margin-bottom: 5%;
}

.button-container button:hover {
  background-color: #f7a600;
}

@media (max-width: 1200px) {
  .news-detail-section {
    padding: 4rem 5%;
    gap: 2.5rem;
  }

  .news-box-detail {
    border-width: 1rem;
    padding: 1.75rem 2rem;
  }
}

@media (max-width: 700px) {
  .news-detail-section {
    grid-template-columns: 1fr;
    padding: 3rem 5%;
    gap: 2.5rem;
  }

  .news-box-detail {
    aspect-ratio: unset;
    height: auto;
    border-width: 1.5rem;
    padding: 2rem;
  }

  .news-box-detail h2 {
    width: 75%;
    font-size: 2.5rem;
  }

  .news-box-detail h4 {
    width: 100%;
    font-size: 1.2rem;
  }

  .news-box-detail p {
    font-size: 1rem;
  }

  .news-box-detail button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .button-container button {
    padding: 0.5rem 0.5rem;
    font-size: 0.5rem;
  }
}

#kompetenzen {
  height: auto;
  background-color: #3c3c3b;
  color: white;
  padding: 5% 14% 4%;
  overflow: hidden;
}

#kompetenzen h2 {
  margin-bottom: 5%;
  font-size: 4rem;
  text-align: left;
}

#icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#icons.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.icon-item {
  text-align: center;
  transition: transform 0.3s ease;
  -webkit-transform: translateZ(0);
}

.icon-item:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.icon-item:hover p {
  color: #f7a600;
}

.icon-item a {
  text-decoration: none;
  display: block;
}

.icon-item img {
  width: 120px;
  max-width: 100%;
  height: 130px;
  object-fit: contain;
}

.icon-item p {
  font-size: 1.2rem;
  color: white;
  margin-top: 1rem;
  min-height: 3.6em;
}

@media (max-width: 1000px) {
  #kompetenzen {
    padding: 10% 8% 5%;
  }

  #icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
  }

  #kompetenzen h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
    text-align: left;
    padding-left: 4%;
  }

  #kompetenzen h2.kompetenzen-heading--weitere {
    text-align: center;
    padding-left: 0;
  }

  .icon-item img {
    width: 80px;
  }

  .icon-item {
    margin-bottom: 1rem;
  }

  .icon-item p {
    font-size: 1rem;
  }
}

/* TEAM BEREICH */
.team {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2% 14%;
  height: auto;
  color: #3c3c3b;

  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.team.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.team h2 {
  font-size: 4rem;
}

.team p {
  font-size: 1.2rem;
  font-weight: 400;
}

.member {
  width: 65%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.team-member {
  overflow: hidden;
}

.team-member img {
  width: 360px;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-member img:hover {
  transform: scale(1.1);
}

.team-member h3 {
  margin-top: 1rem;
  font-size: 1.45rem;
  font-weight: 600;
}

.team-member p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: #3c3c3b;
  margin: 0;
}

.team-member p + p {
  margin-top: 0.85rem;
}

@media (max-width: 950px) {
  .team {
    padding: 6% 8%;
  }

  .team h2 {
    margin-top: 1rem;
  }

  .member {
    width: 100%;
    justify-content: center;
  }

  .team-member {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .team-member img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: cover;
  }

  .team-member p {
    font-size: 1rem;
  }
}

/* FOOTER BEREICH */
.bg-footer {
  background-color: #fde4b2;
  padding: 0 14%;
  height: auto;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  height: 100%;
  margin-top: 7%;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-left {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.footer-left a {
  font-size: 1.2rem;
}

.footer-logo {
  width: 40%;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 1.5rem;
}

.footer-nav li a {
  text-decoration: none;
  color: #333;
}

.footer-text-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.footer-text {
  margin-bottom: 1rem;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 300;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem;
}

.footer-socials i {
  font-size: 3rem;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-mail {
  color: #333;
  text-decoration: none;
}

.footer-mail:hover {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .bg-footer {
    padding: 0;
  }

  .footer {
    height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-left {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 2rem;
    height: auto;
    width: 60%;
  }

  .footer-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .footer-nav a {
    font-size: 1rem;
  }

  .footer-text {
    font-size: 1rem;
  }

  .footer-text-container {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-socials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
}

/* NEWS ARTICLE PAGE */
.news-article-section {
  /* background-color: #fde4b2; */
  padding: 5% 14%;
  width: 100%;
}

.news-article {
  color: #3c3c3b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.news-article h2 {
  font-size: 3rem;
}

.news-article h4 {
  font-weight: 600;
  width: 35%;
  font-size: 1.5rem;
}

.news-article p {
  font-size: 1rem;
  width: 100%;
  max-width: 70ch;
  line-height: 1.7;
  margin: 0 0 1.1rem 0;
}

/* Typografie für Impressum / Datenschutz: H3 als Sektions-Überschrift */
.news-article h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem 0;
  color: #3c3c3b;
  line-height: 1.3;
}

/* Erste H3 ohne extra Top-Margin */
.news-article h3:first-of-type {
  margin-top: 1.5rem;
}

/* Address-Block: nicht-italic, gleicher Lesefluss wie p */
.news-article address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.1rem 0;
  max-width: 70ch;
}

/* Links im Impressum-Body: dezent unterstrichen */
.news-article p a,
.news-article address a {
  color: #3c3c3b;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.news-article p a:hover,
.news-article address a:hover {
  color: #f7a600;
}

/* Trennlinie + Credit-Box am Ende */
.impressum-divider {
  border: none;
  border-top: 1px solid #ececec;
  margin: 3rem 0 1.5rem 0;
  width: 100%;
  max-width: 70ch;
}
.impressum-credit {
  font-size: 0.875rem;
  color: #6f6f6e;
  margin-top: 0.5rem;
  max-width: 70ch;
}
.impressum-credit strong {
  color: #3c3c3b;
}

.news-article__image {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 1100 / 500;
  margin: 1rem 0;
  overflow: hidden;
}

.news-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1000px) {
  .news-article__image {
    aspect-ratio: 16 / 9;
  }
}

.news-article button {
  align-self: flex-start;
  width: auto;
  height: auto;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color;
  margin-bottom: 5%;
}

@media (max-width: 1000px) {
  .news-article-section {
    width: 100%;
    padding: 0 8% 5%;
  }

  .news-article h2 {
    font-size: 1.6rem;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .news-article h4 {
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
  }

  .news-article p {
    font-size: 0.75rem;
  }

  .news-article button {
    width: auto;
    height: auto;
    font-size: 1rem;
  }

  .news-article > img {
    display: none;
  }
}

.kompetenz-icon {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.kompetenz-icon img {
  width: 10%;
  height: 10%;
}

@media (max-width: 1000px) {
  .kompetenz-icon img {
    width: 32%;
    height: auto;
  }
}

/* GANZ KLEINE MOBILE DEVICES */
@media (max-width: 450px) {
  /* Kompetenzen-Section auf sehr kleinen Screens symmetrisch zentrieren */
  #kompetenzen {
    padding: 10% 5% 5%;
  }

  #kompetenzen h2 {
    text-align: left;
    padding-left: 4%;
  }

  #icons {
    gap: 2rem 0.5rem;
  }

  .navbar-brand img {
    width: 200px;
    height: auto;
  }

  .nav-links {
    margin-left: 0;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 1rem;
    margin: 0;
    padding: 0;
  }

  #news-section {
    padding: 2rem;
  }

  .news-box {
    border: #d8d8d8 solid 1.5rem;
  }

  .news-box--plain {
    border: none;
  }

  .news-box h2 {
    font-size: 2.5rem;
  }
  .news-box h4 {
    font-size: 1rem;
  }

  .news-box p {
    font-size: 0.75rem;
  }

  .member {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .team-member {
    overflow: scroll;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .team-member img {
    width: 100%;
    height: auto;
  }

  .team-member h3 {
    font-size: 1rem;
    font-weight: 600;
  }

  .team-member p {
    font-size: 0.75rem;
  }

  /* NEWS PAGE */
  .news-detail-section {
    grid-template-columns: 1fr;
    padding: 3rem 5%;
  }

  .news-box-detail {
    box-sizing: border-box;
    border-width: 1.5rem;
    padding: 2rem;
  }

  .news-box-detail h2 {
    width: 75%;
    font-size: 2rem;
  }

  .news-box-detail h4 {
    width: 100%;
    font-size: 1rem;
  }

  .news-box-detail p {
    font-size: 0.75rem;
  }
}

/* VITA / TEAM MEMBER LINK */
a.team-member {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.team-member h3 {
  transition: color 0.3s ease;
}

a.team-member:hover h3 {
  color: #f7a600;
}

/* VITA PAGE */
.vita-section {
  padding: 3% 14%;
  color: #3c3c3b;
}

.vita-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vita-header {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.vita-photo-frame {
  width: 300px;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.vita-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.vita-photo-frame:hover .vita-photo {
  transform: scale(1.1);
}

.vita-headings {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vita-headings h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 1rem;
  position: relative;
}

.vita-headings h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background-color: #f7a600;
}

.vita-role {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 1.25rem 0 0 0;
  color: #3c3c3b;
}

.vita-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

.vita-bio p {
  margin: 0;
}

.vita-cv-heading {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 0.75rem;
}

/* Force volles Layout — WP-Default-Constraints überschreiben */
main, .entry-content, .post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
}

.vita-section {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  display: block !important;
}

.vita-article {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
}

.vita-bio {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
}

.vita-bio p {
  width: 100% !important;
  max-width: none !important;
}

.vita-timeline {
  display: grid !important;
  grid-template-columns: minmax(140px, max-content) 1fr !important;
  gap: 1.75rem 3rem !important;
  margin-top: 0.5rem;
  width: 100% !important;
  max-width: none !important;
}

.vita-item {
  display: contents !important;
}

.vita-year {
  font-size: 1.5rem;
  color: #f7a600;
  line-height: 1.3;
  white-space: nowrap;
}

.vita-desc {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.5;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #ececec;
}

.vita-item:last-child .vita-desc {
  border-bottom: none;
  padding-bottom: 0;
}

.vita-article button {
  align-self: flex-start;
  margin-top: 1rem;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.vita-article button:hover {
  background-color: #f7a600;
}

@media (max-width: 950px) {
  .vita-section {
    padding: 5% 8%;
  }

  .vita-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .vita-photo-frame {
    width: 100%;
    height: auto;
    max-height: 260px;
  }

  .vita-headings h2 {
    font-size: 2rem;
  }

  .vita-timeline {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .vita-item {
    display: block !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ececec;
    margin-bottom: 1.5rem;
  }

  .vita-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .vita-year {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    white-space: normal;
  }

  .vita-desc {
    border: none;
    padding: 0;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* PUBLIKATION PAGE */
.publikation-section {
  padding: 4% 14%;
  color: #3c3c3b;
}

.publikation-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.publikation-article h2 {
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f7a600;
  align-self: flex-start;
}

.publikation-list {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.publikation-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

.publikation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: #3c3c3b;
}

.publikation-article button {
  align-self: flex-start;
  margin-top: 1rem;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.publikation-article button:hover {
  background-color: #f7a600;
}

@media (max-width: 950px) {
  .publikation-section {
    padding: 6% 8%;
  }
  .publikation-article h2 {
    font-size: 2rem;
  }
  .publikation-list {
    padding-left: 1rem;
  }
}

/* TOP-BANNER LINK */
.top-banner__link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.top-banner__link:hover {
  color: inherit;
}

/* BZ:WEEKLY PAGE */
.bz-weekly-section {
  padding: 4% 14%;
  color: #3c3c3b;
}

.bz-weekly-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bz-weekly-article h2 {
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f7a600;
  align-self: flex-start;
}

.bz-weekly-intro {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.bz-week-card {
  background-color: #f5f5f5;
  padding: 1.75rem 2.25rem;
  border-left: 3px solid #f7a600;
}

.bz-week-card h3 {
  font-family: "Noto Serif", serif;
  font-weight: 600;
  margin: 0 0 1.25rem 0;
  font-size: 1.35rem;
  color: #3c3c3b;
}

.bz-week-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bz-week-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

.bz-week-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: #f7a600;
}

.bz-weekly-article button {
  align-self: flex-start;
  margin-top: 1rem;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bz-weekly-article button:hover {
  background-color: #f7a600;
}

@media (max-width: 950px) {
  .bz-weekly-section {
    padding: 6% 8%;
  }
  .bz-weekly-article h2 {
    font-size: 2rem;
  }
  .bz-week-card {
    padding: 1.25rem 1.5rem;
  }
  .bz-week-card h3 {
    font-size: 1.2rem;
  }
}

/* NAV DROPDOWN */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.5rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-dropdown.is-open > .nav-link::after {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0.75rem 0;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  list-style: none;
  border-top: 2px solid #f7a600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.nav-dropdown.is-open > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
}

.nav-submenu li {
  list-style: none;
}

.nav-submenu a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  text-shadow: none;
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.header--hero .navbar .nav-submenu a,
.header--plain .navbar .nav-submenu a {
  color: #fff;
  text-shadow: none;
}

@media (hover: hover) {
  .header--hero .navbar .nav-submenu a:hover,
  .header--plain .navbar .nav-submenu a:hover {
    color: #f7a600;
    background-color: rgba(247, 166, 0, 0.12);
    border-left-color: #f7a600;
  }
}

@media (max-width: 1000px) {
  .nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .nav-dropdown > .nav-link::after {
    margin-left: 0;
    border-left-width: 5px;
    border-right-width: 5px;
    border-top-width: 6px;
    border-top-color: #fff;
  }

  /* Caret im Burger-Menü bleibt statisch, dreht sich nicht beim Klick */
  .nav-dropdown.is-open > .nav-link::after {
    transform: none;
  }

  /* Submenus always visible inside burger menu */
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-top: none;
    margin: 0.3rem 0 0.3rem 1.35rem;
    padding: 0 0 0 0.3rem;
    width: auto;
    list-style: none;
    max-height: none;
    overflow: visible;
    border-left: 1.5px solid #f7a600;
    transition: none;
  }

  .nav-submenu li {
    text-align: left;
    margin-bottom: 0.35rem;
  }

  .nav-submenu li:first-child {
    margin-top: 0;
  }

  .nav-submenu li:last-child {
    margin-bottom: 0;
  }

  .header--hero .navbar .nav-submenu a,
  .header--plain .navbar .nav-submenu a {
    font-size: 1.05rem;
    font-weight: 300;
    padding: 0;
    margin: 0;
    line-height: 1.2;
    color: #fff;
    opacity: 0.95;
  }

  .header--hero .navbar .nav-submenu a:hover,
  .header--plain .navbar .nav-submenu a:hover {
    background: transparent;
    padding-left: 0;
    opacity: 1;
    color: #f7a600;
  }
}


/* OVERVIEW SECTIONS (Kanzlei+Team / Fachbeiträge+News) */
.overview-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 3% 14%;
  color: #3c3c3b;
  gap: 2rem 0;
}

#ueber-uns {
  padding-top: 6%;
  padding-bottom: 7%;
}

.overview-col {
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.overview-col h2 {
  font-size: 4rem;
  font-weight: 400;
  margin: 0;
}

.overview-col p {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.55;
}

.overview-col--text {
  width: 44%;
}

.overview-col--team {
  width: 38%;
  gap: 1.5rem;
}

.overview-col--team .team-card + .team-card {
  margin-top: 2.5rem;
}

.overview-team-intro {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.team-card__img-wrap {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 360 / 260;
  overflow: hidden;
}

.team-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

@media (hover: hover) {
  .team-card__img-wrap:hover img {
    transform: scale(1.1);
  }
}

.team-card h3 {
  margin: 0;
  margin-top: 0.6rem;
  font-weight: 600;
  font-size: 1.45rem;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  a.team-card:hover h3 {
    color: #f7a600;
  }
}

.team-card__role,
.team-card__contact {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #3c3c3b;
}

.team-card__contact {
  margin-top: 0.85rem;
}

.team-card button {
  align-self: flex-start;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .team-card button:hover {
    background-color: #f7a600;
  }
}

#fachbeitraege {
  align-items: stretch;
  padding-top: 6%;
  padding-bottom: 6%;
}

.overview-col--fachbeitraege {
  gap: 2.5rem;
}

.fachbeitraege-subline {
  font-size: 1.15rem;
  font-weight: 600;
  width: 80%;
  margin: 0;
  line-height: 1.5;
  color: #3c3c3b;
}

@media (max-width: 1000px) {
  .fachbeitraege-subline {
    width: 100%;
    font-size: 1rem;
  }
}

#fachbeitraege .news-box {
  justify-content: flex-start;
  gap: 1.25rem;
  border-width: 1rem;
  padding: 1.5rem 2rem;
}

.fachbeitrag-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fachbeitrag-block h3 {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin: 0;
}

.fachbeitrag-block p {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.5;
}

.fachbeitrag-block a {
  text-decoration: none;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.fachbeitrag-block button {
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .fachbeitrag-block button:hover {
    background-color: #f7a600;
  }
}

@media (max-width: 1000px) {
  .overview-section {
    flex-direction: column;
    padding: 6% 10%;
    gap: 3rem;
  }

  #ueber-uns {
    padding-bottom: 14%;
  }

  .overview-col {
    width: 100%;
  }

  .overview-col h2 {
    font-size: 2.5rem;
  }

  .team-card__img-wrap {
    max-width: 100%;
  }
}


/* KANZLEI TEXT (Update DIV_25_1066) */
.kanzlei-tagline {
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 0;
  color: #3c3c3b;
}

.overview-col--text strong {
  font-weight: 600;
}

.kanzlei-list-intro {
  margin: 0.25rem 0 0 0;
}

.kanzlei-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kanzlei-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.55;
}

.kanzlei-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f7a600;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .kanzlei-tagline {
    font-size: 1.15rem;
  }

  .kanzlei-list li {
    font-size: 1rem;
  }
}

/* BACK-TO-TOP Button auf ueber-uns Section */
#ueber-uns {
  position: relative;
}

.back-to-top {
  position: absolute;
  left: 3%;
  bottom: 1.5rem;
  background-color: #f7a600;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .back-to-top:hover {
    background-color: #3c3c3b;
    color: #fff;
  }
}

@media (max-width: 1000px) {
  .back-to-top:not(.is-sticky) {
    visibility: hidden;
  }
}

/* KONTAKT GRID (Form + Anfahrt nebeneinander auf Desktop) */
.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: start;
}

@media (max-width: 950px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
  }
}

/* KONTAKT ANFAHRT (Adresse + Live-Map) */
.kontakt-anfahrt {
  width: 100%;
  margin: 0;
  padding: 0;
}

.kontakt-anfahrt h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #3c3c3b;
  margin: 0 0 1rem 0;
}

.kontakt-anfahrt__card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.kontakt-anfahrt__address {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  color: #3c3c3b;
  font-size: 0.98rem;
  line-height: 1.55;
}

.kontakt-anfahrt__address i {
  color: #f7a600;
  font-size: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.kontakt-anfahrt__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.kontakt-anfahrt__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(0.98);
}

.kontakt-anfahrt__cta-link {
  display: block;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #f7a600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .kontakt-anfahrt__cta-link:hover {
    background: #f7a600;
    color: #fff;
  }
}

@media (max-width: 950px) {
  .kontakt-anfahrt__map {
    aspect-ratio: 16 / 10;
  }
}

/* Standorte (Kontaktseite) */
.kontakt-standorte {
  width: 65%;
  margin-top: 3rem;
  border-top: 2px solid #f7a600;
  padding-top: 2rem;
}

.kontakt-standorte__title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #3c3c3b;
  margin: 0 0 2rem 0;
}

.kontakt-standorte__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.kontakt-standort {
  color: #3c3c3b;
}

.kontakt-standort h4 {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.85rem 0;
  color: #3c3c3b;
}

.kontakt-standort p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #3c3c3b;
  margin: 0;
}

.kontakt-standort p + p {
  margin-top: 0.85rem;
}

@media (max-width: 950px) {
  .kontakt-standorte {
    width: 100%;
  }
  .kontakt-standorte__title {
    font-size: 2rem;
  }
  .kontakt-standorte__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* VIDEO PAGE */
.video-section {
  padding: 4% 14%;
  color: #3c3c3b;
}

.video-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.video-article h2 {
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f7a600;
  align-self: flex-start;
}

.video-intro {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background-color: #000;
}

.video-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #3c3c3b;
}

.video-item p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: #595958;
}

.video-placeholder {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  color: #888;
  border: 1px dashed #d6d6d6;
  border-radius: 6px;
  background: #fafafa;
}

.video-article button {
  align-self: flex-start;
  background-color: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.5rem 1.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .video-article button:hover {
    background-color: #f7a600;
  }
}

@media (max-width: 950px) {
  .video-section {
    padding: 6% 8%;
  }
  .video-article h2 {
    font-size: 2rem;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .video-placeholder {
    padding: 2.5rem 1.25rem;
  }
}

/* STICKY BOTTOM-BAR (Mobile) */
.bottom-bar {
  display: none;
}

@media (max-width: 1000px) {
  /* Platz unter dem Footer, damit die Bottom-Bar nichts überdeckt */
  body {
    padding-bottom: 84px;
  }

  .bottom-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 84px;
    padding: 0 1.25rem;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    transform: translateY(110%);
    transition: transform 0.45s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
  }

  .bottom-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .bottom-bar__logo {
    display: flex;
    align-items: center;
    height: 96px;
    margin-left: -1.25rem;
  }

  .bottom-bar__logo img {
    height: 100%;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
  }

  .bottom-bar__burger {
    color: #fff;
    position: relative;
    z-index: auto;
  }

  .bottom-bar__burger span {
    background-color: #fff;
  }

  /* Bottom-Burger bleibt in der Bar (überschreibt die fixed-Regel) */
  .bottom-bar__burger.active {
    position: relative;
    top: auto;
    right: auto;
    color: #fff;
  }

  .bottom-bar__burger.active span {
    background-color: #fff;
  }

}

/* ============================================================
   Kontaktformular
   ============================================================ */
.kontakt-form-wrapper {
  width: 65%;
  margin: 3rem 0 0 0;
  padding: 0;
}

@media (max-width: 950px) {
  .kontakt-form-wrapper {
    width: 100%;
    margin-top: 2rem;
  }
}

.newsletter-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  font-style: italic;
}

.newsletter-success {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #f7a600;
  background: #fffaf0;
  color: #3c3c3b;
  font-size: 1rem;
  line-height: 1.5;
}

.kontakt-form-wrapper h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #3c3c3b;
  margin: 0 0 0.5rem 0;
}

.kontakt-form-intro {
  color: #3c3c3b;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.kontakt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.kontakt-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: #3c3c3b;
}

.kontakt-form__field > span {
  font-weight: 500;
}

.kontakt-form__field input,
.kontakt-form__field select,
.kontakt-form__field textarea {
  font: inherit;
  color: #3c3c3b;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kontakt-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.kontakt-form__field input:focus,
.kontakt-form__field select:focus,
.kontakt-form__field textarea:focus {
  outline: none;
  border-color: #f7a600;
  box-shadow: 0 0 0 3px rgba(247, 166, 0, 0.15);
}

.kontakt-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #3c3c3b;
  line-height: 1.5;
}

.kontakt-form__consent input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: #f7a600;
  flex-shrink: 0;
}

.kontakt-form__consent a {
  color: #f7a600;
  text-decoration: underline;
}

.kontakt-form__submit {
  align-self: flex-start;
  background: #3c3c3b;
  color: #fff;
  border: none;
  padding: 0.75rem 1.6rem;
  font: inherit;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

@media (hover: hover) {
  .kontakt-form__submit:hover {
    background: #f7a600;
  }
}

@media (max-width: 700px) {
  .kontakt-form__row {
    grid-template-columns: 1fr;
  }
}

/* bz:weekly – etwas mehr Abstand zwischen KW-Nummer und Jahr */
.kw-year {
  margin-left: 0.6em;
}

/* Sticky-Variante des "Zurück zur Übersicht" Buttons auf der Landing Page */
.back-to-top.is-sticky {
  position: fixed !important;
  left: 1.5rem !important;
  bottom: 1.5rem !important;
  top: auto !important;
  right: auto !important;
  z-index: 999999 !important;
  background-color: #f7a600 !important;
  color: #fff !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  display: inline-block !important;
}

@media (hover: hover) {
  .back-to-top.is-sticky:hover {
    background-color: #3c3c3b !important;
    color: #fff !important;
  }
}

@media (max-width: 1000px) {
  .back-to-top.is-sticky {
    bottom: 100px !important;
    left: 1rem !important;
    font-size: 0.9rem !important;
    padding: 0.6rem 1.2rem !important;
    display: inline-block !important;
  }
}

/* --------------------------------------------------------
 * Mobile: Zurück-Links ausblenden (Browser-Back ersetzt sie)
 * - .back-link  → Subpages (kompetenz, vita, news-detail, …)
 * - .back-to-top → Startseite (Anker zurück nach oben)
 * Desktop: beide normal sichtbar.
 * -------------------------------------------------------- */
@media (max-width: 1000px) {
  a.back-link,
  a.back-link:link,
  a.back-link:visited,
  a.back-to-top,
  a.back-to-top.is-sticky,
  .back-to-top.is-sticky,
  main a.back-link,
  section a.back-link,
  body a.back-link,
  body a.back-to-top,
  body a.back-to-top.is-sticky,
  html body a.back-link,
  html body a.back-to-top,
  html body a.back-to-top.is-sticky {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  a.back-link > button,
  a.back-to-top > button,
  .back-link button,
  .back-to-top button {
    display: none !important;
    visibility: hidden !important;
  }
}

/* --------------------------------------------------------
 * Social-Icons (LinkedIn + Xing) — Inline-SVG statt Font Awesome
 * -------------------------------------------------------- */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-right: 0.5rem;
}
.social-icon:hover {
  color: #f7a600;
}
.social-icon svg {
  display: block;
}


.kontakt-form-status {
  padding: 14px 18px;
  border-radius: 4px;
  margin: 0 0 24px 0;
  font-size: 15px;
  line-height: 22px;
}
.kontakt-form-status--success {
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #1b5e20;
}
.kontakt-form-status--error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #b71c1c;
}
.kontakt-form-status a {
  color: inherit;
  text-decoration: underline;
}

.kontakt-form__captcha {
  margin-top: 0.2rem;
}

.bz-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.kontakt-form-shell {
  position: relative;
}

.kontakt-form-shell.is-consent-blocked .kontakt-form {
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
}

.kontakt-consent-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background: rgba(245, 245, 245, 0.7);
  padding: 24px;
}

.kontakt-consent-gate[hidden] {
  display: none;
}

.kontakt-consent-gate__box {
  max-width: 480px;
  text-align: center;
  padding: 28px 32px;
  background: #fff4d6;
  border: 1px solid #f0c674;
  border-radius: 6px;
  color: #7a5d00;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.kontakt-consent-gate__title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #5a4500;
}

.kontakt-consent-gate__text {
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 22px;
}

.kontakt-consent-gate__btn {
  background: #f7a600;
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.kontakt-consent-gate__btn:hover,
.kontakt-consent-gate__btn:focus {
  background: #d88f00;
  outline: none;
}

.kontakt-consent-gate__alt {
  margin: 16px 0 0 0;
  font-size: 12px;
  color: #7a5d00;
}

.kontakt-consent-gate__alt a {
  color: #7a5d00;
  text-decoration: underline;
}
