@font-face {
  font-family: "Paytone One";
  src: url("../fonts/PaytoneOne-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --af-brand: #155f82;
  --af-brand-dark: #083f59;
  --af-brand-soft: #e8f3f7;
  --af-highlight: #f2e900;
  --af-highlight-soft: #fffbd1;
  --af-accent: #aeb4b8;
  --af-ink: #142131;
  --af-ink-soft: #516174;
  --af-slate: #7b8794;
  --af-line: #d9e4ea;
  --af-paper: #f6f9fb;
  --af-white: #ffffff;
  --af-radius: 6px;
  --af-shadow: 0 18px 44px rgba(8, 63, 89, 0.12);
  --af-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --af-display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#anfrage {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  padding-bottom: 76px;
  color: var(--af-ink);
  background: var(--af-white);
  font-family: var(--af-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.af-icon-sprite {
  display: none;
}

.af-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-flex;
  flex: 0 0 auto;
  color: currentColor;
}

.af-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.af-icon-badge {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(21, 95, 130, 0.18);
  border-radius: var(--af-radius);
  color: var(--af-brand);
  background: var(--af-brand-soft);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.af-icon-badge .af-icon {
  width: 22px;
  height: 22px;
}

.af-icon-badge > svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.af-icon-badge--image {
  overflow: visible;
}

.af-generated-icon {
  display: block;
  width: 34px;
  height: 34px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.af-trust-badge .af-generated-icon {
  width: 38px;
  height: 38px;
}

.af-shell,
.af-site-header__inner,
.af-section__inner,
.af-hero__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.af-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 33, 49, 0.08);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.af-site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--af-brand);
}

.af-site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.af-logo {
  display: inline-flex;
  align-items: center;
  color: var(--af-brand);
  text-decoration: none;
}

.af-logo img {
  width: 176px;
  height: auto;
}

.af-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.af-nav a {
  color: var(--af-ink);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 800;
}

.af-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius);
  color: var(--af-brand-dark);
  background: var(--af-white);
  font-weight: 850;
}

.af-button,
.af-lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: var(--af-radius);
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  gap: 9px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.af-button:hover,
.af-lead-form button:hover {
  transform: translateY(-1px);
}

.af-button:hover .af-icon,
.af-lead-form button:hover .af-icon {
  transform: translateX(2px);
}

.af-button .af-icon,
.af-lead-form button .af-icon {
  transition: transform 160ms ease;
}

.af-button--primary,
.af-lead-form button {
  color: var(--af-white);
  background: var(--af-brand);
  box-shadow: 0 16px 34px rgba(21, 95, 130, 0.3);
}

.af-button--primary {
  position: relative;
  overflow: hidden;
}

.af-button--primary::after {
  content: "";
  position: absolute;
  inset: auto 12px 7px 42px;
  height: 3px;
  background: var(--af-highlight);
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
}

.af-button--outline {
  color: var(--af-brand-dark);
  background: var(--af-white);
  border-color: var(--af-brand);
}

.af-button--primary:focus-visible,
.af-button--outline:focus-visible,
.af-lead-form button:focus-visible,
.af-mobile-bar a:focus-visible {
  outline: 3px solid rgba(21, 95, 130, 0.25);
  outline-offset: 3px;
}

.af-button--ghost {
  color: var(--af-brand-dark);
  background: var(--af-brand-soft);
}

.af-hero {
  --af-hero-image: url("../images/hero-nachhilfe-2026.jpg");
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 46%, rgba(255, 255, 255, 0.42) 68%, rgba(232, 243, 247, 0.12) 100%),
    var(--af-hero-image) right center / auto 100% no-repeat,
    var(--af-paper);
}

.af-hero--home {
  --af-hero-image: url("../images/hero-nachhilfe-2026.jpg");
}

.af-hero--essen {
  --af-hero-image: url("../images/location-essen-room.jpg");
}

.af-hero--bottrop {
  --af-hero-image: url("../images/location-bottrop-room.jpg");
}

.af-hero--about {
  --af-hero-image: url("../images/founder-ahmed.jpg");
}

.af-hero--teacher,
.af-hero--subject-lernforderung {
  --af-hero-image: url("../images/subject-lernfoerderung.jpg");
}

.af-hero--subject-deutsch {
  --af-hero-image: url("../images/subject-deutsch-sprachen.jpg");
}

.af-hero--subject-englisch {
  --af-hero-image: url("../images/subject-englisch.jpg");
}

.af-hero--subject-mathe,
.af-hero--subject-prufung {
  --af-hero-image: url("../images/subject-mathe-science.jpg");
}

.af-hero--subject-prufung {
  --af-hero-image: url("../images/subject-pruefung.jpg");
}

.af-hero::before {
  content: "";
  position: absolute;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 48px;
  width: 210px;
  height: 16px;
  background: var(--af-brand);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: -34px 20px 0 var(--af-brand-dark), -58px 20px 0 var(--af-highlight);
  opacity: 0.94;
}

.af-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--af-brand);
}

.af-hero__inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 76px;
}

.af-hero__copy {
  max-width: 760px;
  min-width: 0;
}

.af-hero__copy::before {
  content: "";
  display: block;
  width: 112px;
  height: 10px;
  margin-bottom: 22px;
  background: var(--af-brand);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  box-shadow: 34px 0 0 var(--af-highlight), 54px 0 0 var(--af-brand-dark);
}

.af-kicker,
.af-eyebrow {
  margin: 0 0 14px;
  color: var(--af-brand);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.af-hero h1,
.af-section h1 {
  max-width: 920px;
  margin: 0;
  color: var(--af-ink);
  font-family: var(--af-display);
  font-size: 4.25rem;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.af-hero h1 span {
  display: block;
}

.af-hero h1 span:first-child {
  color: var(--af-brand);
}

.af-hero__lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--af-ink-soft);
  font-size: 1.18rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.af-hero__portrait {
  display: none;
}

.af-hero__media {
  display: none;
}

.af-hero--about .af-hero__inner,
.af-hero--teacher .af-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 34px;
  align-items: center;
}

.af-hero--about .af-hero__media,
.af-hero--teacher .af-hero__media {
  display: block;
  min-height: 420px;
  border: 1px solid rgba(21, 95, 130, 0.2);
  border-top: 6px solid var(--af-highlight);
  border-radius: var(--af-radius);
  background:
    linear-gradient(180deg, rgba(20, 33, 49, 0) 52%, rgba(20, 33, 49, 0.48) 100%),
    url("../images/founder-ahmed.jpg") center / cover no-repeat;
  box-shadow: var(--af-shadow);
}

.af-hero--teacher .af-hero__media {
  background:
    linear-gradient(180deg, rgba(20, 33, 49, 0) 52%, rgba(20, 33, 49, 0.48) 100%),
    url("../images/hero-nachhilfe-2026.jpg") center / cover no-repeat;
}

.af-hero__actions,
.af-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.af-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.af-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--af-line);
  border-radius: 999px;
  color: var(--af-brand-dark);
  background: var(--af-white);
  font-size: 0.92rem;
  font-weight: 850;
  text-align: center;
  overflow-wrap: anywhere;
}

.af-pill .af-icon {
  width: 16px;
  height: 16px;
}

.af-pill__text,
.af-proof-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.af-proof-copy,
.af-proof-copy span {
  display: block;
}

.af-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
  max-width: 790px;
}

.af-hero__proof > span {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(21, 95, 130, 0.2);
  border-top: 4px solid var(--af-brand);
  border-radius: var(--af-radius);
  color: var(--af-ink-soft);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(8, 63, 89, 0.07);
  font-weight: 800;
}

.af-hero__proof strong {
  display: block;
  color: var(--af-brand);
  font-family: var(--af-display);
  font-size: 1.5rem;
  font-weight: 950;
}

.af-hero__proof .af-icon-badge {
  margin-bottom: 12px;
}

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

.af-section--paper {
  background: #fbfcfd;
}

.af-section--mist {
  background: var(--af-brand-soft);
}

.af-section--blue {
  color: var(--af-white);
  background: var(--af-brand-dark);
}

.af-section--blue .af-eyebrow {
  color: #b9d5df;
}

.af-section--blue h2,
.af-section--blue p {
  color: var(--af-white);
}

.af-section h2 {
  max-width: 860px;
  margin: 0;
  color: var(--af-ink);
  font-family: var(--af-display);
  font-size: 2.45rem;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.af-section.af-section--blue h1,
.af-section.af-section--blue h2,
.af-section.af-section--blue > .af-section__inner > div > p {
  color: var(--af-white);
}

.af-section.af-section--blue .af-lead-form h3,
.af-section.af-section--blue .af-lead-form p,
.af-section.af-section--blue .af-lead-form label,
.af-section.af-section--blue .af-lead-form span {
  color: var(--af-ink);
}

.af-section__intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--af-ink-soft);
  font-size: 1.06rem;
}

.af-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.af-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.af-card,
.af-location-card,
.af-lead-form,
.af-location-select__item {
  min-width: 0;
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius);
  background: var(--af-white);
  box-shadow: 0 12px 30px rgba(8, 63, 89, 0.06);
}

.af-card {
  position: relative;
  padding: 24px;
}

.af-card h3,
.af-location-select__item strong {
  margin: 0 0 10px;
  color: var(--af-ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

.af-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--af-ink);
  text-decoration: none;
}

.af-card-link .af-icon {
  width: 18px;
  height: 18px;
  color: var(--af-brand);
  transition: transform 160ms ease;
}

.af-card-link:hover .af-icon {
  transform: translateX(3px);
}

.af-card h3,
.af-answer h3,
.af-location-select__item strong {
  display: flex;
  align-items: center;
  gap: 9px;
}

.af-card p,
.af-location-card p,
.af-location-select__item span {
  margin: 0;
  color: var(--af-ink-soft);
}

.af-answer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
}

.af-answer-blocks {
  display: grid;
  gap: 14px;
}

.af-answer {
  padding: 22px;
  border-left: 5px solid var(--af-brand);
  background: var(--af-white);
  box-shadow: 0 10px 24px rgba(8, 63, 89, 0.05);
}

.af-answer .af-icon-badge {
  margin-bottom: 12px;
}

.af-answer h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.af-answer p {
  margin: 0;
  color: var(--af-ink-soft);
}

.af-photo-panel {
  display: grid;
  gap: 14px;
}

.af-photo-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--af-radius);
  box-shadow: var(--af-shadow);
}

.af-photo-panel img:nth-child(2) {
  aspect-ratio: 1 / 1;
}

.af-location-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.af-location-select__item {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--af-ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.af-location-select__item strong .af-icon {
  color: var(--af-brand);
}

.af-location-select__item span {
  display: block;
}

.af-location-select__item:hover {
  border-color: rgba(21, 95, 130, 0.38);
  box-shadow: 0 18px 38px rgba(8, 63, 89, 0.11);
  transform: translateY(-3px);
}

.af-location-select__meta {
  font-weight: 800;
}

.af-location-select__areas {
  font-size: 0.94rem;
}

.af-location-select__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 6px;
  color: var(--af-brand);
  font-weight: 950;
}

.af-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  margin-top: 30px;
}

.af-location-card h2,
.af-location-card h3 {
  margin: 0 0 8px;
  color: var(--af-ink);
}

.af-location-card__actions {
  display: grid;
  gap: 10px;
  min-width: 230px;
}

.af-subject-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.af-subject-card::before,
.af-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 5px;
  background: var(--af-brand);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}

.af-subject-card:hover {
  border-color: rgba(21, 95, 130, 0.38);
  box-shadow: 0 18px 38px rgba(8, 63, 89, 0.11);
  transform: translateY(-3px);
}

.af-subject-card:hover .af-icon-badge,
.af-answer:hover .af-icon-badge {
  color: var(--af-white);
  background: var(--af-brand);
  transform: translateY(-2px);
}

.af-founder {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: center;
}

.af-founder__image {
  position: relative;
}

.af-founder__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--af-radius);
  box-shadow: var(--af-shadow);
}

.af-founder__badge {
  position: absolute;
  right: -12px;
  bottom: 22px;
  max-width: 250px;
  padding: 14px 16px;
  border-radius: var(--af-radius);
  color: var(--af-white);
  background: var(--af-brand);
  font-weight: 900;
}

.af-steps {
  counter-reset: af-step;
}

.af-step {
  position: relative;
  padding-left: 62px;
  overflow: hidden;
}

.af-step::before {
  counter-increment: af-step;
  content: counter(af-step);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 34px;
  height: 34px;
  border-radius: var(--af-radius);
  display: grid;
  place-items: center;
  color: var(--af-white);
  background: var(--af-brand);
  font-weight: 950;
}

.af-step h3 .af-icon {
  color: var(--af-brand);
}

.af-proof-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.af-proof-strip img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: var(--af-radius);
}

.af-proof-list {
  display: grid;
  gap: 12px;
}

.af-proof-list .af-card {
  box-shadow: none;
}

.af-related-links {
  margin-top: 34px;
}

.af-related-links--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.af-related-group {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--af-line);
  border-left: 5px solid var(--af-brand);
  border-radius: 8px;
  background: var(--af-white);
  box-shadow: 0 16px 42px rgba(8, 63, 89, 0.07);
}

.af-related-group h3 {
  margin: 0 0 14px;
  color: var(--af-ink);
  font-size: 1.12rem;
}

.af-related-group p {
  margin: 0 0 18px;
  color: var(--af-ink-soft);
  font-weight: 650;
}

.af-related-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.af-related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius);
  color: var(--af-brand-dark);
  background: var(--af-brand-soft);
  text-decoration: none;
  font-weight: 900;
}

.af-related-links a .af-icon {
  width: 16px;
  height: 16px;
}

.af-cluster-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.af-cluster-card h3 {
  margin-top: 0;
  color: var(--af-ink);
}

.af-cluster-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.af-cluster-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--af-line);
  border-radius: 8px;
  color: var(--af-brand-dark);
  background: var(--af-brand-soft);
  text-decoration: none;
  font-weight: 900;
}

.af-lead-form {
  padding: 28px;
}

.af-lead-form h2 {
  margin: 0;
  color: var(--af-ink);
  font-family: var(--af-display);
  font-size: 1.55rem;
  font-weight: 950;
}

.af-lead-form p {
  margin: 10px 0 0;
  color: var(--af-ink-soft);
}

.af-lead-form label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--af-ink);
  font-weight: 850;
}

.af-lead-form input,
.af-lead-form select,
.af-lead-form textarea {
  width: 100%;
  border: 1px solid #cfd9de;
  border-radius: var(--af-radius);
  padding: 12px 14px;
  color: var(--af-ink);
  background: var(--af-white);
  font: inherit;
}

.af-lead-form input:focus,
.af-lead-form select:focus,
.af-lead-form textarea:focus {
  border-color: var(--af-brand);
  box-shadow: 0 0 0 4px rgba(21, 95, 130, 0.12);
  outline: none;
}

.af-lead-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--af-brand) 50%) calc(100% - 19px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--af-brand) 50%, transparent 50%) calc(100% - 14px) 52% / 7px 7px no-repeat,
    var(--af-white);
}

.af-checkbox {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  color: var(--af-ink-soft);
  font-weight: 650;
}

.af-checkbox a {
  color: var(--af-brand);
  font-weight: 850;
}

.af-checkbox input {
  width: auto;
  margin-top: 4px;
}

.af-honeypot {
  position: absolute;
  left: -9999px;
}

.af-form-note {
  margin: 12px 0 0;
  color: var(--af-ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.af-faq {
  max-width: 920px;
}

.af-faq details {
  border-top: 1px solid var(--af-line);
  padding: 20px 0;
}

.af-faq details:last-child {
  border-bottom: 1px solid var(--af-line);
}

.af-faq summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--af-ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.af-faq summary::after {
  content: "+";
  color: var(--af-brand);
  font-family: var(--af-display);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.af-faq details[open] summary::after {
  transform: rotate(45deg);
}

.af-faq p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--af-ink-soft);
}

.af-mobile-bar {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  gap: 1px;
  background: rgba(20, 33, 49, 0.14);
  box-shadow: 0 -12px 28px rgba(20, 33, 49, 0.12);
}

.af-mobile-bar a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: calc(64px + env(safe-area-inset-bottom));
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  color: var(--af-brand-dark);
  background: var(--af-white);
  text-align: center;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 950;
}

.af-mobile-bar .af-icon {
  width: 18px;
  height: 18px;
}

.af-mobile-bar a:last-child {
  color: var(--af-white);
  background: var(--af-brand);
}

.af-site-footer {
  padding: 54px 0 92px;
  color: var(--af-white);
  background: var(--af-brand-dark);
}

.af-site-footer a {
  color: var(--af-white);
}

.af-site-footer .af-logo,
.af-site-footer .af-footer-label,
.af-site-footer p {
  color: var(--af-white);
}

.af-footer-label {
  margin: 0 0 12px;
  font-weight: 950;
}

.af-site-footer .af-logo img {
  filter: brightness(0) invert(1);
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .af-mobile-bar {
    display: none;
  }
}

@media (max-width: 980px) {
  .af-site-header__inner {
    min-height: 72px;
  }

  .af-menu-toggle {
    display: inline-flex;
  }

  .af-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--af-line);
    border-radius: var(--af-radius);
    background: var(--af-white);
    box-shadow: var(--af-shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .af-nav[data-open="true"] {
    display: flex;
  }

  .af-hero {
    min-height: 650px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 60%, rgba(255, 255, 255, 0.7) 100%),
      var(--af-hero-image) right center / auto 100% no-repeat,
      var(--af-paper);
  }

  .af-hero h1,
  .af-section h1 {
    font-size: 3.2rem;
  }

  .af-section h2 {
    font-size: 2.05rem;
  }

  .af-grid,
  .af-grid--two,
  .af-answer-grid,
  .af-location-select,
  .af-founder,
  .af-proof-strip,
  .af-hero--about .af-hero__inner,
  .af-hero--teacher .af-hero__inner {
    grid-template-columns: 1fr;
  }

  .af-hero--about .af-hero__media,
  .af-hero--teacher .af-hero__media {
    min-height: 320px;
  }

  .af-location-card {
    grid-template-columns: 1fr;
  }

  .af-founder__badge {
    right: 16px;
  }

  .af-section--blue .af-lead-form {
    order: -1;
  }
}

@media (max-width: 700px) {
  .af-hero {
    min-height: 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--af-brand-soft) 100%);
  }

  .af-hero__inner {
    padding: 42px 0 48px;
  }

  .af-hero h1,
  .af-section h1 {
    font-size: 2.45rem;
    line-height: 1.06;
  }

  .af-hero__lead {
    margin-top: 16px;
    font-size: 1.02rem;
  }

  .af-trust-row .af-pill:nth-child(n+3) {
    display: none;
  }

  .af-hero__actions {
    margin-top: 22px;
  }

  .af-hero::before {
    right: 18px;
    bottom: 22px;
    width: 124px;
    height: 10px;
    box-shadow: -20px 14px 0 var(--af-brand-dark), -34px 14px 0 var(--af-highlight);
  }

  .af-hero__portrait {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    max-width: 360px;
    margin-top: 18px;
    padding: 10px;
    border: 1px solid rgba(21, 95, 130, 0.18);
    border-radius: var(--af-radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(8, 63, 89, 0.08);
  }

  .af-hero__portrait img {
    width: 76px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--af-radius);
  }

  .af-hero__portrait strong,
  .af-hero__portrait span {
    display: block;
  }

  .af-hero__portrait strong {
    color: var(--af-brand);
    font-weight: 950;
  }

  .af-hero__portrait span {
    color: var(--af-ink-soft);
    font-size: 0.92rem;
    font-weight: 800;
  }

  .af-hero__proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .af-hero__proof > span:nth-child(n+2) {
    display: none;
  }

  .af-hero__proof > span {
    min-height: auto;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
  }

  .af-hero__proof .af-icon-badge {
    width: 34px;
    height: 34px;
    margin: 0;
    color: var(--af-white);
    background: var(--af-brand);
  }

  .af-hero__proof strong {
    display: block;
    margin: 0;
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .af-shell,
  .af-site-header__inner,
  .af-section__inner,
  .af-hero__inner {
    width: calc(100% - 24px);
  }

  .af-logo img {
    width: 150px;
  }

  .af-hero {
    min-height: 560px;
  }

  .af-hero__inner {
    padding: 46px 0 54px;
  }

  .af-hero h1,
  .af-section h1 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .af-hero__lead,
  .af-section__intro {
    font-size: 1rem;
  }

  .af-section {
    padding: 62px 0;
  }

  .af-section h2 {
    font-size: 1.76rem;
  }

  .af-button,
  .af-lead-form button {
    width: 100%;
  }

  .af-hero__actions,
  .af-card-actions {
    display: grid;
  }

  .af-trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .af-pill {
    justify-content: center;
  }

  .af-card,
  .af-location-card,
  .af-lead-form,
  .af-location-select__item {
    padding: 20px;
  }

  .af-step {
    padding-left: 58px;
  }
}

@media (max-width: 430px) {
  .af-site-header__inner,
  .af-section__inner,
  .af-hero__inner {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .af-hero__copy,
  .af-hero__lead,
  .af-hero__actions,
  .af-trust-row,
  .af-hero h1,
  .af-section h1 {
    max-width: 100%;
  }

  .af-hero h1,
  .af-section h1 {
    font-size: 1.62rem;
  }

  .af-hero {
    min-height: 540px;
  }

  .af-mobile-bar {
    width: 100%;
    max-width: 100%;
  }

  .af-mobile-bar a {
    font-size: 0.76rem;
    overflow-wrap: anywhere;
  }
}

/* Relaunch concept direction: clearer, lighter, closer to the provided mockup. */
.af-site-header {
  border-bottom: 1px solid rgba(8, 63, 89, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(20, 33, 49, 0.05);
}

.af-site-header::before {
  display: none;
}

.af-site-header__inner {
  min-height: 82px;
}

.af-logo img {
  width: 188px;
}

.af-nav {
  gap: 28px;
}

.af-nav a {
  color: #071b43;
  font-size: 0.95rem;
  font-weight: 850;
}

.af-nav .af-button {
  min-height: 48px;
  padding-inline: 18px;
  color: var(--af-white);
  background: #0b2f6f;
  box-shadow: 0 14px 28px rgba(11, 47, 111, 0.22);
}

.af-button--whatsapp {
  color: #078d87;
  border-color: #0d9b95;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(13, 155, 149, 0.1);
}

.af-button--gold {
  color: #071b43;
  background: #ffc83d;
  box-shadow: 0 16px 34px rgba(255, 200, 61, 0.28);
}

.af-button--gold::after {
  background: rgba(7, 27, 67, 0.2);
}

.af-button--dark-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.af-hero--home {
  min-height: 0;
  overflow: visible;
  background: #ffffff;
}

.af-hero--home::before,
.af-hero--home::after,
.af-hero--home .af-hero__copy::before {
  display: none;
}

.af-hero--home .af-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 38px;
  align-items: center;
  width: min(1320px, calc(100% - 56px));
  padding: 46px 0 58px;
}

.af-hero--home .af-hero__copy {
  max-width: 560px;
}

.af-hero--home .af-kicker {
  color: #0d9b95;
}

.af-hero--home h1 {
  max-width: 560px;
  color: #071b43;
  font-family: var(--af-display);
  font-size: 3.55rem;
  font-weight: 950;
  line-height: 1.04;
}

.af-hero--home .af-hero__lead {
  max-width: 520px;
  color: #40506a;
  font-size: 1.08rem;
  font-weight: 600;
}

.af-hero-checks {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #071b43;
  font-weight: 850;
}

.af-hero-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.af-hero-checks .af-icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border: 2px solid #0d9b95;
  border-radius: 999px;
  color: #0d9b95;
}

.af-hero--home .af-hero__actions {
  margin-top: 28px;
}

.af-hero__visual {
  position: relative;
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef6f7;
  box-shadow: 0 24px 60px rgba(7, 27, 67, 0.13);
}

.af-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.2) 36%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.af-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: right center;
}

.af-floating-card {
  position: absolute;
  z-index: 2;
  right: 28px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  width: 210px;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 63, 89, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 38px rgba(7, 27, 67, 0.14);
}

.af-floating-card strong,
.af-floating-card span:not(.af-icon):not(.af-icon-badge) {
  grid-column: 2;
  color: #071b43;
  line-height: 1.15;
}

.af-floating-card strong {
  font-weight: 950;
}

.af-floating-card .af-icon-badge {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  margin: 0;
  color: #0d9b95;
  background: #e0f4f4;
}

.af-icon-badge--gold,
.af-floating-card .af-icon-badge--gold {
  color: #d69700;
  background: #fff2c8;
}

.af-floating-card--top {
  top: 58px;
}

.af-floating-card--mid {
  top: 174px;
}

.af-floating-card--bottom {
  top: 290px;
}

.af-trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  padding: 0 0 8px;
}

.af-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 82px;
  border: 1px solid rgba(8, 63, 89, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 27, 67, 0.09);
  overflow: hidden;
}

.af-trust-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 16px 22px;
  border-right: 1px solid var(--af-line);
  color: #071b43;
}

.af-trust-item:last-child {
  border-right: 0;
}

.af-trust-item > .af-icon {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  color: #0d9b95;
}

.af-trust-badge {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  margin: 0;
  border-color: rgba(21, 95, 130, 0.18);
  border-radius: 8px;
  color: var(--af-brand);
  background: var(--af-brand-soft);
}

.af-trust-badge--gold {
  color: #9b7b00;
  background: var(--af-highlight-soft);
  border-color: rgba(242, 233, 0, 0.55);
}

.af-trust-item strong,
.af-trust-item span {
  min-width: 0;
}

.af-trust-item strong {
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.af-trust-item > span:not(.af-icon):not(.af-stars):not(.af-icon-badge):not(.af-trust-badge) {
  color: #40506a;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
}

.af-stars {
  color: #ffc107;
  letter-spacing: 0;
  white-space: nowrap;
}

.af-trust-item--rating strong {
  color: var(--af-brand-dark);
  font-size: 1rem;
}

.af-section--soft {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.af-centered {
  margin-inline: auto !important;
  text-align: center;
}

.af-centered-copy {
  margin-inline: auto;
  text-align: center;
}

.af-feature-grid {
  margin-top: 28px;
}

.af-feature-card,
.af-review-card,
.af-rating-card,
.af-subject-tile,
.af-location-showcase__card {
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 27, 67, 0.08);
}

.af-feature-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0 18px;
  align-items: center;
  min-height: 128px;
  padding: 24px;
}

.af-feature-card .af-icon-badge {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  margin: 0;
}

.af-feature-card .af-icon-badge--image,
.af-process .af-icon-badge--image,
.af-final-cta .af-icon-badge--image {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.af-feature-card .af-generated-icon {
  width: 64px;
  height: 64px;
}

.af-feature-card h3,
.af-feature-card p {
  margin: 0;
}

.af-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding: 30px 24px 24px;
  border: 1px solid var(--af-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 27, 67, 0.07);
}

.af-process::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 9%;
  right: 9%;
  border-top: 2px dashed rgba(13, 155, 149, 0.35);
}

.af-process article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  min-width: 0;
}

.af-process article > span:first-child {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  background: #0d9b95;
  font-weight: 950;
}

.af-process .af-icon-badge {
  width: 72px;
  height: 72px;
  margin: 18px 0 14px;
  color: #0b2f6f;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--af-line);
}

.af-process .af-generated-icon {
  width: 72px;
  height: 72px;
}

.af-process h3 {
  margin: 0 0 6px;
  color: #071b43;
  font-size: 1rem;
}

.af-process p {
  margin: 0;
  color: #40506a;
  font-size: 0.9rem;
}

.af-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: end;
}

.af-section-head > p {
  margin: 0;
  color: #40506a;
  font-weight: 650;
}

.af-subject-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.af-subject-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--af-line);
  background: #ffffff;
}

.af-subject-tile img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.af-subject-tile .af-icon-badge {
  position: relative;
  margin: -26px 0 12px 22px;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: #0d9b95;
  box-shadow: 0 10px 22px rgba(7, 27, 67, 0.14);
}

.af-subject-tile .af-generated-icon {
  width: 48px;
  height: 48px;
}

.af-subject-tile h3,
.af-subject-tile p,
.af-subject-tile a {
  margin-inline: 22px;
}

.af-subject-tile h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #071b43;
  font-size: 1.18rem;
}

.af-subject-tile p {
  margin-top: 0;
  color: #40506a;
}

.af-subject-tile a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #0d9b95;
  text-decoration: none;
  font-weight: 950;
}

.af-review-layout {
  display: grid;
  grid-template-columns: 0.85fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.af-rating-card,
.af-review-card {
  padding: 24px;
  border: 1px solid var(--af-line);
  background: #ffffff;
}

.af-rating-card p,
.af-rating-card h2 {
  margin: 0;
}

.af-rating-card h2 {
  color: #071b43;
  font-size: 1.35rem;
  line-height: 1.12;
}

.af-rating-card p {
  color: #40506a;
  font-weight: 850;
}

.af-rating-card .af-stars {
  display: block;
  margin: 20px 0 8px;
  font-size: 1.35rem;
}

.af-review-card div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.af-review-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.af-review-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  color: #071b43;
  background: linear-gradient(135deg, #e0f4f4 0%, #fff2c8 100%);
  box-shadow: inset 0 0 0 1px rgba(8, 63, 89, 0.08);
  font-weight: 950;
}

.af-review-card strong {
  color: #071b43;
}

.af-review-card p {
  color: #40506a;
}

.af-location-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.af-location-showcase__card {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--af-line);
  background: #ffffff;
}

.af-location-showcase__card img {
  width: 100%;
  aspect-ratio: 1.55;
  border-radius: 6px;
  object-fit: cover;
}

.af-location-showcase__card h3 {
  margin: 0 0 8px;
  color: #071b43;
  font-size: 1.45rem;
}

.af-location-showcase__card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  color: #40506a;
  font-weight: 750;
}

.af-location-showcase__card p .af-icon {
  color: #0d9b95;
}

.af-location-showcase__card .af-button {
  margin-top: 12px;
}

.af-final-cta {
  padding: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 30%, rgba(13, 155, 149, 0.55), transparent 24%),
    linear-gradient(135deg, #09275f 0%, #071b43 100%);
}

.af-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 150px;
  padding: 30px 0;
}

.af-final-cta h2 {
  max-width: 680px;
  margin: 0;
  color: #ffffff;
  font-family: var(--af-display);
  font-size: 2rem;
  line-height: 1.08;
}

.af-final-cta .af-icon-badge {
  float: left;
  width: 78px;
  height: 78px;
  margin: 0 22px 0 0;
  color: #ffffff;
  background: #0d9b95;
  border-color: rgba(255, 255, 255, 0.2);
}

.af-final-cta .af-generated-icon {
  width: 78px;
  height: 78px;
}

.af-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .af-hero--home .af-hero__inner,
  .af-review-layout,
  .af-subject-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .af-hero--home .af-hero__copy {
    max-width: none;
  }

  .af-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .af-process::before {
    display: none;
  }
}

@media (max-width: 860px) {
  .af-trust-strip__inner,
  .af-location-showcase,
  .af-cluster-links,
  .af-related-links--two,
  .af-section-head,
  .af-final-cta__inner {
    grid-template-columns: 1fr;
  }

  .af-trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--af-line);
  }

  .af-trust-item:last-child {
    border-bottom: 0;
  }

  .af-final-cta__actions {
    justify-content: stretch;
  }
}

@media (max-width: 700px) {
  .af-site-header__inner {
    min-height: 74px;
  }

  .af-logo img {
    width: 158px;
  }

  .af-hero--home .af-hero__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    padding: 34px 0 44px;
  }

  .af-hero--home h1 {
    font-size: 2.45rem;
  }

  .af-hero__visual {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  .af-hero__visual img {
    min-height: 0;
    object-position: right center;
  }

  .af-floating-card {
    right: 14px;
    width: 176px;
    min-height: 66px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .af-floating-card .af-icon-badge {
    width: 40px;
    height: 40px;
  }

  .af-floating-card--top {
    top: 22px;
  }

  .af-floating-card--mid {
    top: 112px;
  }

  .af-floating-card--bottom {
    top: 202px;
  }

  .af-trust-strip {
    margin-top: 0;
  }

  .af-feature-grid,
  .af-process,
  .af-subject-showcase,
  .af-review-layout {
    grid-template-columns: 1fr;
  }

  .af-location-showcase__card {
    grid-template-columns: 1fr;
  }

  .af-final-cta .af-icon-badge {
    float: none;
    margin: 0 0 16px;
  }

  .af-final-cta h2 {
    font-size: 1.65rem;
  }
}

@media (max-width: 430px) {
  .af-hero--home h1 {
    font-size: 2.08rem;
  }

  .af-hero--home .af-hero__inner {
    width: calc(100% - 24px);
  }

  .af-floating-card {
    right: 10px;
    width: 154px;
    min-height: 50px;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 9px;
    font-size: 0.78rem;
  }

  .af-floating-card .af-icon-badge {
    width: 34px;
    height: 34px;
  }

  .af-floating-card--top {
    top: 10px;
  }

  .af-floating-card--mid {
    top: 68px;
  }

  .af-floating-card--bottom {
    display: none;
  }

  .af-trust-item,
  .af-feature-card,
  .af-rating-card,
  .af-review-card {
    padding: 18px;
  }

  .af-cluster-links {
    grid-template-columns: 1fr;
  }
}
