/* Über uns — asymmetric image hero, editorial story block, and quiet closing CTA. */

body { background: #fff; }

#top > .au-hero {
  padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 40px);
  background: #fff url("../../images/GlobeThread.jpg") right center / auto 78% no-repeat;
}
.au-hero-grid {
  min-height: 150px;
}
.au-hero-text {
  width: fit-content;
  max-width: min(92%, 900px);
}
.au-hero-text h1 {
  margin: 16px 0 22px;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  white-space: nowrap;
}
.au-hero-text .lead {
  max-width: none;
  width: 100%;
  font-size: clamp(19px, 2vw, 21px);
  color: var(--navy);
}

/* Framed visual used in the story section */
.au-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  border: 1.5px dashed rgba(27, 48, 84, 0.22);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.au-frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--teal);
  opacity: 0.55;
}
.au-frame-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.au-frame-corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; border-top-right-radius: 6px; }
.au-frame-corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; border-bottom-left-radius: 6px; }
.au-frame-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; border-bottom-right-radius: 6px; }
.au-frame-caption {
  text-align: center;
  max-width: 22ch;
}
.au-frame-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.au-frame-caption span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  #top > .au-hero {
    padding-bottom: 62vw;
    background-position: center bottom;
    background-size: 100% auto;
  }
  .au-hero-grid { min-height: 0; }
  .au-hero-text { width: 100%; }
  .au-hero-text h1 {
    white-space: normal;
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* Story — placeholder visual on the left, editorial text on the right */
.au-story { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 4.5vw, 60px); }
.au-story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.au-story-frame {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  border: none;
}
.au-frame-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.au-frame-quote {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--navy);
  text-align: center;
  margin: 0;
}
.au-story-text {
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.7;
  color: var(--text);
}
.au-story-text::first-letter {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding: 0.03em 0.08em 0 0;
  color: var(--navy);
}

@media (max-width: 860px) {
  .au-story-grid { grid-template-columns: 1fr; }
  .au-story-frame { max-width: 320px; margin: 0 auto; }
}

/* Team */
.au-team { padding: clamp(40px, 4.5vw, 60px) 0 clamp(32px, 5vw, 56px); }
.au-team .pg-section-heading { margin-bottom: 44px; }
.au-team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.au-team-card {
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
}
.au-team-portrait {
  position: relative;
  width: min(100%, 280px);
  height: 300px;
  margin: 0 auto 22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}
.au-team-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 64px;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 26px;
  background: var(--portrait-shape-color);
  transform: translateX(-50%) rotate(var(--portrait-shape-tilt));
}
.au-team-portrait-sage {
  --portrait-shape-color: #c5d7cc;
  --portrait-shape-tilt: 0deg;
}
.au-team-portrait-blue {
  --portrait-shape-color: #e9f3fa;
  --portrait-shape-tilt: 0deg;
}
.au-team-portrait-blush {
  --portrait-shape-color: #f5e4e6;
  --portrait-shape-tilt: 0deg;
}
.au-team-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0;
  border: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.au-team-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.au-team-card p {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  font-family: "DM Sans 18 pt", "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--navy);
  text-align: center;
}

@media (max-width: 860px) {
  .au-team-row { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* Closing CTA — matches the Ärzte page's "Trete RegioDoc bei" join card */
.au-cta {
  padding: clamp(32px, 5vw, 56px) 0 var(--space-section);
  background: #fff;
  text-align: center;
}
.au-cta-inner {
  width: calc(100% - (2 * var(--gutter)));
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 6vw, 72px);
  background: var(--teal);
  border: 2px solid #000;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.au-cta-inner > * {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.au-cta-inner h2 {
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  text-align: center;
}
.au-cta-inner .lead { margin: 0; color: rgba(255, 255, 255, 0.92); }
.au-cta-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.au-cta-secondary {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.au-cta-secondary:hover { color: #fff; border-color: #fff; }

.au-btn-teal {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.au-btn-teal:hover { background: #16294a; border-color: #16294a; }

@media (max-width: 680px) {
  .au-cta-inner {
    padding: 26px 20px;
    border-width: 4px;
    border-radius: 14px;
  }
}
