/* Pausa: tokens and page styles shared by index.html and partner.html (after the kit stylesheets) */
:root {
  --p-bg: #fbfaf5; --p-surface: #f1eee4; --p-ink: #14201a; --p-muted: #56635b;
  --p-accent: #1f5c4a; --p-accent-ink: #fbfaf5; --p-action: #1f5c4a; --p-action-ink: #fbfaf5;
  --p-inv-bg: #1c3a2e; --p-inv-surface: #24473a; --p-inv-ink: #ffffff; --p-inv-muted: #dce8e1;
  --p-inv-accent: #f2c9a8; --p-inv-accent-ink: #14201a; --p-inv-action: #f2c9a8; --p-inv-action-ink: #14201a;
  --p-peach: #f2c9a8;
  /* the client's own type from the canvas: Young Serif headings, Inter text (an exception to the skill's
     type list, the client's choice) */
  --font-display: "Young Serif", Georgia, serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.015em;
  --display-tracking-xl: -0.02em;
}

  .nav__logo img { width: 32px; height: 32px; }
  .nav__logo { font-family: var(--font-display); font-size: 24px; }
  /* the form section on the client's peach, as in the canvas */
  .ground-peach { --bg: var(--p-peach); --surface: #fbebdd; --ink: #14201a; --muted: #3a2a1e; --card: #fbfaf5; --action: #1f5c4a; --action-ink: #ffffff; background: var(--bg); color: var(--ink); }
  .ground-peach .field :is(input, select, textarea) { background: #ffffff; }
  #mitreden .form__status:not(:empty) { font-weight: 500; }
  /* the form above is the close (the client's wish): the footer is a compact dark strip, not a screen */
  footer.closing.footer--dark { height: auto; padding-top: var(--s-9); padding-bottom: var(--s-8); }
  footer.closing.footer--dark > .wrap { height: auto; }
  /* more air under the form */
  #mitreden .form.stack-4 { gap: var(--s-3); } #mitreden .stack-5 { gap: var(--s-4); }
  /* FAQ as dropdowns (the client's wish): the question opens its answer, + and − as in the canvas */
  .qa { border-bottom: 1px solid var(--line-strong); align-self: start; }
  .qa__item { border-top: 1px solid var(--line-strong); }
  .qa__item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: var(--s-3) 0; }
  .qa__item > summary::-webkit-details-marker { display: none; }
  .qa__item > summary h3 { margin: 0; font: 400 var(--t-card)/1.3 var(--font-display); }
  .qa__item > summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--ink); display: grid; place-items: center; font: 400 20px/1 var(--font-text); transition: background-color .2s, color .2s; }
  .qa__item[open] > summary::after { content: "−"; background: var(--ink); color: var(--bg); }
  .qa__item > summary:hover h3 { color: var(--action); }
  .qa__item > p { margin: 0 0 var(--s-5); max-width: 60ch; }
  /* very narrow phones (320): the hero carries the button, the bar keeps the logo and the menu */
  @media (max-width: 400px) { header.nav.nav--centre:not(.is-open) .nav__bar > .nav__actions { display: none; } header.nav.nav--centre:not(.is-open) .nav__actions + .nav__toggle { margin-left: auto; } }
  #hero-h { hyphens: manual; }
  @media (max-width: 360px) { #hero-h { font-size: 34px; } }
  /* card, list and question titles in Young Serif, as in the canvas */
  .card > h3, .anb__rows h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
  /* app-frame (sections-library.md) */
  .app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
  @media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
  @media (max-width: 1023px) {
    .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  }
  @media (max-width: 639px) {
    .app.ui { grid-template-rows: minmax(0, 1fr); }
  }
  /* the open request inside the app window, and the step panels: drawn with the UI kit's tokens */

  #ablauf .panel { --p-h: 300px; position: relative; }
  #partner .panel { --p-h: 330px; position: relative; }
  /* budget statement: the three figures in one row on the columns */
  #budget .figs { margin-top: var(--s-10); }
  .stat .t-stat { font-family: var(--font-mono); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
  .stat { border-top: 1px solid var(--line); padding-top: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
  .stat .t-small { font-size: var(--t-lead); line-height: 1.45; color: var(--ink); max-width: 28ch; }
  .source { margin-top: var(--s-8); }
  /* the phone hero: the photograph takes what the words leave, so the first screen ends on it */

  /* the three steps run to two screens wherever they stack */
  /* small laptop: the three steps stay in one row, the FAQ and the form stack */
  @media (min-width: 1024px) and (max-width: 1279px) {
    #partner .panel { --p-h: 190px; }
    #anbieter .anb__rows { margin: var(--s-5) 0; }
    #mitreden .grid > * { grid-column: 1 / -1; } #mitreden .grid .photo { aspect-ratio: 16 / 9; }
  }
  /* tablet held upright: steps, form two screens; the footer columns under the logo */
  @media (min-width: 640px) and (max-width: 1023px) {
    #ablauf .panel { --p-h: calc(53svh - 150px); }
    #mitreden .grid > .span-6 { grid-column: span 6; } #mitreden .grid .photo { aspect-ratio: auto; height: 100%; max-height: 640px; }
    .closing__links .grid > .span-4 { grid-column: 1 / -1; } .closing__links .grid > .span-2 { grid-column: span 4; }
  }
  /* providers on the dark band */
  .anb__rows { list-style: none; margin: var(--s-6) 0 var(--s-6); padding: 0; }
  .anb__rows li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-1); }
  .anb__rows h3 { font: 500 var(--t-card)/1.3 var(--font-text); margin: 0; }
  .anb__rows p { margin: 0; }
  .photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
  .photo picture { display: contents; }
  /* the AI notice on each generated image: bottom right, quiet (the client's wish, as in the canvas) */
  .photo { position: relative; }
  .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
  #anbieter .photo, #mitreden .photo { aspect-ratio: 1 / 1; }
  .consent { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; font-size: 16px; font-weight: 400; }
  .consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--action); }
  @media (max-width: 1023px) { #anbieter .photo { aspect-ratio: 21 / 9; } }
  @media (max-width: 639px) { #ablauf .panel { --p-h: 260px; } #anbieter .photo { aspect-ratio: 4 / 3; } #mitreden .grid .photo { aspect-ratio: 4 / 3; } #partner .panel { --p-h: 400px; } #budget .figs { margin-top: var(--s-2); } .stat .t-small { font-size: 16px; } .stat { padding-top: var(--s-2); gap: var(--s-2); } .source { margin-top: var(--s-4); }
    #anbieter .anb__rows li { padding: var(--s-3) 0; }
    .footer__lede { display: none; } .closing__links .grid > .span-2 { grid-column: span 4; } }

  /* SPACING (the client's choice, Nov 2026): every section as tall as its content, one even gap.
     This replaces the skill's one-section-per-screen heights; the hero stays one screen. */
  :root { --sec-y: clamp(64px, 6vw + 26px, 112px); }
  main#top > section.section, main#top > section.section.ground-peach,
  main#inhalt > section.section, main#inhalt > section.section.ground-peach {
    height: auto; min-height: 0; padding-top: var(--sec-y); padding-bottom: var(--sec-y);
  }
  main#top > section.section > .wrap, main#inhalt > section.section > .wrap { height: auto; }
  /* blocks that used to take "the rest of the screen" get their own heights */
  #app .app.ui { flex: none; height: clamp(440px, 34vw + 70px, 560px); }
  #ablauf .panel, #partner .panel { --p-h: 300px; }
  @media (max-width: 639px) { #ablauf .panel, #partner .panel { --p-h: 260px; } }
  #mitreden .grid .photo { max-height: 640px; }
  /* 640-1279: one step per row, the words left and its app screen right (three across left the screens too narrow) */
  @media (min-width: 640px) and (max-width: 1279px) {
    #ablauf .grid > .card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-7); align-content: start; }
    #ablauf .grid > .card > :not(.panel) { grid-column: 1; }
    #ablauf .grid > .card > .panel { grid-column: 2; grid-row: 1 / span 4; margin: calc(-1 * var(--c-pad)) calc(-1 * var(--c-pad)) calc(-1 * var(--c-pad)) 0; --p-h: 300px; }
  }
  /* an amount never breaks from its euro sign */

/* partner.html: its first section sits under the fixed bar */

/* partner page: the form photo like the start page's */
#mitmachen .grid .photo { aspect-ratio: 1 / 1; }
@media (max-width: 1023px) { #mitmachen .grid .photo { aspect-ratio: 4 / 3; } }

#anbieter h2 { hyphens: manual; }

/* HERO (option B, Nov 2026): words left, the kitchen photograph right with a small app card */

.mh { position: relative; min-height: 100svh; box-sizing: border-box; display: flex; align-items: center; padding: calc(var(--nav) + 48px) 0 64px; overflow: hidden; }
.mh h1 { margin: 0 0 24px; font: 400 clamp(40px, 5.4vw, 80px)/1.02 var(--font-display); letter-spacing: -0.02em; hyphens: manual; }
.mh-lead { margin: 0 0 32px; font-size: clamp(17px, 1.2vw + 4px, 20px); line-height: 1.5; max-width: 34em; }
.mh .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

main#top > section.mh { height: auto; min-height: 100svh; padding: calc(var(--nav) + 48px) 0 64px; display: flex; align-items: center; }
main#top > section.mh > .wrap { height: auto; width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
@media (max-width: 639px) { main#top > section.mh { display: block; min-height: 0; padding: calc(var(--nav) + 32px) 0 40px; } }

/* NAV: always the dark green, without the hairline under it (Meike's choice) */
header.nav { border-bottom-color: transparent; }

/* APP and STEPS with the real screens from the click demo (Nov 2026) */
.app2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.app2__text h2 { margin: 0 0 var(--s-5); }
.app2__text .t-lead { margin: 0 0 var(--s-6); max-width: 32em; }
.app2__points { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-5); }
.app2__points li { padding-left: var(--s-6); position: relative; }
.app2__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: #f2c9a8; box-shadow: 0 0 0 4px #fbebdd; }
.app2__points h3 { margin: 0 0 4px; font: 400 var(--t-card)/1.3 var(--font-display); }
.app2__points p { margin: 0; }
.app2__stage { position: relative; display: grid; place-items: start center; padding-top: 48px; border-radius: 32px; background: #f2c9a8; overflow: hidden; height: 640px; }
.app2__stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, #f2c9a8); }
@media (max-width: 1023px) { .app2 { grid-template-columns: 1fr; gap: 40px; } .app2__stage { height: 560px; } }
@media (max-width: 639px) { .app2__stage { height: 480px; padding-top: 32px; } }

/* the app screens taking turns inside the phone */

.app2__stage::after { z-index: 2; }

/* the app video in a phone frame */

/* Hero D (Nov 2026): centred text, the kitchen photo wide, the phone with the app video in front of it */


/* ---- Atempause design (Nov 2026): breathing hero, week story, pinned steps, app cards, partner cards ---- */
/* Entwurf "Atempause" */
main#top > section.mh--atem { display: block; min-height: 0; padding: calc(var(--nav) + 40px) 0 72px; overflow: hidden; }
.atem__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.atem__text { display: grid; gap: 24px; justify-items: start; }
.mh--atem h1 { font-size: clamp(42px, 4.6vw, 70px); margin: 0; }
.mh--atem .mh-lead { margin: 0; max-width: 560px; }
.atem__status { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 400 13px/1.4 var(--font-mono); letter-spacing: .02em; color: #dce8e1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 7px 16px 7px 12px; }
.atem__dot { width: 8px; height: 8px; border-radius: 50%; background: #f2c9a8; box-shadow: 0 0 0 0 rgba(242,201,168,.6); animation: atemPing 2.4s ease-out infinite; }
@keyframes atemPing { 70% { box-shadow: 0 0 0 9px rgba(242,201,168,0); } 100% { box-shadow: 0 0 0 0 rgba(242,201,168,0); } }
.atem__status-sep { opacity: .5; }
.atem__media { position: relative; padding: 0 0 40px; }
.atem__breath { position: relative; width: min(100%, 600px); aspect-ratio: 1; margin-left: auto; }
.atem__breath svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.atem__glow path { fill: #f2c9a8; }
.atem__glow { animation: atemGlow 10s ease-in-out infinite; transform-origin: 50% 50%; opacity: .9; }
.atem__photo { animation: atemPhoto 10s ease-in-out infinite; transform-origin: 50% 52%; }
@keyframes atemGlow { 0%,100% { transform: scale(1.02) rotate(0deg); } 40% { transform: scale(1.12) rotate(-4deg); } }
@keyframes atemPhoto { 0%,100% { transform: scale(.93); } 40% { transform: scale(.97); } }
.atem__cue { position: absolute; right: 0; bottom: 0; margin: 0; font: 400 13px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #f2c9a8; width: 120px; height: 16px; }
.atem__cue span { position: absolute; right: 0; animation: atemCue 10s ease-in-out infinite; }
.atem__cue .out { animation-name: atemCueOut; opacity: 0; }
@keyframes atemCue { 0% { opacity: 0; } 8%,32% { opacity: 1; } 40%,100% { opacity: 0; } }
@keyframes atemCueOut { 0%,40% { opacity: 0; } 48%,88% { opacity: 1; } 100% { opacity: 0; } }
.atem__phone { position: absolute; left: 0; bottom: 0; margin: 0; width: 220px; border: 8px solid #14201a; border-radius: 36px; overflow: hidden; background: #fbfaf5; box-shadow: 0 40px 70px -24px rgba(0,0,0,.6); z-index: 2; }
.atem__phone video { display: block; width: 100%; height: auto; }
.atem__pause { left: 236px; right: auto; bottom: 0; }
.atem__ai { position: absolute; left: auto; right: 24%; top: 16%; bottom: auto; z-index: 1; }
/* Deine Woche */
.wk__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: center; }
.wk__text { display: grid; gap: 20px; justify-items: start; }
.wk__text h2 { margin: 0; } .wk__text .t-lead { margin: 0; }
.wk__tag { margin: 0; font: 400 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--p-muted); border: 1px solid currentColor; border-radius: 999px; padding: 6px 10px; }
.wk__count { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.wk__num { font: 400 88px/1 var(--font-display); color: #1c3a2e; min-width: 1.2ch; }
.wk__count span:last-child { font-size: 15px; color: var(--p-muted); }
.wk__cal { display: grid; grid-template-columns: 34px repeat(7, minmax(0, 1fr)); grid-template-rows: 30px repeat(14, 30px); column-gap: 6px; background: #fff; border: 1px solid #e2ddcf; border-radius: 24px; padding: 20px 20px 16px 12px; position: relative; }
.wk__d { grid-row: 1; font: 500 13px/30px var(--font-text); text-align: center; color: #56635b; }
.wk__h { grid-column: 1; font: 400 11px/1 var(--font-mono); color: #8a948e; transform: translateY(-5px); }
.wk__l { grid-column: 2 / -1; border-top: 1px solid #efece3; align-self: start; }
.wk__b { position: relative; margin: 1px 0; border-radius: 8px; padding: 5px 7px; font-size: 11.5px; line-height: 1.25; overflow: hidden; transition: background-color .6s ease, color .6s ease, box-shadow .6s ease; }
.wk__b--pflege { background: #dfe7e1; color: #1c3a2e; }
.wk__b--arbeit { background: #eceae3; color: #56635b; }
.wk__b--termin { background: #e4edf6; color: #2e5e8c; }
.wk__b--gap { background: repeating-linear-gradient(-45deg, #f6e1e0 0 6px, #fbefee 6px 12px); color: #9a3b2e; box-shadow: inset 0 0 0 1.5px #d9938a; z-index: 1; }
.wk__b--mine { grid-column: 6; z-index: 2; margin: 2px 4px 2px 16%; white-space: nowrap; background: #1c3a2e; color: #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.wk__q, .wk__a { display: block; transition: opacity .4s ease, transform .5s ease; }
.wk__a { position: absolute; left: 7px; right: 7px; top: 5px; opacity: 0; transform: translateY(8px); }
.wk__cal.is-done .wk__b--gap { background: #f2c9a8; color: #14201a; box-shadow: 0 10px 24px -10px rgba(186,110,50,.55); animation: wkPop .7s cubic-bezier(.2,.9,.3,1.3); }
.wk__cal.is-done .wk__q { opacity: 0; transform: translateY(-8px); }
.wk__cal.is-done .wk__a { opacity: 1; transform: none; transition-delay: .2s; }
@keyframes wkPop { 40% { transform: scale(1.06); } }
.wk__b--mine::after { content: ""; }
@media (prefers-reduced-motion: reduce) { .atem__glow, .atem__photo, .atem__cue span, .atem__dot { animation: none; } .atem__cue .out { display: none; } }
@media (max-width: 1023px) { .atem__grid, .wk__grid { grid-template-columns: 1fr; gap: 40px; } .atem__breath { margin: 0 auto; } .wk__grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; } .wk__text { display: contents; } .wk__tag { align-self: flex-start; } .wk__cal { order: 2; margin: 12px 0 4px; } .wk__count { order: 3; } .wk__again { order: 4; align-self: flex-start; } }
@media (max-width: 639px) {
  main#top > section.mh--atem { padding: calc(var(--nav) + 24px) 0 48px; }
  .atem__status { font-size: 12px; border-radius: 16px; }
  .atem__media { padding-bottom: 120px; }
  .atem__phone { width: 150px; border-width: 6px; border-radius: 26px; }
  .atem__pause { left: 162px; bottom: 0; }
  .wk__cal { grid-template-columns: 30px repeat(3, minmax(0, 1fr)); padding: 14px 12px 12px 8px; }
  .wk-d1, .wk-d2, .wk-d6, .wk-d7 { display: none; }
  .wk__cal > .wk-d3 { grid-column: 2 !important; } .wk__cal > .wk-d4 { grid-column: 3 !important; } .wk__cal > .wk-d5 { grid-column: 4 !important; }
  .wk__b--mine { grid-column: 4 !important; margin-left: 4%; font-size: 10.5px; }
  .wk__num { font-size: 68px; }
}

/* Ablauf: scroll story */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; }
.story__text h2 { margin: 0 0 24px; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 10px; max-width: 460px; opacity: .3; transition: opacity .5s ease; }
.story__step.is-on { opacity: 1; }
.story__num { font: 400 13px/1 var(--font-mono); letter-spacing: .14em; color: #1f5c4a; }
.story__step h3 { margin: 0; font: 400 clamp(28px, 2.6vw, 40px)/1.15 var(--font-display); color: #1c3a2e; }
.story__step p { margin: 0; font-size: 18px; color: var(--p-muted); }
.story__mimg { display: none; }
.story__sticky { position: sticky; top: calc(var(--nav) + 6vh); height: 80vh; display: grid; place-items: center; }
.story__blob { position: absolute; width: 92%; max-width: 560px; aspect-ratio: 1; fill: #f2c9a8; animation: atemGlow 10s ease-in-out infinite; }
.story__phone { position: relative; width: 270px; aspect-ratio: 780 / 1600; border: 9px solid #1c3a2e; border-radius: 42px; overflow: hidden; background: #fbfaf5; box-shadow: 0 40px 70px -28px rgba(28,58,46,.5); }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.story__img.is-on { opacity: 1; transform: none; }
.story__bar { position: absolute; bottom: 4vh; width: 120px; height: 4px; border-radius: 4px; background: rgba(28,58,46,.15); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 33.3%; background: #1c3a2e; border-radius: 4px; transition: width .5s ease; }
@media (max-width: 1023px) { .story { grid-template-columns: 1fr; } .story__stage { display: none; } .story__step { min-height: 0; opacity: 1; padding: 28px 0; border-top: 1px solid #e2ddcf; max-width: none; } .story__mimg { display: block; width: 210px; height: auto; margin: 16px auto 0; border: 7px solid #1c3a2e; border-radius: 32px; box-shadow: 0 24px 40px -20px rgba(28,58,46,.45); } }
/* Anbieter: incoming request */
.photo--ping { position: relative; }
.ping { position: absolute; left: 24px; right: auto; bottom: 24px; width: min(320px, calc(100% - 48px)); background: #fbfaf5; color: #14201a; border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.55); font-size: 14px; display: grid; gap: 6px; opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .5s ease, transform .7s cubic-bezier(.2,.9,.3,1.25); z-index: 2; }
.photo--ping.is-in .ping { opacity: 1; transform: none; transition-delay: .5s; }
.ping p { margin: 0; } .ping__sub { color: #56635b; font-size: 13px; }
.ping__top { display: flex; align-items: center; gap: 8px; font-size: 13px; } .ping__t { margin-left: auto; color: #56635b; font: 400 12px/1 var(--font-mono); }
.ping__dot { width: 8px; height: 8px; border-radius: 50%; background: #1f5c4a; animation: atemPing 2.4s ease-out infinite; box-shadow: 0 0 0 0 rgba(31,92,74,.5); }
.ping__btns { display: flex; gap: 8px; margin-top: 4px; } .ping__btns span { border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.ping__yes { background: #1c3a2e; color: #fff; } .ping__no { border: 1px solid #e2ddcf; color: #56635b; }
/* organic, breathing photo */
.photo--breath { border-radius: 46% 54% 50% 50% / 52% 46% 54% 48% !important; animation: breathShape 12s ease-in-out infinite; }
@keyframes breathShape { 0%,100% { border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; } 50% { border-radius: 54% 46% 44% 56% / 46% 54% 48% 52%; } }
/* closing line */
/* soft reveals */
html.rv [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
html.rv [data-rv].is-in { opacity: 1; transform: none; }
html.rv .photo[data-rv] img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
html.rv .photo[data-rv].is-in img { transform: none; }
@media (prefers-reduced-motion: reduce) { .story__blob, .photo--breath, .ping__dot { animation: none; } html.rv [data-rv] { opacity: 1; transform: none; } .ping { opacity: 1; transform: none; } }

/* hero chat bubbles */
.chat2 { position: absolute; left: 0; right: 0; bottom: 56px; display: grid; gap: 10px; pointer-events: none; }
.chat2__b { margin: 0; max-width: 300px; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 1.35; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); opacity: 0; transform: translateY(14px) scale(.96); animation: chatIn .6s cubic-bezier(.2,.9,.3,1.2) forwards; }
.chat2__b--me { justify-self: start; margin-left: 4%; background: #fbfaf5; color: #14201a; border-bottom-left-radius: 6px; animation-delay: .9s; }
.chat2__b--pausa { justify-self: end; margin-right: 2%; background: #f2c9a8; color: #14201a; border-bottom-right-radius: 6px; display: flex; align-items: center; gap: 10px; animation-delay: 2s; }
.chat2__av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #1c3a2e; color: #f2c9a8; display: grid; place-items: center; font: 400 14px/1 var(--font-display); }
.chat2__b--pausa { position: relative; }
.chat2__dots { position: absolute; left: 52px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 4px; animation: chatHide .3s ease 3.3s forwards; }
.chat2__dots i { width: 6px; height: 6px; border-radius: 50%; background: #1c3a2e; opacity: .35; animation: chatDot 1s infinite; }
.chat2__dots i:nth-child(2) { animation-delay: .15s; } .chat2__dots i:nth-child(3) { animation-delay: .3s; }
.chat2__txt { opacity: 0; animation: chatShow .5s ease 3.4s forwards; }
@keyframes chatIn { to { opacity: 1; transform: none; } }
@keyframes chatDot { 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes chatHide { to { opacity: 0; } }
@keyframes chatShow { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat2__b { animation: none; opacity: 1; transform: none; } .chat2__dots { display: none; } .chat2__txt { opacity: 1; animation: none; } }
@media (max-width: 639px) { .atem__media { padding-bottom: 40px; } .chat2 { bottom: 30px; } .chat2__b { font-size: 14.5px; max-width: 250px; } .atem__ai { right: 24%; top: 10%; } }

/* slower week sequence */
.wk__cal .wk__b--gap { transition: background 1.4s ease, color 1.4s ease, box-shadow 1.4s ease; }
.wk__cal:not(.is-gap) .wk__b--gap { box-shadow: inset 0 0 0 1.5px transparent; }
.wk__cal.is-gap:not(.is-done) .wk__b--gap { animation: wkWarn 1.6s ease-in-out 2; }
@keyframes wkWarn { 50% { box-shadow: inset 0 0 0 2.5px #c96e62; } }
.wk__cal .wk__b--mine { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.9,.3,1.2); }
.wk__cal.is-mine .wk__b--mine { opacity: 1; transform: none; }
.wk__cal.is-done .wk__b--gap { animation: wkPop 1.4s cubic-bezier(.2,.9,.3,1.2); }
.wk__q, .wk__a { transition-duration: .9s, 1s !important; }
.wk__cal.is-done .wk__a { transition-delay: .5s !important; }
@media (prefers-reduced-motion: reduce) { .wk__cal .wk__b--mine { opacity: 1; transform: none; } }

/* KI badge: small, inside the picture; label on hover, focus or tap */
.ki { position: absolute; right: 12px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 17px; min-width: 17px; padding: 0 5px; border: 0; border-radius: 999px; background: rgba(20,32,26,.16); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: rgba(255,255,255,.7); font: 500 8.5px/1 var(--font-text); letter-spacing: .06em; cursor: help; transition: background .2s ease; }
.ki::before { content: ""; position: absolute; inset: -10px; }
.ki__tip { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-weight: 400; letter-spacing: 0; transition: max-width .35s ease, opacity .25s ease; }
.ki:hover, .ki:focus-visible, .ki.is-open { background: rgba(20,32,26,.6); color: #fff; }
.ki:hover .ki__tip, .ki:focus-visible .ki__tip, .ki.is-open .ki__tip { max-width: 140px; opacity: 1; }
.ki:focus-visible { outline: 2px solid #f2c9a8; outline-offset: 2px; }
.atem__ai.ki { left: auto; right: 30%; top: auto; bottom: 15%; }

.photo--breath .ki { right: 26%; bottom: 9%; }

/* app section: real app cards, stacked like notifications on peach */
#app .app2__stage { height: 620px; padding: 0; display: block; background: #f2c9a8; }
#app .app2__stage::after { display: none; }
@media (min-width: 1024px) { #app .app2__stage { order: -1; } }  /* cards left, text right, for variety */
#app .app2__stage::before { content: ""; position: absolute; width: 420px; height: 420px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: #f7dcc4; }
.acard { position: absolute; z-index: 2; width: min(340px, calc(100% - 48px)); background: #fbfaf5; color: #14201a; border-radius: 20px; padding: 18px 20px; box-shadow: 0 24px 48px -22px rgba(28,58,46,.45); font-size: 14px; line-height: 1.35; display: grid; gap: 6px; }
.acard p { margin: 0; }
.acard__lab { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: #56635b; }
.acard__chip { margin-left: auto; background: #dfeee5; color: #1f5c4a; border-radius: 99px; padding: 4px 8px; font-size: 11px; letter-spacing: 0; text-transform: none; }
.acard__big { font: 400 24px/1.2 var(--font-display); color: #1c3a2e; }
.acard__sub { color: #56635b; font-size: 13px; }
.acard__bar { height: 6px; border-radius: 99px; background: #efe7dc; overflow: hidden; margin: 4px 0 2px; }
.acard__bar i { display: block; height: 100%; width: 65%; border-radius: inherit; background: #f2c9a8; transform-origin: left; }
.acard--termin { left: 9%; top: 64px; }
.acard--budget { right: 9%; top: 50%; translate: 0 -50%; }
.acard--doc { left: 13%; bottom: 56px; }
.acard--doc .acard__big { font-size: 20px; }
.acard__check { width: 22px; height: 22px; border-radius: 50%; background: #1c3a2e; color: #f2c9a8; display: inline-grid; place-items: center; font-size: 12px; margin-right: 2px; }
html.rv .acard { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .6s ease, transform .9s cubic-bezier(.2,.9,.3,1.15); }
html.rv .app2__stage.is-in .acard { opacity: 1; transform: none; }
html.rv .app2__stage.is-in .acard--termin { transition-delay: .3s; }
html.rv .app2__stage.is-in .acard--budget { transition-delay: .8s; }
html.rv .app2__stage.is-in .acard--doc { transition-delay: 1.3s; }
html.rv .acard__bar i { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1) 1.4s; }
html.rv .app2__stage.is-in .acard__bar i { transform: none; }
@media (max-width: 1279px) { .acard--termin { left: 24px; } .acard--budget { right: 24px; } .acard--doc { left: 48px; } }
@media (max-width: 1023px) { #app .app2__stage { height: 540px; } }
@media (max-width: 639px) { #app .app2__stage { height: auto; padding: 28px 16px; display: grid; gap: 14px; } #app .app2__stage::before { width: 300px; height: 300px; } #app .acard { position: relative; inset: auto; translate: none; width: 92%; padding: 14px 16px; } .acard--budget { justify-self: end; } .acard__big { font-size: 20px; } #app .acard--doc .acard__big { font-size: 17px; } }

/* Ablauf v2: pinned story, one step per screen of scrolling */
@media (min-width: 1024px) {
  .story { display: block; height: 360vh; position: relative; }
  .story__pin { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
  .story__text { align-self: center; }
  .story__steps { display: grid; min-height: 240px; }
  .story__step { grid-area: 1 / 1; min-height: 0; justify-content: flex-start; opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
  .story__step.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
  .story__stage { height: 100%; }
  .story__sticky { position: relative; top: 0; height: 100%; }
  .story__img { transition: opacity .8s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
  .story__dots { display: flex; gap: 10px; margin-top: 28px; }
}
@media (max-width: 1023px) { .story__dots { display: none; } }
.story__bar { display: none; }
.story__dots span { font: 400 13px/1 var(--font-mono); letter-spacing: .1em; color: #8a948e; padding-bottom: 6px; border-bottom: 2px solid transparent; transition: color .4s ease, border-color .4s ease; }
.story__dots span.is-on { color: #1c3a2e; border-color: #1c3a2e; }

/* step 3: the signature draws itself, then the booking is confirmed */
.story__sig { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.story__sig path { fill: none; stroke: #1c3a2e; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.story__press { position: absolute; left: 7.7%; width: 84.6%; top: 72.4%; height: 6%; border-radius: 999px; background: #fff; opacity: 0; z-index: 2; pointer-events: none; }
.story__done { position: absolute; left: 50%; top: 83%; transform: translate(-50%, 12px); white-space: nowrap; background: #dfe7e1; color: #1c3a2e; border-radius: 999px; padding: 6px 12px; font-size: 11.5px; font-weight: 500; opacity: 0; z-index: 2; box-shadow: 0 8px 18px -10px rgba(28,58,46,.5); }
.story__done b { font-weight: 600; }
.story__phone.is-sign .story__sig path { transition: stroke-dashoffset 2.2s cubic-bezier(.45,.05,.4,1) 1s; stroke-dashoffset: 0; }
.story__phone.is-sign .story__press { animation: sigPress .5s ease 3.6s; }
.story__phone.is-sign .story__done { transition: opacity .6s ease 4.1s, transform .8s cubic-bezier(.2,.9,.3,1.25) 4.1s; opacity: 1; transform: translate(-50%, 0); }
@keyframes sigPress { 40% { opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .story__phone.is-sign .story__sig path { transition: none; } .story__phone.is-sign .story__done { transition: none; } }

/* Partner v4: two polished cards */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.pc__card { background: #fbfaf5; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.pc__card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(28,58,46,.35); }
.pc__stage { position: relative; min-height: 300px; padding: 40px 0; background: #f2c9a8; display: grid; place-items: center; overflow: hidden; }
.pc__stage--green { background: #1c3a2e; }
.pc__blob { position: absolute; width: 360px; height: 360px; right: -90px; bottom: -150px; fill: rgba(255,255,255,.35); animation: atemGlow 12s ease-in-out infinite; }
.pc__stage--green .pc__blob { fill: rgba(242,201,168,.16); }
.pc__ui { position: relative; width: min(340px, calc(100% - 48px)); background: #fff; border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 24px 44px -22px rgba(20,32,26,.45); display: grid; gap: 8px; font-size: 13.5px; color: #14201a; }
.pc__ui-h { margin: 0 0 4px; font: 400 17px/1.25 var(--font-display); color: #1c3a2e; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc__tag { font: 400 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8a948e; border: 1px solid #d7dcd5; border-radius: 999px; padding: 4px 7px; }
.pc__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: #f6f4ee; }
.pc__row span, .pc__gap span { color: #56635b; }
.pc__row b, .pc__gap b { font-weight: 500; }
.pc__gap { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: #f6f4ee; box-shadow: inset 3px 0 0 #e7b48f; }
.pc__ok { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #1f5c4a; }
.pc__ok i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #dfe7e1; display: grid; place-items: center; font-size: 11px; }
.pc__ok--muted { color: #56635b; } .pc__ok--muted i { background: #f1eee4; }
.pc__body { padding: 28px 32px 32px; display: grid; gap: 10px; justify-items: start; }
.pc__who { margin: 0; font: 400 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #1f5c4a; }
.pc__body h3 { margin: 0; font: 400 var(--t-card)/1.3 var(--font-display); }
.pc__body p:not(.pc__who) { margin: 0 0 6px; color: var(--p-muted); }
/* rows arrive one by one when the card comes into view */
html.rv .pc__card .pc__ui > * { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
html.rv .pc__card.is-in .pc__ui > * { opacity: 1; transform: none; }
html.rv .pc__card.is-in .pc__ui > :nth-child(2) { transition-delay: .25s; } html.rv .pc__card.is-in .pc__ui > :nth-child(3) { transition-delay: .45s; }
html.rv .pc__card.is-in .pc__ui > :nth-child(4) { transition-delay: .65s; } html.rv .pc__card.is-in .pc__ui > :nth-child(5) { transition-delay: 1.1s; }
@media (min-width: 1024px) { .pc__stage { min-height: 380px; } }
@media (max-width: 1023px) { .pc { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .pc__stage { min-height: 0; padding: 28px 0; } .pc__body { padding: 24px 22px 28px; } .pc { margin-top: 32px; } }
