.about-page-template .container {
  width: min(1280px, calc(100% - 44px));
  margin-inline: auto;
}

.about-shell {
  padding: 18px 0 80px;
}

.about-card {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  border-radius: 54px;
  border: 1px solid rgba(104, 59, 43, 0.13);
  background: radial-gradient(circle at 86% 12%, rgba(212, 158, 141, 0.2), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.74), rgba(222,209,189,.46)), #FAF6F2;
  box-shadow: 0 28px 70px rgba(104, 59, 43, 0.11);
}

.about-card::after {
  content: "Uber mich";
  position: absolute;
  left: 42px;
  bottom: -42px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 1;
  letter-spacing: -0.07em;
  color: rgba(104, 59, 43, 0.045);
  pointer-events: none;
}

.about-page-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px 0;
}

.about-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(104, 59, 43, 0.10);
  backdrop-filter: blur(16px);
}

.about-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(104, 59, 43, 0.78);
  font-size: .84rem;
  font-weight: 800;
}

.about-nav a:hover {
  background: rgba(212, 158, 141, 0.18);
  color: #683B2B;
}

.about-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: 76px clamp(24px, 5vw, 78px) 58px;
}

.about-hero h1 {
  max-width: 640px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.17rem, 3.5vw, 3.71rem);
  line-height: .96;
  letter-spacing: -0.055em;
  color: #683B2B;
  margin-bottom: 24px;
}

.about-lead {
  max-width: 620px;
  color: #806d63;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.photo-stage {
  position: relative;
  min-height: 520px;
}

.photo-arch {
  position: absolute;
  right: 34px;
  top: 10px;
  width: min(78%, 420px);
  min-height: 530px;
  border-radius: 46% 46% 36px 36px;
  background: linear-gradient(135deg, #e9c3b7 0%, #faf6f2 44%, #ded1bd 100%);
  border: 1px solid rgba(104,59,43,.12);
  box-shadow: 0 26px 70px rgba(104, 59, 43, 0.15);
  overflow: hidden;
}

.photo-arch::before {
  content: none;
}

.teacher-photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.teacher-photo-placeholder {
  position: absolute;
  inset: 20px;
  border-radius: 46% 46% 28px 28px;
  border: 1px dashed rgba(104,59,43,.22);
  display: grid;
  place-items: center;
  text-align: center;
  color: #8b5a49;
  padding: 20px;
  font-weight: 700;
}

.floating-note {
  position: absolute;
  z-index: 4;
  left: 4px;
  top: 82px;
  width: 170px;
  padding: 16px 16px 14px;
  border-radius: 24px;
  border: 1px solid rgba(104,59,43,.12);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 40px rgba(104,59,43,.12);
}

.floating-note small {
  display: block;
  margin-bottom: 6px;
  color: #806d63;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.floating-note strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.1;
  color: #683B2B;
}

.floating-circle {
  position: absolute;
  right: 24px;
  top: 82px;
  z-index: 4;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #B08401;
  color: #FAF6F2;
  font-weight: 900;
  transform: rotate(10deg);
}

.stats-wrap {
  position: relative;
  z-index: 3;
  padding: 0 clamp(24px, 5vw, 78px) 76px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 165px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(104, 59, 43, 0.10);
}

.stat-number {
  display: block;
  margin-bottom: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  line-height: .9;
  letter-spacing: -0.055em;
  color: #683B2B;
}

.story-section {
  padding: 84px 0;
}

.story-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 42px;
  border: 1px solid rgba(104, 59, 43, 0.10);
  background: rgba(255,255,255,.54);
  box-shadow: 0 14px 38px rgba(104,59,43,.08);
}

.quote-box {
  position: relative;
  padding: 30px;
  border-radius: 32px;
  background: rgba(222, 209, 189, 0.30);
}

.quote-box::before {
  content: '"';
  position: absolute;
  right: 22px;
  top: -26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(104, 59, 43, 0.09);
}

.quote-box p {
  position: relative;
  z-index: 2;
  color: #683B2B;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.story-text h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #683B2B;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.story-text p {
  color: #806d63;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.story-list li {
  display: flex;
  gap: 12px;
  color: #806d63;
  font-weight: 700;
}

.story-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: #B08401;
}

.final-cta {
  padding: 0 0 80px;
}

.final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 40px;
  border: 1px solid rgba(104, 59, 43, 0.12);
  background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(222,209,189,.42));
  box-shadow: 0 28px 70px rgba(104,59,43,.11);
}

.final-card h2 {
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  color: #683B2B;
  font-size: clamp(2.1rem, 3.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.final-card p {
  max-width: 650px;
  color: #806d63;
}

@media (max-width: 1040px) {
  .about-nav {
    display: none;
  }

  .about-hero,
  .story-card,
  .final-card {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .about-page-template .container {
    width: min(100% - 26px, 1280px);
  }

  .about-card {
    border-radius: 32px;
    min-height: auto;
  }

  .about-page-header {
    padding: 16px 16px 0;
  }

  .about-page-header .header-cta {
    min-height: 40px;
    padding-inline: 14px;
    font-size: .82rem;
  }

  .about-hero {
    padding: 48px 18px 38px;
  }

  .photo-stage {
    min-height: 500px;
  }

  .photo-arch {
    width: 92%;
    min-height: 460px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .floating-note {
    left: 0;
    top: 32px;
    width: 144px;
    padding: 14px 14px 12px;
  }

  .floating-circle {
    right: 2px;
    top: 82px;
    width: 78px;
    height: 78px;
  }

  .stats-wrap {
    padding: 0 18px 48px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .story-section {
    padding: 58px 0;
  }

  .story-card {
    padding: 24px;
    border-radius: 30px;
  }

  .quote-box {
    padding: 24px;
    border-radius: 26px;
  }

  .final-card {
    border-radius: 30px;
  }
}

@media (max-width: 768px) {
  .about-card {
    border-radius: 30px;
    overflow: hidden;
  }

  .about-hero {
    grid-template-columns: 1fr;
    padding: 38px 20px 34px;
    gap: 30px;
  }

  .about-hero h1,
  .about-title {
    font-size: clamp(2.45rem, 10vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-align: left;
    max-width: 100%;
  }

  .about-lead {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .about-actions {
    width: 100%;
  }

  .about-actions .btn {
    width: 100%;
  }

  .photo-stage {
    min-height: auto;
    padding-top: 8px;
    overflow: hidden;
  }

  .photo-arch {
    width: min(100%, 360px);
    height: 460px;
    min-height: 460px;
    margin-inline: auto;
    border-radius: 42% 42% 28px 28px;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
  }

  .teacher-photo {
    position: absolute;
    inset: 0;
    left: 0;
    bottom: auto;
    transform: none;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 18%;
  }

  .floating-note {
    left: 8px;
    max-width: 145px;
  }

  .floating-circle {
    right: 6px;
  }

  .stats-wrap {
    padding: 0 20px 44px;
  }

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

  .stat-card {
    padding: 22px 20px;
    border-radius: 26px;
    min-height: auto;
  }

  .stat-number {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .stat-card h3 {
    font-size: 1.35rem;
    line-height: 1.18;
  }

  .stat-card p {
    font-size: 1rem;
    line-height: 1.55;
  }
}
