/* Dawn Benkö Alltagsbegleitung
   Farbsystem aus dem Logo abgegriffen: Dunkelblau #13366D, Gold #BF941C */

@font-face {
  font-family: 'Atkinson';
  src: url('../fonts/atkinson-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atkinson';
  src: url('../fonts/atkinson-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-soft.woff2') format('woff2-variations');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-soft-italic.woff2') format('woff2-variations');
  font-weight: 300 700; font-style: italic; font-display: swap;
}

:root {
  --bone: #faf8f4;
  --paper: #ffffff;
  --ink: #26241f;
  --ink-soft: #625d55;
  --ink-faint: #6f6961;
  --line: #e6e1d8;
  --navy: #13366d;
  --navy-deep: #0d2650;
  --gold: #bf941c;        /* nur Flaeche und Linie */
  --gold-ink: #8a6a10;    /* Gold als Textfarbe, WCAG AA */
  --gold-soft: #f0e6cc;

  --wrap: 62rem;
  --col: 34rem;
  --gap: 5.5rem;
  --r-btn: 8px;
  --r-card: 16px;
  --r-input: 12px;

  --serif: 'Fraunces', 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .sec__head { position: static !important; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.12; letter-spacing: -0.018em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.65rem); line-height: 1.15; }
h3 { font-size: 1.5rem; line-height: 1.25; }
em { font-style: italic; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); }

img, svg { max-width: 100%; height: auto; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--paper); padding: .8rem 1.2rem; z-index: 100;
  border-radius: 0 0 var(--r-btn) 0;
}
.skip:focus { left: 0; color: var(--paper); }

/* Abschnittsmarke: nur ein Goldstrich, kein Kicker-Text */
.mark { width: 2.25rem; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 700;
  padding: .95rem 1.6rem;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color .2s cubic-bezier(.22,1,.36,1), border-color .2s cubic-bezier(.22,1,.36,1), color .2s cubic-bezier(.22,1,.36,1), transform .12s ease-out;
  min-height: 52px;
}
.btn--primary { background: var(--navy); color: var(--paper); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--navy-deep); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: var(--paper); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--navy); color: var(--navy-deep); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Kopfzeile */
.head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bone) 93%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; }
.head__logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.head__logo svg, .head__logo img { width: 42px; height: 42px; }
.head__name { display: grid; line-height: 1.15; }
.head__name b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--navy); }
.head__name span { font-size: .85rem; letter-spacing: .03em; color: var(--gold-ink); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 1rem; color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--navy); text-decoration: underline; }
.nav a[aria-current="true"] { color: var(--navy); font-weight: 700; }
.totop { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem; font-size: 1rem; color: var(--ink-soft); text-decoration: none; }
.totop:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 980px) {
  .head__in { flex-wrap: wrap; row-gap: .4rem; }
  .nav { order: 3; width: 100%; gap: 1.5rem; padding-bottom: .2rem; border-top: 1px solid var(--line); padding-top: .5rem; }
  .nav a { font-size: .95rem; padding: .35rem 0; }
}
@media (max-width: 430px) { .nav { gap: 1.1rem; } .nav a { font-size: .9rem; } }
@media (max-width: 520px) { .head .btn { padding: .8rem 1.1rem; font-size: 1rem; } .head__name b { font-size: 1.05rem; } }

/* Abschnitte: Überschrift links, Inhalt rechts */
.sec { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1rem 3.5rem; }
.sec__head { position: sticky; top: 7.5rem; align-self: start; }
.sec__body { max-width: 34rem; }
.sec__body p { text-wrap: pretty; }
.sec h2 { font-size: clamp(1.6rem, 2.4vw, 1.95rem); }
.lead-line { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.3; margin: 0 0 1.2rem; }
@media (max-width: 880px) {
  .sec { grid-template-columns: 1fr; gap: 1.25rem; }
  .sec__head { position: static; }
}

section { padding-block: var(--gap); scroll-margin-top: 7rem; }
section + section { border-top: 1px solid var(--line); }
@media (max-width: 980px) { section { scroll-margin-top: 9.5rem; } }
@media (max-width: 700px) { :root { --gap: 3.5rem; } }

/* Auftakt */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) calc(var(--gap) + 1rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.intro { font-size: 1.2rem; line-height: 1.6; }
.hero p.lead { font-size: 1.25rem; line-height: 1.55; text-wrap: pretty; color: var(--ink-soft); margin-top: 1.6rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__note { margin-top: 1.4rem; font-size: 1rem; color: var(--ink-faint); }

.portrait {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: .75rem;
  max-width: 23rem;
  margin-inline: auto;
}
.portrait img { border-radius: 10px; display: block; width: 100%; }
.portrait figcaption { padding: .9rem .5rem .35rem; font-size: .95rem; color: var(--ink-soft); }
.portrait figcaption b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-weight: 500; }

/* Leistungen als Liste mit Trennlinien */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 1rem 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.service h3 { margin: 0; font-size: 1.3rem; }
.service:last-child { border-bottom: 0; }
.service p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; gap: .6rem; padding: 1.6rem 0; }
}

/* Abgrenzung */
.limits { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.25rem); }
.limits__title { font-size: 1.7rem; margin: 0; }
#abgrenzung { padding-block: 4rem; }
.limits ul { list-style: none; margin: 1.35rem 0 0; padding: 0; display: grid; gap: .85rem; }
.limits li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .75rem; align-items: start; font-size: 1.05rem; }
.limits li svg { width: 1.35rem; height: 1.35rem; margin-top: .3rem; color: var(--gold-ink); }
.limits li.no svg { color: var(--ink-soft); }

/* Ablauf */
.steps { counter-reset: s; display: grid; gap: 1.75rem; }
.step { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.5rem; align-items: start; }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--serif); font-size: 1.35rem; color: var(--gold-ink);
  width: 3.25rem; height: 3.25rem; border: 1px solid var(--gold);
  border-radius: 50%; display: grid; place-items: center;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-soft); }
@media (max-width: 560px) { .step { grid-template-columns: 2.75rem 1fr; gap: 1rem; } .step::before { width: 2.75rem; height: 2.75rem; } }

/* Kontakt */


.contact__call { max-width: 30rem; }
.tel {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.5rem); color: var(--navy);
  text-decoration: none; display: inline-block; margin: .5rem 0 1.25rem; line-height: 1.1;
}
.tel:hover { color: var(--navy-deep); text-decoration: underline; }
.tel:active { color: var(--navy-deep); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.35rem 2rem; margin: 0; }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; } }
.details dt { font-size: .95rem; color: var(--ink-faint); }
.details dd { margin: .2rem 0 0; font-size: 1.1rem; text-wrap: pretty; }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); padding-block: 3.25rem; font-size: 1rem; color: var(--ink-soft); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; gap: 1.75rem; } }
.foot h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: .8rem; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.foot li a { display: inline-block; padding: .45rem 0; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--navy); text-decoration: underline; }
.foot__mark { width: 46px; height: 46px; margin-bottom: 1rem; }
.foot__legal { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-faint); }

/* Rechtsseiten */
.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.6rem); margin-bottom: 1.75rem; }
.legal h2 { font-size: 1.5rem; margin: 3rem 0 .9rem; }
.legal h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; margin: 2rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; margin: 1.5rem 0; }
.legal dt { color: var(--ink-faint); font-size: 1rem; }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem 0; } .legal dd { margin-bottom: .9rem; } }

.draft {
  border: 2px solid #a4442b;
  background: #fdf3ef;
  border-radius: var(--r-card);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  color: #7a3120;
}
.draft b { display: block; font-size: 1.15rem; margin-bottom: .5rem; }
.draft ul { margin: .75rem 0 0; padding-left: 1.2rem; }
.draft li { color: inherit; }

/* 404 */
.oops { min-height: 68vh; display: grid; place-content: center; text-align: center; padding-block: 4rem; }
.oops p { color: var(--ink-soft); margin: 1.25rem auto 2rem; max-width: 32rem; }

/* Häufige Fragen */
.faq { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq dt {
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.3;
  color: var(--ink); margin: 0; padding: 1.35rem 0 .4rem;
}
.faq dd { margin: 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.faq dd:last-child { border-bottom: 0; }

/* Kontaktformular */
.form { margin-top: 2.75rem; padding-top: 2.25rem; border-top: 1px solid var(--line); display: grid; gap: 1.25rem; max-width: 30rem; }
.form__intro { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; margin: 0; }
.field { display: grid; gap: .4rem; }
.field label { font-size: 1rem; font-weight: 700; }
.field input, .field textarea {
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  padding: .8rem .9rem;
  min-height: 52px;
  transition: border-color .2s cubic-bezier(.22,1,.36,1);
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--navy); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #a4442b; }
.hint { font-size: .95rem; color: var(--ink-faint); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rückmeldung nach dem Absenden */
.note { max-width: 34rem; }
.note--ok { border-left: 0; }
.note h1 { margin-bottom: 1rem; }
.req { color: var(--gold-ink); }
