/*
  Webdesign & Entwicklung: feinschliff.digital
  Daniel Decker · https://feinschliff.digital
  © 2026 · Website für Hebamme Elke Schlupf
*/

/* ── Barrierefreiheit und Formular-Grundlagen ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h, 24px);
  scroll-padding-bottom: 80px;
  scrollbar-color: #b98a8e #f6ecea;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
a,
button,
input,
select,
textarea,
label {
  touch-action: manipulation;
}
img {
  height: auto;
  display: block;
  max-width: 100%;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 15px 20px;
  border-radius: 12px;
  background: #151515;
  color: #fff;
  font:
    600 15px/1 system-ui,
    sans-serif;
  text-decoration: none;
  transition: top 0.2s ease-out;
}
.skip-link:focus {
  top: 12px;
}
.req {
  color: var(--err, #b3261e);
  margin-left: 3px;
  font-weight: 600;
}
input[aria-invalid='true'],
textarea[aria-invalid='true'],
select[aria-invalid='true'] {
  border-color: var(--err, #b3261e) !important;
  box-shadow: 0 0 0 1px var(--err, #b3261e);
}
.consent input {
  width: 20px !important;
  height: 20px !important;
}
button[aria-busy='true'] {
  cursor: progress;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── Farben, Schriften, Grundstil ── */
:root {
  --weiss: #fbf7f4;
  --creme: #f6ecea;
  --sand: #eedfdd;
  --taupe: #b98a8e;
  --marke: #8c5f63;
  --welle: #e8dad4;
  --ink: #55383b;
  --muted: #3a2c2d;
  --fuss: #55383b;
  --star: #9a6f00;
  --err: #a63a2a;
  --header-h: 64px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', system-ui, sans-serif;
  --schrift: 'Fraunces', Georgia, serif;
  --knopf: 'Figtree', system-ui, sans-serif;
  --logo: 'Antic Didone', Georgia, serif;
  --dunkel: #3a2c2d;
  --m-dauer: 700ms;
  --m-kurve: cubic-bezier(0.23, 1, 0.32, 1);
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
}
h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}
em {
  font-style: italic;
}
.zier {
  color: var(--dunkel);
}
.welle {
  display: block;
  width: min(350px, 80%);
  height: 18px;
  margin: 0 auto;
  color: var(--welle);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--weiss);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.zier {
  font-family: var(--schrift);
  font-weight: 400;
  line-height: 1;
}

/* ── Kopf ── */
.kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sand);
}
.marke {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-height: 44px;
  gap: 8px;
  align-items: flex-start;
}
.marke-name {
  font: 400 50px/0.92 var(--logo);
  text-transform: uppercase;
  color: var(--marke);
  text-align: left;
}
.marke-zusatz {
  font: 500 14.5px/1 var(--sans);
  text-transform: uppercase;
}
.zurueck {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-underline-offset: 5px;
}

/* ── Rechtstexte ── */
.legal {
  max-width: 760px;
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 112px);
}
.legal h1 {
  margin-top: 28px;
  font: 400 clamp(56px, 7vw, 96px)/1 var(--serif);
  letter-spacing: -0.02em;
}
.legal h2 {
  margin: 44px 0 10px;
  font: 400 clamp(26px, 2.4vw, 32px)/1.2 var(--serif);
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal p + p,
.legal ul + p {
  margin-top: 12px;
}
.legal ul {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.legal li {
  position: relative;
  padding-left: 22px;
}
.legal li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--taupe);
}
.legal strong {
  font-weight: 600;
  color: var(--ink);
}
.legal a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* ── Fußbereich ── */
.fuss {
  color: var(--ink);
}
.fuss a {
  color: var(--ink);
  text-underline-offset: 4px;
}
.fuss .zier {
  margin-top: 18px;
}
.linkish {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ── Feinabstimmung ── */
body {
  color: #3a2c2d;
  font-weight: 340;
}
h2 {
  color: var(--ink);
}
h3 {
  color: #3a2c2d;
}
.nav-leiste a[aria-current] {
  color: #8c5f63;
}
.kopf-kontakt {
  color: var(--ink);
}
.marke-zusatz {
  color: #3a2c2d;
}
.fuss,
.fuss a {
  color: #3a2c2d;
}
.btn {
  font-size: 15px;
}
.fuss .zier {
  font-size: 40px;
}
@media (max-width: 767px) {
  .fuss .zier {
    font-size: 30px;
  }
}
h1,
h1 *,
h2,
h2 *,
h3,
h3 *,
.serif,
.serif *,
blockquote,
.zier,
.liste li,
.karte-titel {
  font-optical-sizing: none;
  font-variation-settings:
    'opsz' 144,
    'SOFT' 100,
    'WONK' 1;
  font-weight: 300;
}
.marke-name {
  font-size: 46px;
  line-height: 0.98;
  letter-spacing: 0.03em;
}
@media (max-width: 767px) {
  .marke-name {
    font-size: 32.7px;
  }
  .kopf-oben.klein .marke-name {
    font-size: 24.4px;
  }
}
.marke-zusatz {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 3px;
  padding-left: 3px;
}
@media (max-width: 767px) {
  .marke-zusatz {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 2.4px;
    padding-left: 2.4px;
  }
}
@media (max-width: 767px) {
  body {
    font-weight: 400;
  }
}
.fuss {
  position: relative;
  background: #55383b;
  padding: 56px 0 8px;
}
.fuss .marke-zusatz {
  font-size: 15px;
  letter-spacing: 3px;
}
.fuss-satz {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: normal;
  font-style: italic;
  font-stretch: 72%;
  font-weight: 330;
  letter-spacing: -0.01em;
  color: #3a2c2d;
  margin-top: 16px;
  font-size: 27px;
  line-height: 1.3;
}
@media (max-width: 359px) {
  .legal h1 {
    font-size: 44px;
  }
}
.legal h1,
.legal h2 {
  overflow-wrap: break-word;
}
@media (pointer: coarse) {
  .fuss a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
.fuss,
.fuss a,
.fuss-satz {
  color: #fbf7f4;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: #764b50;
    border-color: #764b50;
    color: #fff;
  }
  .btn-rahmen:hover {
    background: #f6ecea;
    border-color: #b98a8e;
    color: #55383b;
  }
  .a-nav .a-weiter:hover {
    background: #764b50;
    border-color: #764b50;
    color: #fff;
  }
}
.fuss-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px 56px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
.fuss-raster,
.fuss-basis {
  text-align: left;
}
.fuss .fuss-name {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #f6ecea;
  text-decoration: none;
  font: 400 30px/1 var(--logo);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fuss-name span {
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.28em;
  color: #e2b6b0;
}
.fuss .fuss-satz {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.2;
  color: #fbf7f4;
}
.fuss-titel {
  margin-bottom: 8px;
  font: 600 13px/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e2b6b0;
}
.fuss-liste {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.fuss-liste a,
.fuss-adresse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  color: #fbf7f4;
  text-decoration: none;
}
.fuss-liste a:hover {
  color: #e2b6b0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fuss-liste .ico {
  width: 18px;
  height: 18px;
  flex: none;
  color: #e2b6b0;
}
.fuss-adresse {
  line-height: 1.35;
}
.fuss-adresse address {
  font-style: normal;
}
.fuss-adresse address span {
  display: block;
  white-space: nowrap;
}
.fuss-basis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  max-width: 1120px;
  margin: 36px auto 0;
  padding-top: 4px;
  background: linear-gradient(rgba(251, 247, 244, 0.18), rgba(251, 247, 244, 0.18)) top
    center/calc(100% - 2 * clamp(20px, 4vw, 48px)) 1px no-repeat;
  font-size: 14px;
  color: #fbf7f4;
}
.fuss-basis p {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
}
.fuss-rechtliches {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fuss-rechtliches li {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.fuss-rechtliches a,
.fuss-rechtliches .linkish {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fbf7f4;
  font: inherit;
  text-underline-offset: 4px;
}
.fuss-rechtliches a:hover,
.fuss-rechtliches .linkish:hover {
  color: #e2b6b0;
}
@media (max-width: 1023px) {
  .fuss-raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .fuss-kopf {
    grid-column: 1/-1;
  }
}
@media (max-width: 767px) {
  .fuss {
    padding-top: 44px;
  }
  .fuss-raster {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .fuss-seite {
    display: none;
  }
  .fuss-name {
    font-size: 26px;
  }
  .fuss .fuss-satz {
    margin-top: 12px;
    font-size: 21px;
  }
  .fuss-liste {
    grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
    gap: 0 24px;
    font-size: 15px;
  }
  .fuss-basis {
    display: block;
    margin-top: 24px;
  }
  .fuss-rechtliches {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0 24px;
  }
}

/* ── Design-Hinweis ── */
.design-credit-band {
  display: flex;
  justify-content: center;
  padding: 6px 20px;
  background: #fbf7f4;
}
.design-credit {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 6px;
  color: #646464;
  font-size: 12px;
  line-height: 20px;
}
.design-credit a,
.design-credit a:hover,
.design-credit a:focus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.design-credit .feinschliff-mark {
  width: 22px;
  height: 20px;
  flex: none;
  fill: currentColor;
  stroke: none;
}
.design-credit .mark-line {
  fill: none;
  stroke: currentColor;
}
.design-credit .feinschliff-wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.design-credit .feinschliff-wordmark > span {
  font-weight: 400;
}
.design-credit a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}
.legal h2.credit-inhalt {
  display: flex;
  justify-content: flex-start;
  gap: 0 0.3em;
  font: 400 clamp(26px, 2.4vw, 32px)/1.2 var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.credit-inhalt a,
.credit-inhalt a:hover {
  min-height: 0;
  gap: 0.2em;
  color: var(--ink);
}
.credit-inhalt .feinschliff-mark {
  width: 1.1em;
  height: 1em;
}

/* ── Auswahl, Fokus und Zustände ── */
::selection {
  background: #e2b6b0;
  color: #3a2c2d;
}
a,
button,
label,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}
:is(main, footer, .design-credit-band) a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.fuss-raster,
.fuss-basis {
  max-width: 1136px;
}
