/* ==========================================================================
   top-hundekrankenversicherung.de
   Stil angelehnt an das LVM-Erscheinungsbild (Grün, klar, sachlich)
   ========================================================================== */

:root {
  --lvm-green: #009b31;
  --lvm-green-dark: #00722a;
  --lvm-green-darker: #00551f;
  --lvm-green-tint: #e6f4ea;
  --ink: #1a1a1a;
  --grey-text: #4a4a4a;
  --grey-bg: #f5f7f5;
  --border: #dfe6e1;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top-Leiste ---------- */
.top-bar {
  background: var(--lvm-green-darker);
  color: var(--white);
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: var(--white); text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--lvm-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.brand-logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}
.brand-text { line-height: 1.25; }
.brand-text strong { display: block; font-size: 16px; color: var(--lvm-green-darker); }
.brand-text span { display: block; font-size: 12.5px; color: var(--grey-text); }

nav.main-nav { display: flex; gap: 22px; }
nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
nav.main-nav a:hover { color: var(--lvm-green-dark); }

.header-cta { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--lvm-green);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 155, 49, 0.35);
}
.btn-primary:hover { background: var(--lvm-green-dark); }
.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--lvm-green);
  color: var(--lvm-green-dark);
}
.btn-small { padding: 9px 18px; font-size: 14px; border-radius: 24px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--lvm-green-darker), var(--lvm-green) 70%);
  color: var(--white);
  padding: 64px 0 74px;
}
.hero .container { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-copy { flex: 1 1 420px; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
}
.hero h1 { font-size: 40px; margin: 10px 0 16px; line-height: 1.15; }
.hero p.lead { font-size: 18px; opacity: 0.95; margin-bottom: 26px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}
.paw-badge {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-highlights {
  background: var(--white);
  margin-top: -34px;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 14.5px;
}
.highlight-item .check {
  color: var(--lvm-green);
  font-size: 20px;
  line-height: 1;
}

/* ---------- Trust-Siegel ---------- */
.trust-badge-band {
  padding: 40px 0;
}
.trust-badge-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.trust-badge-inner img {
  width: 190px;
  height: auto;
  flex-shrink: 0;
}
.trust-badge-text { max-width: 46ch; }
.trust-badge-text strong { display: block; font-size: 17px; color: var(--lvm-green-darker); margin-bottom: 4px; }
.trust-badge-text span { font-size: 14px; color: var(--grey-text); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--grey-bg); }
.section-kicker {
  color: var(--lvm-green-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
h2 { font-size: 28px; margin: 0 0 18px; color: var(--ink); }
.lead-text { color: var(--grey-text); max-width: 70ch; margin-bottom: 30px; }

/* ---------- Tarif-Tabelle ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.tarife {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 640px;
}
table.tarife th, table.tarife td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14.5px;
  vertical-align: top;
}
table.tarife thead th {
  background: var(--lvm-green-darker);
  color: var(--white);
  position: sticky;
  top: 0;
}
table.tarife tbody tr:nth-child(even) { background: var(--grey-bg); }
table.tarife td.yes, table.tarife th.yes { text-align: center; }
.dot-yes {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lvm-green);
  position: relative;
}
.dot-yes::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.badge-popular {
  background: #ffb100;
  color: #4a3400;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
  white-space: nowrap;
}

/* ---------- Karten ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; font-size: 18px; color: var(--lvm-green-darker); }
.card ul { padding-left: 18px; margin: 0; color: var(--grey-text); font-size: 14.5px; }
.card ul li { margin-bottom: 6px; }

.case-card { border-left: 4px solid var(--lvm-green); }
.case-amount {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--lvm-green-darker);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--lvm-green);
  font-weight: 400;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--grey-text); margin: 12px 0 0; font-size: 14.5px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.avatar-placeholder {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--lvm-green-tint);
  color: var(--lvm-green-darker);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
}
.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 { margin: 0 0 4px; font-size: 15.5px; }
.team-card .role { color: var(--lvm-green-dark); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.team-card p.desc { font-size: 13px; color: var(--grey-text); margin: 0; }

/* ---------- Agentur-Info-Band ---------- */
.agency-band {
  background: var(--lvm-green-tint);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.agency-band .info dl {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 14px;
  font-size: 14px;
  margin: 8px 0 0;
}
.agency-band dt { color: var(--grey-text); }
.agency-band dd { margin: 0; font-weight: 600; }

/* ---------- Sticky CTA (mobil) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: none;
  z-index: 60;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
}
.sticky-cta .btn { width: 100%; text-align: center; }
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
  .hero h1 { font-size: 30px; }
  nav.main-nav { display: none; }
}

/* ---------- Closing CTA band ---------- */
.cta-band {
  background: var(--lvm-green-darker);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { opacity: 0.9; max-width: 60ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #10231a;
  color: #cfe3d6;
  padding: 44px 0 26px;
  font-size: 14px;
}
footer.site-footer a { color: #cfe3d6; text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  margin-bottom: 26px;
}
.footer-grid h5 { color: var(--white); font-size: 14px; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #9db8a8;
}
.footer-bottom button.linklike {
  background: none;
  border: none;
  color: #9db8a8;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12.5px;
  padding: 0;
}

/* ---------- Legal pages ---------- */
.legal-page section { padding: 40px 0; }
.legal-page h1 { font-size: 30px; margin-bottom: 6px; }
.legal-page .updated { color: var(--grey-text); font-size: 13px; margin-bottom: 30px; }
.legal-page h2 { font-size: 20px; margin-top: 34px; }
.legal-page h3 { font-size: 16px; margin-top: 22px; color: var(--lvm-green-darker); }
.legal-page p, .legal-page li { color: #262626; font-size: 15px; }
.legal-page ul { padding-left: 20px; }
.notice-box {
  background: var(--lvm-green-tint);
  border-left: 4px solid var(--lvm-green);
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 14.5px;
  margin-bottom: 30px;
}

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--lvm-green);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  padding: 22px;
  z-index: 200;
  display: none;
}
#cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 380px; font-size: 14px; color: var(--grey-text); }
.cookie-text strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-categories {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0;
  font-size: 13.5px;
}
.cookie-categories label { display: flex; align-items: center; gap: 6px; }
