/* mako. designstudio – globale Styles (seitenspezifische Styles stehen im <head> jeder Seite) */
@font-face{font-family:"Outfit";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/outfit-latin-wght-normal.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:"Outfit";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/outfit-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;overflow-x:clip;background:#F4F2EE;color:#111111;font-family:Outfit,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%}
body > div{overflow-x:clip}
[hidden]{display:none !important}
:focus-visible{outline:2px solid #6B2430;outline-offset:3px}

.skip{position:absolute;left:12px;top:-60px;z-index:300;background:#111;color:#F4F2EE;padding:10px 16px;border-radius:999px;font-size:15px;transition:top .2s}
.skip:focus{top:12px}

/* Navigation: Dropdown & mobiles Menü */
.rn .dd[hidden]{display:none !important}
body.menu-lock{overflow:hidden}

/* FAQ-Icon */
.faq-q[aria-expanded="true"] .faq-ico .v{display:none}

/* Wortrotation im Hero */
[data-rotate]{display:inline-block;transition:opacity .25s,transform .25s}
[data-rotate].out{opacity:0;transform:translateY(.15em)}

/* Projekt-Filter */
.rp .row.is-hidden{display:none}

/* Kontaktformular */
[data-form-success]:not([hidden]){display:flex}
.rk .send[disabled]{opacity:.6;cursor:progress}
.rk .consent-check a{text-transform:none}

/* Cookie-Banner */
.consent{position:fixed;left:clamp(12px,3vw,32px);right:clamp(12px,3vw,32px);bottom:clamp(12px,3vw,32px);z-index:250;max-width:560px;margin-left:auto;background:#111111;color:#F4F2EE;border-radius:10px;padding:24px 24px 20px;box-shadow:0 20px 50px rgba(0,0,0,.25);font-family:Outfit,"Helvetica Neue",Arial,sans-serif;font-weight:300;font-size:15px;line-height:1.55}
.consent strong{display:block;font-size:18px;font-weight:500;margin-bottom:6px}
.consent p{margin:0 0 18px;color:rgba(244,242,238,.85)}
.consent a{text-decoration:underline;text-underline-offset:4px}
.consent .btns{display:flex;flex-wrap:wrap;gap:10px}
.consent button{min-height:44px;padding:0 20px;border-radius:999px;font:inherit;font-size:15px;cursor:pointer;border:1px solid rgba(244,242,238,.6);background:transparent;color:#F4F2EE}
.consent button.yes{background:#F4F2EE;color:#111111;border-color:#F4F2EE;font-weight:500}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}

/* Mobiles Menü: Inline-Styles des Prototyps überschreiben */
@media (max-width:760px){
  .rn.menu-open .links{align-items:flex-start !important}
  .rn.menu-open .links > button{display:none !important}
}

/* Touch-Geräte & Handy: Bilder ohne Hover direkt farbig zeigen */
@media (hover:none),(max-width:760px){
  .gray img,.rfb .thumb img{filter:none !important}
}

/* Handy: Outline-Schrift feiner und mit etwas mehr Luft */
@media (max-width:760px){
  [style*="-webkit-text-stroke: 3"]{-webkit-text-stroke-width:2.6px !important;letter-spacing:.01em !important}
  .rs header > h1{letter-spacing:-.02em !important}
}
/* Preiszeilen mobil: Titel + Subline links untereinander, Preis rechts */
@media (max-width:760px){
  :root body [style*="minmax(0,1.4fr) minmax(0,1fr) 120px"][style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr) auto !important;gap:4px 20px !important;align-items:start !important}
  :root body [style*="minmax(0,1.4fr) minmax(0,1fr) 120px"][style*="grid-template-columns"] > span:nth-child(1){grid-column:1;grid-row:1;hyphens:auto;overflow-wrap:anywhere}
  :root body [style*="minmax(0,1.4fr) minmax(0,1fr) 120px"][style*="grid-template-columns"] > span:nth-child(3){grid-column:2;grid-row:1;white-space:nowrap;justify-self:end;align-self:start}
  :root body [style*="minmax(0,1.4fr) minmax(0,1fr) 120px"][style*="grid-template-columns"] > span:nth-child(2){grid-column:1;grid-row:2}
}
/* Tools mit Kenntnisstand (Über mich) */
:root body .tool.tool-x{display:grid !important;grid-template-columns:1fr;gap:6px;padding:18px 0 20px;align-items:stretch}
:root body .tool-x .tool-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
:root body .tool-x .tool-name{font-size:19px;font-weight:400}
:root body .tool-x .tool-pct{font-size:14px;font-variant-numeric:tabular-nums}
:root body .tool-x .tool-desc{font-size:14px;line-height:1.5;color:#5E5E5E}
:root body .tool-x .tool-lvl{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#6B6B6B;margin-top:6px}
:root body .tool-x .tool-bar{height:3px;background:rgba(0,0,0,.1);border-radius:2px;overflow:hidden}
:root body .tool-x .tool-bar i{display:block;height:100%;background:#111;border-radius:2px;transform-origin:left;transform:scaleX(var(--v))}
:root body .tool.tool-x{border-bottom:0 !important}
/* Animationen */
.rv-wait{opacity:0 !important}
.magnet{transition:translate .45s cubic-bezier(0.16, 1, 0.3, 1),background .2s,color .2s,opacity .2s}
@view-transition{navigation:auto}
::view-transition-old(root){animation:.35s cubic-bezier(0.65, 0, 0.35, 1) both vt-out}
::view-transition-new(root){animation:.55s cubic-bezier(0.16, 1, 0.3, 1) both vt-in}
@keyframes vt-out{to{opacity:0}}
@keyframes vt-in{from{opacity:0;translate:0 14px}}
@media (prefers-reduced-motion: reduce){
  .rv-wait{opacity:1 !important}
  @view-transition{navigation:none}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}
/* Pakete mobil: nur wischen, keine Pfeile, kein Schatten */
@media (max-width:760px){
  :root body .pkgnav,:root body .galnav{display:none !important}
  :root body .pkgrow > .pkg{box-shadow:none !important}
}
/* Hero mobil: rotierendes Wort in eigener Zeile, damit nichts springt */
@media (max-width:1100px){
  :root body .rs header > h1 > span:last-child{display:block;white-space:nowrap}
}
/* Hero-Text mobil etwas größer */
@media (max-width:760px){ :root body .rs header > h1{font-size:clamp(46px,15.5vw,110px) !important} }
/* Hero-Bild mobil etwas größer (links beschnitten, Person bleibt rechts) */
@media (max-width:760px){ :root body .rs header > img{width:calc(116% + 2*clamp(20px,4vw,56px)) !important;max-width:none !important;margin-left:calc(-16% - clamp(20px,4vw,56px)) !important;margin-right:0 !important;margin-top:-40px !important} }
/* Laufband mobil kleiner */
@media (max-width:760px){
  :root body .rs .mq{font-size:15px !important}
  :root body .rs .mq > span[style*="padding"]{padding:0 16px !important}
  :root body .rs div:has(> .mq){padding:13px 0 !important}
}
/* Tablet-Hero: Bild bis an den rechten Rand, höher, neben den Buttons */
@media (min-width:761px) and (max-width:1100px){
  :root body .rs header > img{align-self:flex-end !important;width:min(92vw,900px) !important;max-width:none !important;margin:-40vw calc(-1*clamp(20px,4vw,56px)) 0 0 !important}
  :root body .rs header > div[style*="bottom: 175px"] > div > span{flex-basis:100% !important}
}
/* Kalender im Kontaktformular */
.cal-field{display:flex;flex-direction:column;gap:10px;min-width:0}
.cal-lbl{font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.cal{position:relative}
.cal-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;font:inherit;font-size:17px;letter-spacing:0;text-transform:none;color:#6B6B6B;background:transparent;border:0;border-bottom:1px solid rgba(0,0,0,.4);padding:12px 2px;cursor:pointer;text-align:left}
.cal.has-val .cal-btn{color:#111}
.cal-btn:focus-visible{outline:none;border-bottom:2px solid #6B2430}
.cal-pop{position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:min(320px,calc(100vw - 40px));box-sizing:border-box;background:#F4F2EE;border:1px solid rgba(0,0,0,.2);border-radius:10px;box-shadow:0 18px 44px rgba(0,0,0,.14);padding:16px;letter-spacing:0;text-transform:none}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cal-title{font-size:16px;font-weight:500}
.cal-nav{width:36px;height:36px;border-radius:50%;border:1px solid #111;background:transparent;font:inherit;font-size:15px;cursor:pointer;color:#111}
.cal-nav:disabled{opacity:.25;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal-wd{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#6B6B6B;padding:4px 0}
.cal-day{aspect-ratio:1;border:0;border-radius:50%;background:transparent;font:inherit;font-size:15px;color:#111;cursor:pointer;transition:background-color .15s,color .15s}
.cal-day:hover:not(:disabled){background:rgba(0,0,0,.07)}
.cal-day:disabled{color:#B5B2AC;cursor:default}
.cal-day.is-sel{background:#6B2430;color:#F4F2EE}
.cal-day:focus-visible,.cal-nav:focus-visible{outline:2px solid #6B2430;outline-offset:1px}
.cal-note{margin:10px 0 0;font-size:12px;color:#6B6B6B}
/* Pakete mobil: mittlere Karte breiter, Nachbarn nur angeschnitten */
@media (max-width:760px){ :root body .rw .pkgrow > .pkg{flex:0 0 88% !important} :root body .rw .pkgrow{gap:10px !important} }
/* Button-Text: Versalien mit Laufweite (wie Kicker) */
html:root body .cta,html:root body .pbtn,html:root body .pill-cta,html:root body .send,html:root body .pill,html:root body a[style*="border-radius: 999px"][style*="min-height"]{text-transform:uppercase;letter-spacing:.16em !important;font-size:13px !important;font-weight:500 !important}
/* Outline-Text: Buchstabenabstand um die Konturbreite erweitern */
:root body [style*="text-stroke"]{letter-spacing:calc(-.032em + 3px) !important}
:root body [style*="text-stroke"][style*="2px"]{letter-spacing:calc(-.02em + 2px) !important}
:root body [style*="text-stroke"][style*="3.5px"]{letter-spacing:calc(-.04em + 3.5px) !important}
:root body [aria-hidden="true"][style*="clip-path"] > p > span:last-child{letter-spacing:calc(-.04em + 3.5px) !important}
@media (max-width:760px){html:root body .cta,html:root body .pbtn,html:root body .pill-cta,html:root body .send,html:root body .pill,html:root body a[style*="border-radius: 999px"][style*="min-height"]{font-size:11.5px !important;letter-spacing:.12em !important;min-height:44px !important;padding:0 20px !important}}
/* Case Studies mobil: Meta-Angaben kompakter */
@media (max-width:760px){:root body .cs header [style*="minmax(220px"]{gap:0 !important;margin-top:28px !important}:root body .cs .meta{padding:12px 0 !important;gap:4px !important}}
/* Referenzprojekte: Bildunterschrift lesbar (Verlauf + helle Schrift) */
:root body section[aria-label="Referenzprojekte"] a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:55%;background:linear-gradient(to top,rgba(17,17,17,.6),rgba(17,17,17,0));pointer-events:none}
:root body section[aria-label="Referenzprojekte"] a > span{color:#F4F2EE !important;z-index:1;text-shadow:0 1px 8px rgba(0,0,0,.35)}
/* Preislisten mobil aufklappbar */
.pg-sum{display:none}
@media (max-width:760px){
:root body .pg{padding:22px 0 !important;gap:0 !important}
:root body .pg > div:first-child{cursor:pointer;position:relative;padding-right:40px;gap:6px !important}
:root body .pg > div:first-child::after{content:"–";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:24px;font-weight:300;line-height:1}
:root body .pg.pg-closed > div:first-child::after{content:"+"}
:root body .pg > div:last-child{margin-top:16px}
:root body .pg.pg-closed > div:last-child{display:none}
:root body .pg-sum{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#6B6B6B;margin-top:4px}
:root body .pg > div:first-child:focus-visible{outline:2px solid #6B2430;outline-offset:4px}
}
/* Mobile Abstände angeglichen */
@media (max-width:760px){
:root body .rf .wm{display:none}
:root body .rf .grid{padding-top:44px !important}
:root body section.p1{padding-top:64px !important;padding-bottom:48px !important}
:root body section[aria-label="Kundenstimmen"] > div{padding-top:56px !important;padding-bottom:40px !important}
:root body section[aria-label="Über mich"] > div:first-child{padding-top:40px !important}
:root body section[aria-label="Tools"]{padding-bottom:56px !important}
:root body section[aria-label="Leistungen"],:root body section[aria-label="Ausgewählte Projekte"]{padding-top:56px !important;padding-bottom:56px !important}
}
