/* Core-reed — Tierbetreuung Berlin
   Archetype: Split-Screen Modern
   Flexbox only, no CSS grid. */

:root {
  --bg: #f7f3ec;
  --bg-alt: #efe8dc;
  --ink: #1e2a24;
  --green: #2f5d4f;
  --green-dark: #22463b;
  --accent: #d8803a;
  --accent-soft: #f2d7bc;
  --muted: #68726b;
  --card: #ffffff;
  --line: #e3dacc;
  --line-solid: #e3dacc;
  --shadow: 0 18px 40px -24px rgba(31, 42, 36, 0.45);
  --radius: 18px;
  --maxw: 1200px;
  --ff-head: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

a { color: var(--green-dark); }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.muted { color: var(--muted); }

/* ---------- Ad disclosure bar ---------- */
.ad-bar {
  background: var(--green-dark);
  color: #f3efe3;
  font-size: 0.82rem;
}
.ad-bar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.ad-badge {
  background: var(--accent);
  color: #241a10;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.ad-bar span.note { opacity: 0.85; }

/* ---------- Header / nav (split) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-solid);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green-dark);
  border-bottom-color: var(--accent);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-solid);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #231810;
  box-shadow: 0 10px 24px -12px rgba(216, 128, 58, 0.8);
}
.btn-primary:hover { background: #c9712f; }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-dark {
  background: var(--green-dark);
  color: #fff;
}
.btn-dark:hover { background: var(--green); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.text-link {
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-soft);
  transition: border-color 0.2s;
}
.text-link:hover { border-bottom-color: var(--accent); }

/* ---------- Hero (split screen) ---------- */
.hero {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 72vh;
}
.hero-text {
  flex: 1 1 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 6vw 72px 0;
}
.hero-media {
  flex: 1 1 440px;
  background-color: var(--accent-soft);
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; min-height: 360px; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line-solid);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Generic section ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark {
  background: var(--green-dark);
  color: #eef2ea;
}
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .muted { color: #b9c6bd; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Stats strip ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.stat {
  flex: 1 1 180px;
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  padding: 26px;
}
.stat .num {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
}
.stat .lbl { font-size: 0.92rem; color: var(--muted); margin-top: 8px; }

/* ---------- Split rows (alternating) ---------- */
.split {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.split + .split { margin-top: 90px; }
.split > * { flex: 1 1 380px; }
.split.reverse { flex-direction: row-reverse; }
.split-media {
  background-color: var(--accent-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 420px; }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.step {
  flex: 1 1 240px;
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}
.step .idx {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* ---------- Service cards ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.card {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media {
  background-color: var(--accent-soft);
  overflow: hidden;
}
.card-media img { width: 100%; height: 200px; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-price {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--green);
  margin: 14px 0 4px;
}
.card-price small { font-size: 0.82rem; color: var(--muted); font-family: var(--ff-body); }
.card .card-cta { margin-top: auto; padding-top: 16px; }

/* ---------- Service detail rows ---------- */
.service-row {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-solid);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse { flex-direction: row-reverse; }
.service-row > .txt { flex: 1 1 360px; }
.service-row > .pic {
  flex: 1 1 320px;
  background-color: var(--accent-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-row .pic img { width: 100%; height: 320px; }
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--green-dark);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 10px 0 18px;
  font-family: var(--ff-head);
  font-size: 1.2rem;
}

.feature-list { list-style: none; padding: 0; margin: 0 0 20px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex: none;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.quote {
  flex: 1 1 300px;
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  padding: 30px;
}
.quote p { font-size: 1.05rem; }
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex: none;
}
.quote .who .name { font-weight: 600; font-size: 0.95rem; }
.quote .who .meta { font-size: 0.82rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; }

/* ---------- Form ---------- */
.form-split {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.form-split > .intro { flex: 1 1 320px; }
.form-card {
  flex: 1 1 420px;
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line-solid);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 93, 79, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.field.check input { width: auto; margin-top: 4px; }
.field.check label { font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.form-error {
  color: #b3431f;
  font-size: 0.85rem;
  margin: -8px 0 12px;
  display: none;
}
.form-error.show { display: block; }
.selected-pill {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: none;
}
.selected-pill.show { display: block; }

/* ---------- Info / contact blocks ---------- */
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.info-card {
  flex: 1 1 260px;
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  padding: 28px;
}
.info-card h3 { font-size: 1.1rem; }
.info-card .big {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  color: var(--green-dark);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: #241810;
  border-radius: var(--radius);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #241810; margin: 0; }
.cta-band p { margin: 6px 0 0; max-width: 48ch; }

/* ---------- Legal / article pages ---------- */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}
.doc h1 { margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.doc h2 { font-size: 1.5rem; margin-top: 40px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }

.disclaimer {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 22px 26px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #cdd8cf;
  padding: 64px 0 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col { flex: 1 1 220px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #cdd8cf; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-contact { font-size: 0.92rem; line-height: 1.8; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #9fb0a4;
}
.footer-disclaimer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #9fb0a4;
  line-height: 1.6;
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  background: var(--ink);
  color: #eef2ea;
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}
.cookie.hidden { display: none; }
.cookie p { margin: 0; font-size: 0.9rem; flex: 1 1 320px; }
.cookie a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  box-shadow: 0 16px 30px -12px rgba(216,128,58,0.7);
}
.sticky-cta.hidden { display: none; }

/* ---------- Thanks ---------- */
.thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks-inner { max-width: 560px; }
.thanks .check {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 2.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
}
.thanks .ref {
  background: var(--card);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0 30px;
  display: inline-block;
}

/* ---------- Utilities ---------- */
.hero-section { padding-top: 40px; }
.btn-block { width: 100%; }
.mt-lg { margin-top: 28px; }
.btn-ghost-light { color: #eef2ea; border-color: #eef2ea; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line-solid);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 12px 0; }
  .nav .nav-cta { display: none; }
  .hero-text { padding: 48px 0; }
  .split, .split.reverse { flex-direction: column; }
  .service-row, .service-row.reverse { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 34px 26px; }
}
