/* ============================================================
   From Heart to Heart — fromhearttoheart.net
   Design: warmes Rosé-Weiß, Brand-Pink, Himmelblau
   Display: Fraunces · Text: Outfit
   ============================================================ */

:root {
  --paper: #FFF8F6;
  --paper-deep: #FFF1EE;
  --ink: #2A1620;
  --muted: #7A5F6D;
  --rose: #E62960;
  --rose-bright: #FF3981;
  --rose-deep: #B01D4E;
  --blush: #FFE7EF;
  --blush-line: #F6D3DF;
  --sky: #5B8FD9;
  --sky-soft: #E3EDFB;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-card: 0 24px 60px -32px rgba(176, 29, 78, 0.28);
  --shadow-soft: 0 14px 40px -24px rgba(42, 22, 32, 0.25);

  --wrap: 1160px;
  --wrap-narrow: 820px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blush); color: var(--rose-deep); }

/* ---------- Typografie ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }

.serif-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
}

/* ---------- Layout ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); display: grid; gap: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 246, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--blush-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { width: 46px; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.1;
}
.brand__claim {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--blush-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: "▾"; font-size: 0.7em; color: var(--rose); }
.lang-switch[open] summary { background: var(--blush); }
.lang-switch__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--blush-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  display: grid;
  min-width: 150px;
}
.lang-switch__menu a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
}
.lang-switch__menu a:hover { background: var(--blush); color: var(--rose-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}
.btn--primary {
  background: linear-gradient(120deg, var(--rose), var(--rose-bright));
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(230, 41, 96, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(230, 41, 96, 0.6); color: var(--white); }
.btn--ghost {
  border-color: var(--blush-line);
  color: var(--rose-deep);
  background: var(--white);
}
.btn--ghost:hover { background: var(--blush); transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.92rem; }

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--blush-line);
  border-radius: 12px;
  width: 46px; height: 46px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--blush-line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 1.1rem; padding: 0.7rem 0; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
  text-align: center;
  background:
    radial-gradient(58rem 30rem at 8% -12%, rgba(255, 57, 129, 0.14), transparent 60%),
    radial-gradient(52rem 28rem at 96% 6%, rgba(91, 143, 217, 0.16), transparent 62%),
    var(--paper);
}

.hero__inner { max-width: 860px; margin: 0 auto; display: grid; justify-items: center; gap: 1.4rem; }

.hero .verse {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  line-height: 1.28;
}
.hero .verse .line { display: block; }
.hero .verse em { font-style: italic; color: var(--rose-deep); }

.hero cite {
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Herzschlag-Signatur */
.heartbeat { width: min(420px, 70vw); margin: 0.6rem auto; color: var(--rose); }
.heartbeat path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.heartbeat .hb-heart { fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: no-preference) {
  .heartbeat path {
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
  }
  .heartbeat.is-visible path { animation: hb-draw 2.4s ease forwards; }
  .heartbeat .hb-heart {
    opacity: 0;
    transform-origin: center;
  }
  .heartbeat.is-visible .hb-heart { animation: hb-pop 0.6s ease 2s forwards; }
  @keyframes hb-draw { to { stroke-dashoffset: 0; } }
  @keyframes hb-pop {
    0% { opacity: 0; transform: scale(0.4); }
    70% { opacity: 1; transform: scale(1.25); }
    100% { opacity: 1; transform: scale(1); }
  }
}

/* Rotierende Leitsätze */
.statements {
  position: relative;
  width: 100%;
  min-height: 4.6em;
  display: grid;
}
.statements p {
  grid-area: 1 / 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  transform: translateY(10px);
  margin: 0 auto;
  max-width: 620px;
}
.statements p.is-active { opacity: 1; transform: none; }
.statements strong { font-style: normal; color: var(--rose-deep); font-weight: 500; }

/* ---------- Scroll-Reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .statements p { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card { transition: none !important; }
}

/* ---------- Karten ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--blush-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(176, 29, 78, 0.35); }

.card--blush { background: linear-gradient(160deg, var(--blush), var(--white) 70%); }
.card--sky { background: linear-gradient(160deg, var(--sky-soft), var(--white) 70%); }

.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--sky { background: var(--sky-soft); color: #2F5FA8; }

.cards-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .cards-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 879px) { .cards-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .cards-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 879px) { .cards-grid--4 { grid-template-columns: 1fr 1fr; } }

/* Foto-Karten (Begegne Jesus, Projekte) */
.photo-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.photo-card figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card figcaption,
.photo-card .photo-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.photo-card h3 { font-size: 1.18rem; }

/* Bild-Rahmen */
.framed { position: relative; }
.framed img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.framed::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 2px solid var(--blush-line);
  border-radius: var(--radius-lg);
  z-index: -1;
}
/* Mobil: versetzten Zierrahmen deaktivieren, Bild bündig */
@media (max-width: 879px) {
  .framed::before { display: none; }
}

/* Foto-Galerie */
.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .gallery--4 { grid-template-columns: repeat(2, 1fr); } }
.gallery img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
}
.gallery--4 img { transition: transform 0.4s ease; }
.gallery--4 img:hover { transform: translateY(-6px) rotate(-0.5deg); }

/* Breites Foto-Banner */
.photo-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
@media (max-width: 700px) { .photo-banner { aspect-ratio: 4 / 3; } }

/* Portrait mit Unterschrift (Rahmen nur ums Bild) */
.portrait { display: grid; gap: 1.1rem; justify-items: center; }
.portrait figcaption { font-weight: 600; text-align: center; }

/* ---------- Zitat-Banner ---------- */

.quote-banner {
  background:
    radial-gradient(40rem 20rem at 85% 120%, rgba(91, 143, 217, 0.35), transparent 60%),
    linear-gradient(120deg, var(--rose-deep), var(--rose) 55%, var(--rose-bright));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  display: grid;
  justify-items: center;
  gap: 1.6rem;
}
.quote-banner blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  max-width: 760px;
}
.quote-banner .btn--primary {
  background: var(--white);
  color: var(--rose-deep);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.4);
}
.quote-banner .btn--primary:hover { color: var(--rose); }

/* ---------- Info-Listen (Kontakt, Bank) ---------- */

.info-list { display: grid; gap: 0.4rem; }
.info-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--blush-line);
}
.info-list dt { font-weight: 600; min-width: 180px; color: var(--muted); }
.info-list dd { font-weight: 500; }

.contact-tiles { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .contact-tiles { grid-template-columns: 1fr 1fr; } }
.contact-tiles .card { text-align: center; display: grid; justify-items: center; gap: 0.5rem; }
.contact-tiles .card .icon { font-size: 1.6rem; }
.contact-tiles .card a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 1rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--blush-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--rose);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--rose-deep); }
.faq .faq__body { padding: 0 1.5rem 1.4rem; color: var(--muted); display: grid; gap: 0.8rem; }
.faq .faq__body .serif-quote { color: var(--rose-deep); }

/* ---------- Bibelverse ---------- */

.verses { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .verses { grid-template-columns: 1fr 1fr; } }
.verse-card { display: grid; gap: 0.7rem; align-content: start; }
.verse-card .badge { justify-self: start; }
.verse-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
}
@media (min-width: 760px) { .verses .verse-card:last-child { grid-column: 1 / -1; } }

/* ---------- Formular ---------- */

.form-grid { display: grid; gap: 1.2rem; }
.form-grid label { display: grid; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; }
.form-grid input,
.form-grid textarea {
  font: inherit;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--blush-line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(230, 41, 96, 0.12);
}
.form-grid textarea { min-height: 160px; resize: vertical; }

/* ---------- Karte (Maps) ---------- */

.map-embed {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------- Instagram ---------- */

.insta-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.2rem;
  background:
    radial-gradient(30rem 16rem at 12% -30%, rgba(255, 57, 129, 0.12), transparent 60%),
    radial-gradient(30rem 16rem at 88% 130%, rgba(91, 143, 217, 0.14), transparent 60%),
    var(--white);
}
.insta-card .handle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
}

/* ---------- Zahlungs-Banner ---------- */

.pay-badges { display: grid; gap: 1rem; }
.pay-badges img {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Abschnitts-Hintergründe ---------- */

.band-blush {
  background: linear-gradient(180deg, var(--paper) 0%, var(--blush) 18%, var(--blush) 82%, var(--paper) 100%);
}
.band-sky {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sky-soft) 18%, var(--sky-soft) 82%, var(--paper) 100%);
}

/* ---------- Rechtstexte ---------- */

.legal { display: grid; gap: 2.2rem; }
.legal h2 { font-size: 1.5rem; margin-top: 0.5rem; }
.legal h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }
.legal ul { padding-left: 1.3rem; display: grid; gap: 0.3rem; }
.legal .card { display: grid; gap: 0.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: #23101B;
  color: #F4DEE8;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.site-footer a { color: #FFC1D8; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-brand img { width: 130px; background: var(--white); border-radius: 20px; padding: 10px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 340px; font-size: 0.98rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 193, 216, 0.25);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.92rem;
}
.footer-bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Kleinkram ---------- */

.emoji { font-style: normal; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rose-deep);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 14px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }
