/* Smartmacherei – bildstarke Landingpages und Ratgeber (seit 02.10.2026). Entwurf: docs/entwurf/landing-bildstark-2026-09-22/ */
@font-face { font-family: 'Outfit'; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/outfit-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
/* Fallback-Faces wie landing.css (gleiche Metriken, kein Layoutsprung beim Font-Laden) */
@font-face { font-family: 'Outfit Fallback'; font-weight: 500; src: local('Arial'); size-adjust: 98.88%; ascent-override: 101.14%; descent-override: 26.30%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit Fallback'; font-weight: 600; src: local('Arial'); size-adjust: 100.54%; ascent-override: 99.46%; descent-override: 25.86%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit Fallback'; font-weight: 700; src: local('Arial Bold'); size-adjust: 95.45%; ascent-override: 104.76%; descent-override: 27.24%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit Fallback'; font-weight: 800; src: local('Arial Bold'); size-adjust: 96.98%; ascent-override: 103.11%; descent-override: 26.81%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 400; src: local('Arial'); size-adjust: 105.92%; ascent-override: 91.58%; descent-override: 22.66%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 500; src: local('Arial'); size-adjust: 107.10%; ascent-override: 90.57%; descent-override: 22.41%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 600; src: local('Arial Bold'); size-adjust: 101.16%; ascent-override: 95.89%; descent-override: 23.73%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 700; src: local('Arial Bold'); size-adjust: 102.24%; ascent-override: 94.88%; descent-override: 23.47%; line-gap-override: 0%; }
:root {
  --ink: #0a2a3d;
  --text: #3f5866;
  --soft: #5b7180;
  --page: #eef4f8;
  --card: #ffffff;
  --deep: #0a6fbe;
  --brand: #11b1d6;
  --line: rgba(10, 42, 61, .10);
  --display: 'Outfit', 'Outfit Fallback', system-ui, sans-serif;
  --body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.015em; margin: 0; }
p { margin: 0; line-height: 1.55; color: var(--text); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }


/* Header */
.hdr { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.hdr .wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; }
.hdr .tel { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 100px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); text-decoration: none; border-radius: 100px; padding: 15px 24px; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.buy { background: var(--deep); color: #fff; }
.btn.white { background: #fff; color: var(--deep); }
.btn.line { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn.quiet { color: var(--ink); border: 1px solid var(--line); background: #fff; }

/* Hero: das Foto traegt die Seite */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,38,.78) 0%, rgba(6,24,38,.45) 42%, rgba(6,24,38,0) 70%), linear-gradient(0deg, rgba(6,24,38,.55) 0%, rgba(6,24,38,0) 45%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; line-height: .98; max-width: 9.5em; color: #fff; }
.hero .sub { color: rgba(255,255,255,.9); font-size: 19px; max-width: 26em; margin: 20px 0 30px; }
.hero .deal { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.price-tag { display: flex; flex-direction: column; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.3); }
.price-tag b { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.price-tag span { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 6px; }

/* Abschnitte */
section.block { padding: 96px 0; }
.block h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.05; max-width: 14em; }
.block .lede { font-size: 18px; margin-top: 14px; max-width: 34em; }

/* Alltag: ein grosses Bild, zwei kleine */
.life { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-top: 44px; height: min(78vh, 700px); }
.life figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #cfdde6; }
.life figure:first-child { grid-row: 1 / 3; }
.life img { width: 100%; height: 100%; object-fit: cover; }
.life figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; color: #fff; font: 600 clamp(17px, 1.7vw, 22px)/1.3 var(--display); background: linear-gradient(0deg, rgba(6,24,38,.72), rgba(6,24,38,0)); }

/* App */
.app { background: #fff; }
.app .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.phone { width: 300px; margin: 0 auto; padding: 12px; border-radius: 44px; background: #0f2433; box-shadow: 0 40px 80px rgba(10,42,61,.25); }
.phone img { border-radius: 32px; width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 40px 0 36px; }
.stats b { display: block; font: 800 44px/1 var(--display); color: var(--deep); }
.stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--text); line-height: 1.4; }
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding-top: 28px; border-top: 1px solid var(--line); }
.brands img { height: 26px; width: auto; opacity: .75; filter: grayscale(1); }

/* Shop-Pakete */
.packs { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.pack { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.pack.lead { border: 2px solid var(--deep); }
.pack .pic { aspect-ratio: 4 / 3; overflow: hidden; background: #dfe9f0; position: relative; }
.pack .pic img { width: 100%; height: 100%; object-fit: cover; }
.pack .badge { position: absolute; top: 14px; left: 14px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; }
.pack .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pack h3 { font-size: 22px; font-weight: 700; }
.pack .what { margin: 8px 0 16px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { font-size: 12.5px; color: var(--ink); background: var(--page); padding: 5px 10px; border-radius: 8px; }
.pack .cost { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: 18px; }
.pack .cost b { font: 800 34px/1 var(--display); }
.pack .cost span { font-size: 13px; color: var(--soft); text-align: right; line-height: 1.35; }
.pack .btn { width: 100%; }
.fine { font-size: 13px; color: var(--soft); margin-top: 20px; }

/* Platzhalter, bis das Bild generiert ist */
.todo { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px; background: repeating-linear-gradient(135deg, #e3edf3 0 14px, #d8e5ee 14px 28px); border: 2px dashed #9fb8c8; }
.todo strong { font-size: 13px; color: var(--ink); }
.todo small { font-size: 12px; line-height: 1.45; color: var(--text); }

/* Praxis */
.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ref { position: relative; display: block; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; }
.ref img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.ref:hover img { transform: scale(1.03); }
.ref div { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(0deg, rgba(6,24,38,.8), rgba(6,24,38,0)); }
.ref h3 { font-size: 21px; color: #fff; }
.ref p { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 4px; }

/* FAQ + Kontakt */
.end { background: #fff; }
.end .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font: 600 17px/1.35 var(--display); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--deep); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; font-size: 15px; }
.talk { background: var(--ink); color: #fff; border-radius: 26px; padding: 40px; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.talk h2 { color: #fff; font-size: 32px; }
.talk p { color: rgba(255,255,255,.82); }
.talk .direct { display: flex; flex-direction: column; gap: 4px; }
.talk .direct a { color: #fff; font: 600 20px/1.4 var(--display); text-decoration: none; }
.talk .btn { align-self: flex-start; }

footer { padding: 36px 0 48px; font-size: 13px; color: var(--soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--soft); margin-left: 16px; }

@media (max-width: 960px) {
  .packs { grid-template-columns: 1fr 1fr; }
  .pack.lead { grid-column: 1 / -1; }
  .app .wrap { grid-template-columns: 1fr; gap: 48px; }
  .end .wrap { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section.block { padding: 64px 0; }
  .hdr .tel { display: none; }
  .hero { min-height: 88vh; }
  .hero > img { object-position: 72% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(6,24,38,.88) 0%, rgba(6,24,38,.5) 55%, rgba(6,24,38,.15) 100%); }
  .hero .wrap { padding-bottom: 36px; }
  .price-tag { border-right: 0; padding-right: 0; }
  .hero .deal .btn { flex: 1 1 100%; }
  .life { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .life figure:first-child { grid-row: auto; }
  .life figure { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stats b { font-size: 36px; }
  .packs, .refs { grid-template-columns: 1fr; }
  .talk { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .ref img { transition: none; } }

/* ── Erweiterungen fuer alle Seiten ─────────────────────────── */

/* Kuerzerer Hero fuer Ratgeber und Unterseiten */
.hero.short { min-height: min(68vh, 620px); }
.hero .kicker { display: inline-block; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 100px; margin-bottom: 18px; }
.hero .meta { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 16px; }

/* Welten wie auf der Live-Seite: Loxone gruen */
body.world-lox { --deep: #357f24; --brand: #5fc23f; }

/* Bild + Text nebeneinander, .rev tauscht die Seiten */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; border-radius: 22px; overflow: hidden; }
.split figure img, .split figure video { width: 100%; height: auto; display: block; }
.split h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.split p + p { margin-top: 12px; }
.split .lede { margin-top: 0; }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: #fff; font: 700 16px/1 var(--display); margin-bottom: 16px; }
.steps b { display: block; font: 700 19px/1.25 var(--display); color: var(--ink); margin-bottom: 6px; }
.steps span { font-size: 15px; color: var(--text); line-height: 1.5; }

/* Vergleichstabelle */
.table-wrap { overflow-x: auto; margin-top: 36px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); line-height: 1.45; }
table.cmp thead th { font: 700 15px/1.3 var(--display); color: var(--ink); background: var(--page); }
table.cmp tbody th { font-weight: 600; color: var(--ink); }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }

/* ── Ratgeber-Artikel ───────────────────────────────────────── */
.article { max-width: 740px; margin: 0 auto; padding: 72px 32px 24px; }
.article > p, .article li { font-size: 18px; line-height: 1.7; color: var(--text); }
.article > p + p { margin-top: 18px; }
.article h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; line-height: 1.12; margin: 64px 0 16px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.article ul, .article ol { padding-left: 22px; margin: 16px 0; }
.article li + li { margin-top: 6px; }
.article strong { color: var(--ink); }
/* Kurzfassung ganz oben */
.tldr { background: #fff; border-left: 4px solid var(--deep); border-radius: 0 18px 18px 0; padding: 22px 26px; margin: 0 0 40px; }
.tldr p, .tldr li { font-size: 16px !important; }
.tldr b { display: block; font: 700 17px/1.3 var(--display); color: var(--ink); margin-bottom: 8px; }
/* Sprungmarken */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; padding: 0; list-style: none; }
.toc a { display: block; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 100px; }
.toc a:hover { border-color: var(--deep); }
/* Bild, das aus der Textspalte ausbricht */
figure.bleed { margin: 44px calc(50% - min(590px, 50vw - 16px)); border-radius: 22px; overflow: hidden; position: relative; }
figure.bleed img, figure.bleed video { width: 100%; height: auto; display: block; }
figure.bleed figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 18px; color: #fff; font: 600 17px/1.35 var(--display); background: linear-gradient(0deg, rgba(6,24,38,.72), rgba(6,24,38,0)); }
figure.inline { margin: 32px 0; border-radius: 18px; overflow: hidden; background: #fff; }
figure.inline img, figure.inline svg { width: 100%; height: auto; display: block; }
figure.inline figcaption { font-size: 14px; color: var(--soft); padding: 12px 16px; }
/* Hinweis */
.note { background: #fff7df; border-radius: 16px; padding: 18px 22px; margin: 28px 0; }
.note p { font-size: 16px !important; color: #5a4300 !important; margin: 0; }
/* Shop-Kasten im Artikel */
.shopbox { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 2px solid var(--deep); border-radius: 22px; overflow: hidden; margin: 44px 0; }
.shopbox .pic { position: relative; min-height: 200px; background: #dfe9f0; }
.shopbox .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shopbox .body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.shopbox h3 { margin: 0; font-size: 20px; }
.shopbox p { font-size: 15px !important; margin: 0; }
.shopbox .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.shopbox .row b { font: 800 30px/1 var(--display); }
.shopbox .row small { display: block; font-size: 12.5px; color: var(--soft); font-weight: 400; font-family: var(--body); margin-top: 4px; }
/* Weiterlesen */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.more-card { display: block; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); }
.more-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.more-card div { padding: 18px 20px 22px; }
.more-card h3 { font-size: 18px; color: var(--ink); }
.more-card p { font-size: 14px; margin-top: 6px; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev > :first-child { order: 0; }
  .steps, .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article { padding: 48px 16px 16px; }
  .article > p, .article li { font-size: 17px; }
  figure.bleed { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .shopbox { grid-template-columns: 1fr; }
  .shopbox .pic { min-height: 0; aspect-ratio: 16 / 9; }
  .hero.short { min-height: 72vh; }
}

/* Generierte Bilder an Stelle der frueheren .todo-Platzhalter: fuellen den Rahmen wie der Platzhalter */
img.gen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Kennzeichnung KI-generierter Produktbilder (EU-KI-VO Art. 50, kein echtes Produktfoto) */
:has(> .ki) { position: relative; }
.ki { position: absolute; top: 12px; right: 12px; z-index: 2; pointer-events: none; font: 600 11px/1 var(--body); letter-spacing: .01em; color: #fff; background: rgba(6,24,38,.62); padding: 5px 8px; border-radius: 6px; }
.hero > .ki { top: auto; bottom: 14px; right: 16px; }

/* Anfrageformular (wie landing.css .lp-form, hier im dunklen Kontaktkasten .talk) */
.talk .lp-form { display: grid; gap: 12px; margin-top: 4px; }
.lp-form label { display: grid; gap: 6px; font: 13px var(--body); color: rgba(255,255,255,.8); }
.lp-form input, .lp-form textarea { font: 15px var(--body); color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 11px 12px; width: 100%; }
.lp-form textarea { min-height: 110px; resize: vertical; }
.lp-form input:focus, .lp-form textarea:focus { outline: 2px solid var(--brand); }
.lp-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-form .fine { font-size: 12px; color: rgba(255,255,255,.62); margin: 0; }
.lp-form .fine a { color: #fff; }
.lp-form button { border: 0; cursor: pointer; justify-self: start; }
.lp-form-status { border-radius: 10px; padding: 10px 12px; font: 14px var(--body); }
.lp-form-status.ok { background: rgba(54,201,142,.18); color: #bff5dd; }
.lp-form-status.err { background: rgba(255,107,87,.18); color: #ffd1c9; }
@media (max-width: 640px) { .lp-form .row { grid-template-columns: 1fr; } .lp-form input, .lp-form textarea { font-size: 16px; min-height: 44px; } }

/* CTA-Kasten im Ratgeber */
.cta-box { background: var(--ink); border-radius: 22px; padding: 30px 32px; margin: 56px 0 8px; }
.cta-box h2, .cta-box h3 { color: #fff; margin: 0 0 10px; }
.cta-box p { color: rgba(255,255,255,.82) !important; font-size: 16px !important; }
.cta-box .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Seitenfuss mit Leistungs-Links */
footer.site-foot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 0; list-style: none; }
.site-foot .links a { font: 500 14px var(--body); color: var(--ink); text-decoration: none; }
.site-foot .links a:hover { color: var(--deep); }
.site-foot .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; font-size: 13px; color: var(--soft); }
.site-foot .meta a { color: var(--soft); margin-right: 14px; }
.site-foot .social a { margin-right: 14px; }
