/* Praxis-Beilage — Einlage-Flyer
   Eigenes Stylesheet, bewusst getrennt vom Heft-style.css.
   Farbpalette und Typo aus korell.org/praxis übernommen.
*/

/* ===== Webfonts (self-hosted, DSGVO) ===== */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/merriweather-v33-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/merriweather-v33-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-pro-v23-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-pro-v23-latin-600.woff2') format('woff2');
}

/* ===== Variablen ===== */
:root {
  --green-deep:   #3d5a3d;
  --green-mid:    #4a6741;
  --green-accent: #7cb342;
  --green-dark:   #689f38;
  --ink:          #2a2826;
  --ink-soft:     #555555;
  --card-bg:      #ffffff;
  --card-soft:    #f6f6f1;
}

/* ===== Reset / Basis ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Source Sans Pro', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  min-height: 100vh;

  /* Hochglanz-Bühne: Vollflächiges Grün mit weichem Highlight */
  background-color: var(--green-deep);
  background-image:
    radial-gradient(ellipse 70% 50% at 25% 0%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(0,0,0,0.18), transparent 60%),
    linear-gradient(160deg, var(--green-mid) 0%, var(--green-deep) 70%);
  background-attachment: fixed;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.25rem 2rem;
}

/* ===== Beilagen-Leiste (oben über Karte) ===== */
.beilage-bar {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.beilage-back {
  justify-self: start;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
}
.beilage-back:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.7);
}
.beilage-marker {
  justify-self: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-align: center;
}
.beilage-marker .dot {
  display: inline-block;
  margin: 0 0.5em;
  opacity: 0.55;
}

/* ===== Flyer-Karte ===== */
.flyer {
  width: 100%;
  max-width: 720px;
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(0,0,0,0.38),
    0 10px 18px rgba(0,0,0,0.22),
    0 1px 0 rgba(255,255,255,0.5) inset;
  position: relative;
}

/* Limetten-Akzentband oben — direktes Zitat von Carolas Card-Pattern */
.flyer::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--green-accent);
}

.flyer-inner {
  padding: 2.5rem 2.75rem 2.25rem;
}

/* ===== Logo-Kopf ===== */
.flyer-logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0.25rem auto 1.5rem;
}

/* ===== Kicker (zentriert unter Logo) ===== */
.flyer-kicker {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-mid);
  text-align: center;
  margin: 0 0 1.25rem;
}

/* ===== Dek — Magazin-Setzung mit Punkten ===== */
.flyer-dek {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--green-deep);
  text-align: center;
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(74,103,65,0.18);
}

/* ===== Body-Text ===== */
.flyer-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.flyer-body p { margin: 0 0 1rem; }
.flyer-body p:last-child { margin-bottom: 0; }

/* ===== Pfeiler-Sektion: Baum-Bild als Bühne, Liste als Cremepanel ===== */
.pfeiler-row {
  position: relative;
  margin: 1.75rem 0 1.75rem;
  border-radius: 6px;
  overflow: hidden;
  min-height: 220px;
  background-image:
    linear-gradient(rgba(30,50,30,0.30), rgba(30,50,30,0.40)),
    url('images/praxis-baum.jpg');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* ===== Drei Pfeiler (vertikal, Limetten-Punkt) ===== */
.pfeiler {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 40%;
  background: rgba(255, 255, 255, 0.58);
  border-top: 3px solid var(--green-accent);
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.30);
}
.pfeiler-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.pfeiler-item::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  margin-top: 0.55em;
}
.pfeiler-content {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.pfeiler-name {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green-deep);
  line-height: 1.25;
}
.pfeiler-note {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ===== Kontakt + Sprechzeiten (zwei Kacheln) ===== */
.kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
.kontakt-block {
  background: var(--card-soft);
  border-top: 3px solid var(--green-accent);
  padding: 1.1rem 1.15rem;
}
.kontakt-block .kontakt-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin: 0 0 0.45rem;
}
.kontakt-block .kontakt-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.kontakt-block a {
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(104,159,56,0.35);
}
.kontakt-block a:hover {
  color: var(--green-deep);
  border-bottom-color: var(--green-dark);
}

/* ===== CTA-Button ===== */
.cta-wrap {
  text-align: center;
  margin: 2rem 0 0.5rem;
}
.cta {
  display: inline-block;
  background: var(--green-mid);
  color: #ffffff;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.95rem 2rem;
  border-radius: 6px;
  box-shadow:
    0 6px 14px rgba(61,90,61,0.35),
    0 1px 0 rgba(255,255,255,0.18) inset;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}
.cta:hover {
  background: var(--green-deep);
  box-shadow:
    0 10px 22px rgba(61,90,61,0.45),
    0 1px 0 rgba(255,255,255,0.18) inset;
  transform: translateY(-1px);
}
.cta-arrow { margin-right: 0.5em; }

/* ===== Beilagen-Footer (unterhalb der Karte, auf der grünen Bühne) ===== */
.beilage-foot {
  width: 100%;
  max-width: 720px;
  margin: 1.5rem 0 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
.beilage-foot a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
}
.beilage-foot a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.7);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  body { padding: 1.5rem 0.85rem; }
  .flyer-inner { padding: 1.75rem 1.25rem 1.5rem; }
  .flyer-title { font-size: 1.65rem; }
  .pfeiler-row { padding: 1.25rem 1rem; min-height: 280px; }
  .pfeiler { width: 100%; }
  .beilage-bar {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }
  .beilage-back { justify-self: center; }
  .beilage-spacer { display: none; }
  .kontakt { grid-template-columns: 1fr; gap: 1rem; }
  .beilage-foot {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
