/* ========== BASIS RESET ========== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ========== TYPOGRAFIE ========== */
body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: #4a2a2a;
  background: #fcfbfa;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  color: #7a1f1f;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 17px;
}

/* ========== LINKS ========== */
a {
  color: #9c2c2c;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    padding 0.25s ease,
    font-size 0.25s ease,
    transform 0.25s ease;
}

a:hover {
  color: #c23a3a;
  text-decoration: underline;
}

/* ========== BILDER ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(252, 251, 250, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8dfdb;
  transition:
    transform 0.3s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.header-compact {
  box-shadow: 0 10px 24px rgba(90, 50, 50, 0.08);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition:
    padding 0.25s ease,
    gap 0.25s ease;
}

.logo {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo img {
  width: min(100%, 820px);
  max-height: 130px;
  object-fit: contain;
  margin: 0 auto;
  transition:
    width 0.25s ease,
    max-height 0.25s ease,
    transform 0.25s ease;
}

/* ========== NAVIGATION ========== */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  width: 100%;
  transition:
    gap 0.25s ease,
    opacity 0.2s ease;
}

.nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  color: #7a1f1f;
  line-height: 1;
}

.nav a:hover {
  background: #f3e5e2;
  text-decoration: none;
}

.nav a.active {
  background: #7a1f1f;
  color: #ffffff;
}

/* ========== HEADER COMPACT STATE ========== */
.site-header.header-compact .header-inner {
  padding: 10px 16px 10px;
  gap: 10px;
}

.site-header.header-compact .logo img {
  width: min(100%, 520px);
  max-height: 76px;
}

.site-header.header-compact .nav {
  gap: 8px 10px;
}

.site-header.header-compact .nav a {
  padding: 8px 12px;
  font-size: 15px;
}

/* ========== SEITENAUFBAU ========== */
.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 190px 20px 48px;
}

.page-intro {
  margin-bottom: 32px;
}

.page-intro h1 {
  margin-top: 10px;
  margin-bottom: 16px;
}

.page-intro p {
  max-width: 760px;
  color: #6a4a4a;
  font-size: 18px;
  line-height: 1.75;
}
/* ========== LAYOUT ========== */
.container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sidebar,
.content,
.right {
  min-width: 0;
}

/* ========== KARTEN ========== */
.card {
  background: #ffffff;
  border: 1px solid #eee3df;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(90, 50, 50, 0.05);
}

.contact-card p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

/* ========== SPEZIELLE ELEMENTE ========== */
.highlight-text {
  color: #9c2c2c;
  font-weight: 600;
}

.center-text {
  text-align: center;
}

.inline-link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.icon-link img {
  width: 58px;
  height: 58px;
}

.feature-image,
.gift-image {
  width: 100%;
  border-radius: 10px;
}

.contact-card a {
  word-break: break-word;
}
.therapy-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.therapy-nav a {
  display: block;
  padding: 10px 12px;
  border: 1px solid #eadfdb;
  border-radius: 10px;
  color: #7a1f1f;
  background: #fff;
}

.therapy-nav a:hover {
  background: #f8efec;
  text-decoration: none;
}

.therapy-nav a.active {
  background: #7a1f1f;
  color: #fff;
  border-color: #7a1f1f;
}
.spiral-image {
  width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: contain;   /* zeigt komplettes Bild ohne Verzerren */
  display: block;
  margin: 0 auto;
}
/* Google Maps Button */
.map-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #7a1f1f;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.map-btn:hover {
  background: #9c2c2c;
  text-decoration: none;
}
/* ========== FOOTER ========== */
.site-footer {
  margin-top: 20px;
  background: #f5efec;
  border-top: 1px solid #e8dfdb;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 20px;
  text-align: center;
}

.footer-inner p {
  margin: 4px 0;
  font-size: 15px;
  color: #6a4a4a;
}

.footer-separator {
  margin: 0 6px;
  color: #b18989;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 900px) {
  .container {
    grid-template-columns: 1fr 1.4fr 0.9fr;
    align-items: start;
  }
}

@media (max-width: 899px) {
  .header-inner {
    padding: 16px 14px 12px;
    gap: 14px;
  }

  .logo img {
    width: min(100%, 620px);
    max-height: 96px;
  }

  .nav {
    justify-content: center;
  }

  .page {
    padding: 170px 16px 42px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 155px 14px 36px;
  }

  .header-inner {
    padding: 12px 14px 12px;
    gap: 12px;
  }

  .logo img {
    width: 100%;
    max-height: 72px;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 16px;
  }

  .site-header.header-compact .logo img {
    max-height: 52px;
  }

  .site-header.header-compact .nav a {
    padding: 9px 12px;
    font-size: 15px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  p {
    font-size: 16px;
  }

  .card {
    padding: 18px;
  }
}