/* SenHome · sen-home.de · Attio-inspiriertes Design */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --ink: #111214;
  --ink-2: #2b2d31;
  --muted: #6b6f76;
  --line: #e7e7ea;
  --line-strong: #d6d6db;
  --accent: #2f6fde;
  --ph: #fff1a8;
  --ph-ink: #6b5600;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;
  --gutter: 24px;
  /* Flächen für das Split-Layout (Kira-Referenz, ruhiger) */
  --tint-1: #e8eefc;
  --tint-2: #eaf3ec;
  --tint-3: #f6efe4;
  --tint-4: #efeafb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; font-weight: 600; }
h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
p { margin: 0; }
.muted { color: var(--muted); }

/* Platzhalter (Preview) */
.ph {
  background: var(--ph);
  color: var(--ph-ink);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
}
.ph-box {
  background: repeating-linear-gradient(135deg, #fffbe0 0 12px, #fff6c2 12px 24px);
  border: 1.5px dashed #e3c84a;
  color: var(--ph-ink);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  font-size: 15px;
  font-weight: 500;
}
.preview-bar {
  background: #111214;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 9px 16px;
}
.preview-bar .ph { background: var(--ph); }

/* Layout: Attio-Rahmen mit feinen vertikalen Linien */
.frame {
  max-width: calc(var(--max) + 2px);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.section { padding: 96px var(--gutter); border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  margin-bottom: 20px;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2c31; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.micro { font-size: 14px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  gap: 24px;
}
.logo img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; font: inherit; }

/* Hero */
.hero { padding: 88px var(--gutter) 72px; }
.hero h1 .line2 { display: block; color: var(--muted); }
.hero .sub { font-size: 21px; margin: 24px 0 32px; color: var(--ink-2); }
.hero-visual {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto 2.2fr;
  gap: 20px;
  align-items: center;
}
.io-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 2px rgba(17,18,20,.04), 0 8px 24px rgba(17,18,20,.05);
}
.input-card { aspect-ratio: 1 / 1.05; display: grid; place-items: center; background: #fff; }
.input-card img { width: 86%; }
.arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { aspect-ratio: 16 / 10; }
.tile model-viewer, .tile video, .tile > img { width: 100%; height: 100%; object-fit: cover; background: var(--bg-soft); }
.tile .tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600;
}
.views { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; background: #fff; }
.views img { width: 100%; height: 100%; object-fit: contain; padding: 30px 6px 6px; }
.views img.cover { object-fit: cover; padding: 0; border-left: 2px solid #fff; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 28px; border-right: 1px solid var(--line); background: #fff; }
.step:last-child { border-right: 0; }
.step .num { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; margin: 18px 0; }
.step h4 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--muted); }
.after-steps { margin-top: 32px; }

/* Split-Blöcke (Kira-Referenz) */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; min-height: 520px; }
.split.reverse .split-media { order: 2; }
.split-text { background: var(--bg-soft); padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.split-text .badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: auto; }
.split-text .eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); margin: 40px 0 12px; text-transform: uppercase; letter-spacing: .08em; }
.split-text p.lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.split-text ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.split-text li { padding-left: 22px; position: relative; }
.split-text li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--ink); }
.price-chip { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 24px; font-size: 15px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.price-chip span { font-weight: 400; color: var(--muted); }
.split-media {
  position: relative; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  background-image:
    linear-gradient(rgba(17,18,20,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,18,20,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.t1 { background-color: var(--tint-1); } .t2 { background-color: var(--tint-2); }
.t3 { background-color: var(--tint-3); } .t4 { background-color: var(--tint-4); }

/* Karussell */
.carousel { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide .card { aspect-ratio: 4 / 3; }
.slide model-viewer, .slide video, .slide .card > img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.slide .contain { object-fit: contain !important; padding: 18px; }
.slide .caption { margin-top: 12px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.slide .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; background: #fff; }
.slide .grid3 img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.slide .grid2 { display: grid; grid-template-columns: 1fr 1fr; height: 100%; gap: 2px; background: var(--line); }
.slide .grid2 img { width: 100%; height: 100%; object-fit: cover; }
.c-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(17,18,20,.2); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--ink); width: 22px; border-radius: 99px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.mv-hint { position: absolute; right: 12px; bottom: 12px; font-size: 12px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; pointer-events: none; }

/* Sample-Block */
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; }
.sample-form { padding: 48px; background: #fff; }
.sample-form h3 { margin-bottom: 12px; }
form { display: grid; gap: 12px; margin-top: 28px; }
label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.sample-media { background: var(--tint-1); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.sample-media .ph-box { flex: 1; border-radius: var(--radius); min-height: 360px; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 720px; }

/* Preise */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .thumb { width: 84px; }
.price-table .thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.price-table .cat { font-weight: 600; }
.price-table .cat small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.price-table .p { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .p strong { font-size: 17px; }
.price-table .p small { display: block; color: var(--muted); }
.price-table .p .ph { display: inline-block; }
.price-table .group td { background: #fcfcfd; }
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.note-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 15px; }
.note-card strong { display: block; margin-bottom: 4px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* Pakete */
.bundles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.bundle { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.bundle p { font-size: 15px; color: var(--muted); flex: 1; }
.b-tag { font-size: 13px; font-weight: 600; }
.b-price { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.b-price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.bundle.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.bundle.dark p, .bundle.dark .b-price small { color: #b9bcc3; }

/* Team */
.team { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: stretch; }
.about { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: var(--bg-soft); }
.about p { margin-top: 14px; color: var(--muted); }
.person { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.person .ph-box { aspect-ratio: 1 / 1; border: 0; border-bottom: 1.5px dashed #e3c84a; }
.person { display: flex; flex-direction: column; }
.person > img { width: 100%; flex: 1 1 0; min-height: 0; height: 100%; object-fit: cover; object-position: 50% 15%; background: var(--bg-soft); }
.katalog img { width: 100%; height: auto; }
.sample-media .katalog { flex: none; }
.sample-media { justify-content: center; }
.about p + p { margin-top: 10px; }
.person .info { padding: 18px 20px; }
.person .info strong { display: block; }
.person .info span { font-size: 14px; color: var(--muted); }

/* Abschluss + Footer */
.final { text-align: center; padding: 112px var(--gutter); border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 100%, #eef3fd 0%, #fff 70%); }
.final h2 { max-width: 760px; margin: 0 auto; }
.final p { margin: 18px auto 32px; color: var(--muted); max-width: 560px; }
.final .btn-row { justify-content: center; }
footer { border-top: 1px solid var(--line); }
.foot { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot a { text-decoration: none; margin-left: 20px; }
.foot a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .hero-visual { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); margin: 0 auto; }
  .input-card { aspect-ratio: 16 / 10; }
  .input-card img { width: auto; height: 86%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .sample { grid-template-columns: 1fr; min-height: 0; }
  .split.reverse .split-media { order: 0; }
  .split-text .badge { margin-bottom: 0; }
  .team { grid-template-columns: 1fr 1fr; }
  .person > img { flex: none; aspect-ratio: 1 / 1; height: auto; }
  .about { grid-column: 1 / -1; }
  .price-notes { grid-template-columns: 1fr; }
  .bundles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px var(--gutter); }
  .hero { padding: 56px var(--gutter) 48px; }
  .hero .sub { font-size: 18px; }
  .outputs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .split-text, .split-media, .sample-form, .sample-media { padding: 28px 20px; }
  .row2 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .bundles { grid-template-columns: 1fr; }
  .price-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .price-table { min-width: 620px; }
  .foot a { margin: 0 16px 0 0; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 14px; }
  .btn { white-space: normal; }
  .nav-cta .btn { white-space: nowrap; }
}

/* Rechtliche Seiten */
.legal { max-width: 820px; }
.legal h4 { margin: 32px 0 8px; font-size: 17px; }
.legal p { color: var(--ink-2); font-size: 16px; }
.legal a { color: var(--accent); }
