﻿:root {
  --bg: #f7f4ef;
  --paper: #fffdfa;
  --ink: #111111;
  --muted: #3a3a3a;
  --accent: #e28743;
  --nav-bg: rgba(247, 244, 239, 0.95);
  --shadow: 0 12px 30px rgba(14, 17, 23, 0.09);
  --radius: 10px;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% -10%, #efe2d4 0%, transparent 48%),
    radial-gradient(circle at 120% 0%, #f2ebe2 0%, transparent 42%),
    var(--bg);
  line-height: 1.65;
  font-size: 1rem;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100svh;
}

.hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 24, 31, 0.28), rgba(18, 24, 31, 0.45));
}

.hero__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  position: static;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 10vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #f9efe4;
  opacity: 0;
  transition: opacity 1.6s ease;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(12, 16, 22, 0.55);
}

.hero__title.is-visible {
  opacity: 1;
}

.hero__title-link {
  color: inherit;
  text-decoration: none;
}

.hero__links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.48rem;
}

.hero__link {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.22rem, 4.2vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: #ffe2c8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 226, 200, 0.75);
  text-underline-offset: 0.18em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.72s ease, transform 0.72s ease, color 0.2s ease;
}

.hero__link.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__link:hover,
.hero__link:focus-visible {
  color: #ffd3aa;
}

.hero__signature {
  margin-top: 4.4rem;
  position: relative;
  font-family: "Caveat", "Satisfy", "Great Vibes", "Brush Script MT", cursive;
  font-size: clamp(1.55rem, 5.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #ffd8b6;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px) rotate(-5deg);
  transform-origin: left center;
  transition: opacity 0.92s ease, transform 0.92s ease, color 0.2s ease;
}

.hero__signature::after {
  content: "";
  position: absolute;
  left: 0.12em;
  right: 0.12em;
  bottom: 0.08em;
  border-bottom: 2px solid rgba(255, 216, 182, 0.95);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.05s ease;
  transition-delay: 0.18s;
}

.hero__signature.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(-5deg);
}

.hero__signature.is-visible::after {
  transform: scaleX(1);
}

.hero__signature:hover,
.hero__signature:focus-visible {
  color: #ffe7d0;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(31, 42, 53, 0.12);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.85s ease, opacity 0.85s ease;
}

.site-nav.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.site-nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.75rem;
}

.site-nav__brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  flex: 0 0 auto;
}

.site-nav__toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 135, 67, 0.14);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22rem;
  cursor: pointer;
}

.site-nav__toggle-line {
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.site-nav__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  white-space: nowrap;
  flex: 1 1 auto;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 18% 8%;
  border-radius: 14px 8px 12px 9px;
  background:
    radial-gradient(circle at 20% 40%, rgba(226, 135, 67, 0.2) 0, rgba(226, 135, 67, 0) 60%),
    linear-gradient(110deg, rgba(226, 135, 67, 0.13), rgba(255, 194, 145, 0.2));
  transform: scale(0.7) rotate(-1.8deg);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #2b1a0f;
  transform: translateY(-1px);
  outline: none;
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1) rotate(-1.8deg);
}

.quote-card {
  margin: 0;
  padding: 1.35rem 1.2rem;
  min-height: 100%;
  background: linear-gradient(145deg, #fff8f1, #fff2e7);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-card p {
  margin: 0 0 0.7rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  line-height: 1.25;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
}

.term-card {
  min-height: 0;
  background: linear-gradient(145deg, #fff9f2, #fff3e8);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.2rem 1.1rem;
}

.term-card__label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.term-card h3 {
  margin: 0 0 0.55rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.2;
}

.term-card p {
  margin: 0 0 0.45rem;
}

.term-link {
  color: #111111;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.offer-quote {
  min-height: 0;
  justify-content: center;
  text-align: center;
  border-top: 0;
}

.offer-carousel {
  position: relative;
  background: linear-gradient(145deg, #fff9f2, #fff3e8);
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  touch-action: pan-y;
}

.offer-carousel__slide {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  grid-row: 1;
  grid-column: 1;
  transition: opacity 0.2s ease;
}

.offer-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offer-carousel__slide--quote {
  align-items: center;
}

.offer-carousel__slide > * {
  min-height: 100%;
  width: 100%;
}

.offer-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.4rem 0.45rem;
  border-top: 0;
  background: transparent;
  grid-row: 2;
  grid-column: 1;
}

.offer-carousel__btn {
  display: none;
}

.offer-carousel__btn:hover,
.offer-carousel__btn:focus-visible {
  background: rgba(226, 135, 67, 0.28);
  outline: none;
}

.offer-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offer-carousel__dot {
  position: relative;
  border: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.offer-carousel__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(35, 35, 35, 0.28);
  transform: translate(-50%, -50%);
}

.offer-carousel__dot.is-active {
  background: rgba(226, 135, 67, 0.12);
}

.offer-carousel__dot.is-active::before {
  background: rgba(226, 135, 67, 0.82);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.15rem 4rem;
}

main section[id] {
  scroll-margin-top: 5.6rem;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.content-block__media {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  order: 2;
  display: flex;
  flex-direction: column;
}

.content-block__media > * {
  width: 100%;
}

.content-block__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#malpause .content-block__media img {
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

@media (min-width: 768px) {
  #malpause .content-block__media {
    position: relative;
  }

  #malpause .content-block__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

#ich-begleite-dich .content-block__media {
  min-height: 100%;
}

#ich-begleite-dich .content-block__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.content-block__text {
  background: color-mix(in srgb, var(--paper) 90%, white);
  padding: 1.1rem 1.05rem 1.2rem;
  border-radius: 0;
  box-shadow: none;
  order: 1;
}

.content-block__text p {
  margin: 0 0 0.85rem;
}

.content-block__text p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h2 {
  margin: 0 0 0.55rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.55rem, 4.9vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.site-footer {
  background: linear-gradient(155deg, #1c1a18, #2a2622 45%, #1f1d1a);
  color: #f0ece7;
  padding: 3.2rem 1.15rem;
  min-height: 92svh;
}

#kontakt {
  scroll-margin-top: 6.2rem;
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.site-footer .eyebrow {
  color: #f0bb8c;
}

.site-footer h2 {
  margin-bottom: 1.15rem;
}

.site-footer p {
  margin: 0.3rem 0;
}

.site-footer a {
  color: #f3ddc7;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  margin-top: 0.2rem;
  color: #f0bb8c;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffe9d4;
}

@media (min-width: 768px) {
  main {
    padding-top: 3.5rem;
  }

  .content-block {
    grid-template-columns: 1fr 1.618fr;
    gap: 0;
    margin-bottom: 3rem;
  }

  .content-block:not(.offer-section) .content-block__media {
    order: 1;
  }

  .content-block:not(.offer-section) .content-block__text {
    order: 2;
  }

  .offer-section .content-block__text {
    order: 1;
  }

  .offer-section .content-block__media {
    order: 2;
    display: flex;
  }

  .offer-section {
    grid-template-columns: 1.618fr 1fr;
  }

  .content-block__text {
    padding: 1.6rem;
  }

  .content-block__text,
  .content-block__media {
    height: 100%;
  }

}

@media (min-width: 1024px) {
  .hero {
    height: 90svh;
  }

  .site-nav__inner {
    gap: 0.7rem;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .offer-section {
    grid-template-columns: 1.618fr 1fr;
    align-items: start;
  }

  .offer-section .content-block__text {
    align-self: start;
  }

  .offer-section .content-block__media {
    display: flex;
    align-self: start;
  }
}

@media (max-width: 900px) {
  .site-nav__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(31, 42, 53, 0.12);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    width: auto;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding-top 0.3s ease;
    padding: 0 0.75rem 0;
    pointer-events: none;
  }

  .site-nav.is-menu-open .site-nav__menu {
    max-height: 22rem;
    opacity: 1;
    padding-top: 0.45rem;
    padding-bottom: 0.55rem;
    pointer-events: auto;
  }

  .site-nav__menu a {
    width: 100%;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .hero {
    height: 100dvh;
  }

  .hero__content {
    top: calc(50% + 1.75rem);
    transform: translate(-50%, -50%);
    width: min(94vw, 760px);
    padding-top: clamp(0.35rem, 1.5vh, 0.85rem);
    padding-bottom: 0.6rem;
    max-height: calc(100dvh - 3.5rem);
  }

  .hero__title {
    font-size: clamp(1.8rem, 6.5vw, 3.2rem);
    line-height: 1.05;
  }

  .hero__links {
    margin-top: 0.65rem;
    gap: 0.22rem;
  }

  .hero__link {
    font-size: clamp(0.98rem, 2.8vw, 1.35rem);
    line-height: 1.25;
  }

  .hero__signature {
    margin-top: 1.08rem;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__title {
    transition: none;
  }

  .hero__link {
    transition: none;
  }

  .hero__signature {
    transition: none;
  }

  .hero__signature::after {
    transition: none;
    transform: scaleX(1);
  }
}
