/* sub-page.css
 * Wiederverwendbare Komponenten für alle Pages.
 * Iteration 27.04 (Esteban-Feedback): dark Header, Multi-Column Footer, Image-Komponenten, Kontrast erhöht.
 * Voraussetzung: tokens.css + styles.css sind bereits geladen.
 */

/* HEADER, sage-grün mit procedural-tile-Pattern (Brand-Doc-Standard).
   Original-Logo (bichrom dunkel + cream) ist hier gut lesbar. */
.site-header {
  background-color: var(--basic-green);
  background-image: url('../img/pattern-tile-procedural.svg');
  background-repeat: repeat;
  background-size: 8px 8px;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(244, 193, 118, 0.32);
  position: relative;
  z-index: 5;
}

.site-header__brand img {
  height: clamp(56px, 2.2vw + 48px, 132px);
  width: auto;
}

.site-header .site-nav__list a {
  color: rgba(244, 237, 224, 0.92);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  position: relative;
  text-decoration: none;
  transition: color 240ms ease-out;
}

.site-header .site-nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(0.65, 0, 0.35, 1);
}

.site-header .site-nav__list a:hover,
.site-header .site-nav__list a[aria-current="page"] {
  color: var(--accent-color);
}

.site-header .site-nav__list a:hover::after,
.site-header .site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site-header .site-nav__toggle { color: rgba(244, 237, 224, 0.92); }

/* PAGE HERO STRIP, dunkel, hoher Text-Kontrast */
.page-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  background-color: #14181a;
  display: flex;
  align-items: flex-end;
}

/* Subtler Honey-Glow oben rechts, gibt dem dunklen Hero Waerme.
   Analog zum home-hero__glow auf der Home-Page. */
.page-hero::after {
  content: '';
  position: absolute;
  top: -8%;
  right: -6%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(244, 193, 118, 0.22) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.86) saturate(0.98) contrast(1.02);
  animation: page-hero-kenburns 40s ease-in-out infinite alternate;
}

/* Vignette statt Allover-Overlay: links und unten dunkel für Text-Kontrast,
   oben rechts klart auf damit das Foto Atmosphäre behält. */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg,
      rgba(20, 24, 26, 0.72) 0%,
      rgba(20, 24, 26, 0.36) 32%,
      rgba(20, 24, 26, 0.14) 60%,
      transparent 82%),
    linear-gradient(0deg,
      rgba(20, 24, 26, 0.5) 0%,
      rgba(20, 24, 26, 0.16) 38%,
      transparent 65%);
}

.page-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.7'/></svg>");
}

.page-hero__line {
  position: absolute;
  left: clamp(2rem, 5vw, 5rem);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(244, 193, 118, 0.65) 30%, rgba(166, 189, 178, 0.45) 80%, transparent 100%);
  z-index: 3;
  transform-origin: top center;
  animation: page-line-grow 1400ms 200ms cubic-bezier(0.65, 0, 0.35, 1) backwards;
}

.page-hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: clamp(5rem, 8vw, 7rem) clamp(2.5rem, 6vw, 6rem) clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 9rem);
  max-width: 1100px;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fcd193;
  margin-bottom: 1.4rem;
  animation: page-fade-up 900ms 500ms ease-out backwards;
}

.page-hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background-color: rgba(252, 209, 147, 0.6);
}

/* Decoration-Suffix "· Nº 0X" wird auf Mobile ausgeblendet, auf kleinen Screens
   ist der Marker visuelles Rauschen, auf Desktop trägt er Editorial-Charakter. */
.page-hero__eyebrow-num {
  display: inline;
}

@media (max-width: 720px) {
  .page-hero__eyebrow-num { display: none; }
}

.page-hero__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw + 0.4rem, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: #faf6ec;
  max-width: 880px;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
  animation: page-fade-up 1200ms 700ms ease-out backwards;
}

.page-hero__title em {
  font-style: normal;
  color: var(--accent-color);
}

.page-hero__sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(250, 246, 236, 0.94);
  max-width: 580px;
  margin-top: 1.4rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
  animation: page-fade-up 1200ms 900ms ease-out backwards;
}

.page-hero__meta {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.78);
  margin-top: 1.6rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
  animation: page-fade-up 1200ms 1100ms ease-out backwards;
}

/* PAGE CONTENT, Editorial-Layout, Kontrast erhöht */
.page-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
}

.page-section--paper {
  background: linear-gradient(180deg, var(--secondary-color) 0%, #efece4 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Subtile Atmosphere-Glows in den cream-Sektionen, sehr dezent.
   Sage oben links, Honey unten rechts. Geben Tiefe ohne aufdringlich zu sein. */
.page-section--paper::before,
.page-section--paper::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.page-section--paper::before {
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(166, 189, 178, 0.28) 0%, transparent 65%);
}
.page-section--paper::after {
  bottom: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(244, 193, 118, 0.18) 0%, transparent 65%);
}
.page-section--paper > * {
  position: relative;
  z-index: 1;
}

.page-section + .page-section {
  border-top: 1px solid rgba(166, 189, 178, 0.16);
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.page-content > * + * { margin-top: 1.2rem; }
.page-content > h2 + *,
.page-content > h3 + * { margin-top: 0.7rem; }

.page-content h2 {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.8vw + 0.4rem, 2.3rem);
  line-height: 1.2;
  color: var(--green);
  margin-top: 2.6rem;
  letter-spacing: -0.005em;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--green);
  margin-top: 2rem;
}

.page-content p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.78;
  color: #2a2a2a;
}

.page-content p.lead {
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--green);
  font-weight: 400;
}

.page-content strong {
  font-weight: 600;
  color: var(--green);
}

.page-content blockquote {
  margin: 2rem 0;
  padding: 1.6rem 2rem;
  background-color: var(--white);
  border-left: 3px solid var(--accent-color);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2a2a2a;
  box-shadow: 0 8px 24px -16px rgba(107, 130, 119, 0.32);
}

.page-content blockquote p { font-size: 1.05rem; }

.page-content ul, .page-content ol {
  padding-left: 0;
  list-style: none;
}

.page-content ul li, .page-content ol li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.7;
  color: #2a2a2a;
}

.page-content ol {
  counter-reset: page-list;
}

.page-content ol li {
  counter-increment: page-list;
}

.page-content ol li::before {
  content: counter(page-list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--accent-color);
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 14px;
  height: 1px;
  background-color: var(--accent-color);
}

/* IMAGE STRIP, full-width Foto als Atmospheric Break */
.image-strip {
  position: relative;
  margin: 0;
  padding: 0;
  height: clamp(280px, 38vw, 460px);
  overflow: hidden;
  isolation: isolate;
}

.image-strip__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
  animation: image-strip-zoom 28s ease-in-out infinite alternate;
}

.image-strip__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(107, 130, 119, 0.18) 0%, rgba(244, 193, 118, 0.10) 60%, transparent 100%);
}

.image-strip__caption {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.4rem);
  left: clamp(2rem, 6vw, 5rem);
  right: clamp(2rem, 6vw, 5rem);
  z-index: 2;
  color: #faf6ec;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  max-width: 540px;
}

.image-strip__caption-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.image-strip__caption-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw + 0.4rem, 1.6rem);
  line-height: 1.4;
  margin: 0;
}

@keyframes image-strip-zoom {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-1%, -1%); }
}

/* SIDE-BY-SIDE Image+Text Layout */
.side-by-side {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 800px) {
  .side-by-side { grid-template-columns: 5fr 6fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .side-by-side--reverse { grid-template-columns: 6fr 5fr; }
  .side-by-side--reverse .side-by-side__media { order: 2; }
  .side-by-side--lead { grid-template-columns: 300px 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
}

.side-by-side__media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  filter: saturate(0.95);
  position: relative;
  overflow: hidden;
}

@media (max-width: 799px) {
  .side-by-side__media { aspect-ratio: 16 / 10; margin-bottom: 2rem; }
}

.side-by-side__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(166, 189, 178, 0.10), rgba(244, 193, 118, 0.06));
}

/* Portrait-Variante: vertikales Format, Gesicht oben gewichtet */
.side-by-side__media--portrait {
  aspect-ratio: 3 / 4;
  background-position: center 28%;
  filter: saturate(0.96) contrast(1.02);
}

@media (max-width: 799px) {
  .side-by-side__media--portrait {
    aspect-ratio: 4 / 5;
    margin-bottom: 1.6rem;
  }
}

/* Lead-Block "über mich": Foto zuerst + nicht zu gross (Olga-Wunsch 2026-05-25) */
.side-by-side--lead .side-by-side__media--portrait {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  background-position: center 22%;
}

@media (max-width: 799px) {
  .side-by-side--lead .side-by-side__media--portrait { max-width: 200px; }
}

.side-by-side__body {
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.side-by-side__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.side-by-side__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background-color: var(--accent-color);
}

.side-by-side__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw + 0.4rem, 2.2rem);
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 1.2rem;
  letter-spacing: -0.005em;
}

.side-by-side__text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.78;
  color: #2a2a2a;
  margin-bottom: 1.2rem;
}

/* PAGE CTA Block */
.page-cta {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.4rem);
  background-color: var(--white);
  border: 1px solid rgba(166, 189, 178, 0.22);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 90% 100%, rgba(244, 193, 118, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 0%, rgba(166, 189, 178, 0.10) 0%, transparent 50%);
}

.page-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--green) 100%);
}

.page-cta__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw + 0.4rem, 2rem);
  line-height: 1.25;
  color: var(--green);
  margin-bottom: 0.9rem;
}

.page-cta__lead {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 1.6rem;
  max-width: 560px;
}

/* Buttons, sanfter Hover-Stil:
   Underline-Akzent ist von Anfang an voll sichtbar (kein Wachstum).
   Hover = Linie wird leicht dicker plus Color-Shift, plus Y-Lift plus Box-Shadow. */
.btn-sage {
  position: relative;
  display: inline-block;
  padding: 1rem 2.2rem;
  background-color: var(--green);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 320ms ease-out, transform 320ms ease-out, box-shadow 320ms ease-out;
}

.btn-sage::after {
  content: '';
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 0.55rem;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 320ms ease-out, height 240ms ease-out;
}

.btn-sage:hover {
  background-color: #5a6f65;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -8px rgba(107, 130, 119, 0.42);
}

.btn-sage:hover::after {
  height: 2px;
  background-color: var(--accent-color);
}

.btn-honey {
  position: relative;
  display: inline-block;
  padding: 1rem 2.2rem;
  background-color: var(--accent-color);
  color: #1a1408;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 320ms ease-out, transform 320ms ease-out, box-shadow 320ms ease-out;
}

.btn-honey::after {
  content: '';
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 0.55rem;
  height: 1px;
  background-color: rgba(26, 20, 8, 0.4);
  transition: background-color 320ms ease-out, height 240ms ease-out;
}

.btn-honey:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -8px rgba(244, 193, 118, 0.42);
}

.btn-honey:hover::after {
  height: 2px;
  background-color: rgba(26, 20, 8, 0.7);
}

/* Honor Card */
.honor-grid {
  max-width: 760px;
  margin: 2.4rem auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 700px) {
  .honor-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}

.honor-card {
  position: relative;
  padding: 2.2rem 2.2rem 2rem 2.4rem;
  background-color: #fbfaf6;
  border: 1px solid rgba(166, 189, 178, 0.24);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  transition: transform 320ms ease-out, box-shadow 320ms ease-out, border-color 320ms ease-out, background-color 320ms ease-out;
}

.honor-card::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 0;
  width: 3px;
  background-color: var(--accent-color);
  opacity: 0.4;
  transition: opacity 360ms cubic-bezier(0.65, 0, 0.35, 1), top 360ms cubic-bezier(0.65, 0, 0.35, 1), bottom 360ms cubic-bezier(0.65, 0, 0.35, 1);
}

.honor-card::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(ellipse at center bottom, rgba(244, 193, 118, 0.22) 0%, rgba(244, 193, 118, 0) 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease-out;
}

.honor-card:hover {
  transform: translateY(-2px);
  background-color: var(--white);
  border-color: rgba(166, 189, 178, 0.42);
  box-shadow: 0 18px 38px -22px rgba(107, 130, 119, 0.32);
}

.honor-card:hover::before {
  opacity: 1;
  top: 0.8rem;
  bottom: 0.8rem;
}

.honor-card:hover::after {
  opacity: 1;
}

.honor-card__index {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.honor-card__title {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: 1.26rem;
  color: var(--green);
  margin: 0;
}

.honor-card__price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
  margin: 1.2rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(166, 189, 178, 0.22);
}

.honor-card__currency {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  align-self: flex-start;
  margin-top: 0.7rem;
}

.honor-card__amount {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-color);
  font-variant-numeric: tabular-nums;
}

.honor-card__decimals {
  font-weight: 300;
  font-size: 0.55em;
  color: var(--green);
  margin-left: 0.05em;
  letter-spacing: 0;
}

.honor-card__unit {
  flex-basis: 100%;
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 0.82rem;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.honor-card__detail {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.6;
  color: #2a2a2a;
  margin: 0.4rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .honor-card,
  .honor-card::before,
  .honor-card::after {
    transition: none;
  }
  .honor-card:hover {
    transform: none;
  }
}

/* Contact Card */
.contact-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(166, 189, 178, 0.32);
}

@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid .contact-row:not(:last-child) { border-right: 1px solid rgba(166, 189, 178, 0.22); }
}

.contact-row {
  padding: 1.8rem 0.4rem;
  border-bottom: 1px solid rgba(166, 189, 178, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 700px) {
  .contact-row { padding: 1.8rem 1.4rem; }
}

.contact-row__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.contact-row__value {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.55;
  color: #2a2a2a;
}

.contact-row__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 193, 118, 0.5);
  transition: border-color 240ms ease-out, color 240ms ease-out;
}

.contact-row__value a:hover {
  color: var(--accent-hover);
  border-color: var(--accent-color);
}

/* Map */
.contact-map {
  margin-top: 3rem;
  max-width: 1000px;
  margin-inline: auto;
  border: 1px solid rgba(166, 189, 178, 0.22);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--soft-shade);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92) contrast(0.97);
}

.contact-map__hint {
  max-width: 1000px;
  margin: 0.7rem auto 0;
  text-align: right;
  font-size: 0.82rem;
  color: rgba(51, 51, 51, 0.66);
}

.contact-map__hint a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-map__hint a:hover {
  color: var(--accent-hover);
}

/* FOOTER, sage-grün mit procedural-tile-Pattern (Brand-Doc-Standard, konsistent mit Header).
   3-Spalten-Layout, ruhig, keine Atmosphere-Glows. */
.site-footer {
  background-color: var(--basic-green);
  background-image: url('../img/pattern-tile-procedural.svg');
  background-repeat: repeat;
  background-size: 8px 8px;
  color: rgba(244, 237, 224, 0.92);
  font-family: var(--font-sans);
  position: relative;
  border-top: 1px solid rgba(244, 193, 118, 0.28);
}

/* Footer-Container nutzt auf grossen Screens fast die volle Breite, damit
   Brand-Block links und Praxis-Block rechts an den Bildschirmrand wandern.
   Konsistent mit .site-header .container in styles.css. */
.site-footer .container {
  max-width: max(1200px, 95vw);
  padding-inline: clamp(1rem, 3vw, 3rem);
}

.site-footer__top {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.4rem, 4vw, 3.4rem);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
}

@media (min-width: 700px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(2.6rem, 5vw, 4.6rem);
    align-items: start;
  }
  /* Brand bleibt links, Navigation mittig, Praxis rechts.
     Inhalt selbst bleibt links-bündig fürs Lesen. */
  .site-footer__cols > .site-footer__brand { justify-self: start; }
  .site-footer__cols > :nth-child(2) { justify-self: center; }
  .site-footer__cols > :nth-child(3) { justify-self: end; }
}

.site-footer__col-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
}

.site-footer__brand img {
  height: clamp(52px, 1.4vw + 47px, 104px);
  width: auto;
  margin-bottom: 1.2rem;
  display: block;
}

.site-footer__tagline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.92);
  margin-bottom: 1rem;
  max-width: 32ch;
}

.site-footer__brand-mark {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.55);
}

.site-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer__nav a {
  color: rgba(250, 246, 236, 0.82);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  transition: color 240ms ease-out, transform 240ms ease-out;
}

.site-footer__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.65, 0, 0.35, 1);
}

.site-footer__nav a:hover { color: var(--accent-color); transform: translateX(3px); }
.site-footer__nav a:hover::after { transform: scaleX(1); }

.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.site-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-footer__contact-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(252, 209, 147, 0.78);
}

.site-footer__contact-value {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(250, 246, 236, 0.92);
}

.site-footer__contact-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 193, 118, 0.4);
  transition: border-color 240ms ease-out, color 240ms ease-out;
}

.site-footer__contact-value a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.site-footer__cta-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.site-footer__cta-text {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.85);
  margin: 0;
}

.site-footer__cta-btn {
  position: relative;
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background-color: var(--accent-color);
  color: #1a1408;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  transition: color 320ms ease-out;
}

.site-footer__cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #faf6ec;
  transform: translateX(-101%);
  transition: transform 360ms cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.site-footer__cta-btn:hover { color: #1a1408; }
.site-footer__cta-btn:hover::before { transform: translateX(0); }

.site-footer__bottom {
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(244, 237, 224, 0.12);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-footer__copyright {
  color: rgba(250, 246, 236, 0.55);
}

.site-footer__legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.4rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__legal a {
  color: rgba(250, 246, 236, 0.6);
  text-decoration: none;
  transition: color 240ms ease-out;
}

.site-footer__legal a:hover { color: var(--accent-color); }

/* Animations */
@keyframes page-hero-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.05) translate(-1%, -1%); }
}

@keyframes page-line-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes page-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bei reduced-motion: Bewegungs-Animationen aus (Ken-Burns Background-Scale),
   sanfte Opacity-Fades laufen weiter (vestibular-safe). */
@media (prefers-reduced-motion: reduce) {
  .page-hero__media,
  .image-strip__media { animation: none; }
  .page-hero__eyebrow,
  .page-hero__title,
  .page-hero__sub { animation-name: page-fade-up-reduce; }
}
@keyframes page-fade-up-reduce {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
 * ANMELDE-FORMULAR (Erstgespräch, Netlify Forms)
 * ============================================================ */
.anmelde-form {
  max-width: 640px;
  margin: 2.4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.anmelde-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) {
  .anmelde-form__row { grid-template-columns: 1fr 1fr; }
}

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

.anmelde-form__field label {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.anmelde-form input,
.anmelde-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(166, 189, 178, 0.5);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.anmelde-form input:focus,
.anmelde-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(107, 130, 119, 0.15);
}

.anmelde-form textarea {
  resize: vertical;
  min-height: 130px;
}

.anmelde-form button {
  align-self: flex-start;
  margin-top: 0.4rem;
}
@media (max-width: 600px) {
  .anmelde-form button { align-self: stretch; }
}
