/* Out of the Box Media · Redesign 2026: Navigation, Hero, Ergebnisse, Ablauf, Kontakt */
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
}
:root { --ob-grey: #ebece8; --ob-grey-2: #e1e3de; --ob-ink: #101827; --ob-serif: "Instrument Serif", Georgia, "Times New Roman", serif; }
html[data-mode="night"] { --ob-grey: #0b1828; --ob-grey-2: #12243a; --ob-ink: #f4f7fa; }
.ob-serif { font-family: var(--ob-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- Navigation (Dapper-Prinzip: schwebende Leiste + Kachel-Dropdown) ---------- */
.ob-header.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 120; background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; pointer-events: none; }
.ob-header .ob-nav-wrap { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 14px 16px 0; pointer-events: none; }
.ob-nav { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 6px; width: min(940px, 100%); min-height: 54px; padding: 6px 6px 6px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 6px 24px rgba(16, 24, 39, 0.06); }
.ob-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.ob-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.ob-item { position: static; }
.ob-link { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 8px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ob-link:hover, .ob-item.is-open > .ob-link, .ob-link[aria-current="page"] { background: var(--soft); }
.ob-link svg { transition: transform 200ms ease; }
.ob-split { display: inline-flex; align-items: center; border-radius: 8px; transition: background 160ms ease; }
.ob-split:hover, .ob-item.is-open .ob-split { background: var(--soft); }
.ob-split .ob-link { background: transparent !important; padding-right: 4px; }
.ob-caret { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 40px; margin-right: 4px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text); cursor: pointer; }
.ob-caret svg { transition: transform 200ms ease; }
.ob-item.is-open .ob-caret svg { transform: rotate(180deg); }
.ob-caret:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ob-link:focus-visible, .ob-cta:focus-visible, .ob-tile:focus-visible, .ob-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ob-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 4px 4px 4px 14px; border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ob-cta:hover { background: var(--soft); }
.ob-sq { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: var(--accent); color: #fff; flex: 0 0 auto; transition: background 180ms ease, transform 180ms ease; }
html[data-mode="night"] .ob-sq { color: #07111f; background: var(--accent-2, #44d7ff); }
.ob-cta:hover .ob-sq, .ob-tile:hover .ob-sq { background: var(--ob-ink); color: var(--panel); }
.ob-drop { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); padding: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 50px rgba(16, 24, 39, 0.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms; }
.ob-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ob-item.is-open > .ob-drop { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 220ms ease; }
.ob-drop-grid { display: grid; gap: 10px; }
.ob-drop-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ob-drop-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ob-drop-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ob-tile.w2 { grid-column: span 2; } .ob-tile.w3 { grid-column: span 3; } .ob-tile.w6 { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; }
.ob-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 148px; padding: 14px; border-radius: 8px; background: var(--bg); color: var(--text); text-decoration: none; transition: background 180ms ease; }
.ob-tile:hover { background: var(--ob-grey-2); }
.ob-tile strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.ob-tile span.ob-tile-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 30ch; }
.ob-tile .ob-sq { align-self: flex-end; width: 30px; height: 30px; }
.ob-fade { position: fixed; inset: 0; z-index: 110; background: rgba(16, 24, 39, 0.18); opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 0s linear 220ms; }
.ob-fade.is-visible { opacity: 1; visibility: visible; transition: opacity 220ms ease; }
.ob-locale { pointer-events: auto; position: absolute; right: 16px; top: 22px; }
.ob-locale .locale-switcher { margin-left: 0 !important; }
.ob-burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 8px; background: var(--soft); color: var(--text); cursor: pointer; }
.ob-mobile { pointer-events: auto; display: none; position: fixed; inset: 76px 12px auto; max-height: calc(100vh - 92px); overflow: auto; padding: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 50px rgba(16, 24, 39, 0.16); }
.ob-mobile.is-open { display: block; }
.ob-mobile-group { padding: 6px 0 10px; border-bottom: 1px solid var(--border); }
.ob-mobile-group:last-of-type { border-bottom: 0; }
.ob-mobile-label { display: block; padding: 8px 4px 6px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ob-mobile a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 6px 4px; color: var(--text); font-size: 16.5px; text-decoration: none; }
.ob-mobile .btn { justify-content: center; margin-top: 12px; width: 100%; }
.ob-mobile a.btn-primary { color: #fff; }
html[data-mode="night"] .ob-mobile a.btn-primary { color: #07111f; }
@media (max-width: 1180px) { .ob-locale { position: static; margin-left: 8px; align-self: center; } .ob-nav-wrap { justify-content: center; } }
@media (max-width: 980px) {
  .ob-menu, .ob-cta { display: none; }
  .ob-burger { display: inline-flex; }
  .ob-nav { width: auto; flex: 1 1 auto; max-width: 640px; }
}
@media (max-width: 520px) { .ob-brand span:last-child { font-size: 14px; } .ob-nav-wrap { padding: 10px 10px 0; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .ob-drop, .ob-fade, .ob-link svg, .ob-sq { transition: none !important; } }

/* Seiten mit der schwebenden Leiste brauchen oben etwas mehr Luft */
.detail-main { padding-top: 24px; }

/* ---------- Hero ---------- */
.ob-hero { position: relative; min-height: min(920px, 100svh); padding: 150px 0 56px; overflow: hidden; }
.ob-hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: calc(min(920px, 100svh) - 206px); }
.ob-hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; font-weight: 500; }
.ob-hero-kicker i { width: 16px; height: 12px; border-radius: 3px 8px 3px 8px; background: var(--accent); transform: skewX(-12deg); }
.ob-hero h1 { margin: 34px 0 0; max-width: 14ch; font-size: clamp(44px, 6.6vw, 98px); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; color: var(--text); }
.ob-hero h1 .ob-serif { font-size: 1.06em; letter-spacing: -0.02em; }
.ob-hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: auto; padding-top: 56px; }
.ob-hero-lead { max-width: 42ch; margin: 0; color: var(--text); font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; line-height: 1.5; }
.ob-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ob-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: none; }
.ob-text-link .ob-sq { width: 30px; height: 30px; }
.ob-case-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; width: min(360px, 100%); min-height: 168px; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; color: var(--text); text-decoration: none; box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06); transition: transform 200ms ease, box-shadow 200ms ease; }
.ob-case-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(16, 24, 39, 0.1); }
.ob-case-card strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
html[data-mode="night"] .ob-case-card strong { color: var(--accent-2, #44d7ff); }
.ob-case-card p { margin: 8px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.ob-case-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12.5px; }
.ob-case-foot img { height: 28px; width: auto; max-width: 110px; object-fit: contain; display: block; }
.ob-hero-art { position: absolute; z-index: 0; right: 0; top: 118px; width: min(40vw, 520px); height: auto; pointer-events: none; color: var(--muted); }
.ob-hero .container > *:not(.ob-hero-art) { position: relative; z-index: 1; }
.ob-hero-art .ob-path { fill: none; stroke: color-mix(in oklab, var(--text) 22%, transparent); stroke-width: 1.4; }
.ob-hero-art .ob-path-live { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: obDraw 2.6s cubic-bezier(.6,.05,.25,1) .3s forwards; }
html[data-mode="night"] .ob-hero-art .ob-path-live { stroke: var(--accent-2, #44d7ff); }
.ob-hero-art .ob-node circle.ring { fill: var(--bg); stroke: color-mix(in oklab, var(--text) 30%, transparent); stroke-width: 1.4; }
.ob-hero-art .ob-node circle.dot { fill: var(--accent); opacity: 0; animation: obPop .4s ease forwards; }
html[data-mode="night"] .ob-hero-art .ob-node circle.dot { fill: var(--accent-2, #44d7ff); }
.ob-hero-art .ob-node text { fill: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ob-hero-art .ob-node text.big { fill: var(--text); font-family: Inter, system-ui, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-transform: none; }
.ob-hero-art .ob-px { fill: var(--accent); opacity: 0; animation: obPx 5.5s ease-in-out infinite; }
html[data-mode="night"] .ob-hero-art .ob-px { fill: var(--accent-2, #44d7ff); }
@keyframes obDraw { to { stroke-dashoffset: 0; } }
@keyframes obPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes obPx { 0%, 100% { opacity: 0; } 12%, 40% { opacity: .55; } 55% { opacity: 0; } }
@media (max-width: 980px) {
  .ob-hero { padding-top: 124px; min-height: 0; }
  .ob-hero .container { min-height: 0; }
  .ob-hero-art { position: relative; right: auto; top: auto; display: block; width: 100%; max-width: 520px; margin: 30px 0 0 auto; }
  .ob-hero-bottom { flex-direction: column; align-items: stretch; padding-top: 28px; }
  .ob-case-card { width: 100%; }
}
/* Handy: Text und Button zuerst, Grafik darunter, dann die Fallkarte */
@media (max-width: 700px) {
  .ob-hero { padding-top: 108px; padding-bottom: 40px; }
  .ob-hero h1 { margin-top: 22px; }
  .ob-hero-bottom { display: contents; }
  .ob-hero-bottom > :first-child { order: 3; padding-top: 24px; }
  .ob-hero-bottom > .ob-case-card { order: 4; margin-top: 26px; }
  .ob-hero-art { order: 5; margin: 30px auto 0; max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-hero-art .ob-path-live { animation: none; stroke-dashoffset: 0; }
  .ob-hero-art .ob-node circle.dot { animation: none; opacity: 1; }
  .ob-hero-art .ob-px { animation: none; opacity: .35; }
}

/* ---------- Ergebnisse (Zahl links, Zitat rechts) ---------- */
.ob-results { background: var(--ob-grey); padding: 110px 0; }
.ob-results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.ob-results-head h2 { margin: 12px 0 0; font-size: clamp(32px, 4vw, 54px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; }
.ob-results-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; min-height: 470px; }
.ob-results-left { display: flex; flex-direction: column; justify-content: space-between; }
.ob-dots { display: flex; gap: 8px; }
.ob-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ob-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in oklab, var(--text) 22%, transparent); transition: background 200ms ease; }
.ob-dots button[aria-current="true"]::before { background: var(--text); }
.ob-big-number { font-size: 180px; font-weight: 500; line-height: .86; letter-spacing: -0.06em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ob-big-label { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 30ch; line-height: 1.45; }
.ob-quote-wrap { position: relative; }
.ob-quote { margin: 0; font-size: clamp(24px, 2.35vw, 34px); font-weight: 500; line-height: 1.18; letter-spacing: -0.025em; color: color-mix(in oklab, var(--text) 38%, var(--ob-grey)); max-width: 24ch; padding-right: 64px; }
.ob-quote b { color: var(--text); font-weight: 500; }
.ob-quote-link { position: absolute; top: -4px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--text) 12%, transparent); color: var(--text); }
.ob-quote-link:hover { background: var(--panel); }
.ob-who { display: flex; align-items: center; gap: 14px; margin-top: 56px; }
.ob-who-logo { width: 104px; height: 56px; padding: 8px 10px; border-radius: 10px; background: var(--panel); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; }
.ob-who-logo img { width: auto; height: auto; max-width: 84px; max-height: 36px; object-fit: contain; display: block; }
.ob-who strong { display: block; font-size: 16px; font-weight: 500; }
.ob-who span { display: block; color: var(--muted); font-size: 15px; }
.ob-rows { margin-top: 26px; }
.ob-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid color-mix(in oklab, var(--text) 13%, transparent); font-size: 15.5px; }
.ob-row:last-child { border-bottom: 1px solid color-mix(in oklab, var(--text) 13%, transparent); }
.ob-row span:last-child { color: var(--muted); text-align: right; }
.ob-next { position: absolute; z-index: 3; left: 0; top: 0; width: 104px; height: 104px; margin: -52px 0 0 -52px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transform: scale(0); transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
html[data-mode="night"] .ob-next { background: var(--accent-2, #44d7ff); color: #07111f; }
.ob-quote-wrap.is-hover .ob-next { transform: scale(1); }
.ob-next-static { display: none; }
.ob-slide-in { animation: obSlide 520ms cubic-bezier(.2,.8,.2,1); }
@keyframes obSlide { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@media (hover: none), (max-width: 980px) {
  .ob-next { display: none; }
  .ob-next-static { display: inline-flex; }
  .ob-quote-wrap { cursor: auto; }
}
@media (hover: hover) and (min-width: 981px) { .ob-quote-wrap { cursor: none; } }
.ob-next-static { align-items: center; gap: 10px; margin-top: 22px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 980px) {
  .ob-results { padding: 80px 0; }
  .ob-results-grid { grid-template-columns: 1fr; gap: 30px; min-height: 0; }
  .ob-results-left { gap: 26px; }
  .ob-who { margin-top: 32px; }
  .ob-results-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ob-slide-in { animation: none; } .ob-next { transition: none; } }

/* ---------- Ablauf als gestapelte Karten ---------- */
.ob-steps { padding: 120px 0 60px; }
.ob-steps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 0 40px; }
.ob-steps-head h2 { margin: 14px 0 0; font-size: clamp(32px, 4vw, 54px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; max-width: 17ch; }
.ob-stack { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ob-card { position: sticky; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; min-height: 340px; padding: 12px; border-radius: 16px; background: var(--ob-step-bg); color: #101827; }
.ob-card:nth-child(1) { --ob-step-bg: #dbe7ff; top: 92px; }
.ob-card:nth-child(2) { --ob-step-bg: #e7e8e2; top: 104px; }
.ob-card:nth-child(3) { --ob-step-bg: #d9eadf; top: 116px; }
.ob-card:nth-child(4) { --ob-step-bg: #f1e6d4; top: 128px; }
.ob-card:nth-child(5) { --ob-step-bg: #e4e0f3; top: 140px; }
html[data-mode="night"] .ob-card:nth-child(1) { --ob-step-bg: #18305a; }
html[data-mode="night"] .ob-card:nth-child(2) { --ob-step-bg: #1d2a3b; }
html[data-mode="night"] .ob-card:nth-child(3) { --ob-step-bg: #16362b; }
html[data-mode="night"] .ob-card:nth-child(4) { --ob-step-bg: #3a2f1f; }
html[data-mode="night"] .ob-card { color: #f4f7fa; }
.ob-card-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 10px 14px 12px; }
.ob-card-step { font-size: 40px; line-height: 1; }
.ob-card h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.ob-card p { margin: 10px 0 0; max-width: 38ch; font-size: 15.5px; line-height: 1.55; opacity: .82; }
.ob-card-visual { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; min-height: 316px; padding: 22px; border-radius: 10px; background: #0d1b2e; overflow: hidden; }
.ob-mock { width: min(100%, 330px); background: #fff; color: #101827; border-radius: 12px; padding: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: 13.5px; }
.ob-mock small { display: block; color: #5a6472; font-size: 12px; }
.ob-mock .ob-ad-title { margin: 6px 0 4px; color: #1a4fd6; font-size: 17px; font-weight: 500; line-height: 1.3; }
.ob-mock .ob-ad-text { color: #3c4450; line-height: 1.45; }
.ob-mock .ob-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: #e8f0ff; color: #145cff; font-size: 12px; font-weight: 500; }
.ob-mock .ob-field { margin-top: 10px; padding: 9px 10px; border: 1px solid #dde3ea; border-radius: 8px; color: #5a6472; }
.ob-mock .ob-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-mock .ob-mock-btn { margin-top: 12px; padding: 11px; border-radius: 8px; background: #101827; color: #fff; text-align: center; font-weight: 500; }
.ob-mock .ob-lead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #edf0f3; }
.ob-mock .ob-lead:first-of-type { border-top: 0; }
.ob-mock .ob-ok { color: #16803f; font-weight: 600; }
.ob-metrics { display: grid; gap: 10px; width: min(100%, 330px); }
.ob-metric { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: #fff; color: #101827; }
.ob-metric:nth-child(2) { transform: translateX(-14px); }
.ob-metric strong { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.ob-metric small { display: block; color: #5a6472; font-size: 12.5px; }
.ob-metric .ob-sq { width: 30px; height: 30px; border-radius: 50%; background: #e8f0ff; color: #145cff; }
.ob-metric.is-key strong { color: #145cff; }
.ob-mock-note { color: #9ba8b8; font-size: 12px; }
@media (max-width: 860px) {
  .ob-steps { padding: 90px 0 40px; }
  .ob-steps-head { flex-direction: column; align-items: flex-start; }
  .ob-card { grid-template-columns: 1fr; min-height: 0; }
  .ob-card:nth-child(n) { top: 78px; }
  .ob-card-copy { gap: 26px; }
  .ob-card-visual { min-height: 250px; }
  .ob-metric:nth-child(2) { transform: none; }
}

/* ---------- Kontakt (Foto · Gespräch · Formular) ---------- */
.ob-contact { padding: 120px 0; }
.ob-contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.ob-contact-photo { position: relative; border-radius: 6px; overflow: hidden; background: var(--ob-grey); min-height: 620px; }
.ob-contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ob-contact-main { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.ob-contact-top h2 { margin: 0; font-size: clamp(48px, 5.6vw, 84px); font-weight: 600; line-height: .98; letter-spacing: -0.045em; }
.ob-contact-top h2 .ob-serif { font-size: 1.05em; }
.ob-contact-top p { margin: 20px 0 0; max-width: 44ch; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ob-contact-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ob-contact-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; transition: border-color 160ms ease, background 160ms ease; }
.ob-contact-chips a:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.ob-contact-chips a:hover { border-color: var(--text); }
html[data-mode="night"] .ob-contact-chips a:first-child { background: var(--accent-2, #44d7ff); border-color: var(--accent-2, #44d7ff); color: #07111f; }
.ob-contact-social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.ob-contact-social a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--text) 30%, transparent); text-underline-offset: 4px; }
.ob-form h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.ob-btn-pair { display: inline-flex; gap: 6px; padding: 0; border: 0; background: none; font: inherit; text-decoration: none; cursor: pointer; }
.ob-btn-pair > span { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border-radius: 6px; background: var(--accent); color: #fff; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: background 180ms ease, color 180ms ease; }
.ob-btn-pair > span.ob-plus { width: 54px; padding: 0; font-family: inherit; font-size: 18px; letter-spacing: 0; }
.ob-btn-pair:hover > span, .ob-btn-pair:focus-visible > span { background: var(--ob-ink); color: var(--panel); }
.ob-btn-pair:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ob-btn-pair:disabled { opacity: .6; cursor: wait; }
html[data-mode="night"] .ob-btn-pair > span { background: var(--accent-2, #44d7ff); color: #07111f; }
.ob-form { position: relative; }
.ob-form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 14px; margin-top: 22px; }
.ob-f { position: relative; display: block; padding-top: 20px; }
.ob-f.full { grid-column: 1 / -1; }
.ob-f label { position: absolute; left: 0; top: 33px; color: var(--muted); font-size: 16px; pointer-events: none; transition: top 160ms ease, font-size 160ms ease, color 160ms ease; }
.ob-f input, .ob-f textarea { width: 100%; padding: 13px 0 11px; border: 0; border-bottom: 1px solid color-mix(in oklab, var(--text) 22%, transparent); border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color 160ms ease; }
.ob-f textarea { min-height: 96px; resize: vertical; }
.ob-f input:focus, .ob-f textarea:focus { border-bottom-color: var(--accent); }
.ob-f input:focus + label, .ob-f input:not(:placeholder-shown) + label, .ob-f textarea:focus + label, .ob-f textarea:not(:placeholder-shown) + label { top: 2px; font-size: 12px; color: var(--accent); }
.ob-f input::placeholder, .ob-f textarea::placeholder { color: transparent; }
.ob-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; }
.ob-form-legal { margin: 0; max-width: 40ch; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.ob-form-legal a { text-decoration: underline; }
.ob-form-status { margin: 16px 0 0; font-size: 14px; line-height: 1.55; }
@media (max-width: 980px) {
  .ob-contact { padding: 84px 0; }
  .ob-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .ob-contact-photo { min-height: 380px; }
  .ob-contact-main { gap: 48px; }
}
@media (max-width: 600px) {
  .ob-form-grid { grid-template-columns: 1fr; }
  .ob-form-foot { flex-direction: column-reverse; align-items: stretch; }
  .ob-submit { display: flex; } .ob-submit > span:first-child { flex: 1 1 auto; }
  .ob-contact-photo { min-height: 320px; }
}

/* ---------- Einheitlicher Stil für alle übrigen Abschnitte und Unterseiten ---------- */
html { scroll-padding-top: 96px; }

/* Überschriften: kräftig, eng; der graue Zusatz wird zur kursiven Serifen-Betonung */
main section h2, .detail-title, .section-heading { font-weight: 600 !important; letter-spacing: -0.035em !important; }
main section h2 span[style*="color: var(--muted)"], .ref-title span, .ref-section h2 span,
.detail-title .muted, .section-heading .muted, h1 .muted, h2 .muted {
  font-family: var(--ob-serif) !important; font-style: italic !important; font-weight: 400 !important;
  color: var(--text) !important; letter-spacing: -0.01em !important; font-size: 1.04em;
}
/* Abschnitte im Wechsel: hell / grau */
main > section#leistungen, main > section#manuel, main > section#ablauf, .detail-main > section:nth-of-type(even) { background: var(--ob-grey); }
main > section#leistungen, main > section#manuel, main > section#ablauf { padding-top: 110px !important; padding-bottom: 110px !important; }
/* Karten: ruhiger, ohne Schatten, wie die Kacheln im Menü */
.detail-main .card, .detail-main .detail-card { border-radius: 10px; box-shadow: none; }
.detail-main > section:nth-of-type(even) .card { background: var(--panel); }
/* Buttons: eckiger, wie im Menü */
.btn { border-radius: 8px; }
/* Unterseiten-Hero: Linie Anzeige → Umsatz + echte Fallzahl statt Augen */
.ob-side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; align-self: end; }
.ob-side .ob-hero-art { position: static; width: 100%; max-width: 480px; }
.ob-side .ob-case-card { width: min(360px, 100%); }
@media (max-width: 980px) { .ob-side { align-items: stretch; } .ob-side .ob-hero-art { max-width: 100%; } }
/* Kontaktformular der Unterseite im gleichen Stil wie auf der Startseite */
.contact-form { padding: 0 !important; border: 0 !important; background: transparent !important; }
.contact-form .field-grid { column-gap: 32px; row-gap: 18px; }
.contact-form .field, .contact-form .field-grid > div { padding: 0 !important; border: 0 !important; }
.contact-form .field label { margin-bottom: 4px; letter-spacing: 0; text-transform: none; font-size: 13px; }
.contact-form .field input, .contact-form .field textarea { padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid color-mix(in oklab, var(--text) 22%, transparent) !important; border-radius: 0 !important; background: transparent !important; font-size: 16px !important; }
.contact-form .field input:focus, .contact-form .field textarea:focus { border-bottom-color: var(--accent) !important; box-shadow: none !important; }
.contact-form .form-foot { margin-top: 30px; }
.detail-main > section:nth-of-type(even) .contact-form .field input, .detail-main > section:nth-of-type(even) .contact-form .field textarea { background: transparent !important; }

/* Einblenden beim Scrollen (nur mit JavaScript, sonst sofort sichtbar) */
.ob-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.ob-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ob-reveal { opacity: 1; transform: none; transition: none; } }

/* Karten auf Unterseiten wie die Kacheln der Startseite: Nummer als kursive Serifenzahl */
.detail-card-number, .list-index { font-family: var(--ob-serif) !important; font-style: italic; font-size: 30px !important; letter-spacing: 0 !important; color: var(--accent) !important; line-height: 1 !important; }
.list-index { font-size: 20px !important; }
.detail-main .card { border: 1px solid var(--border); background: var(--panel); padding: 26px !important; }
.detail-main .card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.detail-main .detail-section, .detail-main > section { padding-top: 100px; padding-bottom: 100px; }
.ob-static-steps { padding: 100px 0; }

/* Logo-Wand: zwei Laufbänder in Gegenrichtung, bei reduzierter Bewegung als ruhiges Raster */
.ob-logos { margin-top: 48px; display: grid; gap: 14px; }
.ob-logos-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ob-logos-track { display: flex; gap: 14px; width: max-content; animation: obMarquee 90s linear infinite; }
.ob-logos-row.is-rev .ob-logos-track { animation-direction: reverse; animation-duration: 100s; }
.ob-logos[data-ob-seen]:not(.is-in) .ob-logos-track, .ob-logos:hover .ob-logos-track { animation-play-state: paused; }
.ob-logo { flex: 0 0 auto; width: 196px; height: 96px; padding: 16px 22px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.ob-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes obMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 620px) { .ob-logo { width: 150px; height: 78px; padding: 12px 16px; } .ob-logos-track { animation-duration: 70s; } .ob-logos-row.is-rev .ob-logos-track { animation-duration: 78s; } }
@media (prefers-reduced-motion: reduce) {
  .ob-logos-row { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .ob-logos-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ob-logo[aria-hidden="true"] { display: none; }
}

/* Produktmarken: AlpinaMS, GuestFlow, Convito (nach den Originalen der Produkte) */
.pm { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; font: 700 15px/1 Inter, system-ui, sans-serif; letter-spacing: -0.5px; vertical-align: middle; }
.pm svg { width: 64%; height: 64%; display: block; }
.pm-alpinams { background: #14213A; border-radius: 11px; }
.pm-guestflow { background: #1E5C3A; color: #fff; }
.pm-convito { background: #fff; color: #2F684B; border: 1px solid #2F684B; border-radius: 11px; font-weight: 750; }
.pm-convito::after { content: ""; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: #2F684B; }
.pm.sm { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; margin-right: 10px; }
.pm-convito.sm::after { width: 5px; height: 5px; top: -2px; right: -2px; }
.ob-tile .pm { display: grid; margin-bottom: 14px; }
.system-card-link h3 { display: flex; align-items: center; gap: 12px; }
.observer-kicker .pm.sm { letter-spacing: -0.5px; }
/* Ergebnisse: Logo des Betriebs im freien Feld über der Zahl */
.ob-big-logo { flex: 1; display: flex; align-items: center; min-height: 96px; padding: 24px 0; }
.ob-big-logo img { display: block; max-width: min(300px, 70%); max-height: 84px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 980px) { .ob-big-logo { min-height: 0; padding: 0; } .ob-big-logo img { max-height: 56px; max-width: 220px; } }

/* Produktvideo: Vorschaubild, Wiedergabe erst beim Antippen */
.ob-video { position: relative; margin: 40px 0 0; border-radius: 16px; overflow: hidden; background: #14213A; box-shadow: 0 24px 60px -30px rgba(20, 33, 58, .45); }
.ob-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #14213A; }
.ob-video:not(.is-playing) video::-webkit-media-controls { opacity: 0; }
.ob-video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: #14213A; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform 160ms ease; }
.ob-video-play:hover { transform: scale(1.06); }
.ob-video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.ob-video.is-playing .ob-video-play { display: none; }
.ob-video figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(20,33,58,.72); color: #F3EEE5; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ob-video.is-playing figcaption { display: none; }
/* Englische Fassung des Videos folgt später */
html[lang="en"] .ob-video { display: none; }
@media (max-width: 620px) { .ob-video { margin-top: 28px; border-radius: 12px; } .ob-video-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } }
@media (max-width: 620px) { .ob-video figcaption { display: none; } }

/* Einwilligungen im Anfrageformular */
.ob-consents { display: grid; gap: 12px; margin-top: 26px; }
.ob-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 13px; line-height: 1.5; cursor: pointer; }
.ob-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.ob-check a { color: inherit; text-decoration: underline; }
.contact-form .ob-consents { margin-top: 22px; }

/* WhatsApp-Knopf weicht Menü und laufendem Video aus */
html[data-ob-menu-open] .wa-fab, html[data-ob-video-active] .wa-fab { opacity: 0; visibility: hidden; pointer-events: none; }
/* Link zur Fallstudie in den Ergebnissen */
.ob-row-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
/* Sehr schmale Displays: lange Wörter in Überschriften trennen statt überlaufen */
@media (max-width: 400px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
/* Kurzbeschreibung der Demo nur auf Englisch, solange es kein englisches Video gibt */
.ob-video-summary { display: none; }
html[lang="en"] .ob-video-summary { display: block; margin: 32px 0 0; max-width: 70ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
/* Handy: kompakter Einstieg und Ablauf als ruhige Liste (alle fünf Texte bleiben) */
@media (max-width: 700px) {
  .ob-hero { padding-top: 96px; }
  .ob-hero h1 { margin-top: 16px; }
  .ob-hero-bottom > :first-child { padding-top: 18px; }
  .ob-hero-bottom > .ob-case-card { margin-top: 20px; }
  .ob-steps { padding: 64px 0 24px; }
  .ob-steps-head { margin-bottom: 22px; }
  .ob-stack { gap: 14px; }
  .ob-card { grid-template-columns: 1fr; min-height: 210px; padding: 18px 18px 20px; box-shadow: 0 -10px 24px -18px rgba(16,24,39,.35); }
  .ob-card:nth-child(1) { top: 76px; } .ob-card:nth-child(2) { top: 86px; } .ob-card:nth-child(3) { top: 96px; } .ob-card:nth-child(4) { top: 106px; } .ob-card:nth-child(5) { top: 116px; }
  .ob-card-copy { gap: 12px; padding: 0; }
  .ob-card-step { font-size: 26px; }
  .ob-card h3 { font-size: 20px; }
  .ob-card p { font-size: 15px; margin-top: 6px; }
  .ob-card-visual { display: none; }
}

/* Kundenlogo klein in den Referenz-Kacheln */
.ob-tile-logo { display: block; height: 30px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; margin-bottom: 14px; }

/* Systeme-Karten auf der Startseite: ganze Karte klickbar */
.ob-venture { transition: transform 180ms ease, box-shadow 180ms ease; }
.ob-venture:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(16,24,39,.45); }
.ob-venture-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ob-venture-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ob-venture-ext { position: relative; z-index: 2; }
/* Referenzen am Handy: wischen statt nur tippen */
@media (max-width: 860px) { .ob-results-grid { touch-action: pan-y; } }

/* Desktop: Elemente wachsen beim Darüberfahren leicht (wie bei Apple) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ob-tile, .btn, .ob-cta, .ob-btn-pair, .ob-text-link, .faq-item, .ob-faq-row, .ob-venture, .system-card-link, .detail-card, .ob-logo, .ob-case-card, .ob-row-link, .ob-quote-link, .ob-split .ob-link, .ob-menu > .ob-item > .ob-link {
    transition: transform 260ms cubic-bezier(.2, .8, .2, 1), box-shadow 260ms ease, background-color 200ms ease;
  }
  .ob-tile:hover { transform: scale(1.025); box-shadow: 0 16px 34px -22px rgba(16, 24, 39, .45); }
  .btn:hover, .ob-cta:hover, .ob-btn-pair:hover { transform: scale(1.04); }
  .ob-text-link:hover, .ob-row-link:hover, .ob-quote-link:hover { transform: scale(1.05); }
  .faq-item:hover, .ob-faq-row:hover { transform: scale(1.012); }
  .ob-faq-row { border-radius: 10px; background-clip: padding-box; }
  .ob-faq-row:hover { background: var(--panel, #fff); box-shadow: 0 14px 34px -26px rgba(16, 24, 39, .4); }
  .ob-venture:hover, .system-card-link:hover, .detail-card:hover { transform: scale(1.02); box-shadow: 0 18px 40px -26px rgba(16, 24, 39, .45); }
  .ob-logo:hover { transform: scale(1.05); }
  .ob-case-card:hover { transform: scale(1.02); }
  .ob-split .ob-link:hover, .ob-menu > .ob-item > .ob-link:hover { transform: scale(1.06); }
}

/* Ablauf-Karten: Inhalt der Grafik blendet bei jedem Eintreten neu ein */
.ob-card.ob-reveal .ob-card-visual > * { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity 600ms ease 180ms, transform 700ms cubic-bezier(.2, .8, .2, 1) 180ms; }
.ob-card.ob-reveal.is-in .ob-card-visual > * { opacity: 1; transform: none; }
.ob-card.ob-reveal .ob-card-visual > *:nth-child(2) { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) { .ob-card.ob-reveal .ob-card-visual > * { opacity: 1; transform: none; transition: none; } }
/* Gestapelte Ablauf-Karten bleiben deckend, nur der Inhalt blendet ein */
.ob-card.ob-reveal { opacity: 1; }
.ob-card.ob-reveal .ob-card-copy > * { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease 120ms, transform 600ms cubic-bezier(.2, .8, .2, 1) 120ms; }
.ob-card.ob-reveal.is-in .ob-card-copy > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ob-card.ob-reveal .ob-card-copy > * { opacity: 1; transform: none; transition: none; } }

/* Mobile Leiste unten: Projekt besprechen + WhatsApp (ersetzt am Handy den schwebenden WhatsApp-Knopf) */
.ob-mbar { display: none; }
@media (max-width: 768px) {
  html[data-ob-has-mbar] .wa-fab { display: none; }
  .ob-mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: flex; gap: 8px; padding: 8px; border-radius: 16px; background: color-mix(in oklab, var(--bg, #fff) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 36px -12px rgba(16, 24, 39, .35); border: 1px solid color-mix(in oklab, var(--text) 10%, transparent); transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform 320ms cubic-bezier(.2, .8, .2, 1), opacity 220ms ease; }
  .ob-mbar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .ob-mbar-cta { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 10px; background: var(--accent, #145cff); color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: none; }
  .ob-mbar-wa { flex: 0 0 48px; display: grid; place-items: center; height: 48px; border-radius: 10px; background: #25D366; color: #062814; }
  .ob-mbar-wa svg { width: 22px; height: 22px; fill: #062814; }
  footer, .detail-footer { padding-bottom: 92px; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) { .ob-mbar { transition: none; } }

/* Handy: ruhigere Hero-Überschrift (kleiner, keine Silbentrennung) und leichterer Einleitungstext */
@media (max-width: 700px) {
  .ob-hero h1 { max-width: none; font-size: clamp(32px, 9.4vw, 40px); line-height: 1.06; letter-spacing: -0.035em; hyphens: manual; -webkit-hyphens: manual; }
  .ob-hero-lead { font-size: 16px; font-weight: 400; line-height: 1.55; color: color-mix(in oklab, var(--text) 82%, transparent); }
}
