/* GoDigital Media: base and component styles; every media query is in responsive.css (loaded after this file).
   Sizes are in rem; on desktop the root font size scales with the window (see responsive.css). The header uses px. */

/* ===== Fonts: IBM Plex Sans and Mono (self-hosted, 400 only) ===== */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ===== Tokens ===== */
:root{
  --w:1vw;--nav-h:72px;
  --linen:#f4f1eb;--ink:#29231e;--muted:#6b6259;--line:#d8d1c7;--pill-line:#bdb3a7;
  --brass:#805b35;--brass-hover:#654626;--brass-active:#54391f;--press-line:rgba(13,11,9,.18);
  --white:#fff;--soft:#faf8f4;--selected:#f1e8db;
  --sans:'IBM Plex Sans',sans-serif;--mono:'IBM Plex Mono',monospace;
  --ease:cubic-bezier(.2,0,.2,1);
  --rhythm:clamp(4rem,calc(8 * var(--w)),6.75rem);
  --radius-lg:1.5rem;--radius-md:.75rem;--radius-sm:.5rem
}

/* ===== Base ===== */
*,::before,::after{box-sizing:border-box;margin:0;padding:0;border:0 solid}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;overscroll-behavior-x:none}
body{min-height:100vh;background:var(--linen);color:var(--ink);font-family:var(--sans);font-size:1rem;line-height:1.65;hyphens:none;overflow-wrap:break-word;overscroll-behavior-x:none}
h1,h2,h3,h4{font-size:inherit;font-weight:inherit;text-wrap:balance}
p{text-wrap:pretty}
a{color:inherit;text-decoration:none}
b,strong{font-weight:bolder}
ol,ul{list-style:none}
img,svg{display:block;max-width:100%}
img{height:auto}
button,input,textarea{font:inherit;letter-spacing:inherit;color:inherit;background:transparent;border-radius:0}
button{cursor:pointer}
textarea{resize:vertical}
::placeholder{opacity:1;color:#80776e}
summary{display:block;list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
[hidden]{display:none!important}
a,button,summary,[role=tab]{touch-action:manipulation}
:is(a,button,input,textarea):focus-visible{outline:2px solid var(--brass);outline-offset:.1875rem}
.menu-open{overflow:hidden}

/* ===== Global type scale: elements carry their default step, classes reuse a step on any element ===== */
h1{font-size:clamp(3.5rem,calc(6.1 * var(--w)),5.5rem);font-weight:300;line-height:1.04;letter-spacing:-.045em}
h2,.title-2{max-width:30rem;font-size:clamp(2.125rem,calc(3.2 * var(--w)),3rem);font-weight:300;line-height:1.15;letter-spacing:-.03em}
.title-3{font-size:2rem;font-weight:300;line-height:1.2;letter-spacing:-.02em}
.title-4{font-size:1.625rem;font-weight:300;line-height:1.2;letter-spacing:-.02em}
h3{font-size:1.1875rem;font-weight:500;line-height:1.4;letter-spacing:-.015em}

/* ===== Layout and shared parts ===== */
.container{width:100%;max-width:1400px;margin:0 auto;padding:0 16px}
.section{padding-block:var(--rhythm)}
.split,.section-heading{display:grid;grid-template-columns:1fr 1fr;gap:6.25rem}
.section-heading{align-items:end;margin-bottom:2.75rem}
.meta{font-family:var(--mono);font-size:max(10px,.6875rem);font-weight:400;line-height:1.6;letter-spacing:.05em;color:var(--muted)}
/* Section head: .eyebrow (small kicker above a title) and .lead (intro text below it) */
.eyebrow{margin-bottom:1.5rem}
.lead{max-width:34.375rem;margin-top:1.5rem;font-size:1.0625rem;line-height:1.75;color:var(--muted)}
.footnote,.form-note{font-size:max(10px,.75rem);line-height:1.7;color:var(--muted)}
.footnote{margin-top:1.125rem}
.form-note{margin:1.5rem 0}

.button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;padding:.8125rem 1.5625rem;border:1px solid transparent;border-radius:999px;background:var(--brass);color:#fffaf3;font-size:.875rem;font-weight:500;line-height:1.4;transition:background .15s}
.button:active{background:var(--brass-active);border-color:var(--press-line);box-shadow:inset 0 0 0 9999px rgba(0,0,0,.08)}
.button svg{flex:none;width:1rem;height:1rem;margin-left:.5rem}
.button--small{padding:8px 19px;font-size:13px;white-space:nowrap}
.text-link{padding:.1875rem 0;border-bottom:1px solid var(--ink);font-size:.875rem;transition:color .2s var(--ease),border-color .2s var(--ease)}
.text-link--strong{font-weight:600}

/* Round icon buttons: menu, rail arrows, back to top */
.menu-button,.to-top{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;color:var(--ink)}
.to-top{border:1px solid var(--pill-line)}

/* Checkmark lists */
.impact-text li,.faq-a li{position:relative;padding-left:1.375rem}
.impact-text li+li,.faq-a li+li{margin-top:.375rem}
.impact-text li::before,.faq-a li::before{content:'';position:absolute;left:0;top:.4375rem;width:.75rem;height:.75rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.4' fill='none' stroke='%23805B35' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain}

/* Plus/minus icon (FAQ, services accordion) */
.faq-icon{position:relative;width:.875rem;height:.875rem;margin-top:.375rem}
.faq-icon::before,.faq-icon::after{content:'';position:absolute;left:0;top:50%;width:100%;height:1.5px;background:var(--brass);translate:0 -50%}
.faq-icon::after{rotate:90deg}
details[open]>summary .faq-icon::after{rotate:0deg}

/* ===== Header (desktop from 1025px; tablet and phone in responsive.css) ===== */
.nav{position:sticky;top:0;z-index:20;height:var(--nav-h);border-bottom:1px solid transparent;background:var(--linen);transition:box-shadow .2s var(--ease),border-color .2s var(--ease)}
/* WP: once the page is scrolled, the header separates from the content (from the start outside the home page) */
.nav[data-scrolled],body:not(.home) .nav{border-bottom-color:var(--line);box-shadow:0 2px 12px rgba(41,35,30,.06)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:100%}
.logo{display:inline-flex;align-items:center;white-space:nowrap}
.logo-img{width:auto;max-width:none;height:34px}
.logo-text{font-size:20px;font-weight:600;letter-spacing:-.02em}
.nav nav{display:flex;align-items:center;gap:28px;font-size:14px}
.nav nav>a:not(.button){display:inline-flex;align-items:center;min-height:44px;border-bottom:1px solid transparent}
.nav nav>a.active{border-color:var(--ink);font-weight:600}
/* Language switcher: segmented pill, the current language filled brass like a selected form pill */
.lang{display:inline-flex;align-items:center;gap:2px;margin-left:4px;padding:3px;border:1px solid var(--pill-line);border-radius:999px;background:var(--soft)}
.lang a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:28px;padding:0 10px;border-radius:999px;font-family:var(--mono);font-size:11px;line-height:1;letter-spacing:.08em;color:var(--muted);transition:background .15s,color .15s}
.lang a[aria-current]{background:var(--brass);color:#fffaf3}
.lang a:focus-visible{outline-offset:2px}
.menu-button,.menu-cta{display:none}
.menu-button svg{width:22px;height:22px}
.menu-button .icon-close,.nav[data-open] .icon-open{display:none}
.nav[data-open] .icon-close{display:block}

/* Side dots (desktop) */
.dots{display:none;position:fixed;right:.875rem;top:50%;z-index:40;translate:0 -50%}
.dots ol{display:flex;flex-direction:column}
/* Same 1.5rem pitch as before, but each button fills it: 24px minimum touch target */
.dots button{position:relative;display:flex;align-items:center;justify-content:center;width:max(24px,1.5rem);height:max(24px,1.5rem)}
.dots button::before{content:'';width:.375rem;height:.375rem;border-radius:999px;background:rgba(128,91,53,.3)}
.dots button[aria-current]::before{height:1.375rem;background:rgba(128,91,53,.85)}
.dots button span{display:none;position:absolute;right:calc(100% + .375rem);top:50%;translate:0 -50%;padding:.25rem .625rem;border-radius:999px;background:var(--brass);color:var(--linen);font-family:var(--mono);font-size:max(10px,.6875rem);white-space:nowrap}
.dots button:focus-visible span{display:block}
.dots button:focus-visible{outline-offset:-.125rem;border-radius:999px}

/* ===== Hero ===== */
.hero{display:flex;flex-direction:column;justify-content:center;padding-top:2rem;padding-bottom:1.5rem}
.hero-grid{display:grid;grid-template-columns:7fr 5fr;align-items:stretch;gap:3.5rem}
.hero-copy{display:flex;flex-direction:column}
.actions{display:flex;align-items:center;gap:1.75rem;margin-top:2rem}
.stats{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:2.5rem;margin-top:auto;padding-top:2.5rem}
.stats>div{display:flex;align-items:baseline;gap:1rem}
.stats strong{font-size:2.125rem;font-weight:300;line-height:1.3;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
.stats span{font-size:max(10px,.75rem);color:var(--muted)}
.hero-media{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white)}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}

/* ===== Situation stage: statements left, stylised page right (desktop layout and animation in responsive.css) ===== */
.tension{--y1:7.5%;--y2:32.7%;--y3:57.3%;--y4:88%;padding-block:var(--rhythm)}
.stage-inner{display:grid;gap:2rem}
.stage-art{order:2}
.stage-close{order:3}
.stage-note{margin-top:1.25rem;font-family:var(--mono);font-size:max(10px,.75rem);letter-spacing:.05em;color:var(--muted)}
.situations{display:grid;gap:2rem}
.situation strong{display:block}
.situation span{display:block;max-width:40ch;margin-top:.5rem;font-size:.9375rem;line-height:1.6;color:var(--muted)}
.causes{display:inline-flex;margin-top:.75rem;padding:.25rem .75rem;border:1px dashed var(--muted);border-radius:999px;font-family:var(--mono);font-size:max(10px,.6875rem);font-style:normal;color:var(--muted)}
/* Graphic parts: hidden until the desktop layout shows them */
.mock,.flow1,.strip,.trace,.dot{display:none;position:absolute}
.mock{left:48%;top:13%;width:50%;height:53%;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--white);font-size:max(10px,.75rem);line-height:1.3}
.mock>*{position:absolute}
.mock-chrome{left:0;right:0;top:0;height:8%;border-bottom:1px solid var(--line);background:#fafafa}
.mock-chrome svg{position:absolute;top:50%;width:.4375rem;height:.4375rem;fill:var(--line);translate:0 -50%}
.mock-chrome svg:nth-of-type(1){left:3%}
.mock-chrome svg:nth-of-type(2){left:5.2%}
.mock-chrome svg:nth-of-type(3){left:7.4%}
.mock-chrome span{position:absolute;left:22%;right:22%;top:18%;bottom:18%;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--linen);color:var(--muted);font-family:var(--mono);font-size:max(10px,.625rem)}
.mock-head{left:0;right:0;top:8%;height:10%;display:flex;align-items:center;gap:1.25rem;padding:0 8%}
.mock-head b{margin-right:auto;font-size:.875rem;font-weight:600;letter-spacing:-.01em}
.mock-head span,.mock-grid span{color:var(--muted)}
.mock-title{left:8%;right:8%;top:20%;font-size:clamp(1rem,calc(1.5 * var(--w)),1.25rem);font-weight:300;line-height:1.15;letter-spacing:-.02em}
.mock-cta{left:8%;top:32%;height:10.5%;display:flex;align-items:center;padding:0 1rem;border:1px dashed var(--muted);border-radius:999px;color:var(--muted);font-size:max(10px,.6875rem);white-space:nowrap}
.mock-grid{left:8%;right:8%;top:48%;height:25%;display:grid;grid-template-columns:repeat(3,1fr);gap:4%}
.mock-grid>div{position:relative;border:1px solid var(--line);border-radius:var(--radius-sm)}
.mock-img{position:absolute;left:0;top:0;width:100%;height:58%;background:var(--linen)}
.mock-ring{position:absolute;left:50%;top:29%;width:.75rem;height:.75rem;overflow:visible;translate:-50% -50%}
.mock-ring circle{fill:none;stroke:var(--muted);stroke-width:1px;vector-effect:non-scaling-stroke}
.mock-grid b,.mock-grid span{position:absolute;bottom:9%;font-size:max(10px,.6875rem)}
.mock-grid b{left:8%;font-weight:400}
.mock-grid span{right:8%;font-variant-numeric:tabular-nums}
.mock-checkout{left:8%;right:8%;top:78%;height:11%;display:flex;align-items:center;gap:.75rem}
.flow1{left:48%;top:3%;width:50%;height:9%;gap:.75rem;font-size:max(10px,.75rem)}
.strip{left:48%;top:76%;width:50%;height:24%}
.strip-label{position:absolute;left:0;top:0;font-family:var(--mono);font-size:max(10px,.625rem);letter-spacing:.05em;color:var(--muted)}
.strip-row{position:absolute;left:0;right:0;top:25%;height:50%;display:flex;font-size:max(10px,.75rem)}
/* Boxes (solid = present, dashed = missing) and connecting lines */
.mock-checkout span,.strip-row span,.flow1 span,.mock-checkout div,.strip-row div,.flow1 div{height:100%;display:flex;align-items:center;padding:0 .875rem;border:1px solid var(--line);border-radius:var(--radius-sm);white-space:nowrap}
.mock-checkout span,.strip-row span,.flow1 span{background:var(--white)}
.mock-checkout div,.strip-row div,.flow1 div{border:1px dashed var(--muted);color:var(--muted);font-size:max(10px,.6875rem)}
.mock-checkout em,.flow1 em,.strip-row em{flex:1;align-self:center;height:0;border-top:1px solid var(--muted)}
.mock-checkout em,.flow1 em,.strip-row em.dashed{border-top-style:dashed}
.trace{left:41%;width:11%;height:1px;overflow:visible;transform-origin:left}
.trace line{stroke:var(--muted);stroke-width:1px;vector-effect:non-scaling-stroke}
.dot{left:52%;width:.5625rem;height:.5625rem;fill:var(--ink);translate:-50% -50%}
.trace-1,.dot-1{top:var(--y1)}
.trace-2,.dot-2{top:var(--y2)}
.trace-3,.dot-3{top:var(--y3)}
.trace-4,.dot-4{top:var(--y4)}
.trace-1,.trace-4{width:7%}
.dot-1,.dot-4{left:48%}

/* ===== Services: tabs (desktop) and accordion (phone and tablet, built by the script) ===== */
.guide-grid{display:grid;grid-template-columns:38% 1fr;gap:1.5rem}
.guide-left,.guide-right,.guide-accordion{border-radius:var(--radius-lg);background:var(--white)}
.guide-left{display:flex;flex-direction:column;padding:2rem 1rem}
.guide-left>.meta{padding-left:1rem}
.guide-left>[role=tablist]{flex:1;display:flex;flex-direction:column}
.guide-left .guide-row{flex:1;align-items:center}
.guide-right{display:flex;flex-direction:column;padding:2.5rem;scroll-margin-top:7rem}
.guide-row{width:100%;display:flex;justify-content:space-between;align-items:flex-start;padding:1.125rem 1rem;border-radius:var(--radius-md);color:var(--ink);text-align:left;transition:background-color 180ms cubic-bezier(.4,0,.2,1)}
.guide-row[aria-selected=true],.guide-item[open]>summary{background:var(--selected)}
.guide-row[aria-selected=true] strong,.guide-item[open]>summary strong{font-weight:600}
.guide-row strong{display:block;margin-bottom:.25rem;font-size:1rem;font-weight:500}
.guide-row span{display:block;font-size:max(10px,.8125rem);color:var(--muted)}
.guide-row-index{margin-top:2px;font-family:var(--mono)}
.guide-panels{flex:1;display:grid}
.guide-panel{grid-area:1/1;display:flex;flex-direction:column;gap:2rem;visibility:hidden}
.guide-panel[data-active=true]{visibility:visible}
.guide-group>.meta{margin-bottom:.375rem;color:var(--ink);font-weight:500}
.guide-symptoms,.guide-actions{display:grid;gap:.3125rem}
.guide-symptoms{font-size:.875rem;font-style:italic;line-height:1.5;color:var(--muted)}
.guide-actions li{display:grid;grid-template-columns:26% 1fr;gap:0 1.5rem;font-size:.9375rem;line-height:1.5}
.guide-actions strong{font-weight:600}
.guide-actions span{color:var(--muted)}
.guide-proof blockquote{max-width:62ch;font-size:.9375rem;font-style:italic;line-height:1.5}
.guide-small{margin-top:.25rem;font-size:max(10px,.8125rem);line-height:1.5;color:var(--muted)}
.guide-proof strong{font-weight:600;color:var(--ink)}
.guide-foot{margin-top:2rem}
.guide-accordion{padding:8px}
.guide-item>summary{min-height:64px}
.guide-item>summary .faq-icon{flex:none;margin-top:0}
.guide-item>summary:focus-visible,.faq-list summary:focus-visible{outline:2px solid var(--brass);outline-offset:-2px}
.guide-detail{display:flex;flex-direction:column;gap:24px;padding:24px 16px 28px}
.guide-detail .guide-foot{margin-top:4px}

/* ===== Process ===== */
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.process article{display:grid;grid-template-columns:2.5rem minmax(0,1fr);align-content:start;align-items:start;padding-top:1.25rem;border-top:1px solid var(--ink)}
.process article>:not(.meta):not(h3){grid-column:2}
.process article>.meta{line-height:2rem}
.process h3{margin-bottom:.75rem}
.process p{max-width:13.125rem;font-size:.9375rem;color:var(--muted)}
/* Hidden detail list, revealed on hover on desktop */
.reveal-wrap{display:grid;margin-top:1rem}
.reveal-wrap>*{grid-area:1/1;min-width:0}
.hint{display:none;align-self:start;font-family:var(--mono);font-size:max(10px,.6875rem);letter-spacing:.05em;color:var(--brass)}
.hint::after{content:'↓';display:inline-block;margin-left:.5rem}
.impact-text{max-width:18.75rem;font-size:.875rem;line-height:1.7;color:var(--muted)}

/* ===== Impact ===== */
.impact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,auto);gap:.5rem}
.impact-lead,.impact-tile{min-width:0;border-radius:var(--radius-lg);background:var(--white)}
.impact-lead{grid-column:span 2;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:2rem}
.impact-rail{display:contents}
.impact-tile{padding:1.5rem;cursor:default}
.impact-tile:nth-child(2),.impact-tile:nth-child(3){background:var(--soft)}
.impact-problem{margin:1rem 0}

/* ===== Principles ===== */
.principle{display:flex;gap:1.5rem;padding:1.4375rem 0;border-bottom:1px solid var(--line)}
.principle:first-child{padding-top:0}
.principle:last-child{padding-bottom:0;border-bottom:0}
.principle>.meta{order:2;margin-left:auto;padding-top:.25rem}
.principle p{margin-top:.5rem;font-size:.9375rem;line-height:1.7;color:var(--muted)}
/* Short call-to-action card under a section title (Grundsätze, FAQ) */
.aside-cta{max-width:26rem;margin-top:2.5rem;padding:1.5rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white)}
.aside-cta-title{font-weight:600;line-height:1.4}
.aside-cta p:not(.aside-cta-title){margin-top:.5rem;font-size:.9375rem;line-height:1.6;color:var(--muted)}
.aside-cta .button{margin-top:1.25rem}

/* ===== FAQ ===== */
.faq-grid{display:grid;grid-template-columns:5fr 7fr;gap:3.5rem;align-items:start}
.faq-list{border-top:1px solid var(--ink)}
.faq-sizer{display:none}
.faq-sizeanswers{display:grid}
.faq-sizeanswers>*{grid-area:1/1}
.faq-list details,.faq-sizerow{border-bottom:1px solid var(--line)}
.faq-list summary,.faq-sizerow{display:grid;grid-template-columns:2.5rem minmax(0,1fr) .875rem;gap:0 1rem;align-items:start;padding:1rem .75rem}
.faq-list summary{border-radius:var(--radius-md)}
.faq-list summary .meta,.faq-sizerow .meta{line-height:1.5625rem}
.faq-q{font-size:1.0625rem;line-height:1.5}
.faq-a{padding:0 2.5rem 1.25rem 4.25rem}
.faq-a p,.faq-a ul,.faq-a dd{font-size:.9375rem;line-height:1.5;color:var(--muted)}
.faq-a p,.faq-a ul,.faq-a dl{max-width:62ch}
.faq-a p+p,.faq-a dl+p,.faq-a ul+p{margin-top:.5rem}
.faq-a p+dl,.faq-a p+ul{margin-top:.75rem}
.faq-a strong{font-weight:600;color:var(--ink)}
.faq-a dl{display:grid;gap:.5rem}
.faq-a dl>div{display:grid;grid-template-columns:6.5rem minmax(0,1fr);gap:1rem;padding:.625rem .875rem;border-radius:var(--radius-md);background:var(--soft)}
.faq-a dt{font-size:.875rem;font-weight:600;line-height:1.5}

/* ===== Contact ===== */
.contact{background:#fafafa}
.contact-assurances{display:grid;gap:.5rem;margin-top:2rem;font-size:.875rem}
.contact-assurances li{display:flex;align-items:center;gap:.75rem}
.contact-assurances li::before{content:'✓';font-size:max(10px,.8125rem)}
/* Contact details: one row per channel, icon in an outlined circle, hairlines between */
.contact-info{display:grid;max-width:28rem;margin-top:2rem;border-top:1px solid var(--line);font-size:.875rem;font-style:normal;line-height:1.5}
.contact-info-row{display:flex;align-items:center;gap:.875rem;padding:.75rem 0;color:var(--muted)}
.contact-info-row strong{font-weight:500;color:var(--ink)}
a.contact-info-row{color:var(--ink);transition:color .15s}
.contact-info-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--pill-line);border-radius:999px;color:var(--brass);transition:background .15s,border-color .15s,color .15s}
.contact-info-icon svg{width:.9375rem;height:.9375rem}
/* Booking card (left column): dark so it stands apart from the form, with a green "available" dot */
.call-card{position:relative;display:flex;gap:1.125rem;max-width:28rem;margin-top:2rem;padding:1.5rem;overflow:hidden;border-radius:var(--radius-lg);background:var(--ink);color:var(--linen);box-shadow:0 14px 32px -16px rgba(41,35,30,.55)}
.call-card::after{content:'';position:absolute;right:-4rem;top:-4rem;width:11rem;height:11rem;border-radius:50%;background:radial-gradient(circle,rgba(176,128,79,.4),transparent 70%);pointer-events:none}
.call-card>div{position:relative;z-index:1;min-width:0}
.call-card-icon{position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:999px;background:var(--brass);color:#fffaf3}
.call-card-icon svg{width:1.25rem;height:1.25rem}
.call-card-meta{display:flex;align-items:center;gap:.5rem;font-family:var(--mono);font-size:max(10px,.6875rem);letter-spacing:.05em;text-transform:uppercase;color:#d9b88f}
.call-card-meta::before{content:'';flex:none;width:.4375rem;height:.4375rem;border-radius:50%;background:#7fc28a}
.call-card-title{margin-top:.375rem;font-size:1.125rem;font-weight:600;line-height:1.35}
.call-card-text{margin-top:.375rem;font-size:.875rem;line-height:1.6;color:rgba(244,241,235,.75)}
.call-card .button{margin-top:1.125rem}
.contact fieldset{margin-bottom:2rem}
.contact legend,.contact label>span{display:block;margin-bottom:.75rem;font-size:max(10px,.75rem);color:var(--muted)}
.pills{display:flex;flex-wrap:wrap;gap:.5rem}
/* WP: the pills are Contact Form 7 checkboxes (label > input + .wpcf7-list-item-label) instead of toggle buttons */
.contact .pills .wpcf7-list-item-label{display:inline-flex;align-items:center;margin:0;padding:.5rem .9375rem;border:1px solid var(--pill-line);border-radius:999px;color:var(--ink);font-size:max(10px,.8125rem);line-height:1.65;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.contact .pills input:checked+.wpcf7-list-item-label{border-color:var(--brass);background:var(--brass);color:var(--white)}
.contact .pills label:active>.wpcf7-list-item-label{border-color:var(--press-line);box-shadow:inset 0 0 0 9999px rgba(0,0,0,.08)}
.contact .pills label:active>input:not(:checked)+.wpcf7-list-item-label{background:var(--selected)}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:2.375rem 0 1.875rem}
.contact label{display:block}
.contact input:not([type=submit]):not([type=checkbox]),.contact textarea{width:100%;padding:.75rem 0;border-bottom:1px solid #aaa095;font-size:.9375rem}
.contact input:not([type=submit]):focus,.contact textarea:focus{border-bottom-color:var(--brass)}

/* ===== Footer and back-to-top ===== */
.footer{padding:2.5rem 0 1.5rem}
.footer .logo-img{height:2rem}
.footer-top{display:flex;align-items:start;justify-content:space-between;gap:1.875rem}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.5rem;margin-top:2rem;padding-top:1.375rem;font-family:var(--mono);font-size:max(10px,.72rem);color:var(--muted)}
.footer-legal{display:flex;gap:1.5rem}
/* Keeps the legal links clear of the floating buttons (44px + .875rem from the edge) where the side margin is narrower; on phones the links wrap to the left */
@media (min-width:768px){.has-fabs .footer-bottom{padding-right:max(0px,calc(44px + .875rem + 12px - (100vw - 100%) / 2))}}
/* WP: the back-to-top button shows on every screen size, above the floating contact buttons */
.to-top{position:fixed;right:.875rem;bottom:1.25rem;z-index:30;background:var(--linen);color:var(--brass);box-shadow:0 2px 8px rgba(41,35,30,.12);visibility:hidden;opacity:0;translate:0 8px;transition:background .15s,color .15s,border-color .15s}
.fabs~.to-top{bottom:calc(1.25rem + 2 * 52px)}
.fabs--single~.to-top{bottom:calc(1.25rem + 52px)}
.to-top svg{width:20px;height:20px}
.to-top[data-visible]{visibility:visible;opacity:1;translate:0 0}
.nav[data-open]~.to-top{visibility:hidden;opacity:0}

/* ===== Legal pages ===== */
.legal{padding-top:3.5rem;padding-bottom:6.75rem}
.legal h1{max-width:none;margin:1rem 0 2.5rem}
.legal h2{max-width:none;margin:2rem 0 .5rem;font-size:1.75rem;line-height:1.2}
.legal h3{margin:2rem 0 .625rem;font-size:1.25rem;line-height:1.3}
.legal h4{margin:1.5rem 0 .5rem;font-size:1rem;font-weight:600;line-height:1.4}
.legal p,.legal li{font-size:.9375rem;line-height:1.7;color:var(--muted)}
.legal p,.legal ul{margin-bottom:.875rem}
.legal ul{padding-left:1.375rem}
.legal strong{font-weight:600;color:var(--ink)}
.legal a:not(.button){color:var(--ink);text-decoration:underline;text-underline-offset:.1875rem;overflow-wrap:anywhere}
.legal .text-link{text-decoration:none}
.legal__credit{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line)}

/* ===== Fallbacks for older browsers ===== */
@supports not (aspect-ratio:1/1){.hero-media{height:0;padding-top:125%}.hero-media img{position:absolute;left:0;top:0}}
@supports not selector(:focus-visible){:is(a,button,input,textarea,summary):focus{outline:2px solid var(--brass);outline-offset:3px}}

/* ===== WP: theme additions (not in the static site) ===== */
/* Icon sprite (inc/icons.php) and skip link */
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.skip-link{position:absolute;left:16px;top:-100px;z-index:100;padding:10px 16px;border-radius:999px;background:var(--brass);color:#fffaf3;font-size:14px}
.skip-link:focus{top:12px}
main:focus{outline:0}

/* Contact Form 7 inside .contact: same look as the static form */
.contact .wpcf7 .hidden-fields-container{display:none}
.contact .wpcf7-form-control-wrap{display:block}
.contact label>.wpcf7-form-control-wrap{margin:0;font-size:inherit;color:var(--ink)}
.contact .pills{display:flex;flex-wrap:wrap;gap:.5rem}
.contact .pills .wpcf7-list-item{display:block;margin:0}
.contact .pills label{position:relative;display:inline-flex}
.contact .pills input{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.contact .pills input:focus-visible+.wpcf7-list-item-label{outline:2px solid var(--brass);outline-offset:.1875rem}
.contact .wpcf7-submit:disabled{opacity:.6;cursor:wait}
.contact .wpcf7-spinner{vertical-align:middle;margin:0 0 0 .75rem}
.contact .form-note a{text-decoration:underline;text-underline-offset:.1875rem}
.contact .wpcf7-not-valid-tip{display:block;margin-top:.375rem;font-size:max(10px,.75rem);color:#a1281c}
.contact .wpcf7-not-valid{border-bottom-color:#a1281c}
.contact .wpcf7 form .wpcf7-response-output{margin:1.25rem 0 0;padding:.75rem 1rem;border:0;border-left:2px solid var(--brass);font-size:.875rem}
.contact .wpcf7 form.invalid .wpcf7-response-output,.contact .wpcf7 form.unaccepted .wpcf7-response-output,.contact .wpcf7 form.failed .wpcf7-response-output,.contact .wpcf7 form.aborted .wpcf7-response-output,.contact .wpcf7 form.spam .wpcf7-response-output{border-left-color:#a1281c}
.ls-form-missing{padding:.75rem 1rem;border-left:2px solid #a1281c;background:var(--white);font-size:.875rem}

/* Floating contact buttons (template-parts/fabs.php, „Blöcke" → Schnellkontakt) */
.fabs{position:fixed;right:.875rem;bottom:1.25rem;z-index:30;display:flex;flex-direction:column;gap:8px}
.fab{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--pill-line);border-radius:999px;background:var(--linen);color:var(--brass);box-shadow:0 2px 8px rgba(41,35,30,.12);transition:background .15s,color .15s,border-color .15s}
.fab svg{width:20px;height:20px}
.fab__label{position:absolute;right:calc(100% + 10px);top:50%;padding:4px 10px;border-radius:999px;background:var(--brass);color:var(--linen);font-family:var(--mono);font-size:11px;white-space:nowrap;visibility:hidden;opacity:0;translate:4px -50%;pointer-events:none;transition:opacity .15s,translate .15s}
.menu-open .fabs{visibility:hidden}

/* Exit-intent popup (template-parts/exit-popup.php, „Blöcke" → Exit-Popup) */
.exit-pop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;opacity:0}
.exit-pop.open{opacity:1}
.ep-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(41,35,30,.45)}
.ep-card{position:relative;width:100%;max-width:540px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:40px 40px 32px;border-radius:24px;background:var(--linen);box-shadow:0 24px 64px rgba(41,35,30,.25);translate:0 12px}
.exit-pop.open .ep-card{translate:0 0}
.ep-close{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px}
.ep-close svg{width:20px;height:20px}

.ep-chips{margin-top:20px;font-size:14px}
.ep-chips li{gap:12px}
.ep-chips li::before{font-size:13px}
.ep-actions{flex-wrap:wrap;gap:20px;margin-top:28px}
.ep-fine{margin-top:20px;font-size:12px}

/* "KI-generiert" badge on flagged Media-Library images (inc/ai-badge.php) */
.ai-badge{position:absolute;right:8px;bottom:8px;z-index:3;display:inline-block;padding:4px 8px;border-radius:var(--radius-sm);background:rgba(3,10,24,.52);color:rgba(255,255,255,.92);font-size:10px;letter-spacing:.09em;text-transform:uppercase;pointer-events:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.ai-badge-bg{right:14px;bottom:14px;z-index:6}

/* Page body of the generic page / Datenschutz (editor or eRecht24 content) */
.legal li+li{margin-top:.25rem}
.legal table{width:100%;margin-bottom:.875rem;border-collapse:collapse;font-size:.875rem}
.legal th,.legal td{padding:.375rem .5rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
/* Text selection and page scrollbar in the brand colours: thin, square (no radius) */
::selection{background:var(--brass);color:#fffaf3}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:var(--linen)}
::-webkit-scrollbar-thumb{background:var(--brass);border-radius:0}
::-webkit-scrollbar-thumb:hover{background:var(--brass-hover)}
::-webkit-scrollbar-corner{background:var(--linen)}
/* Firefox has no ::-webkit-scrollbar (its thin scrollbar is square already) */
@supports (-moz-appearance:none){html{scrollbar-width:thin;scrollbar-color:var(--brass) var(--linen)}}
