/* =========================================================
   Behrens Jobcoaching — Stylesheet
   Keine externen Ressourcen (DSGVO: keine Google Fonts o. ä.)
   ========================================================= */

:root {
  /* Farben */
  --petrol-900: #0f3835;
  --petrol-700: #17544f;
  --petrol-500: #2a7a72;
  --petrol-100: #dcece9;
  --terra-600: #b96a44;
  --terra-500: #cf7f56;
  --terra-100: #f7e6dc;

  --sand-50: #fbf8f4;
  --sand-100: #f4eee6;
  --sand-200: #e8ded1;

  --ink-900: #1b2422;
  --ink-700: #3c4a47;
  --ink-500: #667471;

  --white: #ffffff;

  /* Maße */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 56, 53, .06), 0 2px 8px rgba(15, 56, 53, .05);
  --shadow-md: 0 4px 12px rgba(15, 56, 53, .07), 0 12px 32px rgba(15, 56, 53, .07);
  --shadow-lg: 0 8px 24px rgba(15, 56, 53, .09), 0 24px 60px rgba(15, 56, 53, .10);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --step: clamp(1rem, .85rem + .6vw, 1.125rem);
}

/* ---------- Reset / Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--petrol-900);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3.1vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--petrol-700); text-underline-offset: .18em; }
a:hover { color: var(--terra-600); }

:focus-visible {
  outline: 3px solid var(--terra-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout-Helfer ---------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }

section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--petrol-500);
  margin-bottom: .9rem;
}

.lead {
  font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem);
  color: var(--ink-700);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--petrol-900);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease,
              background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--terra-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: #a55b38; color: var(--white); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: var(--petrol-900);
  border-color: var(--sand-200);
}
.btn--ghost:hover { border-color: var(--petrol-500); color: var(--petrol-700); background: var(--white); }

.btn--light {
  background: var(--white);
  color: var(--petrol-900);
  box-shadow: var(--shadow-md);
}
.btn--light:hover { color: var(--petrol-700); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); border-color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--sand-200);
  box-shadow: 0 2px 16px rgba(15, 56, 53, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--petrol-900);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.brand:hover { color: var(--petrol-900); }

.brand__mark {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--petrol-700), var(--petrol-500));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}

.brand__name { font-size: 1.02rem; display: block; }
.brand__tag {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--petrol-500);
}

.nav { display: flex; align-items: center; gap: 1.9rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 550;
  font-size: .96rem;
  position: relative;
  padding: .3rem 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--terra-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__list a:hover { color: var(--petrol-900); }
.nav__list a:hover::after { transform: scaleX(1); }

.nav .btn { padding: .62rem 1.2rem; font-size: .93rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sand-200);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--petrol-900);
  border-radius: 2px;
  position: relative;
  transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--petrol-900);
  border-radius: 2px;
  transition: transform .24s ease, top .24s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand-50);
    border-bottom: 1px solid var(--sand-200);
    padding: .5rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: .9rem .25rem;
    border-bottom: 1px solid var(--sand-200);
    font-size: 1.02rem;
  }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 1.1rem; width: 100%; padding: .85rem 1.2rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0 clamp(3.5rem, 2rem + 6vw, 6rem);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px;
  top: -280px; right: -180px;
  background: radial-gradient(circle, var(--petrol-100) 0%, rgba(220, 236, 233, 0) 70%);
}
.hero::after {
  width: 460px; height: 460px;
  bottom: -240px; left: -160px;
  background: radial-gradient(circle, var(--terra-100) 0%, rgba(247, 230, 220, 0) 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.75rem; }
}

.hero h1 { margin-bottom: .45em; }
.hero h1 em {
  font-style: normal;
  color: var(--petrol-500);
  position: relative;
  white-space: nowrap;
}

.hero__lead {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.9rem;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  color: var(--petrol-900);
  font-size: .84rem;
  font-weight: 600;
  padding: .45rem .95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.badge svg { width: 15px; height: 15px; color: var(--petrol-500); flex: none; }

/* Portrait */

.hero__media { position: relative; justify-self: center; width: 100%; max-width: 400px; }

.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand-100);
  aspect-ratio: 1 / 1;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--petrol-100);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.portrait-card {
  position: absolute;
  left: -14px;
  bottom: -22px;
  background: var(--white);
  border-radius: var(--radius);
  padding: .85rem 1.15rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-200);
  max-width: 15rem;
}
.portrait-card strong { display: block; color: var(--petrol-900); font-size: .96rem; }
.portrait-card span { font-size: .82rem; color: var(--ink-500); }

@media (max-width: 480px) {
  .portrait-card { left: 50%; transform: translateX(-50%); text-align: center; }
}

/* ---------- AVGS-Banner ---------- */

.avgs-banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--petrol-900), var(--petrol-700) 65%, var(--petrol-500));
  color: rgba(255, 255, 255, .88);
  border-radius: var(--radius-lg);
  padding: clamp(1.85rem, 1.3rem + 2.4vw, 3rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.75rem;
  align-items: center;
  overflow: hidden;
}
.avgs-banner::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.avgs-banner h2 { color: var(--white); margin-bottom: .35em; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem); }
.avgs-banner p { margin: 0; max-width: 44rem; position: relative; z-index: 1; }
.avgs-banner > div { position: relative; z-index: 1; }

@media (max-width: 760px) {
  .avgs-banner { grid-template-columns: 1fr; }
}

/* Banner-Abschnitt: oben bündig, unten nur halber Abstand,
   damit zwischen Banner und Angebot keine leere Fläche entsteht. */
.section--flush {
  padding-top: 0;
  padding-bottom: clamp(1.75rem, 1rem + 3vw, 3.25rem);
}

/* ---------- Karten-Raster ---------- */

.grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--petrol-100);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--petrol-100);
  color: var(--petrol-700);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .97rem; margin: 0; }

/* ---------- Über mich ---------- */

.about { background: var(--sand-100); }

.about__inner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.25rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
}

.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  justify-self: center;
  aspect-ratio: 4 / 5;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.facts {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.facts li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .99rem;
}
.facts svg {
  flex: none;
  width: 21px; height: 21px;
  margin-top: .22em;
  color: var(--terra-600);
}

/* ---------- Ablauf ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--terra-600);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.steps h3 { font-size: 1.08rem; margin-bottom: .45em; }
.steps p { font-size: .95rem; margin: 0; }

/* ---------- Formate (online / vor Ort) ---------- */

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 680px) { .formats { grid-template-columns: 1fr; } }

.format {
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--sand-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.format__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-600);
  background: var(--terra-100);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: .8rem; }

.faq details {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--petrol-100); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 3.25rem 1.2rem 1.5rem;
  font-weight: 650;
  color: var(--petrol-900);
  position: relative;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--petrol-500);
  border-bottom: 2px solid var(--petrol-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--terra-600); }

.faq__body { padding: 0 1.5rem 1.4rem; font-size: .99rem; }

/* ---------- Kontakt ---------- */

.contact { background: var(--sand-100); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 3.5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 780px) { .contact__inner { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.contact-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list svg {
  flex: none;
  width: 22px; height: 22px;
  margin-top: .2em;
  color: var(--petrol-500);
}
.contact-list strong {
  display: block;
  color: var(--petrol-900);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .1rem;
}
.contact-list a { font-weight: 600; }
.contact-list address { font-style: normal; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--petrol-900);
  color: rgba(255, 255, 255, .72);
  padding: clamp(3rem, 2rem + 3vw, 4.25rem) 0 2rem;
  font-size: .94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.site-footer address { font-style: normal; }

.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand .brand__mark { background: rgba(255, 255, 255, .14); }
.footer-brand .brand__tag { color: rgba(255, 255, 255, .6); }
.footer-brand p { max-width: 26rem; margin: 0; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .87rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */

.legal { padding-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.legal h2 { font-size: clamp(1.3rem, 1.15rem + .8vw, 1.6rem); margin-top: 2.5rem; }
.legal h2:first-of-type { margin-top: 1.5rem; }
.legal h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .45rem; }
.legal address { font-style: normal; }

.legal-note {
  background: var(--terra-100);
  border-left: 4px solid var(--terra-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.4rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.legal-note strong { color: var(--petrol-900); }

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
