:root {
  --bg: #f8f4ed;
  --bg-soft: #f2ece0;
  --ink: #2a2521;
  --ink-soft: #5a534c;
  --ink-muted: #8a817a;
  --bordeaux: #6d1f2a;
  --bordeaux-dark: #4a1319;
  --gold: #b08d4e;
  --gold-soft: #d4b680;
  --line: #d9cfbf;
  --white: #fdfbf6;
  --green-live: #4f7a4a;
  --red-live: #b83a3a;
  --radius: 2px;
  --max: 1180px;

  /* Schriftarten - System-Stack (keine externen Fonts, datenschutzfreundlich)
     Falls jemand spaeter eigene Webfonts einbinden moechte, einfach hier
     ein @font-face oben definieren und in diese Variable einsetzen. */
  --font-serif: Georgia, "Iowan Old Style", "Apple Garamond", "Palatino Linotype",
                "Times New Roman", Times, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.18 0 0 0 0 0.15 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
a:hover { border-bottom-color: var(--bordeaux); }

main { flex: 1 0 auto; position: relative; z-index: 1; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.container.narrow { max-width: 780px; }

/* === LIVE-BANNER (oben, voll dynamisch) === */
.live-banner {
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux));
  color: var(--bg);
  font-size: 14px;
  padding: 12px 0;
  position: relative;
  z-index: 25;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: bannerPulse 3.6s ease-in-out infinite;
}
.live-banner.is-online {
  background: linear-gradient(135deg, #3a5d36, var(--green-live));
  animation: bannerPulseGreen 3.6s ease-in-out infinite;
}
.live-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  flex-wrap: wrap;
}
.live-banner .pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: dotPulse 2.0s infinite;
  flex-shrink: 0;
}
.live-banner.is-online .pulse-dot {
  background: #e6ffe0;
  box-shadow: 0 0 0 0 rgba(214,255,208,0.9);
  animation: dotPulseGreen 2.0s infinite;
}
.live-banner a {
  color: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 1px;
  font-weight: 600;
}
.live-banner a:hover { border-bottom-color: #fff; }

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); transform: scale(1); }
  50%  { transform: scale(1.15); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}
@keyframes dotPulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(214,255,208,0.85); transform: scale(1); }
  50%  { transform: scale(1.18); }
  70%  { box-shadow: 0 0 0 14px rgba(214,255,208,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,255,208,0); transform: scale(1); }
}
@keyframes bannerPulse {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}
@keyframes bannerPulseGreen {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.10); }
}

/* === HEADER / NAV === */
header.site {
  background: rgba(248,244,237,0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border: none !important;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--bordeaux);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--bordeaux);
}
.brand-mark::before {
  left: 50%; top: 22%;
  width: 1.5px; height: 56%;
  transform: translateX(-50%);
}
.brand-mark::after {
  left: 28%; top: 42%;
  width: 44%; height: 1.5px;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-top: 3px;
  font-family: var(--font-sans);
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.primary a {
  color: var(--ink-soft);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  border: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
nav.primary a:hover,
nav.primary a.active {
  color: var(--bordeaux);
  border-bottom-color: var(--bordeaux);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  left: 50%;
  transform: translateX(-50%);
  transition: transform .25s;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { top: -6px; left: 0; transform: none; }
.menu-toggle span::after  { top: 6px;  left: 0; transform: none; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg) translate(4px,4px); }
.menu-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translate(4px,-4px); }

/* === HERO === */
.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176,141,78,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--bordeaux);
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--bordeaux);
}
h1.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
h1.hero-title em {
  font-style: italic;
  color: var(--bordeaux);
  font-weight: 400;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--bordeaux);
  background: var(--bordeaux);
  color: var(--bg) !important;
  cursor: pointer;
  transition: all .25s ease;
  border-radius: var(--radius);
  text-decoration: none;
}
.btn:hover {
  background: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
  transform: translateY(-1px);
  border-bottom-color: var(--bordeaux-dark) !important;
  color: var(--bg) !important;
}
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink-muted);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink);
}

/* Hero-Karte heute */
.today-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 20px 40px -20px rgba(109,31,42,0.18);
}
.today-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--bordeaux);
}
.today-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.today-card .day {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.today-card .who {
  font-size: 22px;
  color: var(--bordeaux);
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px;
}
.today-card .who-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.today-card .who-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bg-soft);
  background: var(--bg-soft);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.today-card .hours {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.today-card .hours strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 17px;
}
.today-card .live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--green-live);
  font-weight: 600;
  margin-top: 18px;
}
.today-card .live.offline { color: var(--ink-muted); font-size: 13px; letter-spacing: 0.12em; }
.today-card .live.live-soon { color: var(--ink-soft); }
.today-card .live .status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 0 0 rgba(79,122,74,0.55);
  animation: heroDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.today-card .live.live-now .status-dot {
  animation: heroDotActive 2.0s ease-in-out infinite;
}
.today-card .live.live-soon .status-dot { background: var(--gold); animation: heroDotGold 2.6s ease-in-out infinite; }
.today-card .live.offline .status-dot { background: var(--ink-muted); animation: none; box-shadow: none; }

/* === Kompakt-Variante mit iframe oben (neues Hero-Design) === */
.today-card-compact {
  padding: 0;
  max-width: 400px;
  width: 100%;
}
.today-card-compact .chat-iframe-wrap {
  width: 100%;
  height: 320px;
  background: #e7e6f5;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.today-card-compact .chat-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.today-card-compact .today-info {
  padding: 18px 22px 22px;
}
.today-card-compact .today-info .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.today-card-compact .today-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.today-card-compact .who-avatar-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
  flex-shrink: 0;
}
.today-card-compact .today-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}
.today-card-compact .today-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.today-card-compact .today-text > span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}
.today-card-compact .today-text .today-hours {
  font-weight: 600;
  color: var(--bordeaux);
  font-size: 13px;
  margin-top: 2px;
}
.today-card-compact .live {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.today-card-compact .today-none {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 780px) {
  .today-card-compact { max-width: 100%; }
  .today-card-compact .chat-iframe-wrap { height: 300px; }
}

@keyframes heroDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,122,74,0.55); transform: scale(1); }
  50%      { box-shadow: 0 0 0 8px rgba(79,122,74,0); transform: scale(1.1); }
}
@keyframes heroDotActive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,122,74,0.7); transform: scale(1); }
  50%      { box-shadow: 0 0 0 12px rgba(79,122,74,0); transform: scale(1.15); }
}
@keyframes heroDotGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(176,141,78,0.55); transform: scale(1); }
  50%      { box-shadow: 0 0 0 8px rgba(176,141,78,0); transform: scale(1.1); }
}

/* === PILLARS === */
.pillars {
  padding: 90px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars h2 {
  font-size: clamp(32px, 4vw, 46px);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  font-weight: 500;
}
.pillars h2 em { font-style: italic; color: var(--bordeaux); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar .num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* === HOW IT WORKS === */
.how {
  padding: 110px 0;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.section-head .eyebrow { margin-bottom: 16px; }
.how h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.08;
}
.how h2 em { font-style: italic; color: var(--bordeaux); font-weight: 400; }
.how-intro {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.how-list { list-style: none; }
.how-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
}
.how-list li:last-child { border-bottom: none; }
.how-list .idx {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
  font-weight: 500;
  min-width: 32px;
}
.how-list h4 {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
}
.how-list p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* === FÜR WEN IST DAS === */
.for-whom {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.for-whom h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 16px;
}
.for-whom h2 em {
  font-style: italic;
  color: var(--bordeaux);
}
.for-whom .lead {
  text-align: center;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 60px;
  line-height: 1.55;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}
.reason {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
}
.reason h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--bordeaux);
  margin-bottom: 10px;
  line-height: 1.25;
}
.reason p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: 1fr 1fr; gap: 32px 30px; }
  .for-whom h2 { font-size: 32px; }
}
@media (max-width: 600px) {
  .reasons-grid { grid-template-columns: 1fr; gap: 26px; }
  .for-whom { padding: 70px 0; }
}

/* === ZITAT === */
.verse {
  padding: 120px 0;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.verse::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(176,141,78,0.18), transparent 60%);
  pointer-events: none;
}
.verse .quote-mark {
  font-family: var(--font-serif);
  font-size: 120px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 20px;
  font-style: italic;
  display: inline-block;
}
.verse blockquote {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 32px;
  color: var(--bg);
  position: relative;
  z-index: 1;
}
.verse cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-soft);
  position: relative;
  z-index: 1;
}

/* === CHAT CTA === */
.chat-cta {
  padding: 110px 0;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.chat-cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  max-width: 780px;
  margin: 0 auto 24px;
  font-weight: 500;
}
.chat-cta h2 em { font-style: italic; color: var(--bordeaux); }
.chat-cta p {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}
.chat-cta .btn { padding: 20px 40px; font-size: 16px; }

/* === GENERIC CONTENT-PAGE === */
.page-hero {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--bordeaux); }
.page-hero .lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.55;
}
.content {
  padding: 70px 0 100px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.content h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 32px 0 16px;
  font-weight: 600;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 22px;
  margin: 24px 0 12px;
  font-weight: 600;
}
.content p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 1em;
}
.content ul { padding-left: 22px; margin-bottom: 1em; color: var(--ink-soft); }
.content li { margin-bottom: 6px; }

.callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--bordeaux);
  padding: 24px 28px;
  margin: 24px 0;
}
.callout strong { color: var(--ink); }

/* === EMERGENCY-CARDS (Soforthilfe) === */
.emergency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.emergency-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--bordeaux);
  padding: 24px 26px;
  transition: transform .2s, box-shadow .2s;
}
.emergency-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(109,31,42,0.18);
}
.emergency-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.emergency-card .num {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--bordeaux);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 6px;
}
.emergency-card .num a { color: var(--bordeaux); border: none; }
.emergency-card .desc {
  font-size: 14px;
  color: var(--ink-soft);
}

/* === MITARBEITER GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 24px;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.16);
}
.team-card .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--bg-soft);
  display: block;
  object-fit: cover;
  border: 3px solid var(--bg-soft);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.team-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 600;
}
.team-card .day-info {
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.team-card .note {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: italic;
}

/* === SCHEDULE TABLE === */
.schedule-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 28px;
}
.schedule-day {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
}
.schedule-day.today {
  border-color: var(--bordeaux);
  background: var(--bordeaux);
  color: var(--bg);
}
.schedule-day.today .name { color: var(--bg); }
.schedule-day .day-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.schedule-day .name {
  color: var(--bordeaux);
  font-weight: 600;
  display: block;
  margin: 2px 0;
}
.schedule-day .time {
  font-size: 11px;
  color: var(--ink-muted);
}
.schedule-day.today .time { color: var(--gold-soft); }

/* === FOOTER === */
footer.site {
  background: var(--ink);
  color: var(--bg);
  padding: 70px 0 30px;
  flex-shrink: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
footer h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
  margin-bottom: 22px;
  font-weight: 600;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a {
  color: rgba(248,244,237,0.75);
  font-size: 14px;
  border: none;
  transition: color .2s;
}
footer a:hover { color: var(--gold-soft); border: none; }
.footer-brand p {
  color: rgba(248,244,237,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}
.footer-brand .brand-name { color: var(--bg); }
.footer-brand .brand-mark { border-color: var(--gold-soft); }
.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after { background: var(--gold-soft); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(248,244,237,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(248,244,237,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-bottom .tech-credit a {
  color: rgba(248,244,237,0.7);
  border-bottom: 1px dotted rgba(248,244,237,0.3);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-bottom .tech-credit a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Chat-Popup entfernt - Chat läuft jetzt extern auf chatseelsorge.eu */

/* === REVEAL ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { animation: fadeUp .8s ease-out both; }
.hero h1 { animation: fadeUp .8s .15s ease-out both; }
.hero-lead { animation: fadeUp .8s .3s ease-out both; }
.cta-row { animation: fadeUp .8s .45s ease-out both; }
.today-card { animation: fadeUp .9s .55s ease-out both; }

/* === MOBILE === */
@media (max-width: 880px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .live-banner { font-size: 13px; padding: 10px 0; }
  .live-banner-inner { gap: 10px; padding: 0 14px; }

  .header-inner { padding: 16px 0; }
  .brand-name { font-size: 20px; }
  .brand-tag { font-size: 10px; letter-spacing: 0.12em; }
  nav.primary { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  nav.primary.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.12);
  }
  nav.primary.open a {
    padding: 14px 28px;
    border-bottom: 1px solid var(--line);
  }
  nav.primary.open a:last-child { border-bottom: none; }

  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-lead { font-size: 17px; }
  .btn { padding: 14px 22px; font-size: 13px; width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }

  .today-card { padding: 28px 24px; }

  .pillars { padding: 60px 0; }
  .pillar-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars h2 { margin-bottom: 40px; }

  .how { padding: 60px 0; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }

  .verse { padding: 70px 0; }
  .verse .quote-mark { font-size: 80px; }

  .chat-cta { padding: 60px 0; }

  .page-hero { padding: 50px 0 30px; }
  .content { padding: 50px 0 70px; }
  .content-grid { grid-template-columns: 1fr; gap: 30px; }

  .emergency-grid { grid-template-columns: 1fr; }
  .schedule-week { grid-template-columns: 1fr; gap: 6px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { font-size: 11px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card { padding: 20px 12px; }
  .team-card .avatar { width: 80px; height: 80px; }
  .team-card h3 { font-size: 18px; }
}

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}

/* === FAQ-Seite === */
.faq-section {
  padding: 60px 0 100px;
  background: var(--bg);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--bordeaux);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.35;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  transition: transform .25s, color .15s;
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--bordeaux);
}
.faq-item summary:hover { color: var(--bordeaux-dark); }
.faq-answer {
  padding: 14px 0 4px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
}
.faq-after {
  margin-top: 60px;
  padding: 36px 30px;
  background: var(--bg-soft);
  border-left: 3px solid var(--bordeaux);
  text-align: center;
}
.faq-after p {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 17px;
}
@media (max-width: 600px) {
  .faq-item summary { font-size: 18px; padding-right: 32px; }
  .faq-answer { font-size: 15px; }
}

/* === EMPFEHLEN-BEREICH === */
.recommend {
  background: var(--bg-soft);
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.recommend p {
  display: inline-block;
  margin-right: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  vertical-align: middle;
}
.btn-recommend {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bordeaux);
  color: var(--white);
  border: 1.5px solid var(--bordeaux);
  padding: 11px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s, transform .15s, box-shadow .2s;
  vertical-align: middle;
  box-shadow: 0 4px 14px -4px rgba(109,31,42,0.4);
}
.btn-recommend:hover {
  background: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -4px rgba(109,31,42,0.55);
}
.btn-recommend svg { color: var(--white); }
@media (max-width: 600px) {
  .recommend p { display: block; margin: 0 0 14px; }
}

/* === SHARE-POPUP === */
.share-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42,37,33,0.55);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.share-overlay.open { display: flex; }
.share-popup {
  background: var(--white);
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--line);
  border-top: 3px solid var(--bordeaux);
  padding: 32px 28px 24px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
  animation: shareIn .25s ease-out;
}
@keyframes shareIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.share-popup h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 6px;
}
.share-popup > p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 22px;
}
.share-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 4px 10px;
}
.share-close:hover { color: var(--bordeaux); }
.share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.share-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.share-opt:hover {
  background: var(--white);
  border-color: var(--bordeaux);
  color: var(--bordeaux);
  transform: translateY(-1px);
}
.share-opt svg { color: var(--bordeaux); }
.share-url {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--ink-muted);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  word-break: break-all;
  border-radius: 2px;
}

/* === DIREKTER CHAT-LOGIN (chat-embed Sektion) === */
.chat-embed {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chat-embed-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
.chat-embed-head .kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--bordeaux);
  font-weight: 600;
  margin-bottom: 12px;
}
.chat-embed-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.15;
}
.chat-embed-head h2 em {
  font-style: italic;
  color: var(--bordeaux);
}
.chat-embed-head p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.chat-embed-frame {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 24px 50px -20px rgba(109,31,42,0.22);
  position: relative;
  overflow: hidden;
}
.chat-embed-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bordeaux);
  z-index: 1;
}
.chat-embed-frame iframe {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
}
.chat-embed-hint {
  text-align: center;
  margin: 22px auto 0;
  max-width: 600px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.chat-embed-hint a {
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.chat-embed-hint a:hover { border-bottom-color: var(--bordeaux); }

/* Mobile */
@media (max-width: 780px) {
  .chat-embed { padding: 56px 0; }
  .chat-embed-head { margin-bottom: 28px; }
  .chat-embed-frame iframe { height: 620px; }
}
@media (max-width: 480px) {
  .chat-embed-frame iframe { height: 560px; }
}

/* ============================================================
   HERO-UMBAU: Buttons zusaetzlich oben rechts + Karte tiefer
   ============================================================ */
.hero-grid {
  align-items: start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  /* Oberkante der Buttons auf Hoehe "ANONYME CHATSEELSORGE" */
  padding-top: 4px;
}

.hero-right .cta-row-top {
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  width: 100%;
}

/* Rechte Buttons etwas kompakter damit sie nebeneinander passen */
.hero-right .cta-row-top .btn {
  padding: 14px 20px;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 1 auto;
}

.hero-right .today-card {
  /* Karte etwas tiefer setzen */
  margin-top: 100px;
}

/* Auf schmalen Bildschirmen kein extra Abstand */
@media (max-width: 900px) {
  .hero-right .today-card {
    margin-top: 24px;
  }
}

/* =========================================================================
   Heute-im-Chat: quadratisches Avatar-Layout (pack-03)
   ========================================================================= */
.today-card-compact .today-row-square {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 10px;
}
.today-card-compact .who-avatar-square {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: block;
}
.today-card-compact .today-row-square .today-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.today-card-compact .who-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1;
  font-style: italic;
  color: var(--bordeaux);
  background: var(--bg-soft);
}
@media (max-width: 480px) {
  .today-card-compact .who-avatar-square { width: 72px; height: 72px; }
  .today-card-compact .who-avatar-fallback { font-size: 36px; }
}

/* =========================================================================
   Team-Kachel (pack-03): deutlich groesser + 'Mehr erfahren' als Button
   -------------------------------------------------------------------------
   .team-grid-lg uebersteuert gezielt das bestehende .team-grid Layout:
   - Kachel-Mindestbreite von 220 auf 280px
   - Avatar von 110 auf 200px
   - Button statt Akkordeon
   ========================================================================= */
.team-grid-lg {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.team-grid-lg .team-card {
  padding: 36px 28px 28px;
}
.team-grid-lg .team-card .avatar {
  width: 240px;
  height: 240px;
  margin: 0 auto 22px;
  border-width: 4px;
}
.team-grid-lg .team-card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.team-grid-lg .team-card .day-info {
  margin-bottom: 18px;
}

.team-card .avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 104px;
  line-height: 1;
  font-style: italic;
  color: var(--bordeaux);
  background: var(--bg-soft);
}

/* 'Mehr erfahren'-Button auf der Kachel */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bordeaux);
  background: transparent;
  border: 1.5px solid var(--bordeaux);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-more:hover,
.btn-more:focus-visible {
  background: var(--bordeaux);
  color: var(--white);
  outline: none;
}
.btn-more::after {
  content: "+";
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

@media (max-width: 780px) {
  .team-grid-lg .team-card .avatar { width: 190px; height: 190px; }
}
@media (max-width: 520px) {
  .team-grid-lg { grid-template-columns: 1fr; gap: 20px; }
  .team-grid-lg .team-card { padding: 28px 24px; }
  .team-grid-lg .team-card .avatar { width: 210px; height: 210px; }
}

/* =========================================================================
   Wochenplan mit groesseren Avataren (pack-03)
   ========================================================================= */
.schedule-week-with-avatar .schedule-day {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
}
.schedule-week-with-avatar .day-name {
  margin-bottom: 8px;
}
.schedule-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.schedule-person + .schedule-person {
  border-top: 1px dashed var(--line);
  margin-top: 4px;
  padding-top: 10px;
}
.schedule-day.today .schedule-person + .schedule-person {
  border-top-color: rgba(255,255,255,0.25);
}

.schedule-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  background: var(--bg-soft);
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.schedule-day.today .schedule-avatar {
  border-color: rgba(255,255,255,0.4);
}
.schedule-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  font-style: italic;
  color: var(--bordeaux);
  background: var(--bg-soft);
}

/* Wenn Avatar in einen Button gewrappt ist (= Popup-Trigger) */
.schedule-person-btn {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  line-height: 0;
}
.schedule-person-btn:hover .schedule-avatar,
.schedule-person-btn:focus-visible .schedule-avatar {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  outline: none;
}

.schedule-person .name {
  font-size: 13px;
  margin: 2px 0 0;
}
.schedule-person .time {
  font-size: 11px;
}

@media (max-width: 900px) {
  .schedule-avatar { width: 56px; height: 56px; }
  .schedule-avatar-fallback { font-size: 24px; }
}

/* =========================================================================
   Popup-Dialog (pack-05) - schlanker, zentriert, ohne Bild, Hoehe nach Inhalt
   ========================================================================= */
.person-dialog {
  /* Zentrierung erzwingen (ueberschreibt "* { margin:0 }" Reset) */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;

  /* Breite fest, Hoehe nach Inhalt (aber max. 85% Viewport) */
  width: 500px;
  max-width: 92vw;
  max-height: 85vh;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45);
  overflow: hidden;
}
.person-dialog::backdrop {
  background: rgba(20, 15, 13, 0.55);
}
/* Fallback fuer Browser ohne <dialog>.showModal() */
.person-dialog.is-fallback-open {
  z-index: 9999;
}

.person-dialog-close-form {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  padding: 0;
  z-index: 2;
}
.person-dialog-close {
  width: 36px;
  height: 36px;
  line-height: 32px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .2s, color .2s;
}
.person-dialog-close:hover,
.person-dialog-close:focus-visible {
  background: var(--bordeaux);
  color: var(--white);
  outline: none;
}

/* Textbereich - nimmt die volle Dialogbreite, scrollt falls Bio sehr lang */
.person-dialog-body {
  padding: 34px 38px 32px;
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
}
.person-dialog-body h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  padding-right: 48px; /* Platz fuer X-Button */
  line-height: 1.2;
}
.person-dialog-days {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.person-dialog-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.person-dialog-bio br + br { display: block; margin-top: 8px; content: ""; }

@media (max-width: 560px) {
  .person-dialog { width: 94vw; }
  .person-dialog-body { padding: 28px 24px 26px; }
  .person-dialog-body h2 { font-size: 24px; }
}
