/* =========================================================
   STEPPEX Dirnberger GmbH
   Fokus Handwerk & Würde Klassisch & Stark Verkaufwebsite
========================================================= */

:root {
  --ink: #171819;
  --ink-soft: #25282a;
  --paper: #f7f4ee;
  --ivory: #fffdf8;
  --sage: #68746a;
  --sage-dark: #38433c;
  --wine: #6f3e46;
  --brass: #b89a63;
  --mist: #e6e1d8;
  --muted: #66625c;
  --line: rgba(23, 24, 25, 0.13);
  --line-light: rgba(255, 253, 248, 0.17);
  --shadow: 0 24px 80px rgba(23, 24, 25, 0.16);
  --radius: 8px;
  --container: 1180px;
}

@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 6.2vw, 6.7rem);
  max-width: 950px;
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--muted);
}

.kicker {
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.kicker.dark {
  color: var(--sage-dark);
}

/* Topbar */

.topbar {
  display: none;
}

.topbar-inner {
  width: min(var(--container), calc(100% - 44px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar p {
  color: rgba(255, 253, 248, 0.74);
}

.topbar a {
  color: var(--brass);
  font-weight: 800;
}

/* Preloader */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  gap: 34px;
  align-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(184, 154, 99, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(23, 24, 25, 0.98), rgba(56, 67, 60, 0.96));
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-mark {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: preloaderMark 2.4s ease-in-out infinite;
}

.preloader-mark .brand-mark {
  align-items: baseline;
  /* Zentriert Logo und Text vertikal */
  gap: 0px;
  /* Erzeugt Abstand zwischen Logo und Text */
  position: relative;
  width: 200px;
  height: 200px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 248, 0.22),
    0 18px 46px rgba(0, 0, 0, 0.26),
    0 0 44px rgba(184, 154, 99, 0.18);
  background: url("bilder/logo2.png") center / cover no-repeat;
}

.preloader-mark strong {
  display: block;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.05;
}

.preloader-mark small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 253, 248, 0.72);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  min-height: 104px;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 18px clamp(24px, 4vw, 64px);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.32), rgba(255, 253, 248, 0.16));
  backdrop-filter: blur(18px);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.28);
  box-shadow: 0 20px 70px rgba(23, 24, 25, 0.1);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header_impress {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  min-height: 104px;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 18px clamp(24px, 4vw, 64px);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.401), rgb(26, 25, 25));
  backdrop-filter: blur(18px);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.28);
  box-shadow: 0 20px 70px rgba(23, 24, 25, 0.1);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header_datenschutz {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  min-height: 104px;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 18px clamp(24px, 4vw, 64px);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.401), rgb(26, 25, 25));
  backdrop-filter: blur(18px);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.28);
  box-shadow: 0 20px 70px rgba(23, 24, 25, 0.1);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}


.header.scrolled {
  top: 0;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 12px 42px rgba(23, 24, 25, 0.13);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sage-dark);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.18), 0 10px 28px rgba(56, 67, 60, 0.24);
  background: url("bilder/logo2.svg") center / cover no-repeat;

}

.brand-mark i {
  position: relative;
  width: 16px;
  height: 24px;
}

.brand-mark i::before,
.brand-mark i::after {
  content: "";
  position: absolute;
  background: var(--brass);
  border-radius: 999px;
}

.brand-mark i::before {
  width: 3px;
  height: 24px;
  left: 6.5px;
}

.brand-mark i::after {
  width: 16px;
  height: 3px;
  top: 8px;
  left: 0;
}

.brand strong {
  display: block;
  line-height: 1.05;
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(23, 24, 25, 0.38);
}

.brand small {
  display: block;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.84rem;
  margin-top: 4px;
}

.nav {
  justify-self: end;
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 700;
}

.header.scrolled .brand strong {
  color: var(--ink);
  text-shadow: none;
}

.header.scrolled .brand small {
  color: var(--muted);
}

.header.scrolled .nav {
  color: #414642;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu {
  display: none;
}

/* Buttons */

.button {
  min-height: 54px;
  padding: 0 25px;
  border-radius: var(--radius);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.dark {
  background: var(--sage-dark);
  color: var(--ivory);
  box-shadow: 0 18px 50px rgba(56, 67, 60, 0.25);
}

.button.light {
  background: rgba(255, 253, 248, 0.84);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 142px 0 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-visual,
.hero-shade {
  position: absolute;
}

.hero-visual,
.hero-shade {
  inset: 0;
}

.hero-visual {
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(23, 24, 25, 0.9), rgba(23, 24, 25, 0.54) 52%, rgba(23, 24, 25, 0.24)),
    linear-gradient(180deg, rgba(23, 24, 25, 0.08), rgba(23, 24, 25, 0.2));
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  opacity: 0;
  filter: saturate(0.72) brightness(0.92);
  transform: scale(1.04);
  animation: heroFade 24s ease-in-out infinite;
}

.hero-slide.slide-001 {
  background-image: url("bilder/01.png");
  background-position: center right;
  opacity: 1;
  animation: heroZoom 12s ease-in-out infinite;
}

.hero-slide.slide-2 {
  background-image: url("bilder/02.png");
  background-position: center;
  animation-delay: 8s;
}

.hero-slide.slide-3 {
  background-image: url("bilder/03.png");
  background-position: center right;
  animation-delay: 16s;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(23, 24, 25, 0.08), rgba(23, 24, 25, 0.12) 60%, var(--paper)),
    radial-gradient(circle at 76% 26%, rgba(184, 154, 99, 0.22), transparent 28%);
}

.hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.09px, 0.09vw, 0.09px);
  max-width: min(1320px, 100%);
}

.hero-title h1 {
  max-width: 980px;
}

.hero-cross {
  position: relative;
  z-index: 6;
  width: clamp(170px, 16vw, 292px);
  height: clamp(235px, 24vw, 405px);
  opacity: 1;
  pointer-events: none;
  justify-self: start;
}

.cross-line,
.cross-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.cross-line {
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.3), rgba(214, 183, 115, 0.96), rgba(255, 253, 248, 0.2));
  box-shadow:
    0 0 30px rgba(214, 183, 115, 0.38),
    0 0 110px rgba(255, 253, 248, 0.2),
    inset 0 0 0 1px rgba(255, 253, 248, 0.28);
}

.cross-line.vertical {
  width: clamp(12px, 1.25vw, 19px);
  height: 100%;
  animation: crossBreath 6s ease-in-out infinite;
}

.cross-line.horizontal {
  top: 34%;
  width: 58%;
  height: clamp(12px, 1.25vw, 19px);
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.22), rgba(214, 183, 115, 0.96), rgba(255, 253, 248, 0.22));
  animation: crossBreath 6s ease-in-out 0.8s infinite;
}

.cross-ring {
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 183, 115, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 183, 115, 0.18), transparent 64%);
  animation: crossHalo 9s ease-in-out infinite;
}

.hero-layout {
  position: relative;
  z-index: 5;
  display: block;
}

.hero-copy {
  color: var(--ivory);
}

.hero-copy p:not(.kicker) {
  max-width: 680px;
  margin: 20px 0 28px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* About */

.about {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.78) 0%, rgba(23, 24, 25, 0.14) 16%, rgba(56, 67, 60, 0.18) 42%, rgba(247, 244, 238, 0.5) 72%, rgba(255, 253, 248, 0.84) 100%),
    linear-gradient(180deg, var(--paper), var(--ivory) 54%, #eee7dc);
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.62) saturate(0.9);
  opacity: 1;
}

.about::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.9) 0%, rgba(255, 253, 248, 0.4) 12%, rgba(23, 24, 25, 0.12) 28%, rgba(255, 253, 248, 0.54) 66%, rgba(255, 253, 248, 0.9) 100%),
    linear-gradient(128deg, transparent 0%, transparent 36%, rgba(184, 154, 99, 0.06) 43%, rgba(255, 253, 248, 0.16) 50%, rgba(184, 154, 99, 0.05) 57%, transparent 66%),
    radial-gradient(circle at 18% 44%, rgba(184, 154, 99, 0.18), transparent 32%);
  background-size: 100% 100%, 170% 170%, 120% 120%;
  background-position: center, -46% 50%, 0% 50%;
  opacity: 1;
  animation: aboutBackgroundGleam 18s ease-in-out infinite alternate;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 76px;
  row-gap: 44px;
  align-items: start;
}

.about-image {
  display: none;
}

.about-image::after {
  content: none;
}

.about-slide {
  display: none;
}

.about-copy {
  max-width: 760px;
}

.about-copy>p:not(.kicker) {
  margin-top: 26px;
  max-width: 700px;
  font-size: clamp(1.18rem, 1.5vw, 1.32rem);
  line-height: 1.75;
  font-weight: 600;
  color: #2f3933;
  text-shadow: 0 1px 0 rgba(255, 253, 248, 0.65);
}

.animated-heading {
  color: transparent;
  background:
    linear-gradient(110deg,
      var(--ink) 0%,
      var(--sage-dark) 28%,
      var(--brass) 48%,
      var(--wine) 62%,
      var(--ink) 82%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: headingColorFlow 10s ease-in-out infinite alternate;
}

.value-list {
  grid-column: 1 / -1;
  width: min(calc(100vw - 128px), 1440px);
  margin-left: calc(50% - min(calc(100vw - 128px), 1440px) / 2);
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.value-list div {
  position: relative;
  min-height: 470px;
  padding: 235px 30px 34px;
  border: 20px solid rgba(184, 154, 99, 0.58);
  border-radius: 0px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 244, 238, 0.88));
  box-shadow:
    0 24px 70px rgba(23, 24, 25, 0.18),
    0 0 0 1px rgba(255, 253, 248, 0.46),
    inset 0 0 0 1px rgba(255, 253, 248, 0.72),
    inset 0 0 0 3px rgba(184, 154, 99, 0.14),
    inset 0 1px 0 rgba(255, 253, 248, 0.94);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 1.9s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 1.9s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 1.9s ease,
    background 1.9s ease;
}

.value-list div::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  z-index: 0;
  height: 170px;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, rgba(23, 24, 25, 0.04), rgba(23, 24, 25, 0.24)),
    url("bilder/stepp09.png") center / cover no-repeat;
  background-position: center, center;
  background-size: 100% 100%, 108% auto;
  box-shadow: inset 0 -1px 0 rgba(184, 154, 99, 0.32);
  filter: saturate(0.92) brightness(0.96);
  transition:
    filter 1.95s ease,
    box-shadow 1.95s ease,
    background-size 1.95s ease,
    background-position 1.95s ease;
}

.value-list div:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(23, 24, 25, 0.04), rgba(23, 24, 25, 0.24)),
    url("bilder/breat.png") center / cover no-repeat;
  background-position: center, center;
  background-size: 100% 100%, 108% auto;
}

.value-list div:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(23, 24, 25, 0.04), rgba(23, 24, 25, 0.24)),
    url("bilder/02.png") center / cover no-repeat;
  background-position: center, center;
  background-size: 100% 100%, 108% auto;
}

.value-list div::after {
  content: "";
  position: absolute;
  left: 52px;
  top: 172px;
  width: 54px;
  height: 54px;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 253, 248, 0.96) 0 22%, rgba(184, 154, 99, 0.88) 23% 44%, rgba(111, 62, 70, 0.22) 45% 66%, transparent 68%);
  box-shadow:
    0 14px 34px rgba(23, 24, 25, 0.2),
    0 0 0 1px rgba(255, 253, 248, 0.58);
  animation: valuePointGlow 4.8s ease-in-out infinite;
  transition: box-shadow 1.95s ease, filter 1.95s ease;
}

.value-list div:hover {
  transform: translateY(-20px);
  border-color: rgba(184, 154, 99, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(247, 244, 238, 0.92));
  box-shadow:
    0 28px 76px rgba(23, 24, 25, 0.18),
    0 10px 28px rgba(111, 62, 70, 0.05),
    0 0 0 1px rgba(255, 253, 248, 0.58),
    inset 0 0 0 1px rgba(255, 253, 248, 0.8),
    inset 0 0 0 4px rgba(184, 154, 99, 0.16),
    inset 0 1px 0 rgba(255, 253, 248, 0.96),
    0 0 24px rgba(184, 154, 99, 0.12);
}

.value-list div:hover::before {
  filter: saturate(0.10) brightness(0.90);
  animation: valueImageHover 10s ease-in-out infinite alternate;
  box-shadow:
    inset 0 -1px 0 rgba(184, 154, 99, 0.4),
    inset 0 -64px 80px rgba(23, 24, 25, 0.06);
}

.value-list div:hover::after {
  filter: brightness(0.04);
  box-shadow:
    0 14px 32px rgba(23, 24, 25, 0.18),
    0 0 0 1px rgba(255, 253, 248, 0.66),
    0 0 14px rgba(184, 154, 99, 0.2);
}

.value-list strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.1;
}

.value-list span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.66;
}

.value-list a {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: auto;
  padding-top: 10px;
  color: var(--wine);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.7s ease, transform 0.7s ease;
}

.value-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: linear-gradient(90deg, var(--wine), var(--brass));
  transform: scaleX(0.46);
  transform-origin: left;
  transition: transform 0.7s ease;
}

.value-list a:hover::after {
  transform: scaleX(1);
}

.value-list div:hover a {
  color: var(--sage-dark);
  transform: translateX(1px);
}

/* Dark Section */

.dark-section {
  background:
    linear-gradient(135deg, rgba(253, 253, 253, 0.78), rgba(255, 255, 255, 0.98)),
    var(--ink);
  color: var(--ivory);
}

.dark-section p {
  color: rgba(255, 253, 248, 0.72);
}

.section-head {
  max-width: 850px;
  margin-bottom: 58px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Trauerfall */

.trauerfall {
  position: relative;
  overflow: hidden;
}

.trauerfall .section-head .kicker {
  color: #8a6b35;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 900;
}

.trauerfall .section-head>p:not(.kicker) {
  color: #2f3933;
  font-size: clamp(1.18rem, 1.5vw, 1.32rem);
  line-height: 1.65;
  font-weight: 600;
}

.trauerfall::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(184, 154, 99, 0.16), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(111, 62, 70, 0.16), transparent 32%);
  animation: darkSectionGlow 24s ease-in-out infinite alternate;
}

.trauerfall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.32;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.trauerfall .container {
  position: relative;
  z-index: 2;
}

.trauer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.trauer-card {
  position: relative;
  min-height: 410px;
  padding: 42px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.07);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transition: transform 0.45s ease, border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.trauer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23, 24, 25, 0.16), rgba(68, 68, 68, 0.84)),
    linear-gradient(135deg, rgba(56, 67, 60, 0.3), transparent 48%);
}

.trauer-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 3;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(255, 253, 248, 0.1);
  pointer-events: none;
}

.trauer-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  opacity: 1;
  transform: scale(1.02);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease, filter 0.55s ease;
  will-change: opacity, transform;
}

.trauer-slider {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.trauer-slider .trauer-image {
  opacity: 0;
  transform: scale(1.045);
  filter: saturate(1) brightness(1);
}

.trauer-slider .trauer-image.active {
  opacity: 1;
  transform: scale(1.015);
}

.trauer-slider-btn {
  position: absolute;
  top: 75%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
  background: rgba(23, 24, 25, 0.34);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 253, 248, 0.18);
  color: var(--warm);
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.trauer-slider-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  background: currentColor;
  transform: translate(-50%, -50%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.trauer-slider-btn.prev::before {
  transform: translate(-50%, -50%);
}

.trauer-slider-btn.next::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.trauer-slider-btn:hover,
.trauer-slider-btn:focus-visible {
  background: rgba(184, 154, 99, 0.72);
  border-color: rgba(255, 253, 248, 0.62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 22px rgba(184, 154, 99, 0.24);
  color: #fffdf8;
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.trauer-slider-btn.prev {
  left: 22px;
}

.trauer-slider-btn.next {
  right: 22px;
}

.trauer-slider-dots {
  position: absolute;
  top: 30px;
  right: 32px;
  z-index: 5;
  display: flex;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  background: rgba(23, 24, 25, 0.22);
  backdrop-filter: blur(12px);
}

.trauer-slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.42);
  transition: width 0.35s ease, background 0.35s ease;
}

.trauer-slider-dots span.active {
  width: 24px;
  border-radius: 999px;
  background: var(--brass);
}

.trauer-card:nth-child(1) .trauer-image {
  background-image: url("bilder/Stepp.png");
}

.trauer-card:nth-child(2) .trauer-image {
  background-image: url("bilder/urne.png");
}

.trauer-card:nth-child(3) .trauer-image {
  background-image: url("bilder/Bedarf.png");
}

.trauer-card:nth-child(4) .trauer-image {
  background-image: url("bilder/einbett.png");
}

.trauer-card:nth-child(5) .trauer-image {
  background-image: url("bilder/Sarg.png");
}

.trauer-card:nth-child(6) .trauer-image {
  background-image: url("bilder/kreuz.png");
}

.trauer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 154, 99, 0.55);
  background: rgba(255, 253, 248, 0.1);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.24), 0 0 36px rgba(184, 154, 99, 0.14);
}

.trauer-card:hover>.trauer-image {
  opacity: 0.76;
  filter: saturate(0.78) brightness(0.9);
  transform: scale(1.09);
}

.trauer-card:hover .trauer-slider .trauer-image {
  opacity: 0;
  filter: saturate(1) brightness(1);
  transform: scale(1.045);
}

.trauer-card:hover .trauer-slider .trauer-image.active {
  opacity: 1;
  filter: saturate(0.78) brightness(0.9);
  transform: scale(1.075);
}

.trauer-card>span:not(.trauer-image),
.trauer-card h3,
.trauer-card p {
  position: relative;
  z-index: 4;
}

.trauer-card>span:not(.trauer-image) {
  color: var(--brass);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}

.trauer-card h3 {
  margin-top: 92px;
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 2.1vw, 2.15rem);
}

.trauer-card p {
  font-size: 1.06rem;
  line-height: 1.72;
}

/* Rooms */

.rooms {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(104, 116, 106, 0.14), transparent 30%),
    linear-gradient(180deg, var(--ivory), #eee7dc);
}

.rooms-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.rooms-copy {
  position: relative;
  padding-left: 30px;
}

.rooms-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brass), rgba(184, 154, 99, 0.16));
}

.rooms-copy p:not(.kicker) {
  margin-top: 26px;
  max-width: 620px;
}

.rooms-note {
  max-width: 520px;
  padding-top: 24px;
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.28;
}

.room-cards {
  position: relative;
  min-height: 680px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 36px 100px rgba(23, 24, 25, 0.22),
    inset 0 0 0 1px rgba(255, 253, 248, 0.22),
    inset 0 0 0 4px rgba(184, 154, 99, 0.08);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-content: end;
}

.room-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 24, 25, 0.28), rgba(23, 24, 25, 0.1) 42%, rgba(23, 24, 25, 0.62)),
    linear-gradient(180deg, rgba(23, 24, 25, 0.12), rgba(23, 24, 25, 0.66));
}

.room-slide {
  position: absolute;
  inset: -14px;
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: blur(2px) saturate(0.86) brightness(0.8);
  opacity: 0;
  transform: scale(1.04);
  animation: roomFade 24s ease-in-out infinite;
}

.room-slide-1 {
  background-image: url("bilder/03.png");
}

.room-slide-2 {
  background-image: url("bilder/04.png");
  animation-delay: 8s;
}

.room-slide-3 {
  background-image: url("bilder/01.png");
  animation-delay: 16s;
}

.room-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  z-index: 2;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.18), rgba(255, 253, 248, 0.08));
  border: 1px solid rgba(255, 253, 248, 0.24);
  backdrop-filter: blur(18px);
  box-shadow:
    0 22px 58px rgba(23, 24, 25, 0.22),
    inset 0 1px 0 rgba(255, 253, 248, 0.2);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.65s ease, background 0.65s ease;
}

.room-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.08), transparent 42%),
    radial-gradient(circle at 14% 16%, rgba(184, 154, 99, 0.24), transparent 28%);
  opacity: 0.82;
  transition: opacity 0.65s ease;
}

.room-card>* {
  position: relative;
  z-index: 2;
}

.room-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 154, 99, 0.48);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.23), rgba(255, 253, 248, 0.1));
}

.room-card:hover::before {
  opacity: 1;
}

.room-card span {
  color: var(--brass);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.room-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.room-card p {
  color: rgba(255, 253, 248, 0.82);
}

/* Vorsorge */

.vorsorge {
  background:
    linear-gradient(90deg, rgba(23, 24, 25, 0.84), rgba(23, 24, 25, 0.62) 48%, rgba(23, 24, 25, 0.78)),
    linear-gradient(rgba(23, 24, 25, 0.28), rgba(23, 24, 25, 0.54)),
    url("bilder/05.png") center/cover fixed;
  color: var(--ivory);
}

.vorsorge-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: clamp(38px, 5vw, 64px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.14), rgba(255, 253, 248, 0.06));
  border: 1px solid rgba(255, 253, 248, 0.24);
  backdrop-filter: blur(20px);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(184, 154, 99, 0.12),
    inset 0 1px 0 rgba(255, 253, 248, 0.22);
}

.vorsorge-panel p:not(.kicker) {
  margin-top: 26px;
  color: rgba(255, 253, 248, 0.76);
  max-width: 640px;
}

.vorsorge-list {
  position: relative;
  display: grid;
  gap: 0;
  align-self: center;
  padding: 12px 0;
}

.vorsorge-list div {
  position: relative;
  min-height: auto;
  padding: 26px 0 26px 74px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  color: rgba(255, 253, 248, 0.9);
  box-shadow: none;
  font-size: 1.08rem;
  line-height: 1.58;
  transition:
    color 0.7s ease,
    border-color 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.vorsorge-list div:first-child {
  border-top: 1px solid rgba(255, 253, 248, 0.18);
}

.vorsorge-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 253, 248, 0.86) 0 12%, rgba(184, 154, 99, 0.92) 13% 22%, transparent 23%),
    linear-gradient(180deg, rgba(184, 154, 99, 0.22), rgba(184, 154, 99, 0.04));
  border: 1px solid rgba(184, 154, 99, 0.42);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 253, 248, 0.16);
}

.vorsorge-list div:hover {
  transform: translateX(4px);
  border-color: rgba(184, 154, 99, 0.36);
  color: rgba(255, 253, 248, 0.98);
}

.vorsorge-list span {
  display: none;
}

/* Memorial */

.memorial {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--ivory) 48%, rgba(56, 67, 60, 0.2) 100%),
    var(--paper);
}

.memorial-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(54px, 7vw, 110px);
  align-items: center;
}

.memorial-board {
  position: relative;
  min-height: 700px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 24, 25, 0.9), rgba(56, 67, 60, 0.82)),
    var(--ink-soft);
  box-shadow:
    0 36px 110px rgba(23, 24, 25, 0.22),
    inset 0 0 0 1px rgba(255, 253, 248, 0.1);
  isolation: isolate;
}

.memorial-board::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(72%, 430px);
  aspect-ratio: 0.72;
  border-radius: 3px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.08)),
    url("bilder/06.png") center top / cover no-repeat;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 253, 248, 0.42);
  transform: translate(-50%, -50%) rotate(-2.5deg);
  filter: saturate(0.78) brightness(0.9);
}

.memorial-board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(184, 154, 99, 0.22), transparent 28%),
    radial-gradient(circle at 18% 84%, rgba(255, 193, 79, 0.2), transparent 24%),
    linear-gradient(180deg, transparent 46%, rgba(23, 24, 25, 0.38));
}

.memorial-card {
  position: absolute;
  z-index: 2;
  display: block;
  width: min(48%, 310px);
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(247, 244, 238, 0.78));
  border: 1px solid rgba(255, 253, 248, 0.64);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(184, 154, 99, 0.12);
  transform: rotate(3deg);
}

.memorial-card.soft {
  right: clamp(20px, 5vw, 58px);
  bottom: 142px;
  transform: rotate(-4deg);
}

.memorial-card:not(.soft) {
  left: clamp(18px, 4vw, 48px);
  top: 74px;
}

.photo {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 253, 248, 0.95) 0 18%, rgba(184, 154, 99, 0.92) 19% 48%, rgba(111, 62, 70, 0.2) 49% 70%, transparent 72%);
  box-shadow: 0 12px 28px rgba(23, 24, 25, 0.16);
}

.photo.second {
  background:
    radial-gradient(circle, rgba(255, 253, 248, 0.95) 0 16%, rgba(104, 116, 106, 0.72) 17% 46%, rgba(184, 154, 99, 0.26) 47% 70%, transparent 72%);
}

.memorial-card small {
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.memorial-card strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  margin: 5px 0;
}

.memorial-card p {
  color: var(--muted);
  line-height: 1.55;
}

.memorial-copy {
  position: relative;
}

.memorial-copy::before {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

.candle {
  position: relative;
  width: 30px;
  height: 78px;
  background: #f1eee7;
  border: 2px solid rgba(23, 24, 25, 0.62);
  border-radius: 4px 4px 2px 2px;
  box-shadow: none;
}

.candle.small {
  width: 25px;
  height: 56px;
}

.candle.tall {
  width: 34px;
  height: 100px;
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  width: 3px;
  height: 13px;
  background: #111;
  border-radius: 999px;
  transform: translateX(-50%);
}

.candle span {
  position: absolute;
  left: 50%;
  top: -34px;
  width: 18px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50% 50% 46% 46%;
  background: #fffdf8;
  border: 2px solid #111;
  animation: flame 1.8s ease-in-out infinite;
}

.candle span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 6px;
  height: 9px;
  border-radius: 50% 50% 45% 45%;
  background: #111;
  transform: translateX(-50%);
}

.memorial-copy p:not(.kicker) {
  margin: 26px 0 32px;
  max-width: 650px;
}

/* Reviews */

.reviews {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 24, 25, 0.98), rgba(45, 52, 48, 0.94), rgba(75, 50, 56, 0.9), rgba(23, 24, 25, 0.98));
  background-size: 180% 180%;
  animation: reviewsColorFlow 34s ease-in-out infinite alternate;
}

.reviews::before {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(184, 154, 99, 0.12), transparent 34%),
    radial-gradient(circle at 78% 36%, rgba(255, 253, 248, 0.045), transparent 32%),
    radial-gradient(circle at 50% 92%, rgba(111, 62, 70, 0.1), transparent 38%);
  filter: blur(10px);
  animation: reviewsGlowDrift 38s ease-in-out infinite alternate;
}

.reviews .container {
  position: relative;
  z-index: 2;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  position: relative;
  min-height: 260px;
  padding: 72px 30px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 253, 248, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.13), rgba(255, 253, 248, 0.055));
  backdrop-filter: blur(14px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(184, 154, 99, 0.08),
    inset 0 1px 0 rgba(255, 253, 248, 0.16);
  overflow: hidden;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.7s ease,
    background 0.7s ease,
    box-shadow 0.7s ease;
}

.review::before {
  content: "“";
  position: absolute;
  left: 26px;
  top: 12px;
  color: rgba(184, 154, 99, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  line-height: 1;
}

.review::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 154, 99, 0.64), transparent);
}

.review:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 154, 99, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.17), rgba(255, 253, 248, 0.075));
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(184, 154, 99, 0.18),
    inset 0 1px 0 rgba(255, 253, 248, 0.2);
}

.review p {
  position: relative;
  z-index: 1;
  color: rgba(255, 253, 248, 0.84);
  font-size: 1.05rem;
  line-height: 1.68;
}

.review strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 28px;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

/* Quote */

.quote {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  padding: 190px 0;
  background: var(--ink);
  display: flex;
  align-items: center;
}

.quote::before {
  content: "";
  position: absolute;
  inset: -4%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 24, 25, 0.62), rgba(23, 24, 25, 0.22) 46%, rgba(255, 253, 248, 0.16)),
    linear-gradient(180deg, rgba(23, 24, 25, 0.12), rgba(23, 24, 25, 0.34)),
    url("bilder/07.png") center / cover no-repeat;
  animation: quoteImageZoom 14s ease-in-out infinite alternate;
}

.quote::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -24%;
  width: min(58vw, 780px);
  aspect-ratio: 1;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 4deg, rgba(255, 253, 248, 0.16) 0deg 5deg, transparent 5deg 16deg),
    radial-gradient(circle, rgba(255, 253, 248, 0.58) 0 8%, rgba(255, 253, 248, 0.28) 18%, rgba(184, 154, 99, 0.12) 34%, transparent 62%);
  filter: blur(0.5px);
  opacity: 0.68;
  animation: quoteSunPulse 9s ease-in-out infinite;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle, #000 0%, #000 34%, rgba(0, 0, 0, 0.72) 48%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, #000 34%, rgba(0, 0, 0, 0.72) 48%, transparent 72%);
}

.quote .container::before {
  content: "";
  position: absolute;
  inset: -40vh -30vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 253, 248, 0.34), transparent 24%),
    radial-gradient(circle at 28% 78%, rgba(184, 154, 99, 0.2), transparent 30%);
  animation: quoteLightDrift 16s ease-in-out infinite alternate;
}

.quote .container {
  position: relative;
  z-index: 2;
}

.quote p {
  position: relative;
  max-width: 980px;
  font-family: Georgia, serif;
  font-size: clamp(2.25rem, 5.3vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--ivory);
  text-shadow:
    0 3px 20px rgba(23, 24, 25, 0.42),
    0 18px 60px rgba(23, 24, 25, 0.34);
}

.quote p::before {
  content: "";
  position: absolute;
  left: 0;
  top: -26px;
  width: 94px;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), rgba(255, 253, 248, 0.18));
  animation: quoteLineGlow 4.8s ease-in-out infinite;
}

/* Contact */

.contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
}

.contact-copy p:not(.kicker) {
  margin-top: 26px;
  max-width: 620px;
}

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

.contact-details p {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 24, 25, 0.14);
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 14px 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(104, 116, 106, 0.14);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.7);
  padding: 42px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.footer strong {
  color: var(--ivory);
}

.footer a {
  margin-left: 22px;
  color: rgba(255, 253, 248, 0.74);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* Animations */

@keyframes heroZoom {

  0%,
  100% {
    transform: scale(1.04);
  }

  50% {
    transform: scale(1.12);
  }
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  8% {
    opacity: 1;
  }

  34% {
    opacity: 1;
  }

  43% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes roomFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  8% {
    opacity: 1;
  }

  34% {
    opacity: 1;
  }

  43% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes aboutFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  8% {
    opacity: 1;
  }

  34% {
    opacity: 1;
  }

  43% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes borderTurn {
  to {
    --border-angle: 360deg;
  }
}

@keyframes aboutCalmLight {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
    opacity: 0.72;
  }

  50% {
    transform: translate3d(1%, 1.5%, 0) scale(1.04);
    opacity: 0.95;
  }

  100% {
    transform: translate3d(2%, -0.5%, 0) scale(1.02);
    opacity: 0.78;
  }
}

@keyframes aboutSoftGradient {
  0% {
    transform: translate3d(-1%, 0, 0) scale(1);
    opacity: 0.58;
  }

  50% {
    transform: translate3d(1.5%, -1%, 0) scale(1.03);
    opacity: 0.78;
  }

  100% {
    transform: translate3d(0.5%, 1%, 0) scale(1.02);
    opacity: 0.66;
  }
}

@keyframes aboutBackgroundGleam {
  0% {
    background-position: center, -48% 54%, 0% 52%;
  }

  50% {
    background-position: center, 42% 46%, 34% 44%;
  }

  100% {
    background-position: center, 114% 52%, 62% 50%;
  }
}

@keyframes headingColorFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes valuePointGlow {

  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.82;
    filter: brightness(0.96);
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
    filter: brightness(1.16);
  }
}

@keyframes valueImageHover {
  0% {
    background-position: center, center;
    background-size: 100% 100%, 108% auto;
  }

  50% {
    background-position: center, 49% 48%;
    background-size: 100% 100%, 110% auto;
  }

  100% {
    background-position: center, 51% 47%;
    background-size: 100% 100%, 112% auto;
  }
}

@keyframes darkSectionGlow {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
    opacity: 0.95;
  }

  100% {
    transform: translate3d(1%, -0.5%, 0) scale(1.02);
    opacity: 0.72;
  }
}

@keyframes crossPatternDrift {
  0% {
    background-position: 24px 12px;
    opacity: 0.24;
  }

  50% {
    background-position: 64px -18px;
    opacity: 0.34;
  }

  100% {
    background-position: 108px 28px;
    opacity: 0.28;
  }
}

@keyframes reviewsColorFlow {
  0% {
    background-position: 0% 40%;
  }

  50% {
    background-position: 78% 62%;
  }

  100% {
    background-position: 100% 48%;
  }
}

@keyframes reviewsGlowDrift {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
    opacity: 0.74;
  }

  50% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
    opacity: 1;
  }

  100% {
    transform: translate3d(0.5%, -0.5%, 0) scale(1.02);
    opacity: 0.82;
  }
}

@keyframes quoteLightDrift {
  0% {
    transform: translate3d(-1.2%, 0, 0) scale(1);
    opacity: 0.72;
  }

  100% {
    transform: translate3d(1.4%, -1%, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes quoteImageZoom {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }

  100% {
    transform: scale(1.015);
  }
}

@keyframes quoteSunPulse {

  0%,
  100% {
    transform: rotate(0deg) scale(0.96);
    opacity: 0.5;
  }

  50% {
    transform: rotate(8deg) scale(1.06);
    opacity: 0.82;
  }
}

@keyframes quoteLineGlow {

  0%,
  100% {
    opacity: 0.62;
    transform: scaleX(0.72);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes preloaderMark {

  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-3px) scale(1.04);
    filter: brightness(1.12);
  }
}

@keyframes crossBreath {

  0%,
  100% {
    opacity: 0.72;
    filter: brightness(0.95);
  }

  50% {
    opacity: 1;
    filter: brightness(1.28);
  }
}

@keyframes crossHalo {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.94);
    opacity: 0.32;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 0.68;
  }
}

@keyframes flame {

  0%,
  100% {
    transform: translateX(-50%) scaleY(1);
    opacity: 0.82;
  }

  42% {
    transform: translateX(-50%) scaleY(1.08);
    opacity: 1;
  }

  76% {
    transform: translateX(-50%) scaleY(0.94);
    opacity: 0.9;
  }
}

/* Responsive */

@media (min-width: 901px) {
  .hero-actions .button {
    min-width: 240px;
    min-height: 64px;
    padding: 0 36px;
    font-size: 1.25rem;
    font-weight: 800;
  }

  .hero-actions .button.dark {
    background: #38433c;
    color: #fffdf8;
  }

  .hero-actions .button.light {
    background: #fffdf8;
    color: #2f3933;
    border-color: rgba(56, 67, 60, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.slide-001 {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .header {
    min-height: 84px;
    gap: 24px;
    padding: 14px 24px;
  }

  .nav {
    gap: 15px;
    font-size: 0.85rem;
  }

  .about-grid,
  .rooms-grid,
  .vorsorge-panel,
  .memorial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trauer-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trauer-card {
    min-height: 380px;
    padding: 36px;
  }

  .trauer-card h3 {
    margin-top: 76px;
  }

  .review {
    min-height: 240px;
  }

  .value-list {
    width: 100%;
    margin-left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .room-cards {
    min-height: 560px;
  }

  .room-card {
    min-height: 230px;
  }

  .hero-title {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }

  .hero-cross {
    width: 180px;
    height: 250px;
    opacity: 0.95;
  }
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    position: fixed;
    top: 104px;
    right: 18px;
    width: min(340px, calc(100% - 36px));
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu {
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: var(--radius);
    background: var(--sage-dark);
    display: grid;
    place-items: center;
  }

  .menu span {
    width: 18px;
    height: 1px;
    background: var(--ivory);
    display: block;
  }

  .menu span+span {
    margin-top: 7px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .value-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .preloader-mark {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .preloader-mark .brand-mark {
    width: 62px;
    height: 62px;
  }

  .header {
    top: 0;
    width: 100%;
    min-height: 72px;
    padding: 12px 16px;
  }

  .header.scrolled {
    top: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .nav {
    top: 72px;
  }

  .container {
    width: min(100% - 34px, var(--container));
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 54px;
  }

  .hero-title {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-cross {
    width: 96px;
    height: 134px;
    justify-self: start;
    opacity: 0.82;
  }

  .hero-actions,
  .footer-grid {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quote {
    min-height: 76vh;
    padding: 130px 0;
  }

  .quote::before {
    background-position: 58% center;
  }

  .trauer-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .trauer-card {
    min-height: 360px;
    padding: 30px;
  }

  .trauer-slider-btn {
    width: 40px;
    height: 40px;
  }

  .trauer-slider-btn.prev {
    left: 18px;
  }

  .trauer-slider-btn.next {
    right: 18px;
  }

  .trauer-slider-dots {
    top: 24px;
    right: 24px;
  }

  .trauer-card h3 {
    margin-top: 64px;
  }

  .review {
    min-height: auto;
  }

  .value-list div {
    min-height: 430px;
    padding: 210px 30px 30px;
  }

  .value-list div::before {
    top: 30px;
    left: 30px;
    right: 30px;
    height: 150px;
  }

  .value-list div::after {
    left: 52px;
    top: 152px;
  }

  .about-image {
    min-height: 430px;
  }

  .about::before {
    background-position: center top;
    background-size: cover;
  }

  .about::after {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.82) 0%, rgba(255, 253, 248, 0.34) 14%, rgba(23, 24, 25, 0.08) 36%, rgba(255, 253, 248, 0.56) 72%, rgba(255, 253, 248, 0.9) 100%),
      linear-gradient(128deg, transparent 0%, transparent 36%, rgba(184, 154, 99, 0.05) 43%, rgba(255, 253, 248, 0.12) 50%, rgba(184, 154, 99, 0.04) 57%, transparent 66%),
      radial-gradient(circle at 18% 44%, rgba(184, 154, 99, 0.14), transparent 32%);
    background-size: 100% 100%, 190% 190%, 130% 130%;
  }

  .rooms-copy {
    padding-left: 22px;
  }

  .room-cards {
    min-height: auto;
    padding: 22px;
    grid-template-columns: 1fr;
    background-position: center;
  }

  .room-card {
    min-height: 230px;
    padding: 24px;
  }

  .vorsorge-panel,
  .contact-form {
    padding: 26px 20px;
  }

  .vorsorge-list {
    padding-top: 4px;
  }

  .vorsorge-list div {
    padding: 22px 0 22px 62px;
  }

  .memorial-board {
    min-height: 620px;
  }

  .memorial-board::before {
    width: min(76%, 360px);
  }

  .memorial-card {
    width: min(70%, 280px);
    padding: 20px;
  }

  .memorial-card:not(.soft) {
    left: 18px;
    top: 42px;
  }

  .memorial-card.soft {
    right: 18px;
    bottom: 118px;
  }

  .footer a {
    display: block;
    margin: 10px 0 0;
  }
}

.impressum-sector {
  position: relative;
  overflow: hidden;
  padding: 180px 0 150px;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 154, 99, 0.16), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(104, 116, 106, 0.16), transparent 34%),
    linear-gradient(145deg, var(--ivory), var(--paper) 55%, #eee8dc);
  color: var(--ink);
}

.impressum-sector::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
}

.impressum-sector .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.impressum-sector h2 {
  margin-bottom: 52px;
  color: var(--sage-dark);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.impressum-sector h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-dark), var(--brass));
}

.impressum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
  align-items: stretch;
}

.impressum-block {
  padding: 32px 28px;
  border: 1px solid rgba(56, 67, 60, 0.12);
  border-top: 3px solid var(--brass);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 50px rgba(23, 24, 25, 0.08);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .impressum-sector {
    padding: 150px 0 100px;
  }

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

.impressum-block h3,
.impressum-disclaimer h3 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--sage-dark);
}

.impressum-block h3:not(:first-child) {
  margin-top: 28px;
}

.impressum-block p,
.impressum-disclaimer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.impressum-sector .divider {
  border: 0;
  border-top: 1px solid rgba(56, 67, 60, 0.16);
  margin: 40px 0 30px;
}

.impressum-disclaimer {
  padding: 32px clamp(24px, 5vw, 52px);
  border-radius: 12px;
  background: var(--sage-dark);
  box-shadow: var(--shadow);
}

.impressum-disclaimer h3 {
  color: var(--ivory);
}

.impressum-disclaimer p {
  color: rgba(255, 253, 248, 0.82);
}

.disclaimer-sector {
  background-color: #fafafa;
  /* Minimaler Off-White Ton */
  padding: 60px 100px;
  /* Vertikal 60px, Horizontal 100px */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #444;
}

.disclaimer-sector .container {
  max-width: 1200px;
  margin: 0 auto;
}

.disclaimer-sector h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 12px;
}

/* Kleiner visueller Akzent unter der Hauptüberschrift */
.disclaimer-sector h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #0066cc;
  /* Dezenter blauer Akzent */
}

/* Layout für die 3 Hauptblöcke (fließt bei kleineren Bildschirmen untereinander) */
.disclaimer-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 40px;
}

.disclaimer-block h3,
.disclaimer-footer-box h3 {
  font-size: 1.2rem;
  color: #111;
  margin-top: 0;
  margin-bottom: 12px;
}

.disclaimer-block p,
.disclaimer-footer-box p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Extra hervorgehobene Box für die EU-Streitschlichtung */
.disclaimer-footer-box {
  background-color: #f0f4f8;
  padding: 20px 25px;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
}

.disclaimer-footer-box a {
  color: #0066cc;
  text-decoration: none;
}

.disclaimer-footer-box a:hover {
  text-decoration: underline;
}

/* Responsive Anpassung: Auf Smartphones das horizontale Padding reduzieren */
@media (max-width: 768px) {
  .disclaimer-sector {
    padding: 40px 20px;
    /* Weniger Abstand auf Handys, damit der Text Platz hat */
  }
}

/* Datenschutz – passend zum Impressum */
.disclaimer-sector {
  position: relative;
  overflow: hidden;
  padding: 180px 0 150px;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 154, 99, 0.16), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(104, 116, 106, 0.16), transparent 34%),
    linear-gradient(145deg, var(--ivory), var(--paper) 55%, #eee8dc);
  color: var(--ink);
}

.disclaimer-sector::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
}

.disclaimer-sector .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.disclaimer-sector .container > h2 {
  margin-bottom: 52px;
  padding-bottom: 0;
  color: var(--sage-dark);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  text-align: center;
}

.disclaimer-sector .container > h2::after {
  position: static;
  display: block;
  width: 74px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-dark), var(--brass));
}

.disclaimer-grid {
  gap: 22px;
  margin-bottom: 0;
}

.disclaimer-block {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(56, 67, 60, 0.12);
  border-top: 3px solid var(--brass);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 18px 50px rgba(23, 24, 25, 0.08);
  backdrop-filter: blur(10px);
}

.disclaimer-block h3,
.disclaimer-footer-box h3 {
  margin: 30px 0 14px;
  color: var(--sage-dark);
  font-size: 1.35rem;
}

.disclaimer-block h3:first-child {
  margin-top: 0;
}

.disclaimer-block h2 {
  margin: 36px 0 16px;
  padding: 0;
  color: var(--sage-dark);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.disclaimer-block h2::after {
  content: none;
}

.disclaimer-block p,
.disclaimer-footer-box p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.disclaimer-footer-box {
  padding: clamp(28px, 5vw, 46px);
  border: 0;
  border-radius: 12px;
  background: var(--sage-dark);
  box-shadow: var(--shadow);
}

.disclaimer-footer-box h3 {
  margin-top: 0;
  color: var(--ivory);
}

.disclaimer-footer-box p {
  color: rgba(255, 253, 248, 0.82);
}

.disclaimer-footer-box a {
  color: #e4c98f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer-footer-box a:hover {
  color: var(--ivory);
}

@media (max-width: 768px) {
  .disclaimer-sector {
    padding: 150px 0 100px;
  }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Styling für die Feedback-Meldungen */
.msg-loading {
  color: #555;
  background: #f5f5f5;
  padding: 12px 15px;
  border-left: 4px solid #999;
  border-radius: 4px;
}

.msg-success {
  color: #1b5e20;
  background: #e8f5e9;
  padding: 15px;
  border-left: 4px solid #2e7d32;
  border-radius: 4px;
}

.msg-error {
  color: #b71c1c;
  background: #ffebee;
  padding: 15px;
  border-left: 4px solid #c62828;
  border-radius: 4px;
}
