.atmanjali-startseite {
  --tempel-rot: #780b1b;
  --tempel-dunkelrot: #48151c;
  --tempel-creme: #fcf7ed;
  --tempel-sand: #f0dfc8;
  --tempel-gold: #bc934d;
  --tempel-text: #30231f;
  --tempel-linie: #cdb696;
  --tempel-breite: 72rem;
  --tempel-rand: clamp(1rem, 3vw, 2.5rem);
  --tempel-serif: Georgia, "Times New Roman", serif;
  --tempel-sans: system-ui, sans-serif;
}

.tempel-sprung {
  position: absolute;
  z-index: 1000;
  top: 0.6rem;
  left: var(--tempel-rand);
  transform: translateY(calc(-100% - 1rem));
  padding: 0.5rem 1rem;
  background: var(--tempel-dunkelrot);
  color: #fff;
  font: 1rem/1.5 var(--tempel-sans);
}

.tempel-sprung:focus {
  transform: none;
}

.atmanjali-startseite .cc-window {
  border-top: 2px solid var(--tempel-gold);
  background-color: var(--tempel-creme);
  color: var(--tempel-text);
}

.atmanjali-startseite .cc-window .cc-btn {
  border-color: var(--tempel-rot);
  background-color: var(--tempel-rot);
  color: white;
}

.atmanjali-startseite .cc-window .cc-btn:is(:hover, :focus-visible) {
  border-color: var(--tempel-dunkelrot);
  background-color: var(--tempel-dunkelrot);
}

.tempel-kopf {
  display: grid;
  grid-template-areas: "logo kontakt" "logo menue";
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  align-items: center;
  column-gap: clamp(1.75rem, 6vw, 6rem);
  padding: 0 max(var(--tempel-rand), calc((100% - var(--tempel-breite)) / 2)) 0.85rem;
  background: linear-gradient(110deg, var(--tempel-rot), var(--tempel-dunkelrot));
  color: #fff3d4;
}

.tempel-kopf > .clearfloat {
  display: none;
}

.tempel-kopf #logo {
  grid-area: logo;
  float: none;
  width: auto;
  margin: 0;
  padding: 0.9rem 0 0;
  text-align: left;
}

.tempel-kopf #logo a,
.tempel-kopf #logo img {
  display: block;
  width: min(100%, 17.25rem);
  height: auto;
  margin: 0;
}

.tempel-kopf .phonestyle {
  grid-area: kontakt;
  align-self: start;
  justify-self: end;
  position: static;
  max-width: none;
  margin: 0;
  padding: 0 0.65rem 0 1.15rem;
  border-radius: 0 0 0.42rem 0.42rem;
  background: linear-gradient(115deg, #cead74, #ecdaa8 55%, #ceb078);
}

.tempel-kopf .phonestyle p {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font: 600 0.85rem/1.35 var(--tempel-sans);
}

.tempel-kopf .phonestyle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: #382719;
  white-space: nowrap;
}

.tempel-kopf .phonestyle a:first-child {
  margin-right: 0.45rem;
}

.tempel-kopf .phonestyle img {
  display: block;
  width: 1.45rem;
  height: auto;
}

.tempel-kopf #hauptmenue {
  grid-area: menue;
  justify-self: end;
  float: none;
  width: auto;
  margin: 0;
  padding: 0.25rem 0 0;
}

.tempel-kopf #hauptmenue ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem clamp(1.1rem, 3.2vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tempel-kopf #hauptmenue li {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.tempel-kopf #hauptmenue a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.18rem 0;
  border-bottom: 1px solid transparent;
  color: #fff3d4;
  font: 400 clamp(1.02rem, 1.4vw, 1.23rem)/1.25 var(--tempel-serif);
}

.tempel-kopf #hauptmenue a:hover,
.tempel-kopf #hauptmenue a[aria-current] {
  padding-bottom: 0.18rem;
  border-bottom: 1px solid #e6c586;
}

.tempel-kopf #menubar {
  display: none;
  grid-area: taste;
  width: auto;
  margin: 0;
  padding: 0;
}

.tempel-menutaste {
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: auto;
  padding: 0.45rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tempel-menutaste img {
  display: block;
  width: 2rem;
  height: auto;
}

.tempel-kopf :focus-visible,
.tempel-sprung:focus-visible {
  outline: 2px solid #fff3d4;
  outline-offset: 3px;
}

.tempel-kopf .phonestyle :focus-visible {
  outline-color: #58232a;
  outline-offset: -2px;
}

.tempel-start {
  color: var(--tempel-text);
  background: var(--tempel-creme);
  font: 1rem/1.65 var(--tempel-sans);
}

.tempel-start h2 {
  margin: 0 0 0.55em;
  color: var(--tempel-rot);
  font: 400 clamp(1.95rem, 3.5vw, 3.1rem)/1.12 var(--tempel-serif);
  letter-spacing: -0.025em;
  text-align: left;
  text-wrap: balance;
}

.tempel-start strong {
  font-weight: 680;
}

.tempel-start :where(h2, section[id], details[id], figure[id]) {
  scroll-margin-top: 1.5rem;
}

.tempel-start :focus-visible {
  outline: 2px solid var(--tempel-rot);
  outline-offset: 4px;
}

.startseiten-uebergang {
  padding: clamp(1.25rem, 4vw, 3.75rem) var(--tempel-rand) 0;
  background: radial-gradient(ellipse at 85% 0%, #e8c9a6, transparent 34rem),
    linear-gradient(var(--tempel-sand), var(--tempel-creme) 43rem);
}

.tempel-start .atmanjali-uebergang {
  --uebergang-akzent: var(--tempel-rot);
  --uebergang-schrift: var(--tempel-text);
  --uebergang-linie: var(--tempel-linie);
  --uebergang-bildflaeche: #eee3d3;
  width: min(100%, var(--tempel-breite));
  padding: 0;
  background: transparent;
}

.startseiten-auftakt {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: clamp(27rem, 40vw, 34rem);
  overflow: hidden;
  border: 1px solid var(--tempel-linie);
  border-radius: 0.35rem;
  background: var(--tempel-creme);
  box-shadow: 0 0.75rem 2.5rem #48151c15;
}

.startseiten-auftakt .auftakttext {
  align-self: center;
  padding: clamp(1.5rem, 4.65vw, 4.75rem);
}

.auftakttext::before {
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1.4rem;
  background: var(--tempel-gold);
  content: "";
}

.tempel-start .startseiten-auftakt .uebergang-titel {
  font-size: clamp(2.15rem, 4.6vw, 4.35rem);
  line-height: 1.045;
  letter-spacing: -0.035em;
  text-wrap: initial;
}

.startseiten-auftakt .auftakttext p:last-child {
  margin-bottom: 0;
}

.startseiten-auftakt .auftaktfoto {
  position: relative;
  min-height: 100%;
  background: var(--tempel-rot);
}

.startseiten-auftakt .auftaktfoto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 5%;
}

.auftaktfoto::after {
  position: absolute;
  inset: 0.7rem;
  border: 1px solid #ffe4a875;
  pointer-events: none;
  content: "";
}

.tempel-start .einblicke {
  max-width: 55rem;
  margin-block: 0;
  padding: clamp(2.75rem, 5.5vw, 5rem) 0 clamp(2.75rem, 5.5vw, 4.5rem);
}

.tempel-start .einblicke h2 {
  margin-bottom: 0.8em;
}

.tempel-start .einblicke details {
  background: #fffaf3;
}

.tempel-start .einblicke summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  min-height: 3.45rem;
  margin: 0;
  padding: 0.7rem clamp(0.8rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  list-style: none;
}

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

.einblicke summary::after {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.25rem 0.3rem 0 0;
  transform: rotate(45deg);
  border: solid var(--tempel-rot);
  border-width: 0 1.5px 1.5px 0;
  content: "";
}

.einblicke details[open] summary::after {
  margin-top: 0.25rem;
  transform: rotate(225deg);
}

.tempel-start .einblicke summary:focus-visible {
  outline-offset: -4px;
}

.tempel-start .vergleich {
  gap: clamp(0.65rem, 2vw, 1.45rem);
  padding: 0 clamp(0.8rem, 2.5vw, 1.5rem) 1.15rem;
}

.tempel-start .vergleich img {
  aspect-ratio: 1.1;
  border-radius: 0.15rem;
  background: #eee4d5;
}

.tempel-start .vergleich figcaption,
.brief-fotos figcaption {
  margin-top: 0.45rem;
  color: #5b4537;
  font: 550 0.9rem/1.45 var(--tempel-sans);
}

.tempel-start .einblicke > p {
  margin: 1.2rem 0 0;
}

.tempel-start a.tempel-aktion {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--tempel-rot);
  border-radius: 0.2rem;
  background: var(--tempel-rot);
  color: #fff8e9;
  font: 620 0.95rem/1.4 var(--tempel-sans);
  text-decoration: none;
}

.tempel-start a.tempel-aktion:hover {
  background: var(--tempel-dunkelrot);
}

.tempel-aktion span {
  color: #efd6ab;
  font: 1.28rem/1 var(--tempel-serif);
}

.tempel-brief {
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 6.5vw, 6rem) var(--tempel-rand);
  border-top: 1px solid #dfcfb6;
  background: #f9f1e5;
}

.brief-ornamente {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.brief-ornamente::before,
.brief-ornamente::after {
  --ornament: clamp(22rem, 50vw, 48rem);
  --ornament-deckkraft: 0.32;
  position: absolute;
  width: var(--ornament);
  aspect-ratio: 919 / 960;
  opacity: var(--ornament-deckkraft);
  -webkit-mask: url("bilder/mandala-ornament.webp") center / contain no-repeat;
  mask: url("bilder/mandala-ornament.webp") center / contain no-repeat;
  content: "";
}

.brief-ornamente::before {
  top: clamp(1rem, 5vw, 5rem);
  left: calc(var(--ornament) * -0.56);
  background: linear-gradient(95deg, #aa7436 20%, #8d4737 67%, transparent 98%);
}

.brief-ornamente::after {
  top: clamp(12rem, 24vw, 22rem);
  right: calc(var(--ornament) * -0.56);
  background: linear-gradient(265deg, #925a36 20%, #a67a37 66%, transparent 98%);
}

.brief-inhalt {
  width: min(100%, 43rem);
  margin-inline: auto;
}

.brief-inhalt h2 {
  max-width: 22ch;
}

.brief-inhalt p {
  margin: 0 0 1em;
  line-height: 1.75;
}

.brief-inhalt p:last-child {
  margin-bottom: 0;
}

.brief-fotos {
  width: min(100%, 55rem);
  margin: clamp(1.7rem, 3.4vw, 2.8rem) auto;
}

.foto-raster {
  display: grid;
  align-items: start;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.foto-raster img {
  display: block;
  width: 100%;
  height: auto;
}

.foto-raster--brita {
  grid-template-columns: minmax(0, 945fr) minmax(0, 1167fr);
}

.foto-raster--brita img {
  box-sizing: border-box;
  border: 1px solid #cdbba2;
  border-radius: 0.19rem;
}

.brief-fotos figcaption {
  margin-top: 0.65rem;
}

.tempel-brief #gutscheine {
  margin-block: 0 clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.15rem, 3.3vw, 2.5rem);
  border: 1px solid #cfb793;
  border-top: 3px solid var(--tempel-gold);
  background: #fff9ee;
}

.tempel-brief #gutschein-titel {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}

.brief-inhalt .brief-gruss {
  margin-top: 1.6rem;
}

.brief-gruss span {
  display: inline-block;
  margin-top: 0.32rem;
  color: var(--tempel-dunkelrot);
  font: italic 1.25rem/1.4 var(--tempel-serif);
}

.startseiten-auszeichnungen {
  padding: clamp(2.75rem, 6vw, 5.5rem) var(--tempel-rand);
  border-block: 1px solid var(--tempel-gold);
  background: radial-gradient(ellipse at 92% 3%, #772b34, transparent 43rem), var(--tempel-dunkelrot);
  color: #fff6e8;
}

.auszeichnungen-inhalt {
  max-width: 62rem;
  margin-inline: auto;
}

.auszeichnungen-auftakt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6.5rem, 15vw, 11rem);
  gap: clamp(1.6rem, 7vw, 6rem);
  align-items: center;
}

.auszeichnungen-auftakt h2 {
  color: #fff2dd;
}

.auszeichnungen-auftakt p {
  max-width: 41rem;
}

.auszeichnungen-plakette {
  display: block;
  justify-self: center;
  width: auto;
  max-width: 100%;
  height: clamp(10rem, 17vw, 15rem);
  object-fit: contain;
  filter: drop-shadow(0 0.4rem 0.55rem #240c0c60);
}

.foto-raster--auszeichnungen {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.16fr) minmax(0, 1.365fr);
  margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
}

.foto-raster--auszeichnungen figure {
  min-width: 0;
  margin: 0;
}

.foto-raster--auszeichnungen figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.6rem;
  color: #f3d9ac;
  font: 400 clamp(1.2rem, 1.8vw, 1.5rem)/1.25 var(--tempel-serif);
}

.foto-raster--auszeichnungen figcaption::after {
  flex: 1;
  height: 1px;
  background: #d7b57a66;
  content: "";
}

.foto-raster--auszeichnungen img {
  box-sizing: border-box;
  border: 1px solid #ba956a;
  border-radius: 0.13rem;
}

.startseiten-gaestestimmen {
  padding: clamp(2.75rem, 6vw, 5rem) var(--tempel-rand) clamp(2.25rem, 4vw, 3.25rem);
  background: var(--tempel-creme);
}

.gaestestimmen-inhalt {
  width: min(100%, var(--tempel-breite));
  margin-inline: auto;
}

.startseiten-gaestestimmen h2 {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.gaestestimmen-inhalt > a,
.gaestestimmen-inhalt > noscript a,
.seitenanfang a {
  color: var(--tempel-rot);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.seitenanfang {
  margin-top: 2rem;
  text-align: center;
}

.seitenanfang a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  font-size: 0.94rem;
}

@keyframes tempel-mandala-oeffnen {
  from {
    transform: rotate(-7deg) scale(0.9);
    opacity: 0.04;
  }
  to {
    transform: rotate(0) scale(1);
    opacity: var(--ornament-deckkraft);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ornamente-geoeffnet .brief-ornamente::before,
  .ornamente-geoeffnet .brief-ornamente::after {
    animation: tempel-mandala-oeffnen 2.2s ease-out both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmanjali-impressum .service {
    background-attachment: scroll;
  }
}

@media (max-width: 1200px) {
  .tempel-kopf {
    grid-template-areas: "kontakt kontakt" "logo taste" "menue menue";
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .tempel-kopf #logo {
    padding-top: 0.35rem;
  }

  .tempel-kopf #logo a,
  .tempel-kopf #logo img {
    width: min(100%, 13.75rem);
  }

  .tempel-kopf #hauptmenue {
    display: block;
    width: 100%;
  }

  .tempel-kopf #hauptmenue ul {
    justify-content: center;
    column-gap: clamp(0.75rem, 4.5vw, 2.3rem);
    padding: 0.4rem 0 0.25rem;
    border-top: 1px solid #e8c78955;
  }

  .tempel-kopf[data-menue-bereit] #menubar {
    display: block;
  }

  .tempel-kopf[data-menue-bereit] #hauptmenue {
    display: none;
  }

  .tempel-kopf[data-menue-bereit][data-menue-offen] #hauptmenue {
    display: block;
  }
}

@media (max-width: 52rem) {
  .brief-ornamente::before {
    display: none;
  }

  .brief-ornamente::after {
    --ornament: clamp(19rem, 45vw, 24rem);
    --ornament-deckkraft: 0.28;
    right: calc(var(--ornament) * -0.67);
    top: 0;
    background: linear-gradient(90deg, transparent 3%, #9a543b 35%, #995e36 72%);
  }
}

@media (max-width: 46rem) {
  .tempel-kopf .phonestyle {
    justify-self: center;
  }

  .tempel-kopf #logo a,
  .tempel-kopf #logo img {
    width: min(100%, 11.6rem);
  }

  .startseiten-auftakt {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .startseiten-auftakt .auftaktfoto {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 37rem) {
  .tempel-start .vergleich img {
    aspect-ratio: 0.84;
  }

  .foto-raster--brita,
  .foto-raster--auszeichnungen {
    grid-template-columns: 1fr;
  }

  .foto-raster--auszeichnungen {
    gap: 1.45rem;
  }

  .auszeichnungen-auftakt {
    grid-template-columns: minmax(0, 1fr) 4.75rem;
    column-gap: 0.85rem;
    align-items: start;
  }

  .auszeichnungen-auftakt h2 {
    font-size: clamp(1.65rem, 6.9vw, 2.25rem);
  }

  .auszeichnungen-plakette {
    height: auto;
    margin-top: 0.2rem;
  }
}
