/* Vet Service Hub — Studienseite */

:root {
  --c-ink: #0b1220;
  --c-body: #1f2937;
  --c-muted: #6b7280;
  --c-line: #e6e8ec;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f6f3;
  --c-bg-deep: #0a1628;
  --c-bg-deeper: #06101e;
  --c-primary: #0a1628;
  --c-accent: #d97443;
  --c-accent-bright: #f08a5d;
  --c-accent-soft: #fbeadd;
  --c-success: #2d6a4f;
  --max: 1180px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 2px 8px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 8px 30px rgba(11, 18, 32, 0.08);
  --shadow-deep: 0 24px 60px rgba(11, 18, 32, 0.18);
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-body);
  background: var(--c-bg);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s ease; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0 0 0.55em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -0.032em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }

p { margin: 0 0 1em; }

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

/* Eyebrow tags */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(217, 116, 67, 0.1);
  color: var(--c-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow.eyebrow-light {
  background: rgba(240, 138, 93, 0.18);
  color: var(--c-accent-bright);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header.on-dark {
  background: rgba(10, 22, 40, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header.on-dark .brand,
.site-header.on-dark .nav-links a { color: #f5f7fa; }
.site-header.on-dark .nav-links a:hover { color: var(--c-accent-bright); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); text-decoration: none; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand-mark { color: var(--c-accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--c-body); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--c-primary); }
.btn-nav { background: var(--c-accent); color: #fff !important; padding: 9px 16px; border-radius: var(--r-sm); font-weight: 600; }
.btn-nav:hover { background: var(--c-accent-bright); color: #fff !important; }

/* HERO — dark, premium */
.hero {
  position: relative;
  background: var(--c-bg-deep);
  color: #e9eef5;
  padding: 96px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 116, 67, 0.18), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(45, 106, 79, 0.16), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: center; }
.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #b8c4d1;
  margin: 0 0 36px;
  max-width: 600px;
  line-height: 1.55;
}
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  max-width: 600px;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .lbl {
  font-size: 0.84rem;
  color: #8597aa;
  letter-spacing: 0.04em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.hero-meta { font-size: 0.93rem; color: #94a3b8; margin-top: 24px; }
.hero-meta strong { color: #fff; font-weight: 600; }

.portrait-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-deep);
  position: relative;
  transform: rotate(0.6deg);
}
.portrait-card::before {
  content: "";
  position: absolute;
  inset: -16px -16px auto auto;
  width: 96px; height: 96px;
  background: var(--c-accent);
  border-radius: 50%;
  z-index: -1;
  filter: blur(28px);
  opacity: 0.55;
}
.portrait-card img { width: 100%; height: auto; display: block; border-radius: 12px; }
.portrait-caption { padding: 16px 14px 10px; }
.portrait-caption .name { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); font-size: 1.02rem; }
.portrait-caption .role { color: var(--c-muted); font-size: 0.9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 600; padding: 14px 22px; border-radius: var(--r-sm);
  text-decoration: none; transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-bright); color: #fff; }
.btn-light { background: #fff; color: var(--c-ink); }
.btn-light:hover { background: #f5f6f3; color: var(--c-ink); }
.btn-ghost { background: transparent; color: var(--c-primary); border-color: var(--c-line); }
.btn-ghost:hover { background: var(--c-bg-soft); color: var(--c-primary); border-color: var(--c-primary); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-arrow svg, .btn-arrow .arr { transition: transform 0.15s ease; }
.btn-arrow:hover svg, .btn-arrow:hover .arr { transform: translateX(3px); }

/* Sections */
section { padding: 96px 0; position: relative; }
.section-soft { background: var(--c-bg-soft); }
.section-deep { background: var(--c-bg-deep); color: #d8e1ec; }
.section-deeper { background: var(--c-bg-deeper); color: #d8e1ec; }
.section-deep h2, .section-deep h3,
.section-deeper h2, .section-deeper h3 { color: #fff; }
.section-deep .lede,
.section-deeper .lede { color: #94a3b8; }

.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { font-size: 1.08rem; color: var(--c-muted); margin-top: 8px; }
.section-deep .section-head .lede,
.section-deeper .section-head .lede { color: #94a3b8; }

/* Research-question card */
.rq-wrap { max-width: 880px; margin: 0 auto; position: relative; }
.rq-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-accent);
  position: relative;
}
.rq-card .label {
  font-size: 0.78rem; font-weight: 700; color: var(--c-accent);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.rq-card blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Cards grid (Dienste) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-bright) 100%);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 22px;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(217, 116, 67, 0.3);
}
.card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.card p { color: var(--c-muted); margin-bottom: 18px; font-size: 0.96rem; line-height: 1.55; }
.card ul { margin: 0; padding: 0; list-style: none; color: var(--c-body); font-size: 0.92rem; }
.card ul li { padding: 6px 0; border-top: 1px solid var(--c-line); position: relative; padding-left: 18px; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 6px; height: 2px; background: var(--c-accent); transform: translateY(-50%);
}
.card ul li:first-child { border-top: 0; }

/* Two-column blocks */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.split-tight { gap: 44px; }
.split h2 { margin-top: 0; }

/* Lists with checkmarks */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative; padding-left: 32px; margin-bottom: 14px;
  font-size: 1rem; line-height: 1.55;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px;
  background: var(--c-accent);
  border-radius: 999px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.2L3 7.7 4.4 6.3 6.5 8.4 11.6 3.3 13 4.7z'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}
.checks-light li::before { background-color: var(--c-accent-bright); }

/* Phases — modern with big numbers */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: phase; position: relative; }
.phase {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 36px 28px 28px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.phase:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.phase-num {
  position: absolute; top: -22px; left: 24px;
  width: 44px; height: 44px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(217, 116, 67, 0.35);
}
.phase h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.phase .when {
  font-size: 0.84rem; color: var(--c-accent); margin-bottom: 14px;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.phase p { color: var(--c-body); font-size: 0.95rem; margin: 0; line-height: 1.55; }

/* CTA tier block */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier.tier-primary {
  background: linear-gradient(180deg, var(--c-bg-deep) 0%, var(--c-bg-deeper) 100%);
  color: #e9eef5;
  border: 0;
  box-shadow: var(--shadow-deep);
  transform: scale(1.03);
}
.tier.tier-primary:hover { transform: scale(1.03) translateY(-3px); }
.tier.tier-primary h3 { color: #fff; }
.tier.tier-primary .tier-tag { color: var(--c-accent-bright); }
.tier.tier-primary .duration { color: #94a3b8; }
.tier.tier-primary ul { color: #cdd5e0; }
.tier.tier-primary ul li { border-color: rgba(255, 255, 255, 0.08); }
.tier-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
.tier h3 { margin-bottom: 10px; font-size: 1.25rem; }
.tier .duration { font-size: 0.92rem; color: var(--c-muted); margin-bottom: 22px; }
.tier ul { margin: 0 0 28px 0; padding: 0; list-style: none; font-size: 0.95rem; color: var(--c-body); }
.tier ul li { padding: 9px 0; border-bottom: 1px solid var(--c-line); }
.tier ul li:last-child { border-bottom: 0; }
.tier .btn { margin-top: auto; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  border-bottom: 1px solid var(--c-line);
  padding: 24px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--c-ink);
  padding-right: 36px;
  position: relative;
  transition: color 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: -2px;
  color: var(--c-accent); font-size: 1.6rem; font-weight: 400;
  line-height: 1; transition: transform 0.2s ease;
}
.faq[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--c-accent); }
.faq p { margin: 14px 0 4px; color: var(--c-body); line-height: 1.55; }
.faq ul { color: var(--c-body); }

/* Disclaimers */
.disclaimers {
  background: #fff;
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  padding: 32px 34px;
  max-width: 840px; margin: 0 auto;
}
.disclaimers ul { padding-left: 22px; margin: 0; color: var(--c-body); }
.disclaimers ul li { margin-bottom: 10px; line-height: 1.55; }

/* Live Demo section */
.section-demo {
  position: relative;
  overflow: hidden;
}
.section-demo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(217, 116, 67, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(45, 106, 79, 0.14), transparent 50%);
  pointer-events: none;
}
.section-demo > .container { position: relative; z-index: 1; }

.dot-pulse { position: relative; }
.dot-pulse::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
  animation: dotPulse 1.6s ease-out infinite;
}
@keyframes dotPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

.demo-stage {
  display: flex; justify-content: center; align-items: center;
  margin: 24px 0 48px;
  position: relative;
}

.demo-frame {
  position: relative;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.demo-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(217, 116, 67, 0.4), rgba(45, 106, 79, 0.2));
  z-index: -1;
  filter: blur(24px);
}
.demo-frame video {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  background: #000;
}

.demo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: linear-gradient(135deg, #0a1628 0%, #06101e 100%);
}
.demo-orb {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-bright) 100%);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(217, 116, 67, 0.45);
  padding-left: 6px; /* visual centering of the play triangle */
}
.orb-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--c-accent);
  z-index: -1;
  animation: orbPulse 2.6s ease-out infinite;
}
.orb-pulse-2 { animation-delay: 1.3s; }
@keyframes orbPulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(2); opacity: 0; }
}
.demo-orb-cta { color: #94a3b8; font-size: 0.96rem; margin: 0; }

.demo-bullets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 940px; margin: 0 auto;
}
.demo-bullet {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.demo-bullet .b-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-accent-bright);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  min-width: 24px;
}
.demo-bullet strong {
  display: block; color: #fff; font-size: 0.98rem; margin-bottom: 2px;
}
.demo-bullet span {
  display: block; color: #94a3b8; font-size: 0.9rem; line-height: 1.5;
}

.demo-foot {
  text-align: center; max-width: 640px; margin: 32px auto 0;
  font-size: 0.86rem; color: #6b7c93;
}

@media (max-width: 920px) {
  .demo-bullets { grid-template-columns: 1fr; }
  .demo-orb { width: 80px; height: 80px; }
  .demo-orb svg { width: 36px; height: 36px; }
}

/* Big counter band */
.counter-band {
  background: var(--c-accent);
  color: #fff;
  padding: 28px 0;
  text-align: center;
}
.counter-band .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.counter-band .lbl {
  font-size: 0.95rem;
  opacity: 0.92;
  margin-top: 4px;
}

/* Footer */
.site-footer {
  background: var(--c-bg-deeper);
  color: #94a3b8;
  padding: 64px 0 28px;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid p { margin: 0 0 8px; line-height: 1.55; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul li a { text-decoration: none; }
.footer-grid ul li a:hover { color: var(--c-accent-bright); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: #5d6c80; font-size: 0.86rem; }

/* Generic page */
.page-narrow { max-width: 760px; margin: 0 auto; padding: 96px 24px 100px; }
.page-narrow h1 { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.page-narrow h2 { font-size: 1.3rem; margin-top: 2.4em; }
.page-narrow h3 { font-size: 1.05rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 920px) {
  .hero { padding: 60px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stats { gap: 24px; }
  .cards, .phases, .tiers { grid-template-columns: 1fr; }
  .tier.tier-primary { transform: none; }
  .tier.tier-primary:hover { transform: translateY(-3px); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 64px 0; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .rq-card { padding: 36px 28px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .rq-card { padding: 28px 24px; }
}
