/* Regina Massagen – Stylesheet nach Markenhandbuch v1.0 (Oktober 2026)
   Farben: Flaschengrün #2F4A3C · Salbei #A9B79A · Seladon #9DB8AE · Creme #F4EFE6
           Eiche #C9A27A · Gold #B8975A · Tiefschwarz #1C1C1A · Hagebutte #8A3B2E
   Kontrast-Regel: Text nur Tiefschwarz/Flaschengrün auf Creme/Weiss oder Creme auf Grün.
   Salbei, Seladon, Eiche und Gold werden nie als Textfarbe auf hellem Grund verwendet. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
}

:root {
  --green: #2f4a3c;
  --green-dark: #243a2f;
  --sage: #a9b79a;
  --celadon: #9db8ae;
  --cream: #f4efe6;
  --oak: #c9a27a;
  --gold: #b8975a;
  --ink: #1c1c1a;
  --rose: #8a3b2e;
  --white: #ffffff;
  --line: rgba(47, 74, 60, 0.2);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --measure: 62ch;
  --radius-img: 24px; /* runde Ecken für rechteckige Fotos */
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

::selection {
  background: var(--sage);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.site-footer :focus-visible,
.gift :focus-visible {
  outline-color: var(--cream);
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--green);
  color: var(--cream);
}

.skip-link:focus {
  top: 16px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--green);
}

h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 3.5rem); /* 56 / 1.1 */
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.25rem); /* 36 / 1.15 */
  line-height: 1.15;
  text-wrap: balance;
}

h3 {
  font-size: 1.625rem;
  line-height: 1.2;
}

.label {
  font-family: var(--sans);
  font-size: 0.75rem; /* 12 */
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
}

.small {
  font-size: 0.8125rem; /* 13 / 1.5 */
  line-height: 1.5;
}

.lede {
  font-size: 1.125rem;
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose {
  max-width: var(--measure);
}

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

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

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(32px, 5vw, 64px) var(--section);
}

.section--white {
  background: var(--white);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head .label::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 16px;
  background: var(--gold);
}

.section-head p:not(.label) {
  max-width: var(--measure);
}

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

.btn {
  display: inline-block;
  padding: 16px 28px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--green);
}

.btn--ghost:hover {
  background: var(--green);
  color: var(--cream);
}

.btn--inverse {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green);
}

.btn--inverse:hover {
  background: var(--white);
  border-color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.link-more {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.link-more::after {
  content: " →";
  letter-spacing: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .card,
  .card::after {
    transition:
      background-color 0.25s ease,
      border-color 0.25s ease,
      color 0.25s ease;
  }
}

/* ---------- Kopfzeile ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(184, 151, 90, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 20px;
}

.logo {
  display: block;
  flex: none;
}

.logo img {
  width: 132px; /* Markenhandbuch: digital mindestens 120 px Breite */
  height: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 40px;
}

.site-nav a {
  display: inline-block;
  padding-block: 6px;
  font-size: 0.8125rem;
  font-weight: 350;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--gold);
}

.site-nav a[aria-current="page"] {
  font-weight: 450;
  border-bottom-color: var(--gold);
}

@media (max-width: 700px) {
  .header-inner {
    gap: 20px;
    padding-block: 14px;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 4px 20px;
  }

  .site-nav a {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }
}

/* ---------- Startseite: Hero ---------- */

.hero {
  padding-block: clamp(40px, 7vw, 88px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero-text {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero-text .lede {
  font-size: 1.25rem;
}

.ring {
  position: relative;
  width: min(100%, 460px);
  margin-inline: auto;
  isolation: isolate;
}

.ring::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(18px, 14px);
}

.circle {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage);
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero-Foto im Hochformat mit feiner Goldlinie (wie der Ring, aber mit runden Ecken) */
.hero-photo {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
  isolation: isolate;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius-img) + 6px);
  transform: translate(18px, 14px);
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-img);
  background: var(--sage);
}

/* ---------- Fotos ---------- */

.photo {
  margin: 0;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--sage);
}

.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-photo img {
  aspect-ratio: 3 / 2;
}

.gallery-section {
  padding-bottom: var(--section);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin-bottom: 6px;
}

.facts dd {
  margin: 0;
}

.facts a {
  text-decoration-color: var(--gold);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .ring {
    width: min(calc(100% - 24px), 340px);
    margin-inline: 0;
  }

  .ring::before {
    inset: -10px;
    transform: translate(10px, 8px);
  }

  .hero-photo {
    width: min(calc(100% - 24px), 280px);
    margin-inline: 0;
  }

  .hero-photo::before {
    inset: -10px;
    transform: translate(10px, 8px);
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Aussagesatz ---------- */

.statement {
  padding-block: clamp(56px, 8vw, 96px);
  text-align: center;
}

.statement p {
  max-width: 28ch;
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.2;
  color: var(--green);
  text-wrap: balance;
}

.statement::before {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 0 auto 32px;
  background: var(--gold);
}

/* ---------- Karten (Massagen) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--cream);
  border: 1px solid var(--line);
}

.card:hover,
.card:focus-within {
  border-color: var(--gold);
}

.card-num {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--green);
}

.card h3 a {
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card h3 a:focus-visible {
  outline: none;
}

.card:has(h3 a:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.card-price {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--green);
}

.price small {
  margin-right: 6px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
}

/* Preise je Dauer: «30 Min.  CHF 60» */
.price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}

.price-list li {
  display: grid;
  gap: 6px;
}

.price-list .dur {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
}

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

.after-cards {
  margin-top: 32px;
}

/* ---------- Über mich (Teaser und Seite) ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.about-grid .ring {
  width: min(100%, 400px);
}

.about-text {
  display: grid;
  gap: 24px;
  justify-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid .ring {
    width: min(100%, 300px);
  }
}

.quote {
  max-width: 24ch;
  margin-inline: auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  line-height: 1.2;
  color: var(--green);
  text-wrap: balance;
}

.quote::before {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 0 auto 28px;
  background: var(--gold);
}

.rows {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.rows li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.rows .num {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--green);
}

.rows .text {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--green);
}

/* ---------- Innenseiten: Seitenkopf ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
}

.page-head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -140px;
  width: 440px;
  height: 440px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.crumbs li + li::before {
  content: "·";
  margin-right: 8px;
}

@media (max-width: 700px) {
  .page-head::after {
    width: 280px;
    height: 280px;
    right: -120px;
    top: 30%;
  }
}

/* ---------- Massage-Detailseiten ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.detail-main {
  display: grid;
  gap: 28px;
}

.note {
  max-width: var(--measure);
  padding: 18px 24px;
  border-left: 1px solid var(--gold);
  background: var(--white);
}

/* Hinweis auf der Startseite (z. B. zweiter Standort) */
.notice {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 760px;
  margin-top: 8px;
  padding: 22px 28px;
  border-left: 1px solid var(--gold);
  background: var(--white);
}

.notice p:not(.label) {
  max-width: var(--measure);
}

.aside-card {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
}

.aside-card .price-list {
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.aside-card .price-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.aside-card .price-list .dur {
  min-width: 4.5rem;
}

.facts-list {
  display: grid;
  gap: 18px;
}

.facts-list li {
  display: grid;
  gap: 2px;
}

.facts-list strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--green);
}

.unsure {
  display: grid;
  gap: 12px;
  justify-items: start;
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Preise ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
}

.plan--accent {
  border-color: var(--gold);
}

.badge {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 6px 12px;
  background: var(--rose);
  color: var(--cream);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.plan-price {
  min-height: 108px; /* damit «Enthält» in allen drei Karten auf gleicher Höhe beginnt */
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.plan-note {
  max-width: 24ch;
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--green);
}

.plan-lists {
  display: grid;
  align-content: start;
  gap: 24px;
}

.plan-lists .label {
  margin-bottom: 10px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

.ticks li + li {
  margin-top: 6px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.plan-name {
  font-size: 1.875rem;
}

.plan .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
}

.ticks strong {
  font-weight: 500;
}

.ticks .sub {
  display: block;
}

@media (max-width: 980px) {
  .pricing {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

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

.faq-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-grid .section-head,
.split .section-head {
  margin-bottom: 0;
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat;
}

.faq details[open] summary::after {
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat;
}

.faq summary:focus-visible {
  outline-offset: -2px;
}

.faq .answer {
  padding-bottom: 24px;
  max-width: 56ch;
}

.faq .answer > * + * {
  margin-top: 0.8em;
}

@media (max-width: 900px) {
  .faq-grid,
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gutschein-Banner ---------- */

.gift {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(32px, 6vw, 72px);
  background: var(--green);
  color: var(--cream);
}

.gift .label {
  color: var(--sage);
}

.gift h2 {
  color: var(--cream);
}

.gift-text {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.gift-text p:last-child {
  margin-top: 8px;
}

.voucher {
  display: grid;
  gap: 14px;
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 1.45;
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.3;
  position: relative;
}

.voucher p:not(.voucher-title) {
  max-width: calc(100% - 96px);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.voucher-title {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
}

.voucher img {
  position: absolute;
  right: 18px;
  bottom: 14px;
}

@media (max-width: 800px) {
  .gift {
    grid-template-columns: 1fr;
  }

  .voucher {
    justify-self: start;
  }
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.region-note {
  max-width: var(--measure);
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  padding-top: 0.35em;
}

.contact-list dd {
  margin: 0;
}

.arch {
  aspect-ratio: 4 / 5;
  /* Halbkreis oben (Breite/2 = 40 % der Höhe), unten runde Ecken wie bei den anderen Fotos;
     ohne feste Grösse oben (nicht 999px), sonst werden alle Radien herunterskaliert */
  border-radius: 50% 50% var(--radius-img) var(--radius-img) / 40% 40% var(--radius-img) var(--radius-img);
  overflow: hidden;
  background: var(--sage);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-media {
  display: grid;
  gap: 24px;
  width: min(100%, 420px);
  justify-self: end;
}

.contact-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-media {
    justify-self: start;
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- Rechtstexte, 404 ---------- */

.legal {
  display: grid;
  gap: 40px;
  max-width: 760px;
}

.legal section {
  display: grid;
  gap: 14px;
}

.legal h2 {
  font-size: 1.75rem;
}

.legal ul {
  display: grid;
  gap: 8px;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal li::marker {
  color: var(--gold);
}

.notfound {
  display: grid;
  gap: 24px;
  justify-items: start;
  padding-block: clamp(64px, 10vw, 128px);
}

/* ---------- Fusszeile ---------- */

.site-footer {
  background: var(--green);
  color: var(--cream);
}

.site-footer .container {
  padding-block: clamp(48px, 7vw, 80px) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.footer-grid .label {
  margin-bottom: 18px;
  color: var(--sage);
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-brand {
  display: grid;
  gap: 20px;
  align-content: start;
  justify-items: start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px; /* Tipp-Fläche für Touch-Geräte */
  font-size: 0.9375rem;
  text-decoration: none;
}

.social-link:hover span {
  text-decoration: underline;
  text-decoration-color: var(--cream);
}

.social-icon {
  flex: none;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.footer-contact {
  margin-top: 16px;
}

.site-footer a {
  text-decoration-color: rgba(244, 239, 230, 0.4);
}

.site-footer a:hover {
  text-decoration-color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(184, 151, 90, 0.5);
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sanftes Einblenden (nur ohne Bewegungsreduktion) ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-text > *,
  .page-head .container > * {
    animation: rise 0.8s ease both;
  }

  .hero-text > :nth-child(2),
  .page-head .container > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-text > :nth-child(3),
  .page-head .container > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-text > :nth-child(4),
  .page-head .container > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero .ring,
  .hero .hero-photo {
    animation: rise 1s 0.15s ease both;
  }
}
