/* =========================================================
   UNTERSEITEN (Leistungen, Referenzen, Über uns, Kontakt, Rechtliches)
   Designsprache wie Startseite v8; Ideen von dekopro.rs/o-nama
   (Stempel, Spalten mit Hilfslinien, gelbe Zeitleiste, dunkles
   Abschluss-Band) – nur Gestaltungsideen, keine Inhalte/Bilder/Code.
   ========================================================= */

/* ---------- Hero der Unterseiten ---------- */
.ph-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  color: #fff;
  min-height: clamp(500px, 70vh, 660px);
  display: flex;
  align-items: flex-start;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}
/* align-items:flex-start → Text wächst nur nach unten (kein Layout-Shift beim Laden der Schrift) */
.ph-hero-sm {
  min-height: 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.ph-hero-bg {
  position: absolute;
  inset: 0;
}
.ph-hero-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ph-hero-pic img {
  object-position: 70% center;
}
.ph-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 46, 0.96) 0%, rgba(11, 31, 46, 0.84) 48%, rgba(11, 31, 46, 0.4) 100%);
}
.ph-hero-sm .ph-hero-bg::after {
  background: rgba(11, 31, 46, 0.82);
}
.ph-hero-in {
  position: relative;
  z-index: 1;
}
.ph-hero h1 {
  color: #fff;
  max-width: 880px;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.6rem);
}
.ph-hero-sm h1 {
  margin: 0;
}
.ph-hero .lead {
  color: #d3dce5;
  max-width: 660px;
}
.ph-hero .btn-row {
  margin-top: 1.75rem;
}
.ph-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.ph-hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.ph-hero .crumbs {
  color: #b8c2cf;
}
.ph-hero .hp-pill {
  margin-bottom: 1rem;
}

/* ---------- Dunkles Abschluss-Band ---------- */
.cta-dk {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-dk-bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}
.cta-dk-bg .pic {
  width: 100%;
  height: 100%;
}
.cta-dk-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-dk h2 {
  color: #fff;
  font-size: clamp(1.9rem, 2.8vw + 0.6rem, 3rem);
  margin-bottom: 0.4em;
}
.cta-dk .lead {
  color: #d3dce5;
  margin: 0;
}
.cta-dk-note {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: #b8c2cf;
}
.cta-dk .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-dk .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------- Rotierender Stempel ---------- */
.stamp {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 14px 24px rgba(11, 31, 46, 0.3));
}
.stamp-rot {
  transform-origin: 100px 100px;
  animation: stamp-spin 24s linear infinite;
}
@keyframes stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Spalten mit vertikalen Hilfslinien (Ablauf, Werte) ---------- */
.gs-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.gs-head h2 {
  margin: 0;
}
.gs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gs-3 {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 2.5rem;
}
.gs li {
  position: relative;
  padding: 0.25rem 1.5rem 1rem 1.5rem;
  border-left: 1px solid var(--c-line);
}
.gs li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-ink);
}
.gs-n {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 3.5vw, 3.4rem);
  line-height: 1;
  color: var(--c-primary-dark);
  margin-bottom: 0.9rem;
}
.gs-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 0.78rem;
  font-weight: 550;
}
.gs h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.gs p {
  margin: 0;
  color: var(--c-ink-2);
}
.gs li:hover::before {
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.3);
}

/* ---------- Akkordeon ---------- */
.acc {
  border-top: 2px solid var(--c-ink);
}
.acc details {
  border-bottom: 1px solid #c9d3d1;
}
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  font-weight: 550;
  font-size: 1.03rem;
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc-ic {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.acc-ic::before,
.acc-ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc-ic::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s;
}
.acc details[open] .acc-ic {
  background: var(--c-ink);
  border-color: var(--c-ink);
}
.acc details[open] .acc-ic::before,
.acc details[open] .acc-ic::after {
  background: #fff;
  transform: translate(-50%, -50%);
}
.acc details p {
  margin: 0 0 1.2rem;
  color: var(--c-ink-2);
  max-width: 65ch;
}

/* ---------- Glas-Karten über schwachem Hintergrundbild ---------- */
.glass-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.glass-bg .pic {
  width: 100%;
  height: 100%;
}
.glass-bg img {
  filter: saturate(0.8);
}
.glass-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(244, 247, 246, 0.93) 0%,
    rgba(244, 247, 246, 0.82) 45%,
    rgba(244, 247, 246, 0.95) 100%
  );
}
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px -30px rgba(11, 31, 46, 0.45);
}

/* ---------- Gemeinsame Bildrahmen ---------- */
.lx-media-in,
.rf-media-in,
.ab-media-in,
.ab-exp-img,
.rf-card-img {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--c-ink);
}
.lx-media-in .pic,
.rf-media-in .pic,
.ab-media-in .pic,
.ab-exp-img .pic {
  width: 100%;
  height: 100%;
}

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.lx-over-in {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}
.lx-over h2 {
  margin-bottom: 0.4em;
}
.lx-over-p {
  color: var(--c-ink-2);
  margin-bottom: 1.6rem;
}
.lx-jump {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.lx-jump a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 550;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.lx-jump a:hover,
.lx-jump a:focus-visible {
  background: var(--c-primary-soft);
  border-color: rgba(0, 113, 95, 0.3);
  transform: translateY(-2px);
}
.lx-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.lx-jump-t {
  flex: 1;
  line-height: 1.3;
}
.lx-jump-n {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-muted);
}
.lx-who {
  position: relative;
  background: var(--c-ink);
  color: #fff;
  border-radius: 22px;
  padding: 2.2rem 1.9rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.lx-who h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.lx-who ul {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.lx-who li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #e6ebf1;
}
.lx-who li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--c-accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F2E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.lx-who p {
  color: #c9d2de;
  margin-bottom: 1.4rem;
}
.lx-who .btn {
  margin-top: auto;
  align-self: flex-start;
}

.lx-svc {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #fff;
  scroll-margin-top: 72px;
}
.lx-alt {
  background: var(--c-bg-alt);
}
.lx-dark {
  background: var(--c-ink);
  color: #fff;
}
.lx-dark h2,
.lx-dark h3 {
  color: #fff;
}
.lx-svc-in {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.lx-rev .lx-media {
  order: 2;
}
.lx-media {
  position: sticky;
  top: 96px;
}
.lx-media-in {
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -35px rgba(11, 31, 46, 0.55);
}
.lx-n {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
}
.lx-body h2 {
  font-size: clamp(1.7rem, 2vw + 0.9rem, 2.5rem);
}
.lx-intro {
  font-size: 1.12rem;
  color: var(--c-ink-2);
}
.lx-dark .lx-intro {
  color: #d3dce5;
}
.lx-sub {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary-dark);
  margin: 1.6rem 0 0.8rem;
}
.lx-dark .lx-sub {
  color: var(--c-accent);
}
.lx-inc {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lx-inc li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-ink);
  font-weight: 550;
  font-size: 0.94rem;
}
.lx-inc li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-primary-dark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/11px no-repeat;
}
.lx-alt .lx-inc li {
  background: #fff;
}
.lx-dark .lx-inc li {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lx-dark .lx-inc li::before {
  background-color: var(--c-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F2E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.lx-acc {
  margin-bottom: 1.8rem;
}
.lx-dark .acc {
  border-top-color: #fff;
}
.lx-dark .acc details {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.lx-dark .acc details p {
  color: #c9d2de;
}
.lx-dark .acc details[open] .acc-ic {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.lx-dark .acc details[open] .acc-ic::before,
.lx-dark .acc details[open] .acc-ic::after {
  background: var(--c-ink);
}
.lx-dark .placeholder-note {
  background: rgba(255, 198, 41, 0.12);
  color: #fff;
  border-color: rgba(255, 198, 41, 0.5);
}
.gs-sec {
  background: #fff;
}

/* =========================================================
   REFERENZEN
   ========================================================= */
.rf-areas-in {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.rf-media {
  position: relative;
  min-height: 420px;
}
.rf-media-in {
  position: absolute;
  inset: 0;
}
.rf-stamp {
  position: absolute;
  right: -40px;
  top: -40px;
  z-index: 3;
}
.rf-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.75rem;
  border-top: 2px solid var(--c-ink);
}
.rf-list li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--c-line);
  font-weight: 550;
  line-height: 1.4;
}
.rf-n {
  flex: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-primary-dark);
  background: var(--c-primary-soft);
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
}

.rf-proj-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.rf-proj-head h2 {
  margin: 0;
}
.rf-proj-head p {
  max-width: 42ch;
  margin: 0;
  color: var(--c-ink-2);
}
.rf-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.rf-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.rf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(11, 31, 46, 0.6);
}
.rf-card-img {
  aspect-ratio: 16/11;
  border-radius: 0;
}
.rf-card-img .pic {
  width: 100%;
  height: 100%;
}
.rf-card-body {
  position: relative;
  flex: 1;
  padding: 2.1rem 1.4rem 1.5rem;
}
.rf-card-ic {
  position: absolute;
  top: -24px;
  left: 1.4rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 20px -10px rgba(11, 31, 46, 0.5);
}
.rf-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}
.rf-card p {
  margin: 0;
  font-size: 0.97rem;
}
.c-soft {
  background: var(--c-primary-soft);
  color: var(--c-ink);
}
.c-soft .rf-card-ic {
  background: var(--c-primary-dark);
  color: #fff;
}
.c-ink {
  background: var(--c-ink);
  color: #d3dce5;
}
.c-ink h3 {
  color: #fff;
}
.c-ink .rf-card-ic {
  background: var(--c-accent);
  color: var(--c-ink);
}
.c-teal {
  background: var(--c-primary-dark);
  color: #fff;
}
.c-teal h3 {
  color: #fff;
}
.c-teal .rf-card-ic {
  background: #fff;
  color: var(--c-primary-dark);
}
.c-yellow {
  background: var(--c-accent);
  color: var(--c-ink);
}
.c-yellow .rf-card-ic {
  background: var(--c-ink);
  color: var(--c-accent);
}

.rf-tpl-in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.rf-filter-l {
  margin: 1.25rem 0 0.5rem;
  font-weight: 550;
}
.rf-case {
  background: #fff;
  border: 2px dashed #c5ccd6;
  border-radius: 22px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}
.rf-case .img-ph {
  aspect-ratio: 4/5;
  height: 100%;
}
.rf-case dl {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.rf-case dt {
  font-weight: 550;
}
.rf-case dd {
  margin: 0;
}
.rf-rev {
  grid-column: 1/-1;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* =========================================================
   ÜBER UNS
   ========================================================= */
.ab-intro-in {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.ab-media {
  position: relative;
}
.ab-media-in {
  aspect-ratio: 4/5;
}
.ab-stamp {
  position: absolute;
  right: -44px;
  top: -36px;
  z-index: 3;
}
.ab-intro-txt .lead {
  font-size: 1.12rem;
}
.ab-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}
.ab-stat-big {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-right: 1.5rem;
  border-right: 1px solid var(--c-line);
}
.ab-stat-big strong {
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 0.9;
  color: var(--c-ink);
}
.ab-stat-big span {
  font-size: 0.95rem;
  color: var(--c-ink-2);
  line-height: 1.45;
}
.ab-stat ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  align-content: center;
}
.ab-stat li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 550;
}
.ab-stat .hp-tile {
  width: 40px;
  height: 40px;
}

.on-yellow {
  background: var(--c-accent);
  color: var(--c-ink);
}
.on-yellow .hp-hl {
  color: var(--c-ink);
  background: linear-gradient(transparent 62%, rgba(255, 255, 255, 0.6) 0);
}
.on-yellow .placeholder-note {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--c-ink);
}
.ab-exp-in {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.ab-exp-p {
  max-width: 60ch;
}
.ab-tl {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  position: relative;
}
.ab-tl::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(11, 31, 46, 0.35);
}
.ab-tl li {
  position: relative;
  padding: 0 0 1.6rem 4.25rem;
}
.ab-tl li:last-child {
  padding-bottom: 0;
}
.ab-tl-dot {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 2px solid var(--c-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
}
.ab-tl li:hover .ab-tl-dot {
  background: var(--c-ink);
  color: var(--c-accent);
}
.ab-tl-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 550;
  margin-bottom: 0.4rem;
}
.ab-tl h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.ab-tl p {
  margin: 0;
  color: var(--c-ink-2);
  max-width: 55ch;
}
.ab-exp-media {
  position: sticky;
  top: 96px;
}
.ab-exp-img {
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -30px rgba(11, 31, 46, 0.6);
}
.ab-range {
  position: relative;
  margin: -3.5rem 1.25rem 0;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  padding: 1.9rem 1.4rem 1.3rem;
  font-weight: 550;
  box-shadow: 0 20px 40px -24px rgba(11, 31, 46, 0.5);
}

.ab-person-in {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
}
.ab-portrait .img-ph {
  aspect-ratio: 4/5;
  border-radius: 22px;
}
.ab-portrait-mark {
  aspect-ratio: 4/5;
  border-radius: 22px;
  background: var(--c-bg-alt);
  display: grid;
  place-items: center;
}
.ab-portrait-mark .stamp {
  width: 220px;
  height: 220px;
}
.ab-portrait-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
}
.ab-portrait-img picture,
.ab-portrait-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-card {
  position: relative;
  z-index: 2;
  margin-left: -4rem;
  background: var(--c-ink);
  color: #d3dce5;
  border-radius: 24px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: 0 30px 60px -30px rgba(11, 31, 46, 0.7);
}
.ab-card h2 {
  color: #fff;
}
.ab-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.ab-name strong {
  font-family: var(--font-head);
  color: #fff;
}
.ab-name span {
  font-size: 0.85rem;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent);
}
.ab-card .placeholder-note {
  background: rgba(255, 198, 41, 0.12);
  color: #fff;
  border-color: rgba(255, 198, 41, 0.5);
}
.ab-card .btn-row {
  margin-top: 1.25rem;
}

.ab-area {
  position: relative;
  overflow: hidden;
}
.ab-area-in {
  position: relative;
  z-index: 1;
}
.ab-area-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ab-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.ab-cities .glass {
  scroll-margin-top: 96px;
}
.ab-city-sub {
  margin: 1rem 0 0.2rem !important;
  font-size: 0.82rem;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary-dark);
}
.ab-cities h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.ab-cities p {
  color: var(--c-ink-2);
}
.ab-grid {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--c-primary-soft);
  font-size: 0.93rem;
}
.ab-grid svg {
  flex: none;
  color: var(--c-primary-dark);
  margin-top: 0.2rem;
}
.ab-pills {
  justify-content: center;
  margin: 0;
}

.ab-facts {
  background: var(--c-bg-alt);
}
.ab-facts-in {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.ab-dl {
  margin: 0;
  border-top: 2px solid var(--c-ink);
}
.ab-dl div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #c9d3d1;
}
.ab-dl dt {
  font-weight: 550;
}
.ab-dl dt::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-right: 0.6rem;
  vertical-align: middle;
}
.ab-dl dd {
  margin: 0;
  color: var(--c-ink-2);
}

/* =========================================================
   KONTAKT
   ========================================================= */
.kt-ways {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.kt-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.kt-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 24px 50px -32px rgba(11, 31, 46, 0.6);
}
.kt-card h3 {
  margin: 1rem 0 0.2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kt-big {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.kt-mail {
  font-size: 1.12rem;
  word-break: break-word;
}
.kt-card p {
  font-size: 0.95rem;
}
.kt-card .btn {
  margin-top: auto;
}
.c-teal .kt-card h3,
.kt-card.c-teal h3,
.kt-card.c-ink h3 {
  color: #fff;
}
.kt-card.c-ink .kt-big,
.kt-card.c-teal .kt-big {
  color: #fff;
}
.kt-btn-white {
  background: #fff;
  color: var(--c-primary-dark);
}
.kt-btn-white:hover {
  background: var(--c-ink);
  color: #fff;
}
.kt-btn-white .hp-chip {
  background: var(--c-primary-dark);
  color: #fff;
}

.kt-form-in {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.kt-form-txt {
  position: sticky;
  top: 96px;
}
.kt-tips-h {
  font-size: 1rem;
  margin: 1.5rem 0 0.8rem;
}
.kt-tips {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.kt-tips li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 550;
}
.kt-free {
  position: relative;
  background: var(--c-ink);
  color: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.3rem 1.2rem;
  margin: 1rem 0 0;
}
.kt-badge {
  top: -0.8rem;
}
.kt-form-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 24px 50px -34px rgba(11, 31, 46, 0.5);
}

.kt-loc {
  position: relative;
  overflow: hidden;
}
.kt-loc-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}
.kt-where h2 {
  margin: 1rem 0 0.6rem;
}
.kt-where .btn {
  margin: 0.25rem 0 0.75rem;
}
.kt-area-h {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.3rem;
}
.kt-faq h2 {
  margin-bottom: 1rem;
}

/* =========================================================
   RECHTLICHES
   ========================================================= */
.legal-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.legal {
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 20px 50px -38px rgba(11, 31, 46, 0.5);
}
.legal h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}
.legal h2:first-of-type {
  margin-top: 1rem;
}
.legal-aside {
  position: sticky;
  top: 96px;
  background: var(--c-ink);
  color: #d3dce5;
  border-radius: 22px;
  padding: 2rem 1.5rem 1.4rem;
}
.legal-aside strong {
  color: #fff;
}
.legal-aside a {
  color: #fff;
}
.legal-aside .hp-badge {
  top: -0.8rem;
}
.legal-line {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.legal-line svg {
  color: var(--c-accent);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .rf-cards,
  .kt-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 980px) {
  .lx-over-in,
  .lx-svc-in,
  .rf-areas-in,
  .ab-intro-in,
  .ab-exp-in,
  .ab-person-in,
  .rf-tpl-in,
  .ab-facts-in,
  .kt-form-in,
  .kt-loc-in,
  .legal-wrap,
  .cta-dk-in {
    grid-template-columns: 1fr;
  }
  .lx-rev .lx-media {
    order: 0;
  }
  .lx-media,
  .ab-exp-media,
  .kt-form-txt,
  .legal-aside {
    position: static;
  }
  .lx-media-in {
    aspect-ratio: 16/10;
  }
  .rf-media {
    min-height: 0;
  }
  .rf-media-in {
    position: relative;
    aspect-ratio: 16/10;
  }
  .rf-stamp,
  .ab-stamp {
    right: 12px;
    top: auto;
    bottom: -40px;
    width: 120px;
    height: 120px;
  }
  .ab-media-in {
    aspect-ratio: 16/11;
  }
  .ab-media {
    margin-bottom: 1.5rem;
  }
  .ab-exp-img {
    aspect-ratio: 16/10;
  }
  .ab-card {
    margin: -3rem 1rem 0;
  }
  .ab-portrait .img-ph,
  .ab-portrait-mark,
  .ab-portrait-img {
    aspect-ratio: 16/10;
  }
  .gs {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }
  .gs-3 {
    grid-template-columns: 1fr 1fr;
  }
  .ab-cities {
    grid-template-columns: 1fr;
  }
  .rf-proj-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .ph-hero {
    min-height: 0;
    padding-top: 4rem;
  }
  .ph-hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(11, 31, 46, 0.6) 0%,
      rgba(11, 31, 46, 0.9) 45%,
      rgba(11, 31, 46, 0.97) 100%
    );
  }
  .ph-hero .btn-row .btn {
    flex: 1 1 auto;
  }
  .lx-jump,
  .rf-list,
  .rf-cards,
  .kt-cards,
  .gs,
  .gs-3,
  .ab-stat {
    grid-template-columns: 1fr;
  }
  .ab-stat-big {
    border-right: 0;
    padding-right: 0;
  }
  .rf-case {
    grid-template-columns: 1fr;
  }
  .rf-case .img-ph {
    aspect-ratio: 16/10;
  }
  .ab-dl div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .ab-card {
    margin: -2rem 0 0;
  }
  .kt-ways {
    margin-top: -1.5rem;
  }
  .lx-n {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
  .glass {
    padding: 1.25rem;
    border-radius: 18px;
  }
}

/* Platzhalter-Markierung auf dunklen Karten lesbar halten */
.ab-card .ph,
.lx-dark .ph,
.legal-aside .ph {
  background: rgba(255, 198, 41, 0.2);
  color: #fff;
  border-bottom-color: var(--c-accent);
}
