/* ============================================================
   Michailia Sifnaiou | Shared design system (site.css)
   Loaded by every page with /js/site.js. Page-specific styles live in
   /css/pages/ (see docs/design-system.md for which page loads what).
   Method: unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   Rules and tokens are written up in docs/design-system.md.
   The header, mobile menu, footer, WhatsApp float and the SVG icon
   sprite are copied from index.html, which is the markup source of truth.

   Direction
   Product   One-to-one personal training at McFIT Hamburg-Nord and
             online, coached in English or Greek.
   Character Warm, steady, encouraging.
   World     Greek honey light in a northern city: paper notebook,
             chalk and brick. One honey accent on warm neutrals.
   Moment    The real photo of Michailia, large, with
             the intro-call card on its edge.
   Signature The language flags wherever language is mentioned.

   Reusable components (class names)
   Layout      .container, .section, .section--cream, .section--tight,
               .section--after-hero, .section-head (with .label, h2, p)
   Text        .label (small grey heading over an h2), .kicker (icon + line
               over an h1), .num (tabular numbers), .chip (icon + short tag)
   Icons       <svg class="ic"><use href="#i-..."/></svg> line icons,
               .logo (+ .logo--wa, .logo--ig) brand marks, .flag round flags,
               .tile (fixed-width icon slot, no background)
   Buttons     .btn + .btn--primary (honey) or .btn--quiet (paper),
               .btn--sm for the header; an .ic inside nudges on hover
   Header      .site-header > .header-inner, .brand (.brand-mark, .brand-tag),
               .nav, .nav-link, .lang (language switch with flags), .burger
   Mobile menu .mobile-nav, .mobile-nav-head, .mobile-nav-list, .mobile-nav-foot
   Hero        .hero, .hero-grid, .hero-text, .hero-lede, .hero-cta,
               .hero-meta (dl), .langs + .flags (flag stack that spreads
               on hover), .hero-visual > .hero-photo + .intro-card
               (mouse-follow in site.js)
   Cards       .for-you-grid > .for-you-card (.tile, h3, p, .card-cta)
               .service-card (.service-card-img, .service-card-body, .chip,
               .service-card-foot with .price and .more), .service-card--main
   Offer grid  .services-split: main card, .offer-or divider (line, the
               word "or", line), .services-stack with two smaller cards;
               .services-col-label over each column; .services-note under it
   About       .about, .about-text, .about-sig, .creds (list of credentials)
   Process     ol.process > li.step (.step-dot, .step-n, h3, p)
   FAQ         .faq-wrap (sticky head + list), .faq-list > details.faq-item
               > summary + .faq-body (site.js adds the animated disc)
   CTA panel   .cta-panel > .cta-photo (photo + scrim) + .cta-inner
               (.cta-copy, .cta-actions, .contact-row with .tile and
               .contact-row-arrow). The only dark block on the site.
   Footer      .site-footer, .footer-grid, .footer-brand, .footer-bottom,
               .footer-legal
   Float       .wa-float (WhatsApp button, bottom right)
   Reveal      add class "reveal" to a block; site.js fades it in on scroll
               and staggers siblings that enter together. Needs the small
               inline script in <head> that sets html.js.

   Motion
   - Every transition uses the tokens below; no one-off timings.
   - Only transform and opacity move. Shadows live on pseudo-elements
     and fade with opacity; colours change only with short fades.
   - Hover-on eases out (--ease-out), hover-off eases in and out
     (--ease-in-out). Each hover trigger sets --e / --e-spring for
     itself and its children, so leaving is as smooth as entering.
     New hover triggers go in the "Hover easing" lists below.
   - No keyframes on hover: flag waves run through the Web Animations
     API (js/site.js) and always finish instead of being cut off.
============================================================ */


:root {
    /* Warm neutral ramp */
    --bg: #f7f3ea;
    --bg-2: #efe8da;
    --surface: #fdfbf6;
    --ink: #1f1b16;
    --ink-2: #5e554a;
    --ink-3: #736a5e;
    --line: rgba(31, 27, 22, 0.09);
    --line-2: rgba(31, 27, 22, 0.16);

    /* Accent: honey. Fill only; dark text on it. */
    --honey: #d6a23c;
    --honey-hover: #c9952f;
    --honey-soft: #f3e3bd;
    --honey-ink: #7d5712;   /* honey as text on light, 5.8:1 */


    /* Dark warm panel */
    --night: #211d18;
    --night-2: #2c2721;
    --on-night: #f3ede2;
    --on-night-2: #b3aa9c;

    --wa: #25d366;

    --serif: "Fraunces", Georgia, serif;
    --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --gutter: 24px;
    --r-control: 10px;
    --r-card: 16px;
    --r-panel: 20px;
    --r-card-in: calc(var(--r-card) - 1px);   /* inside the 1px card border */

    /* ---- Motion tokens: three curves, four durations ---- */
    --ease-out: cubic-bezier(.22, 1, .36, 1);       /* entrances, hover-on: quick start, long soft landing */
    --ease-in-out: cubic-bezier(.45, 0, .25, 1);    /* returns, hover-off, height changes: soft at both ends */
    --ease-spring: cubic-bezier(.34, 1.36, .64, 1); /* flags and small icons only: a ~4% overshoot */
    --dur-1: 160ms;   /* colour, opacity, presses */
    --dur-2: 280ms;   /* lifts, nudges, shadows, underlines, icon pops */
    --dur-3: 420ms;   /* accordion, header state, menu, flag stack closing */
    --dur-4: 600ms;   /* image zoom, flag stack opening, section reveal */
    --dur-press: 90ms;
    /* Per-trigger easing (switched on hover; see "Hover easing" below) */
    --e: var(--ease-out);
    --e-spring: var(--ease-out);

    /* Motion amounts */
    --lift-sm: -1px;
    --lift-md: -3px;
    --nudge: 3px;
    --zoom: 1.03;
    --pop: 1.1;        /* small icons on hover */
    --pop-sm: 1.06;    /* the 32px FAQ disc */
    --press: .98;
    --flag-spread: 10px;
    --reveal-rise: 12px;

    --shadow-rest: 0 1px 2px rgba(31, 27, 22, .04);
    --shadow-lift: 0 18px 36px -20px rgba(31, 27, 22, .32), 0 2px 6px rgba(31, 27, 22, .04);
}
@media (prefers-reduced-motion: reduce) {
    :root {
        --lift-sm: 0px; --lift-md: 0px; --nudge: 0px; --zoom: 1;
        --pop: 1; --pop-sm: 1; --press: 1; --flag-spread: 0px; --reveal-rise: 0px;
    }
}

*, *::before, *::after { box-sizing: border-box; }

/* scrollbar-gutter: the menu's scroll lock no longer shifts the page sideways */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* ---- Hover easing ----
   Base state of every hover trigger = the hover-OFF curve; its hover/focus state = the hover-ON curve.
   Children inherit --e, so a nested icon eases in and out with its trigger. */
.btn, .lang a, .nav-link, .footer-grid a, .footer-legal a, p a, .for-you-card, .service-card, .creds li, .step,
.faq-item summary, a.contact-row, .wa-float, .langs {
    --e: var(--ease-in-out);
    --e-spring: var(--ease-in-out);
}
.btn:hover, .btn:focus-visible, .lang a:hover, .lang a:focus-visible,
.nav-link:hover, .nav-link:focus-visible, .footer-grid a:hover, .footer-grid a:focus-visible,
.footer-legal a:hover, .footer-legal a:focus-visible,
p a:hover, p a:focus-visible, .for-you-card:hover, .for-you-card:focus-within,
.service-card:hover, .service-card:focus-visible, .creds li:hover, .step:hover,
.faq-item summary:hover, .faq-item summary:focus-visible, a.contact-row:hover, a.contact-row:focus-visible,
.wa-float:hover, .wa-float:focus-visible, .langs:hover {
    --e: var(--ease-out);
    --e-spring: var(--ease-spring);
}

a { color: var(--honey-ink); text-decoration: none; transition: color var(--dur-1) var(--e); }
a:hover { color: var(--ink); }
/* Inline links: a quiet static rule, and an ink rule that draws in on top (transform only) */
p a {
    position: relative;
    background-image: linear-gradient(var(--line-2), var(--line-2));
    background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
    padding-bottom: 1px;
}
p a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: currentColor; pointer-events: none;
    transform: scaleX(0); transform-origin: left center;
    transition: transform var(--dur-2) var(--e);
}
p a:hover::after, p a:focus-visible::after { transform: scaleX(1); }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-variation-settings: "SOFT" 50;
    color: var(--ink);
    margin: 0 0 16px;
    font-weight: 400;
    line-height: 1.12;
    text-wrap: balance;
}

h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.02em; }
h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.num { font-variant-numeric: tabular-nums; }

/* ---- Icons ---- */
.ic {
    width: 18px; height: 18px; flex: 0 0 18px;
    fill: none; stroke: currentColor; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
}
.logo { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }
.logo--wa { color: var(--wa); }
.logo--ig { color: #e4405f; }
/* transform-origin near the "pole" side for the wave (js/site.js) */
.flag { width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); transform-origin: 20% 60%; }

/* Icon slot: a fixed-width column for a plain line icon, no background */
.tile {
    display: inline-flex; align-items: center; justify-content: flex-start;
    width: 24px; flex: 0 0 24px; color: var(--ink-2);
}
.tile .ic, .tile .logo { width: 20px; height: 20px; flex-basis: 20px; }
.tile .flag + .flag { margin-left: -4px; }

/* ---- Labels ---- */
.label {
    font-size: 14px; font-weight: 500; color: var(--ink-3);
    margin: 0 0 12px;
}
.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500; color: var(--ink-2);
    margin: 0 0 24px;
}
.kicker .ic { color: var(--ink-3); }

/* ---- Buttons ---- */
.btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 20px;
    font-family: var(--sans); font-size: 15px; font-weight: 600;
    border-radius: var(--r-control);
    border: 1px solid transparent;
    cursor: pointer; white-space: nowrap; line-height: 1;
    transition: background-color var(--dur-1) var(--e), border-color var(--dur-1) var(--e), color var(--dur-1) var(--e),
        translate var(--dur-2) var(--e), scale var(--dur-2) var(--e);
}
/* Hover shadow: drawn once on a pseudo-element, faded with opacity */
.btn::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    box-shadow: var(--btn-shadow, none); opacity: 0;
    transition: opacity var(--dur-2) var(--e);
}
.btn .ic { transition: translate var(--dur-2) var(--e); }
.btn:focus-visible .ic { translate: var(--nudge) 0; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }

.btn--primary { background: var(--honey); color: var(--ink); --btn-shadow: 0 10px 22px -12px rgba(125, 87, 18, .55); }
.btn--quiet { background: var(--surface); color: var(--ink); border-color: var(--line-2); --btn-shadow: 0 10px 22px -14px rgba(31, 27, 22, .35); }
.btn--quiet .logo--wa { transition: scale var(--dur-2) var(--e-spring); }

@media (hover: hover) {
    .btn:hover { translate: 0 var(--lift-sm); }
    .btn:hover::after { opacity: 1; }
    .btn:hover .ic { translate: var(--nudge) 0; }
    .btn--primary:hover { background: var(--honey-hover); color: var(--ink); }
    .btn--quiet:hover { background: #fff; border-color: rgba(31, 27, 22, .28); color: var(--ink); }
    .btn--quiet:hover .logo--wa { scale: var(--pop); }
}
.btn:active { translate: 0 0; scale: var(--press); transition-duration: var(--dur-press); }
.btn:active::after { opacity: .45; transition-duration: var(--dur-press); }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: background-color var(--dur-3) var(--ease-in-out);
}
/* Scrolled state: hairline and shadow on a pseudo-element, cross-faded with opacity */
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -1px; z-index: -1;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px -18px rgba(31, 27, 22, .28);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-3) var(--ease-in-out);
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.site-header.is-scrolled::after { opacity: 1; }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--ink); white-space: nowrap; }
.brand-tag { font-size: 14px; color: var(--ink-3); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-link:hover { color: var(--honey-ink); }
/* Current page: the hover underline stays drawn, in honey */
.nav-link[aria-current="page"]::after { transform: scaleX(1); height: 2px; background: var(--honey); }

.lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-control); background: var(--bg-2); }
.lang a {
    display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 10px; border-radius: 6px;
    font-size: 13px; font-weight: 600; color: var(--ink-3);
    transition: background-color var(--dur-1) var(--e), color var(--dur-1) var(--e);
}
.lang a:hover { color: var(--ink); }
.lang a:not(.is-active):hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.lang a.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(31, 27, 22, .08); }
.lang .flag { width: 14px; height: 14px; flex-basis: 14px; }

.burger {
    display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid var(--line-2); border-radius: var(--r-control);
    background: var(--surface); color: var(--ink); cursor: pointer; padding: 0;
}
.burger span { display: none; }

/* Mobile menu: fades and settles in, links follow a beat later; closing is one quick fade */
.mobile-nav {
    position: fixed; inset: 0; z-index: 200; background: var(--bg);
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0);
    transition: opacity var(--dur-2) var(--ease-in-out), transform var(--dur-2) var(--ease-in-out), visibility 0s linear var(--dur-2);
}
.mobile-nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s;
}
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-nav-head .close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.mobile-nav-list { padding: 24px var(--gutter); }
.mobile-nav-list li {
    opacity: 0; transform: translate3d(0, 8px, 0);
    transition: opacity var(--dur-1) var(--ease-in-out), transform var(--dur-2) var(--ease-in-out);
}
.mobile-nav.is-open .mobile-nav-list li {
    opacity: 1; transform: none;
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
    transition-delay: calc(60ms + var(--i, 0) * 40ms);
}
.mobile-nav-list li:nth-child(2) { --i: 1; }
.mobile-nav-list li:nth-child(3) { --i: 2; }
.mobile-nav-list li:nth-child(4) { --i: 3; }
.mobile-nav-list a { display: block; font-family: var(--serif); font-size: 32px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav-foot { margin-top: auto; padding: 24px var(--gutter); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-foot .lang { align-self: flex-start; }
.mobile-nav-foot .contact-row { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }

/* ---- Hero ---- */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 80px; align-items: center; }
.hero-text h1 { margin-bottom: 24px; max-width: 12ch; }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34rem; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta dt { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.hero-meta dd { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }

/* Languages: the two flags stack like contributor avatars (EN on top, a paper ring between them)
   and slide apart on hover so both are whole; the label moves with them so the gap stays even. */
.flags { display: inline-flex; }
.hero-meta .flags .flag:first-child {
    position: relative; z-index: 1;
    box-shadow: 0 0 0 1px var(--line), 0 0 0 2px var(--bg);
}
.hero-meta .flags .flag + .flag { margin-left: -7px; }
.hero-meta .flags .flag + .flag, .langs-label {
    transition: translate var(--dur-3) var(--ease-in-out);
}
@media (hover: hover) {
    .langs:hover .flags .flag + .flag, .langs:hover .langs-label {
        translate: var(--flag-spread) 0;
        transition: translate var(--dur-4) var(--ease-spring);
    }
}

.hero-visual { position: relative; padding-bottom: 32px; }
.hero-photo { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--bg-2); }
.hero-photo img {
    position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
}
/* Mouse-follow (js/site.js): the photo drifts away from the cursor, the intro box towards it.
   The image is scaled a touch so its own extra drift never shows an edge. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .hero-photo img { scale: 1.025; }
}
.hero-visual.is-following .hero-photo,
.hero-visual.is-following .hero-photo img,
.hero-visual.is-following .intro-card { will-change: transform; }
/* Its own box on top of the photo: overlaps the left edge and the bottom, soft shadow, fine border */
.intro-card {
    position: absolute; left: -32px; bottom: 0; max-width: 340px;
    display: flex; gap: 12px; align-items: flex-start;
    padding: 18px 20px; border-radius: 14px;
    background: var(--surface); color: var(--ink-2);
    border: 1px solid var(--line);
    box-shadow: 0 24px 48px -16px rgba(31, 27, 22, .28), 0 2px 6px rgba(31, 27, 22, .05);
}
.intro-card .tile { color: var(--ink); padding-top: 1px; }
.intro-card strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.intro-card span span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* ---- Sections ---- */
.section { padding: 112px 0; }
.section--tight { padding: 64px 0 112px; }
.section--cream { background: var(--bg-2); }
.section--after-hero { padding-top: 48px; }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head p:not(.label) { font-size: 18px; color: var(--ink-2); margin-top: 16px; }

/* Card lift shadow, shared by both card types: a pseudo-element that fades in */
.for-you-card::after, .service-card::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    box-shadow: var(--shadow-lift); opacity: 0;
    transition: opacity var(--dur-2) var(--e);
}

/* Who it's for */
.for-you-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.for-you-card {
    position: relative;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 16px;
    box-shadow: var(--shadow-rest);
    transition: border-color var(--dur-2) var(--e), background-color var(--dur-2) var(--e), translate var(--dur-2) var(--e);
}
.for-you-card .tile { transition: color var(--dur-2) var(--e), translate var(--dur-2) var(--e); }
.for-you-card .tile { margin-bottom: 4px; }
.for-you-card h3 { margin: 0; }
.for-you-card h3 a { color: inherit; }
.for-you-card p { font-size: 15px; margin: 0; }
.card-cta {
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 15px; font-weight: 500; color: var(--ink);
}
.card-cta .ic { color: var(--honey-ink); transition: translate var(--dur-2) var(--e); }
.card-cta:hover { color: var(--honey-ink); }
.card-cta:focus-visible .ic { translate: var(--nudge) 0; }
@media (hover: hover) {
    .for-you-card:hover { border-color: var(--line-2); background: #fff; translate: 0 var(--lift-md); }
    .for-you-card:hover::after { opacity: 1; }
    .for-you-card:hover .tile { color: var(--honey-ink); translate: 0 var(--lift-sm); }
    .for-you-card:hover .card-cta .ic { translate: var(--nudge) 0; }
}

/* About */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 80px; align-items: center; }
.about blockquote {
    margin: 0 0 24px; font-family: var(--serif); font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.3; color: var(--ink); letter-spacing: -0.01em;
}
.about-text > p:not(.label) { font-size: 17px; max-width: 36rem; }
.about-sig { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.about-sig::before { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--honey); }

.creds { background: var(--surface); border-radius: var(--r-panel); padding: 8px 24px; border: 1px solid var(--line); }
.creds li { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.creds li .tile { transition: color var(--dur-2) var(--e), translate var(--dur-2) var(--e); }
@media (hover: hover) {
    .creds li:hover .tile { color: var(--honey-ink); translate: calc(var(--lift-sm) * -1) 0; }
}
.creds li + li { border-top: 1px solid var(--line); }
.creds strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.creds span span { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.4; }

/* Services: in person on the left, "or", the two online options stacked on the right */
.services-split {
    display: grid; grid-template-columns: 1.25fr 88px 1fr; grid-template-rows: auto 1fr;
    align-items: stretch;
}
.services-col-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0 0 16px;
}
.services-col-label .ic { width: 16px; height: 16px; flex-basis: 16px; color: var(--ink-3); }
.services-col-label--main { grid-column: 1; grid-row: 1; }
.services-col-label--online { grid-column: 3; grid-row: 1; }
.service-card--main { grid-column: 1; grid-row: 2; }
/* "or" divider from v4-b: line / large soft serif "or" / line */
.offer-or { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 0; }
.offer-or-line { flex: 1; width: 1px; background: var(--line-2); }
.offer-or-word {
    font-family: var(--serif); font-variation-settings: "SOFT" 100; font-style: normal;
    font-size: 56px; line-height: 1; font-weight: 400; color: var(--ink-3); opacity: .75;
    padding-bottom: 8px;
}
.services-stack { grid-column: 3; grid-row: 2; display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
/* One quiet line of links under the offer grid */
.services-note { margin: 40px 0 0; max-width: 46rem; font-size: 15px; color: var(--ink-3); }

/* The card no longer clips (its lift shadow lives outside it); the photo slot rounds its own corners.
   min-height/min-width 0 keep the grid sizing it had as a clipping box. */
.service-card {
    position: relative; min-width: 0; min-height: 0;
    display: flex; flex-direction: column; color: inherit;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-rest);
    transition: border-color var(--dur-2) var(--e), background-color var(--dur-2) var(--e), translate var(--dur-2) var(--e);
}
.service-card:hover { color: inherit; }
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); border-radius: var(--r-card-in) var(--r-card-in) 0 0; }
.service-card--main .service-card-img { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-4) var(--e); }
.service-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card--main .service-card-body { flex: 0 0 auto; }
.service-card-body h3 { margin: 0; }
.service-card-body > p:not(.chip) { font-size: 15px; flex: 1; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-3); margin: 0; }
.chip .ic { color: var(--ink-3); width: 16px; height: 16px; flex-basis: 16px; transition: color var(--dur-2) var(--e); }
.service-card-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 14px;
}
.service-card-foot .price { color: var(--ink); font-weight: 600; }
.service-card-foot .more { display: inline-flex; align-items: center; gap: 6px; color: var(--honey-ink); font-weight: 500; }
.service-card-foot .more .ic { width: 16px; height: 16px; flex-basis: 16px; transition: translate var(--dur-2) var(--e); }
.service-card:focus-visible .more .ic { translate: var(--nudge) 0; }
@media (hover: hover) {
    .service-card:hover { border-color: var(--line-2); background: #fff; translate: 0 var(--lift-md); }
    .service-card:hover::after { opacity: 1; }
    /* the zoomed photo keeps its own layer only while the card is hovered: no re-raster pop at the end */
    .service-card:hover .service-card-img img { scale: var(--zoom); will-change: transform; }
    .service-card:hover .chip .ic { color: var(--honey-ink); }
    .service-card:hover .more .ic { translate: var(--nudge) 0; }
}
.service-card:active { translate: 0 var(--lift-sm); transition-duration: var(--dur-press); }

/* The two online offers: smaller, photo beside the text */
.services-stack .service-card { flex-direction: row; }
.services-stack .service-card-img { aspect-ratio: auto; flex: 0 0 34%; border-radius: var(--r-card-in) 0 0 var(--r-card-in); }
.services-stack .service-card-body { padding: 20px 22px 22px; gap: 10px; }
.services-stack .service-card-body h3 { font-size: 21px; }
.services-stack .service-card-body > p:not(.chip) { font-size: 14px; line-height: 1.55; }
.services-stack .service-card-foot { padding-top: 12px; }

/* Process: a route line through four stops */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--line-2); }
.step:first-child { border-top-color: var(--honey); border-top-width: 2px; padding-top: 23px; }
.step-dot { display: block; width: fit-content; color: var(--ink-2); margin-bottom: 16px; transition: color var(--dur-2) var(--e), translate var(--dur-2) var(--e); }
@media (hover: hover) {
    .step:hover .step-dot { color: var(--honey-ink); translate: 0 var(--lift-sm); }
}
.step-dot .ic { width: 22px; height: 22px; }
.step-n { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 15px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-wrap .section-head { margin: 0; position: sticky; top: 112px; }
.faq-list { position: relative; border-top: 1px solid var(--line-2); }
/* Hidden copy site.js uses to measure answers; the list reserves room for the tallest one */
.faq-list .faq-measure {
    position: absolute; left: 0; right: 0; top: 0; border: 0;
    visibility: hidden; pointer-events: none; contain: layout style;
}
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-family: var(--serif); font-size: 21px; color: var(--ink); line-height: 1.3;
    transition: color var(--dur-1) var(--e);
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq-item summary:hover { color: var(--honey-ink); } }
.faq-item .faq-body { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 640px; }

/* Plus/close disc: turns with the same duration and curve as the answer's height */
.faq-motion .faq-item summary .faq-icon {
    position: relative; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-2); color: var(--ink);
    transition: transform var(--dur-3) var(--ease-in-out), background-color var(--dur-2) var(--e), scale var(--dur-2) var(--e);
}
@media (hover: hover) {
    .faq-motion .faq-item summary:hover .faq-icon { background: color-mix(in srgb, var(--honey-soft) 70%, var(--bg-2)); scale: var(--pop-sm); }
}
.faq-motion .faq-item summary .faq-icon::before,
.faq-motion .faq-item summary .faq-icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px;
    background: currentColor; transform: translate(-50%, -50%);
}
.faq-motion .faq-item summary .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-motion .faq-item[data-faq-state="opening"] summary .faq-icon,
.faq-motion .faq-item[data-faq-state="open"] summary .faq-icon { transform: rotate(135deg); background: var(--honey); }
/* Answer height: grid rows 0fr -> 1fr, so open, close and interruptions all ease from where they are */
.faq-motion .faq-item .faq-body {
    display: grid; grid-template-rows: 0fr; opacity: 0;
    transition: grid-template-rows var(--dur-3) var(--ease-in-out), opacity var(--dur-1) var(--ease-in-out);
}
.faq-motion .faq-item .faq-body-inner {
    min-height: 0; overflow: hidden;
    transform: translate3d(0, -6px, 0);
    transition: transform var(--dur-3) var(--ease-in-out);
}
.faq-motion .faq-item .faq-body-inner::after { content: ""; display: block; height: 24px; }  /* bottom spacing, clipped with the text */
.faq-motion .faq-item[data-faq-state="opening"] .faq-body,
.faq-motion .faq-item[data-faq-state="open"] .faq-body {
    grid-template-rows: 1fr; opacity: 1;
    transition: grid-template-rows var(--dur-3) var(--ease-in-out), opacity var(--dur-2) var(--ease-out) 80ms;
}
.faq-motion .faq-item[data-faq-state="opening"] .faq-body-inner,
.faq-motion .faq-item[data-faq-state="open"] .faq-body-inner { transform: none; }

/* CTA panel: Hamburg Speicherstadt photo ground under a warm dark scrim */
.cta-panel {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--night); color: var(--on-night-2);
    border-radius: var(--r-panel);
}
.cta-photo { position: absolute; inset: 0; z-index: -1; }
.cta-photo picture { display: block; height: 100%; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cta-photo::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(26, 22, 18, .86) 0%, rgba(26, 22, 18, .68) 45%, rgba(26, 22, 18, .58) 100%),
        linear-gradient(to top, rgba(26, 22, 18, .35), transparent 60%);
}

.cta-inner {
    padding: 72px 64px;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
}
.cta-panel h2 { color: var(--on-night); margin-bottom: 16px; }
.cta-panel p { font-size: 17px; max-width: 28rem; margin-bottom: 32px; }
.cta-panel .cta-copy p { color: #d9d0c2; }
.cta-actions { display: flex; flex-direction: column; gap: 4px; }
.cta-secondary-label { font-size: 14px; color: var(--on-night-2); margin: 0 0 8px !important; }
.cta-panel .contact-row {
    display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 -12px;
    border-radius: 12px; color: var(--on-night);
    transition: background-color var(--dur-1) var(--e);
}
.cta-panel a.contact-row:hover { background: rgba(243, 237, 226, .1); color: var(--on-night); }
.cta-panel .contact-row > span:not(.tile) { flex: 1; min-width: 0; }
.contact-row .tile .ic, .contact-row .tile .logo { transition: scale var(--dur-2) var(--e-spring), color var(--dur-2) var(--e); }
a.contact-row:focus-visible .tile .ic, a.contact-row:focus-visible .tile .logo { scale: var(--pop); }
.contact-row-arrow {
    width: 16px; height: 16px; flex: 0 0 16px; color: var(--on-night-2);
    opacity: 0; translate: -4px 0;
    transition: opacity var(--dur-2) var(--e), translate var(--dur-2) var(--e), color var(--dur-1) var(--e);
}
a.contact-row:focus-visible .contact-row-arrow { opacity: 1; translate: var(--nudge) 0; color: var(--on-night); }
.mobile-nav-foot .contact-row svg { transition: scale var(--dur-2) var(--e-spring); }
@media (hover: hover) {
    a.contact-row:hover .tile .ic, a.contact-row:hover .tile .logo { scale: var(--pop); }
    .cta-panel a.contact-row:hover .tile .ic { color: var(--honey); }
    a.contact-row:hover .contact-row-arrow { opacity: 1; translate: var(--nudge) 0; color: var(--on-night); }
    .mobile-nav-foot .contact-row:hover svg { scale: var(--pop); }
}
@media (hover: none) { .contact-row-arrow { opacity: .6; translate: 0 0; } }
.contact-row strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.contact-row span span { display: block; font-size: 14px; color: var(--on-night-2); }
.cta-panel .contact-row span span { color: #cfc6b8; }
.cta-panel .contact-row .tile { color: var(--on-night-2); }


/* Footer: light cream, no dark band */
.site-footer { background: var(--bg-2); color: var(--ink-2); padding: 80px 0 32px; font-size: 14px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-2); }
.footer-grid h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--ink); }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-grid a { display: block; width: fit-content; position: relative; padding: 4px 0; color: var(--ink-2); }
.footer-grid a:hover { color: var(--honey-ink); }
/* Copyright and legal links sit together on the left, clear of the WhatsApp float on the right */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 32px; padding-top: 24px; font-size: 13px; color: var(--ink-3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--ink-3); }
.footer-legal a:hover { color: var(--honey-ink); }

/* WhatsApp float: rest and hover shadows are two pseudo-elements, cross-faded */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 20px 0 16px; border-radius: 24px;
    background: var(--night); color: var(--on-night); font-size: 15px; font-weight: 500;
    transition: background-color var(--dur-1) var(--e), translate var(--dur-2) var(--e), scale var(--dur-2) var(--e);
}
.wa-float::before, .wa-float::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    transition: opacity var(--dur-2) var(--e);
}
.wa-float::before { box-shadow: 0 8px 24px rgba(31, 27, 22, .2); }
.wa-float::after { box-shadow: 0 16px 32px -10px rgba(31, 27, 22, .34); opacity: 0; }
.wa-float .logo { color: var(--wa); width: 20px; height: 20px; transition: scale var(--dur-2) var(--e-spring); }
@media (hover: hover) {
    .wa-float:hover { background: var(--night-2); color: var(--on-night); translate: 0 var(--lift-md); }
    .wa-float:hover::before { opacity: 0; }
    .wa-float:hover::after { opacity: 1; }
    .wa-float:hover .logo { scale: var(--pop); }
}
.wa-float:active { translate: 0 0; scale: var(--press); transition-duration: var(--dur-press); }

/* Reveal on scroll: one fade and rise per block, small stagger inside a group (js/site.js).
   The `js` class is set in <head>, so nothing flashes before the script runs; `is-done` drops the
   finished animation so no layer or stacking context is left behind. */
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: reveal-in var(--dur-4) var(--ease-out) var(--reveal-delay, 0ms) both; }
.js .reveal.is-done { opacity: 1; animation: none; }
@keyframes reveal-in {
    from { opacity: 0; transform: translate3d(0, var(--reveal-rise), 0); }
    to   { opacity: 1; transform: none; }
}
@media print { .js .reveal { opacity: 1 !important; animation: none !important; } }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
    /* Header: the three-language switch needs the room the tagline took */
    .brand-tag { display: none; }
    .nav { gap: 22px; }
    .intro-card { left: 16px; }
    .services-split { grid-template-columns: 1.1fr 72px 1fr; }
    .offer-or-word { font-size: 44px; }
    .services-stack .service-card { flex-direction: column; }
    .services-stack .service-card-img { flex: 0 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-card-in) var(--r-card-in) 0 0; }
}

@media (max-width: 900px) {
    .nav { display: none; }
    .burger { display: flex; }
    .section { padding: 80px 0; }
    .hero { padding: 32px 0 80px; }
    .hero-grid, .about, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
    .faq-wrap .section-head { position: static; }
    .hero-text h1 { max-width: 14ch; }
    .for-you-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
    .cta-inner { grid-template-columns: 1fr; padding: 48px 28px; gap: 40px; }
    .cta-photo::after { background: rgba(26, 22, 18, .72); }
    /* "or" turns into a horizontal divider between the stacked cards */
    .services-split { grid-template-columns: 1fr; grid-template-rows: none; }
    .services-split > * { grid-column: 1; grid-row: auto; }
    .offer-or { flex-direction: row; padding: 28px 0; gap: 20px; }
    .offer-or-line { width: auto; height: 1px; }
    .offer-or-word { font-size: 40px; padding-bottom: 6px; }
    .services-stack { grid-template-rows: none; }
    .services-stack .service-card { flex-direction: row; }
    .services-stack .service-card-img { flex: 0 0 34%; aspect-ratio: auto; border-radius: var(--r-card-in) 0 0 var(--r-card-in); }
    .service-card--main .service-card-img { aspect-ratio: 16 / 9; min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-visual { max-width: 520px; }
}

@media (max-width: 600px) {
    :root { --gutter: 16px; }
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    .brand-tag { display: none; }
    .hero-lede { font-size: 17px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
    .hero-meta > div:first-child { grid-column: 1 / -1; }
    .hero-visual { padding-bottom: 0; }
    .intro-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -48px 12px 0; }
    .section--after-hero { padding-top: 32px; }
    .service-card--main .service-card-img { aspect-ratio: 4 / 3; }
    .services-stack .service-card { flex-direction: column; }
    .services-stack .service-card-img { flex: 0 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-card-in) var(--r-card-in) 0 0; }
    .service-card-body { padding: 20px 20px 24px; }
    .process { grid-template-columns: 1fr; row-gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .wa-float span { display: none; }
    .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 26px; }
    .wa-float .logo { width: 24px; height: 24px; }
}

/* Grid children may shrink below their content width */
.hero-grid > *, .about > *, .faq-wrap > *, .cta-inner > *, .services-split > *, .for-you-grid > *, .process > * { min-width: 0; }
@media (max-width: 600px) {
    .btn { white-space: normal; text-align: center; }
    .contact-row span span { overflow-wrap: anywhere; }
}

/* ---- Micro-interactions ---- */

/* Nav and footer links: an underline that draws in from the left and retracts the same way
   (one fixed origin, so a quick hover-off mid-draw never jumps) */
.nav-link::after, .footer-grid a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
    background: currentColor; pointer-events: none;
    transform: scaleX(0); transform-origin: left center;
    transition: transform var(--dur-2) var(--e);
}
.footer-grid a::after { bottom: 3px; }
.nav-link:hover::after, .nav-link:focus-visible::after,
.footer-grid a:hover::after, .footer-grid a:focus-visible::after { transform: scaleX(1); }

/* ---- Reduced motion: nothing travels; state changes are instant or a short fade ---- */
@media (prefers-reduced-motion: reduce) {
    .js .reveal.is-in { animation-name: reveal-fade; animation-duration: var(--dur-2); animation-delay: 0ms; }
    .mobile-nav, .mobile-nav-list li { transform: none; }
    .faq-motion .faq-item .faq-body, .faq-motion .faq-item .faq-body-inner,
    .faq-motion .faq-item summary .faq-icon,
    .nav-link::after, .footer-grid a::after, p a::after { transition-duration: .01ms !important; transition-delay: 0ms !important; }
    .faq-motion .faq-item .faq-body-inner { transform: none; }
}
@keyframes reveal-fade { from { opacity: 0; } to { opacity: 1; } }
