/* Über uns – page-specific styles (only linked from uber-uns.html) */

.uu-dark {
  position: relative;
  color: #fff;
  background-color: #000;
  background-image:
    repeating-linear-gradient(135deg, rgba(210, 190, 122, 0.045) 0 1px, transparent 1px 28px),
    radial-gradient(ellipse at 85% 15%, rgba(149, 98, 33, 0.22), transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(126, 85, 37, 0.18), transparent 50%),
    linear-gradient(160deg, #000 0%, #0d0d0d 45%, #1a1a1a 100%);
  overflow: hidden;
}

.uu-dark::before,
.uu-dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(90deg, transparent, #7e5525 15%, #d2be7a 50%, #956221 85%, transparent);
  opacity: 0.7;
}

.uu-dark::before { top: 0; }
.uu-dark::after { bottom: 0; }

.uu-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.uu-section {
  padding: 96px 8%;
}

.uu-gold-line {
  width: 80px;
  height: 3px;
  margin-bottom: 24px;
  background-color: #d2be7a;
  background-image: linear-gradient(45deg, #7e5525, #d7c881 29%, #d0bb78 68%, #956221);
}

.uu-gold-line.uu-center {
  margin-left: auto;
  margin-right: auto;
}

.uu-h2 {
  margin: 0 0 24px;
  font-family: Bellota Text, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}

.uu-text {
  margin: 0;
  font-family: Bellota, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Unsere Basis ---------- */
.uu-basis {
  text-align: center;
}

.uu-basis .uu-container {
  max-width: 860px;
}

.uu-basis-lead {
  margin: 0 0 20px;
  font-family: Bellota, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- Team ---------- */
.uu-team {
  background-color: #f8f8f8;
  color: #000;
}

.uu-team-head {
  margin-bottom: 48px;
  text-align: center;
}

.uu-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

.uu-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.uu-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  border-bottom: 1px solid var(--gold);
}

.uu-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.uu-card-body {
  padding: 32px 36px 40px;
}

.uu-card-name {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: Bellota, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.uu-card .uu-text {
  font-size: 16px;
}

/* ---------- CTA ---------- */
.uu-cta {
  padding: 88px 8%;
  text-align: center;
}

.uu-cta .uu-h2 {
  margin-bottom: 32px;
  color: #fff;
}

.uu-btn {
  display: inline-block;
  padding: 18px 44px;
  color: #000;
  background-color: var(--gold);
  background-image: linear-gradient(45deg, #956221, #d2be7a 35%, #d7c881 65%, #c6ad6a);
  border: 1px solid #d2be7a;
  font-family: Bellota, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.uu-btn:hover,
.uu-btn:focus-visible {
  color: #000;
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(198, 173, 106, 0.35);
  transform: translateY(-2px);
}

.uu-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .uu-section,
  .uu-cta {
    padding: 72px 7%;
  }

  .uu-team-grid {
    gap: 28px;
  }

  .uu-card-body {
    padding: 28px 26px 32px;
  }
}

@media screen and (max-width: 767px) {
  .uu-section,
  .uu-cta {
    padding: 56px 6%;
  }

  .uu-h2 {
    font-size: 28px;
  }

  .uu-team-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 479px) {
  .uu-text,
  .uu-card .uu-text {
    font-size: 16px;
  }

  .uu-basis-lead {
    font-size: 18px;
  }

  .uu-h2 {
    font-size: 25px;
  }

  .uu-card-name {
    font-size: 24px;
  }

  .uu-card-body {
    padding: 24px 20px 28px;
  }

  .uu-btn {
    display: block;
    padding: 16px 20px;
    font-size: 15px;
  }
}

/* ---------- Hero (Andreas Schäfer, 2026-10) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.uu-gold { color: #c9a24a; }
.uu-hero2-title .uu-gold { color: #d4af37; }
strong.uu-gold { font-weight: 600; }

.uu-hero2 {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 5%;
  color: #f1eee6;
  background-color: #0b0d12;
  background-image:
    radial-gradient(ellipse 45% 65% at 62% 40%, rgba(227, 195, 106, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 50% at 95% 10%, rgba(201, 162, 74, 0.10), transparent 70%),
    linear-gradient(160deg, #0b0d12 0%, #11131a 55%, #14161c 100%);
}

.uu-hero2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.uu-hero2-copy {
  align-self: center;
  max-width: 760px;
  container-type: inline-size;
  padding: 56px 0 64px;
}

.uu-hero2-kicker {
  margin: 0 0 14px;
  color: #c9a24a;
  font-family: Bellota, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.uu-hero2-title {
  margin: 0 0 20px;
  color: #f8f8f8;
  font-family: "Playfair Display", Georgia, serif;
  /* sized to the copy column so "Immobilienunternehmer" (approx. 13.9em in the
     widest serif fallback) and "aus Leidenschaft." each stay on one line */
  font-size: clamp(2.4rem, 3.9vw, 3.4rem);
  font-size: clamp(2.4rem, 7cqi, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: manual;
}

.uu-hero2-claim {
  margin: 0 0 28px;
  color: #c8c8c8;
  font-family: Bellota, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.uu-hero2-text {
  max-width: 40em;
  margin: 0 0 32px;
  color: #f1eee6;
  font-family: Bellota, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

.uu-hero2-box {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #c9a24a;
  border-radius: 4px;
}

.uu-hero2-box-icon {
  flex: none;
  width: 48px;
  height: 48px;
}

.uu-hero2-box-title {
  margin: 0 0 8px;
  color: #c9a24a;
  font-family: Bellota, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uu-hero2-box-text {
  margin: 0;
  color: #f1eee6;
  font-family: Bellota, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

.uu-hero2-media {
  display: flex;
  align-self: end;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 0;
}

.uu-hero2-portrait {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 80vh;
  height: 80svh;
  max-height: 1500px;
  object-fit: cover;
  object-position: 50% top;
  /* reaches the hero's bottom edge; the left edge fades softly into the dark background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 25%);
  mask-image: linear-gradient(to right, transparent 0%, #000 25%);
}

/* where supported, also feather the photo's top and right borders a little,
   so its own dark backdrop shows no hard seam against the hero gradient */
@supports ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) {
  .uu-hero2-portrait {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 25%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 6%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 25%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 6%);
    mask-composite: intersect;
  }
}

/* ---------- Leistungsleiste ---------- */
.uu-services {
  position: relative;
  color: #f1eee6;
  background-color: #0b0d12;
  border-top: 1px solid rgba(201, 162, 74, 0.45);
}

.uu-services-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 36px 4%;
  border-bottom: 1px solid rgba(201, 162, 74, 0.45);
}


.uu-services-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.uu-service {
  padding: 4px 20px;
}

.uu-service + .uu-service {
  border-left: 1px solid rgba(201, 162, 74, 0.4);
}

.uu-service-link {
  display: block;
  height: 100%;
  margin: -4px -8px;
  padding: 4px 8px;
  color: inherit;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.uu-service-link:hover,
.uu-service-link:focus-visible {
  color: inherit;
  background-color: rgba(201, 162, 74, 0.08);
}

.uu-service-link:hover .uu-service-title,
.uu-service-link:focus-visible .uu-service-title {
  color: #e3c36a;
}

.uu-service-link:focus-visible {
  outline: 2px solid #c9a24a;
  outline-offset: 2px;
}

.uu-service-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

.uu-service-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: Bellota, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.uu-service-text {
  margin: 0;
  color: #f1eee6;
  font-family: Bellota, sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}

.uu-btn-gold {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  color: #0b0d12;
  background-color: #c9a24a;
  background-image: linear-gradient(90deg, #c9a24a, #e3c36a);
  border-radius: 4px;
  font-family: Bellota, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.uu-btn-gold svg {
  flex: none;
}

.uu-btn-gold:hover,
.uu-btn-gold:focus-visible {
  color: #0b0d12;
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(201, 162, 74, 0.35);
}

.uu-btn-gold:focus-visible {
  outline: 2px solid #f8f8f8;
  outline-offset: 3px;
}

#team,
#basis {
  scroll-margin-top: 24px;
}

@media screen and (max-width: 1199px) {
  .uu-services-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .uu-services-cta {
    text-align: center;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .uu-hero2-grid {
    gap: 32px;
  }
}

@media screen and (max-width: 991px) {
  .uu-hero2 {
    padding: 0 7%;
  }

  .uu-hero2-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .uu-hero2-media {
    padding-top: 0;
  }

  .uu-hero2-portrait {
    max-width: 480px;
    height: 65vh;
    height: 65svh;
  }

  .uu-hero2-copy {
    max-width: none;
    padding: 48px 0 32px;
  }

  /* narrow screens: gentler left fade */
  .uu-hero2-portrait {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 12%, #000 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 8%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 12%, #000 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 8%);
  }

  .uu-services-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 28px;
  }

  .uu-service {
    grid-column: span 2;
  }

  .uu-service:nth-child(4) {
    grid-column: 2 / span 2;
    border-left: none;
  }
}

@media screen and (max-width: 767px) {
  .uu-hero2 {
    padding: 0 6%;
  }

  .uu-services-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .uu-service,
  .uu-service:nth-child(4) {
    grid-column: auto;
    padding: 18px 0;
  }

  .uu-service-link {
    margin: -4px 0;
    padding: 4px 0;
  }

  .uu-service + .uu-service {
    border-left: none;
    border-top: 1px solid rgba(201, 162, 74, 0.4);
  }

  .uu-hero2-claim {
    letter-spacing: 0.25em;
  }
}

@media screen and (max-width: 479px) {
  .uu-hero2-box {
    flex-direction: column;
  }

  .uu-hero2-portrait {
    height: 60vh;
    height: 60svh;
  }

  .uu-btn-gold {
    display: flex;
    white-space: normal;
  }
}

/* very narrow phones: keep the two-line H1 from breaking inside words */
@media screen and (max-width: 400px) {
  .uu-hero2-title {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
  }
}

/* ---------- Dunkles Gold-Design für die weiteren Abschnitte (2026-10) ---------- */
.uu-gold-line {
  background-color: #c9a24a;
  background-image: linear-gradient(90deg, #c9a24a, #e3c36a);
}

.uu-basis-dark {
  color: #f1eee6;
  background-color: #14161c;
  background-image: linear-gradient(180deg, #0b0d12 0%, #14161c 100%);
}

.uu-basis-dark .uu-h2 {
  color: #ffffff;
}

.uu-basis-dark .uu-basis-lead {
  color: #c9a24a;
}

.uu-team {
  color: #f1eee6;
  background-color: #0b0d12;
  background-image: linear-gradient(180deg, #14161c 0%, #0b0d12 100%);
  border-top: 1px solid rgba(201, 162, 74, 0.25);
}

.uu-team .uu-h2 {
  color: #ffffff;
}

.uu-card {
  color: #e6e3dc;
  background-color: #14161c;
  border: 1px solid #c9a24a;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.uu-card-media {
  background-color: #0b0d12;
  border-bottom: 1px solid #c9a24a;
}

.uu-card-name {
  color: #d4af37;
}

.uu-card .uu-text strong {
  color: #ffffff;
}

.uu-dark {
  background-color: #0b0d12;
  background-image:
    repeating-linear-gradient(135deg, rgba(201, 162, 74, 0.045) 0 1px, transparent 1px 28px),
    radial-gradient(ellipse at 85% 15%, rgba(227, 195, 106, 0.14), transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(201, 162, 74, 0.10), transparent 50%),
    linear-gradient(160deg, #0b0d12 0%, #11131a 45%, #14161c 100%);
}

.uu-dark::before,
.uu-dark::after {
  background-image: linear-gradient(90deg, transparent, #c9a24a 20%, #e3c36a 50%, #c9a24a 80%, transparent);
}

.uu-btn {
  color: #0b0d12;
  background-color: #c9a24a;
  background-image: linear-gradient(90deg, #c9a24a, #e3c36a);
  border: 1px solid #c9a24a;
  border-radius: 4px;
}

.uu-btn:hover,
.uu-btn:focus-visible {
  color: #0b0d12;
  box-shadow: 0 8px 24px rgba(201, 162, 74, 0.35);
}
