/* =========================================================
   BÜRO PAGE — PREMIUM HERO WITH buero.webp
   ========================================================= */

.buero-hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 150px;
}

.buero-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 164, 174, 0.08), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(101, 29, 42, 0.2), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.035), transparent 24%);
  z-index: 0;
}

.buero-hero-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(26px, 4vw, 54px);
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(18, 18, 24, 0.97), rgba(8, 8, 12, 0.99) 48%, rgba(24, 10, 15, 0.98) 100%),
    radial-gradient(circle at top left, rgba(216, 164, 174, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(101, 29, 42, 0.16), transparent 30%);
  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -50px 100px rgba(0, 0, 0, 0.18);
  isolation: isolate;
}

.buero-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.018) 100%);
  z-index: -2;
}

.buero-hero-card::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  pointer-events: none;
  z-index: -1;
}

.buero-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(95px);
  opacity: 0.34;
  z-index: -3;
}

.buero-hero-glow-left {
  width: 360px;
  height: 360px;
  left: -120px;
  top: -120px;
  background: rgba(216, 164, 174, 0.18);
}

.buero-hero-glow-right {
  width: 440px;
  height: 440px;
  right: -150px;
  bottom: -150px;
  background: rgba(101, 29, 42, 0.3);
}

.buero-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.buero-hero-copy {
  min-width: 0;
  padding: 10px 0;
}

.buero-hero-title {
  max-width: 860px;
  font-size: clamp(2.45rem, 5vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.buero-hero-lead {
  margin-top: 28px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.78;
}

.buero-hero-text {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  max-width: 720px;
}

.buero-hero-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.78;
}

.buero-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.buero-hero-signature {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 38px;
  max-width: 680px;
}

.buero-hero-signature-line {
  display: block;
  width: 78px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

.buero-hero-signature p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.72;
}

.buero-hero-visual {
  position: relative;
  min-width: 0;
}

.buero-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #09090b;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.buero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.015);
  filter: saturate(0.92) contrast(1.05) brightness(0.9);
}

.buero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.08) 0%, rgba(4, 5, 8, 0.22) 38%, rgba(4, 5, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(4, 5, 8, 0.4) 0%, rgba(4, 5, 8, 0.08) 45%, rgba(4, 5, 8, 0.28) 100%),
    radial-gradient(circle at 18% 18%, rgba(216, 164, 174, 0.12), transparent 20%),
    radial-gradient(circle at 82% 78%, rgba(101, 29, 42, 0.24), transparent 28%);
  pointer-events: none;
}

.buero-photo-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 86px 86px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.buero-photo-label {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 7px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.buero-photo-label span {
  color: var(--accent-soft);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.buero-photo-label strong {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  line-height: 1.35;
}

.buero-photo-label-top {
  top: 24px;
  left: 24px;
  max-width: 260px;
}

.buero-photo-label-bottom {
  right: 24px;
  bottom: 24px;
  min-width: 180px;
}

.buero-visual-caption {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 18px;
  max-width: 640px;
}

.buero-visual-caption span {
  display: block;
  width: 76px;
  height: 2px;
  margin-top: 11px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
}

.buero-visual-caption p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.72;
}

.buero-hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding-top: 30px;
}

.buero-hero-facts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 1120px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18),
    rgba(216, 164, 174, 0.26),
    transparent
  );
}

.buero-hero-fact {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.buero-hero-fact span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.buero-hero-fact strong {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  line-height: 1.45;
}


/* =========================================================
   BÜRO PROFILE SECTION
   ========================================================= */

.buero-profile-section {
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.buero-profile-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 34%, rgba(101, 29, 42, 0.12), transparent 22%),
    radial-gradient(circle at 86% 78%, rgba(216, 164, 174, 0.06), transparent 18%);
}

.buero-profile-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(9, 9, 13, 0.99)),
    radial-gradient(circle at top left, rgba(216, 164, 174, 0.09), transparent 26%),
    radial-gradient(circle at bottom right, rgba(101, 29, 42, 0.14), transparent 30%);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.buero-profile-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
}

.buero-profile-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 36px;
}

.buero-profile-head h2 {
  max-width: 820px;
}

.buero-profile-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.buero-profile-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    radial-gradient(circle at top right, rgba(216, 164, 174, 0.08), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 20px 46px rgba(0, 0, 0, 0.2);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.buero-profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 164, 174, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top right, rgba(216, 164, 174, 0.12), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 56px rgba(0, 0, 0, 0.26);
}

.buero-profile-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

.buero-profile-number {
  display: inline-block;
  margin-top: 22px;
  margin-bottom: 22px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.buero-profile-card h3 {
  max-width: 320px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.buero-profile-card p {
  margin-top: 16px;
  max-width: 360px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}


/* =========================================================
   BÜRO PAGE — SMALL ADJUSTMENTS
   ========================================================= */

.buero-profile-section + .why-section {
  padding-top: 40px;
}

.buero-profile-section + .why-section .why-signature {
  min-height: 680px;
}

.buero-profile-section + .why-section .why-signature-inner {
  min-height: 680px;
}


/* =========================================================
   BÜRO HERO — MOBILE / TABLET FIX
   ========================================================= */

@media (max-width: 1100px) {
  .buero-hero-section {
    padding-top: 120px;
  }

  .buero-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .buero-hero-copy {
    padding: 0;
  }

  .buero-hero-title {
    max-width: 100%;
  }

  .buero-hero-lead,
  .buero-hero-text {
    max-width: 100%;
  }

  .buero-hero-visual {
    width: 100%;
  }

  .buero-photo-frame {
    min-height: 0;
    height: clamp(480px, 72vw, 640px);
    aspect-ratio: auto;
  }

  .buero-hero-facts {
    grid-template-columns: 1fr;
  }

  .buero-profile-head {
    display: grid;
    align-items: start;
  }

  .buero-profile-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   MOBILE
   bis 760px
========================= */

@media (max-width: 760px) {
  .buero-hero-section {
    padding-top: 104px;
    padding-bottom: 58px;
  }

  .buero-hero-card {
    padding: 18px;
    border-radius: 26px;
  }

  .buero-hero-card::after {
    display: none;
  }

  /*
    Wichtig:
    Auf Mobile wird das Grid zu Flex,
    damit wir die Reihenfolge sauber steuern können:
    1. Bild
    2. Text
    3. Fakten
  */
  .buero-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .buero-hero-visual {
    order: 1;
    width: 100%;
  }

  .buero-hero-copy {
    order: 2;
    width: 100%;
    padding: 0;
  }

  .buero-hero-facts {
    order: 3;
  }

  .buero-photo-frame {
    height: clamp(300px, 92vw, 430px);
    min-height: 0;
    border-radius: 22px;
  }

  .buero-photo {
    object-position: center center;
  }

  .buero-photo-overlay {
    background:
      linear-gradient(180deg, rgba(4, 5, 8, 0.06) 0%, rgba(4, 5, 8, 0.16) 42%, rgba(4, 5, 8, 0.72) 100%),
      linear-gradient(90deg, rgba(4, 5, 8, 0.22) 0%, rgba(4, 5, 8, 0.06) 46%, rgba(4, 5, 8, 0.22) 100%),
      radial-gradient(circle at 18% 18%, rgba(216, 164, 174, 0.1), transparent 20%),
      radial-gradient(circle at 82% 78%, rgba(101, 29, 42, 0.22), transparent 28%);
  }

  .buero-photo-grid {
    background-size: 64px 64px;
    opacity: 0.065;
  }

  .buero-photo-label {
    padding: 11px 13px;
    border-radius: 15px;
    gap: 5px;
  }

  .buero-photo-label span {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .buero-photo-label strong {
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .buero-photo-label-top {
    top: 14px;
    left: 14px;
    right: 14px;
    max-width: none;
  }

  .buero-photo-label-bottom {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-width: 0;
  }

  .buero-visual-caption {
    display: none;
  }

  .buero-hero-title {
    font-size: clamp(2.05rem, 10.5vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .buero-hero-lead {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .buero-hero-text {
    margin-top: 18px;
    gap: 12px;
  }

  .buero-hero-text p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .buero-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .buero-hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

  .buero-hero-signature {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .buero-hero-signature-line {
    width: 58px;
    margin-top: 0;
  }

  .buero-hero-signature p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .buero-hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
  }

  .buero-hero-fact {
    padding: 16px;
    border-radius: 18px;
  }

  .buero-hero-fact span {
    margin-bottom: 7px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .buero-hero-fact strong {
    font-size: 0.92rem;
    line-height: 1.35;
  }


  /* Büroprofil mobile */

  .buero-profile-section {
    padding-top: 24px;
  }

  .buero-profile-shell {
    padding: 20px;
    border-radius: 26px;
  }

  .buero-profile-head {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
  }

  .buero-profile-head h2 {
    max-width: 100%;
  }

  .buero-profile-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .buero-profile-card {
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .buero-profile-card::before {
    left: 22px;
    top: 22px;
  }

  .buero-profile-number {
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .buero-profile-card h3 {
    max-width: 100%;
    font-size: 1.18rem;
  }

  .buero-profile-card p {
    font-size: 0.94rem;
    line-height: 1.65;
  }


  /* Warum AIRES mobile spacing */

  .buero-profile-section + .why-section {
    padding-top: 36px;
  }
}


/* =========================
   SMALL MOBILE
   bis 480px
========================= */

@media (max-width: 480px) {
  .buero-hero-section {
    padding-top: 96px;
    padding-bottom: 46px;
  }

  .buero-hero-card {
    padding: 14px;
    border-radius: 22px;
  }

  .buero-hero-grid {
    gap: 18px;
  }

  .buero-photo-frame {
    height: clamp(280px, 90vw, 390px);
    border-radius: 19px;
  }

  .buero-photo-label {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .buero-photo-label-top {
    top: 11px;
    left: 11px;
    right: 11px;
  }

  .buero-photo-label-bottom {
    left: 11px;
    right: 11px;
    bottom: 11px;
  }

  .buero-photo-label span {
    font-size: 0.64rem;
  }

  .buero-photo-label strong {
    font-size: 0.84rem;
  }

  .buero-hero-title {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
    letter-spacing: -0.042em;
  }

  .buero-hero-lead {
    margin-top: 16px;
  }

  .buero-hero-text {
    margin-top: 16px;
  }

  .buero-hero-actions {
    margin-top: 20px;
  }

  .buero-hero-signature {
    margin-top: 20px;
  }

  .buero-hero-facts {
    margin-top: 18px;
  }

  .buero-hero-fact {
    padding: 15px;
  }

  .buero-hero-fact strong,
  .buero-profile-card p {
    font-size: 0.92rem;
  }
}


/* =========================
   VERY SMALL MOBILE
   bis 380px
========================= */

@media (max-width: 380px) {
  .buero-hero-card {
    padding: 12px;
  }

  .buero-photo-frame {
    height: 270px;
  }

  .buero-photo-label {
    padding: 9px 10px;
  }

  .buero-photo-label strong {
    font-size: 0.8rem;
  }

  .buero-hero-title {
    font-size: 1.82rem;
  }

  .buero-hero-lead,
  .buero-hero-text p,
  .buero-hero-signature p {
    font-size: 0.91rem;
  }

  .buero-hero-actions .btn {
    min-height: 48px;
  }
}