/* ==========================================================================
   Oltre Me - Stylesheet
   Aufbau: 1 Tokens - 2 Reset - 3 Typografie - 4 Layout - 5 Komponenten
           6 Header/Footer - 7 Sektionen - 8 Formular - 9 Hilfsklassen
   ========================================================================== */

/* 1 -------------------------------------------------------------- Tokens */

:root {
  /* Farben, uebernommen aus dem bisherigen Elementor-Kit */
  --gold:        #d39d4a;
  --gold-dark:   #b8853a;
  --gold-tint:   #f7efe2;
  --ink:         #1e1e1e;
  --ink-strong:  #282828;
  --ink-muted:   #5c5c5c;
  --accent:      #4c96b8;
  --link:        #1c7c84;
  --line:        #e4e4e4;
  --bg:          #ffffff;
  --bg-soft:     #faf8f5;

  /* Typografie */
  --font-body:   'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Kalam', 'Poppins', cursive;

  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1rem + 0.28vw, 1.1875rem);
  --step-1:  clamp(1.1875rem, 1.11rem + 0.38vw, 1.375rem);
  --step-2:  clamp(1.375rem, 1.24rem + 0.66vw, 1.75rem);
  --step-3:  clamp(1.625rem, 1.36rem + 1.31vw, 2.375rem);
  --step-4:  clamp(2rem, 1.52rem + 2.36vw, 3.375rem);

  /* Raster */
  --container: 1140px;
  --gutter:    clamp(1.25rem, 5vw, 2.5rem);
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.75rem;
  --space-lg:  3rem;
  --space-xl:  clamp(3.5rem, 8vw, 6.5rem);

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 1px 2px rgba(30, 30, 30, 0.04), 0 8px 28px rgba(30, 30, 30, 0.06);
  --shadow-lg: 0 2px 4px rgba(30, 30, 30, 0.05), 0 18px 48px rgba(30, 30, 30, 0.10);
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2 --------------------------------------------------------------- Reset */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* Browser geben figure, blockquote und dd einen Aussenabstand von 40px.
   Der wuerde die Karten im Raster zusammendruecken. */
figure, blockquote, dl, dd, fieldset { margin: 0; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

/* 3 ---------------------------------------------------------- Typografie */

h1, h2, h3, h4 {
  margin: 0 0 var(--space-sm);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
  /* Lange deutsche Woerter sollen getrennt werden statt hart umzubrechen. */
  overflow-wrap: normal;
  hyphens: auto;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, li, blockquote {
  /* Deutsche Komposita sollen in schmalen Spalten getrennt werden. */
  hyphens: auto;
  hyphenate-limit-chars: 10 5 4;
}

p { margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent);
  text-underline-offset: 0.18em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}
a:hover { color: var(--gold-dark); text-decoration-color: currentColor; }

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

strong { font-weight: 600; }

/* Kleines Label ueber einer Ueberschrift */
.eyebrow {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--gold-dark);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Handschrift, bewusst sparsam eingesetzt */
.script {
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.lead {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* 4 --------------------------------------------------------------- Layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 760px; }

.section { padding-block: var(--space-xl); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: calc(var(--space-xl) * 0.6); }

.section__head {
  max-width: 760px;
  margin-bottom: var(--space-lg);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.stack > * + * { margin-top: var(--space-sm); }
.stack-lg > * + * { margin-top: var(--space-md); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { left: 0; }

/* 5 ----------------------------------------------------------- Komponenten */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.75em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(211, 157, 74, 0.32);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gold-dark);
  background: none;
}
.btn--plain::after {
  content: '';
  width: 1.1em; height: 1.1em;
  background: currentColor;
  transition: transform 0.18s var(--ease);
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
}
.btn--plain:hover::after { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Telefonnummer als sekundaerer Aufruf */
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.tel-link:hover { color: var(--gold-dark); }

/* --- Hero --- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 9vw, 6rem) var(--space-xl);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: auto auto 0 50%;
  width: min(1400px, 130vw);
  aspect-ratio: 2 / 1;
  translate: -50% 45%;
  background: radial-gradient(closest-side, var(--gold-tint), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr); }
}

.hero__title { margin-bottom: var(--space-md); }
.hero__title em {
  font-style: normal;
  color: var(--gold-dark);
}

.hero__text > p + p { margin-top: var(--space-sm); }
.hero__text .btn-row { margin-top: var(--space-md); }

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* --- Listen mit Symbol --- */
.icon-list {
  display: grid;
  gap: var(--space-sm) var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .icon-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.icon-list li {
  position: relative;
  padding-left: 2.5rem;
  line-height: 1.65;
}
.icon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gold-tint) var(--list-icon, none) center / 0.85rem no-repeat;
}

.icon-list--question li::before {
  --list-icon: var(--icon-dot);
  background-color: color-mix(in srgb, var(--ink) 7%, transparent);
}
.icon-list--check li::before { --list-icon: var(--icon-check); }

/* --- Karten --- */
.card-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 720px)  { .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px)  { .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
  box-shadow: var(--shadow);
}

.card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.card__badge {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__title { margin-bottom: 0.35rem; }

.card__price {
  margin-bottom: var(--space-sm);
  color: var(--gold-dark);
  font-size: var(--step-1);
  font-weight: 600;
}
.card__price span {
  display: block;
  color: var(--ink-muted);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__body { flex: 1 1 auto; }
.card__body > * + * { margin-top: var(--space-sm); }

.card__foot { margin-top: var(--space-md); }

.card__note {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--step--1);
  line-height: 1.6;
}

/* Notiz, die allein in einer Karte steht und daher keine Trennlinie braucht. */
.card__note--plain { margin-top: 0; padding-top: 0; border-top: 0; }

/* --- Referenzen --- */
.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote__mark {
  margin-bottom: var(--space-sm);
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: 2.75rem;
  line-height: 0.6;
}
.quote__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.7;
}
.quote__person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: var(--space-md);
}
.quote__person img {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.quote__name { font-weight: 600; line-height: 1.3; }
.quote__meta { color: var(--ink-muted); font-size: var(--step--1); line-height: 1.3; }

/* --- Aufruf zum Handeln --- */
.cta {
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border-radius: var(--radius);
  background: var(--ink-strong);
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); max-width: 58ch; margin-inline: auto; }
.cta .btn-row { margin-top: var(--space-md); }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cta .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.cta .tel-link { color: #fff; }
.cta .tel-link:hover { color: var(--gold); }

/* --- Bild/Text nebeneinander --- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr); }
  .split--flip > :first-child { order: 2; }
}
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.signature {
  margin-top: var(--space-md);
  max-width: 220px;
}

/* --- Einbettung mit Einwilligung --- */
.embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}
.embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: var(--embed-min, 320px);
  padding: var(--space-md);
  text-align: center;
}
.embed__placeholder p {
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: var(--step--1);
  line-height: 1.6;
}
.embed__frame { width: 100%; border: 0; display: block; }

/* 6 ------------------------------------------------------- Header/Footer */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(30, 30, 30, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.brand img {
  height: clamp(2.1rem, 5vw, 2.6rem);
  width: auto;
  transition: opacity 0.18s var(--ease);
}
.brand:hover img { opacity: 0.72; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  position: relative;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-block: 0.4rem;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .is-current > a::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem; height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
  transition: transform 0.22s var(--ease), opacity 0.16s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(0.3rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-0.3rem) rotate(-45deg); }

.header-cta { flex: none; }

/* Der Aufruf im aufgeklappten Menue erscheint nur in der schmalen Ansicht. */
.nav__cta { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav__cta { display: block; }

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    padding: var(--space-sm) var(--gutter) var(--space-md);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__list a { display: block; padding-block: 0.9rem; font-size: var(--step-0); }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: var(--space-sm); }
  .nav__cta .btn { width: 100%; }
}

.site-footer {
  padding-block: var(--space-lg) var(--space-md);
  background: var(--ink-strong);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--step--1);
}
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer__grid {
  display: grid;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-lg); }
}
/* Die Wortmarke liegt in Schwarz auf transparentem Grund vor.
   Fuer den dunklen Fuss wird sie umgekehrt. */
.footer__grid .brand img { filter: invert(1); height: 2.6rem; }

.footer__title {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__list { margin: 0; padding: 0; list-style: none; line-height: 2; }

.social-row { display: flex; gap: 0.75rem; margin-top: var(--space-sm); }
.social-row a {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.social-row a:hover { border-color: var(--gold); background: rgba(211, 157, 74, 0.14); }
.social-row svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__bar ul { display: flex; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }

/* 7 ------------------------------------------------------------ Sektionen */

.page-head {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) var(--space-lg);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-head__inner { max-width: 760px; }

/* Fliesstext aus dem WordPress-Editor (Impressum, Datenschutz) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-lg); font-size: var(--step-2); }
.prose h3 { margin-top: var(--space-md); font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 0.6rem; border: 1px solid var(--line); text-align: left; }

/* 8 ------------------------------------------------------------- Formular */

.form { display: grid; gap: var(--space-sm); }
@media (min-width: 640px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide, .form__foot, .form__notice { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.field label .req { color: var(--gold-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(211, 157, 74, 0.18);
}
.field textarea { min-height: 11rem; resize: vertical; }

.field--error input,
.field--error select,
.field--error textarea { border-color: #c0392b; }

.field__error { color: #c0392b; font-size: var(--step--1); }

.field--consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
}
.field--consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.35rem; flex: none; }
.field--consent label { font-weight: 400; font-size: var(--step--1); line-height: 1.6; }

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  font-size: var(--step-0);
  line-height: 1.6;
}
.notice--ok    { background: #eef7ef; border-color: #3f8f52; }
.notice--error { background: #fdefed; border-color: #c0392b; }

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
}

.contact-aside { align-self: start; }
.contact-aside dl { margin: 0; }
.contact-aside dt {
  margin-top: var(--space-sm);
  color: var(--ink-muted);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-aside dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  /* Die lange E-Mail-Adresse darf umbrechen, ohne die Spalte zu sprengen. */
  overflow-wrap: anywhere;
}

/* 9 ----------------------------------------------------------- Hilfsklassen */

.center-block { margin-inline: auto; }

/* Schmaler Textblock innerhalb einer breiten Sektion. */
.narrow-block { max-width: 760px; margin-inline: auto; }

.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.h-sm { font-size: var(--step-1); }
.fw-normal { font-weight: 400; }
.footer__about { margin-top: 1rem; max-width: 34ch; }
.footer__copy { margin: 0; }

/* Hervorgehobener Satz in Handschrift. */
.pull-quote {
  padding-top: 0.5rem;
  color: var(--gold-dark);
  font-size: var(--step-2);
}

/* Lange zentrierte Absaetze sind auf schmalen Geraeten schwer zu lesen. */
@media (max-width: 760px) {
  .text-center { text-align: left; }
  .text-center .pull-quote { text-align: center; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Symbole als Masken, damit sie die Textfarbe uebernehmen */
:root {
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8853a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --icon-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.5' fill='%235c5c5c'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Sanftes Einblenden beim Scrollen.
   Der Ausgangszustand gilt nur, wenn JavaScript laeuft. Ohne JavaScript
   bleibt der Inhalt sichtbar, statt unsichtbar haengen zu bleiben. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .btn-row, .embed { display: none; }
  body { font-size: 11pt; }
}
