:root{--bg: #f5f1e6;--bg2: #ebe5d3;--ink: #2a3120;--mute: #5c6350;--olive: #5e6e3b;--deep: #2f3a1d;--logo: #5e6e3b;--line: #d8d1bb;--on: #f5f1e6;--serif: "Euphemia UCAS","Euphemia",Candara,"Gill Sans","Trebuchet MS",system-ui,sans-serif;--sans: var(--serif);box-sizing: border-box;padding-top: env(safe-area-inset-top,0px);padding-bottom: env(safe-area-inset-bottom,0px);}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg: #171b11;--bg2: #1f2517;--ink: #ece7d6;--mute: #a9ae9a;--olive: #8da15a;--deep: #0f130a;--logo: #9db36a;--line: #333b26;--on: #171b11;}}
:root[data-theme="dark"]{--bg: #171b11;--bg2: #1f2517;--ink: #ece7d6;--mute: #a9ae9a;--olive: #8da15a;--deep: #0f130a;--logo: #9db36a;--line: #333b26;--on: #171b11;}
html{scroll-behavior: smooth;scroll-padding-top: calc(84px + env(safe-area-inset-top,0px));}
*{box-sizing: border-box;}
body{margin: 0;background: var(--bg);color: var(--ink);font: 400 1.05rem/1.7 var(--sans);}
h1,h2,h3{font-family: var(--serif);font-weight: 400;line-height: 1.15;margin: 0;letter-spacing: -.01em;}
a{color: inherit;}
.wrap{max-width: 1120px;margin: 0 auto;padding: 0 24px;}
header{position: sticky;top: 0;z-index: 20;background: color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter: blur(8px);border-bottom: 1px solid var(--line);padding-top: env(safe-area-inset-top,0px);}
body::before{content: "";position: fixed;inset: 0 0 auto;height: env(safe-area-inset-top,0px);z-index: 30;background: var(--bg);}
.bar{justify-content: space-between;height: 84px;}
.logo{height: 70px;width: auto;display: block;}
.logo g,.logo path{fill: var(--logo);}
nav{display: flex;gap: 30px;align-items: center;}
nav a{text-decoration: none;font-weight: 500;font-size: .95rem;letter-spacing: .04em;text-transform: uppercase;}
nav a:hover{color: var(--olive);}
.ig{display: inline-flex;gap: 8px;align-items: center;}
#tg{display: none;background: none;border: 1px solid var(--line);color: var(--ink);padding: 8px 14px;border-radius: 99px;font: inherit;}
.hero{aspect-ratio: 16/9;max-height: 86vh;min-height: 460px;background: var(--deep);color: #f5f1e6;}
.slide{position: absolute;inset: 0;opacity: 0;transition: opacity 1.6s ease;background-size: cover;background-position: center;display: flex;align-items: flex-end;justify-content: flex-end;padding: 24px;}
.slide.on{opacity: 1;}
.slide small{opacity: .55;font-size: .8rem;letter-spacing: .1em;text-transform: uppercase;}
.scrim{position: absolute;inset: 0;background: linear-gradient(90deg,rgba(15,19,10,.78),rgba(15,19,10,.15) 70%);}
.hc{position: absolute;inset: 0;display: flex;flex-direction: column;justify-content: center;gap: 24px;z-index: 2;}
.hc h1{font-size: clamp(2.3rem,6vw,4.6rem);max-width: 13ch;}
.hc p{max-width: 44ch;margin: 0;font-size: 1.15rem;opacity: .92;}
.btn{display: inline-block;align-self: flex-start;background: #f5f1e6;color: #2f3a1d;text-decoration: none;padding: 14px 28px;border-radius: 99px;font-weight: 700;}
.dots{position: absolute;z-index: 3;left: 0;right: 0;bottom: 22px;}
.dots .wrap{display: flex;gap: 14px;align-items: center;justify-content: center;font-size: .9rem;}
.dots .ar{width: 42px;height: 42px;border-radius: 50%;border: 1px solid rgba(245,241,230,.5);background: rgba(15,19,10,.3);color: #f5f1e6;font-size: 1.4rem;line-height: 1;cursor: pointer;padding: 0;}
.dots .ar:hover{background: rgba(245,241,230,.22);}
.bar{display: flex;align-items: center;}
.dt{width: 16px;height: 24px;border: 0;background: none;padding: 0;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: width .4s;}
.dt::before{content: "";width: 7px;height: 7px;border-radius: 99px;background: rgba(245,241,230,.6);box-shadow: 0 0 4px rgba(0,0,0,.45);transition: width .4s,background .4s;}
.dt.on{width: 44px;}
.dt.on::before{width: 34px;background: #f5f1e6;}
.slide.duo{background: var(--deep);}
.duo .dw{position: absolute;right: 4%;top: 50%;transform: translateY(-50%);width: 54%;height: 80%;display: flex;gap: 14px;}
.duo .d{flex: 1;border-radius: 4px;background-size: cover;background-position: center;}
section{padding: 96px 0;}
.eyebrow{font-size: .8rem;letter-spacing: .18em;text-transform: uppercase;color: var(--olive);font-weight: 700;margin-bottom: 14px;}
h2{font-size: clamp(1.9rem,4vw,3rem);margin-bottom: 28px;}
.lead{max-width: 60ch;color: var(--mute);font-size: 1.15rem;}
.grid{display: grid;grid-template-columns: repeat(auto-fit,minmax(210px,1fr));gap: 1px;background: var(--line);border: 1px solid var(--line);margin-top: 40px;}
.grid div{background: var(--bg);padding: 28px 24px;font-family: var(--serif);font-size: 1.2rem;}
.grid span{display: block;font: 500 .8rem var(--sans);color: var(--olive);margin-bottom: 10px;letter-spacing: .1em;}
.alt{background: color-mix(in srgb,var(--bg2) 72%,transparent);}
main,footer{position: relative;z-index: 1;}
.bgleaf{position: fixed;right: -6vw;top: 50%;transform: translateY(-50%);width: min(72vw,640px);z-index: 0;pointer-events: none;opacity: .08;}
.bgleaf svg{width: 100%;height: auto;display: block;}
.bgleaf path{fill: var(--olive);}
.fm{display: grid;gap: 14px;margin-top: 8px;}
.fm input,.fm textarea{width: 100%;font: inherit;color: var(--ink);background: var(--bg);border: 1px solid var(--line);border-radius: 6px;padding: 12px 14px;}
.fm label{font-size: .85rem;color: var(--mute);}
.fm .ck{display: flex;gap: 10px;align-items: flex-start;line-height: 1.4;}
.fm .ck input{width: auto;margin-top: 3px;}
.fm button{justify-self: start;background: var(--olive);color: var(--on);border: 0;border-radius: 99px;padding: 14px 28px;font: 700 1rem var(--sans);cursor: pointer;}
.hrs{display: grid;grid-template-columns: auto 1fr;gap: 4px 24px;margin: 0 0 18px;}
.hrs b{font-weight: 400;color: var(--mute);}
#legal{padding: 72px 0 96px;position: relative;z-index: 1;min-height: 70vh;}
#legal h1{font-size: clamp(2rem,4vw,3rem);margin-bottom: 28px;}
#legal h3{font-size: 1.15rem;margin: 26px 0 8px;font-weight: 700;}
#legal p,#legal li{max-width: 70ch;color: var(--mute);}
#legal a{border-bottom: 1px solid var(--olive);text-decoration: none;}
.back{display: inline-block;margin-bottom: 28px;text-decoration: none;color: var(--olive);font-weight: 700;}
.gal{display: grid;grid-template-columns: repeat(3,1fr);gap: 14px;margin-top: 36px;}
.gal div{aspect-ratio: 4/3;background: linear-gradient(135deg,var(--olive),var(--deep));opacity: .9;border-radius: 4px;display: flex;align-items: flex-end;padding: 14px;color: #f5f1e6;font-size: .8rem;letter-spacing: .08em;text-transform: uppercase;background-size: cover;background-position: center;}
.co{display: grid;grid-template-columns: 1fr 1fr;gap: 64px;align-items: center;}
.portrait{aspect-ratio: 4/5;border-radius: 4px;background: linear-gradient(160deg,var(--olive),var(--deep));display: flex;align-items: center;justify-content: center;position: relative;overflow: hidden;background-size: cover;background-position: center;}
.portrait svg{width: 62%;height: auto;opacity: .22;}
.portrait svg path{fill: #f5f1e6;}
.sig{margin-top: 28px;border-top: 1px solid var(--line);padding-top: 16px;}
.sig b{font-family: var(--serif);font-size: 1.3rem;font-weight: 600;display: block;}
.kt{display: grid;grid-template-columns: 1fr 1fr;gap: 48px;}
.kt h3{font-size: 1.4rem;margin-bottom: 10px;}
.kt p{margin: 0 0 18px;}
.kt a{text-decoration: none;border-bottom: 1px solid var(--olive);}
footer{background: var(--deep);color: #ece7d6;padding: 34px 0 calc(34px + env(safe-area-inset-bottom,0px));font-size: .9rem;}
footer .wrap{display: flex;flex-wrap: wrap;gap: 12px 32px;justify-content: space-between;}
footer a{margin-left: 18px;}
@media (max-width:760px){nav{display: none;position: absolute;top: 100%;left: 0;right: 0;flex-direction: column;align-items: flex-start;background: var(--bg);padding: 20px 24px;gap: 18px;border-bottom: 1px solid var(--line);}
nav.open{display: flex;}
.co,.kt{grid-template-columns: 1fr;gap: 32px;}
.gal{grid-template-columns: 1fr 1fr;}
section{padding: 64px 0;}
.logo{height: 54px;}}
@media (max-width:760px){.dots .ar{display: none;}
.dots .wrap{justify-content: center;}
.dt{width: 12px;}
.dt::before{width: 6px;height: 6px;}
.dt.on{width: 30px;}
.dt.on::before{width: 24px;}
.duo .dw{left: 12px;right: 12px;top: 12px;bottom: 12px;width: auto;height: auto;transform: none;gap: 10px;}
.hero{aspect-ratio: auto;max-height: none;min-height: 0;display: flex;flex-direction: column;overflow: visible;}
.stage{position: relative;aspect-ratio: 4/3;overflow: hidden;}
.scrim{display: none;}
.hc{position: static;padding: 30px 0 40px;z-index: auto;}
.slide.po{background-position: center;}
.svc{grid-template-columns: 1fr 1fr;gap: 14px;}
.svc figcaption{font-size: 1rem;}
.gal div{font-size: .7rem;padding: 10px;}}
@media (prefers-reduced-motion:reduce){.slide{transition: none;}
html{scroll-behavior: auto;}}
.icons{display: flex;gap: 18px;align-items: center;}
.portrait span{color: #f5f1e6;opacity: .6;font-size: .85rem;letter-spacing: .12em;text-transform: uppercase;}
.soc{display: flex;gap: 12px;margin-top: 6px;}
.kt .soc a{width: 48px;height: 48px;border: 1px solid var(--olive);border-radius: 50%;display: flex;align-items: center;justify-content: center;color: var(--olive);transition: .2s;}
.kt .soc a:hover{background: var(--olive);color: var(--on);}
.grid div[data-img]{min-height: 240px;display: flex;align-items: flex-end;color: #f5f1e6;background-size: cover;background-position: center;text-shadow: 0 1px 8px rgba(0,0,0,.5);}
.gal div{position: relative;text-shadow: 0 1px 6px rgba(0,0,0,.6);}
.stage{position: absolute;inset: 0;}
.slide.po{background-size: contain;background-repeat: no-repeat;background-position: right 10% center;background-color: var(--deep);}
.svc{display: grid;grid-template-columns: repeat(4,1fr);gap: 20px;margin-top: 40px;}
.svc figure{margin: 0;}
.svc .ph{aspect-ratio: 4/5;border-radius: 4px;background: linear-gradient(135deg,var(--olive),var(--deep));background-size: cover;background-position: center;}
.svc figcaption{font-family: var(--serif);font-size: 1.2rem;margin-top: 14px;}
#ueber-mich h2{margin-bottom: 40px;}
.ci{display: grid;gap: 10px;margin: 0 0 22px;}
.kt .ci a{border: 0;display: inline-flex;gap: 12px;align-items: center;}
.kt .ci a:hover{color: var(--olive);}
.ci svg{color: var(--olive);flex: none;}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .logo{filter: brightness(1.7);}}
:root[data-theme="dark"] .logo{filter: brightness(1.7);}
@media (min-width:761px){.hero{aspect-ratio: auto;max-height: none;min-height: 0;padding: 64px 0 52px;}
.stage{display: none;}
.hc{position: static;inset: auto;display: block;z-index: auto;margin-bottom: 48px;}}
.strip{display: none;overflow: hidden;}
@media (min-width: 761px){.strip{display: block;}}
.track{display: flex;width: max-content;animation: run 260s linear infinite;}
.track img{height: clamp(300px,46vh,520px);width: auto;margin-right: 14px;border-radius: 4px;display: block;flex: none;}
.strip:hover .track{animation-play-state: paused;}
@keyframes run{to{transform: translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.track{animation: none;}
.strip{overflow-x: auto;}}
.hero{position:relative;display:flex;align-items:center;min-height:clamp(540px,76vh,860px);max-height:none;aspect-ratio:auto;overflow:hidden;padding:80px 0;background:#23301f;}
.hero .stage{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;overflow:hidden;z-index:0;}
.hero .slide{position:absolute;inset:0;background-position:center;background-size:cover;}
.hero .scrim{display:block;position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(13,24,14,.78),rgba(13,24,14,.35) 65%,rgba(13,24,14,.20));pointer-events:none;}
.hero .hc{position:relative;inset:auto;z-index:2;display:block;width:100%;margin:0;padding:0;color:#f5f1e6;pointer-events:none;}
.hero .hc a{pointer-events:auto;}
.hero .strip{display:none;}
.hero .dots{z-index:3;bottom:20px;}
@media (max-width:760px){.hero{min-height:580px;padding:76px 0 100px;overflow:hidden;}
.hero .stage{position:absolute;inset:0;aspect-ratio:auto;}
.hero .hc{position:relative;padding:0;}
.hero .scrim{display:block;background:linear-gradient(90deg,rgba(13,24,14,.78),rgba(13,24,14,.40));}}
html, body{max-width:100%;}
img, svg, video{max-width:100%;}
img{height:auto;}
.wrap{width:100%;}
@media (max-width:760px){body{font-size:1rem;line-height:1.6;overflow-wrap:break-word;}
.wrap{padding-inline:18px;}
.bar{height:68px;min-width:0;gap:12px;}
.bar > a{min-width:0;flex:0 1 auto;}
.logo{display:block;height:auto;max-height:52px;max-width:min(62vw,240px);width:auto;object-fit:contain;}
#tg{display:block;flex:none;min-height:44px;min-width:65px;cursor:pointer;}
nav{max-height:calc(100dvh - 68px);overflow-y:auto;padding:18px;box-shadow:0 12px 22px rgba(0,0,0,.1);}
nav a{min-height:44px;display:inline-flex;align-items:center;}
section{padding:52px 0;}
h2{font-size:clamp(1.75rem,7vw,2.4rem);line-height:1.2;}
.lead{font-size:1.03rem;}
.hero{min-height:clamp(510px,82svh,740px);padding:72px 0 94px;}
.hero .hc{width:100%;}
.hero .hc > .wrap{gap:16px !important;}
.hero .hc h1{font-size:clamp(2rem,9vw,3.4rem);line-height:1.12;max-width:12ch;overflow-wrap:normal;}
.hero .hc p{font-size:clamp(.98rem,3.8vw,1.12rem);line-height:1.55;max-width:34ch;margin:0;}
.hero .hc .btn{max-width:100%;align-self:flex-start;text-align:center;white-space:normal;}
.hero .scrim{background:linear-gradient(90deg,rgba(13,24,14,.82),rgba(13,24,14,.42)),linear-gradient(0deg,rgba(13,24,14,.42),transparent 60%);}
.hero .slide{background-position:center center;}
.hero .dots{bottom:12px;width:100%;}
.hero .dots .wrap{max-width:100%;overflow:hidden;}
.svc{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.svc figure{min-width:0;margin:0;}
.svc figcaption{font-size:.94rem;line-height:1.35;}
.gal{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.co,.kt{grid-template-columns:minmax(0,1fr);gap:28px;}
.grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid div{padding:20px 14px;font-size:1.05rem;}
.fm input,.fm textarea{min-width:0;font-size:16px;}
footer .wrap{flex-direction:column;align-items:flex-start;}
footer a{margin:0 16px 0 0;}}
@media (max-width:420px){.wrap{padding-inline:16px;}
.logo{max-width:59vw;max-height:45px;}
.hero{min-height:560px;}
.hero .hc h1{font-size:clamp(1.95rem,9vw,2.7rem);}
.svc,.gal,.grid{grid-template-columns:minmax(0,1fr);}
.gal div{aspect-ratio:5/4;}
.svc figcaption{font-size:1rem;}
.dots .dt{width:9px;}
.dots .dt.on{width:22px;}
.dots .dt.on::before{width:18px;}}
@media (max-width:340px){.hero .hc h1{font-size:1.85rem;}
.hero{min-height:600px;}
.bar{gap:6px;}
#tg{padding:8px 10px;}}
main section h2, #legal h1, #legal h3, .kt h3{color:var(--heading-green);}
.hero .hc h1, .hero .hc h2{color:#fff;}
:root[data-theme="dark"] main section h2, :root[data-theme="dark"] #legal h1, :root[data-theme="dark"] #legal h3{color:#a6c5a7;}
#tg{align-items:center;justify-content:center;width:48px;height:48px;padding:10px;border-radius:10px;}
.burger-lines{display:flex;flex-direction:column;gap:5px;}
.burger-lines span{display:block;width:23px;height:2px;background:currentColor;border-radius:3px;transition:transform .2s,opacity .2s;}
#tg[aria-expanded="true"] .burger-lines span:nth-child(1){transform:translateY(7px) rotate(45deg);}
#tg[aria-expanded="true"] .burger-lines span:nth-child(2){opacity:0;}
#tg[aria-expanded="true"] .burger-lines span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media (max-width:760px){#tg{display:inline-flex;min-width:48px;}}
#gal [data-img]:focus-visible, #leistungen [data-img]:focus-visible, #track img:focus-visible{outline:3px solid var(--heading-green);outline-offset:3px;}
.image-lightbox{position:fixed;max-width:min(96vw,1400px);max-height:94dvh;width:max-content;padding:42px 12px 12px;border:0;border-radius:12px;background:#15251b;color:#fff;box-shadow:0 20px 70px #0009;}
.image-lightbox::backdrop{background:rgba(0,0,0,.84);}
.image-lightbox img{display:block;max-width:calc(96vw - 24px);max-height:calc(94dvh - 100px);width:auto;height:auto;object-fit:contain;margin:auto;}
.lightbox-close{position:absolute;top:4px;right:10px;border:0;background:transparent;color:#fff;font-size:32px;line-height:1;padding:2px 9px;cursor:pointer;}
.lightbox-caption{text-align:center;font-size:.9rem;margin:8px 0 0;}
@media (max-width:760px){.image-lightbox{max-width:100vw;max-height:100dvh;border-radius:0;}}
@media (max-width: 760px){header #tg{display: inline-flex !important;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;background:#294b35;color:#fff;border:1px solid #294b35;border-radius:10px;padding:8px;position:relative;z-index:20;}
#tg .burger-icon{display:block;width:28px;height:28px;flex-shrink:0;}
#tg[aria-expanded="true"] .burger-icon{transform:rotate(90deg);}
header nav.open{display:flex !important;z-index:19;}}
dialog.image-lightbox[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:auto;box-sizing:border-box;}
#gal [data-img], #leistungen [data-img], #track img{cursor:zoom-in;}
:root{--heading-green: #294b35;}
main section:not(.hero) h1, main section:not(.hero) h2, main section:not(.hero) h3,
#legal h1, #legal h2, #legal h3{color:var(--heading-green);}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) main section:not(.hero) h1,
:root:not([data-theme="light"]) main section:not(.hero) h2,
:root:not([data-theme="light"]) main section:not(.hero) h3{color:#a6c5a7;}}
:root[data-theme="dark"] main section:not(.hero) h1,
:root[data-theme="dark"] main section:not(.hero) h2,
:root[data-theme="dark"] main section:not(.hero) h3{color:#a6c5a7;}
:root[data-theme="light"] main section:not(.hero) h1,
:root[data-theme="light"] main section:not(.hero) h2,
:root[data-theme="light"] main section:not(.hero) h3{color:#294b35;}
.feature-section[hidden]{display:none!important;}
.feature-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(20px,5vw,70px);}
.feature-picture img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;}
.feature-copy p{white-space:pre-line;}
.feature-link{display:inline-flex;padding:11px 19px;border-radius:8px;background:#294b35;color:white;text-decoration:none;font-weight:600;}
.feature-link:hover{background:#3d6248;}
@media (max-width:700px){.feature-layout{grid-template-columns:1fr;}
.feature-picture img{aspect-ratio: 16/10;}}
@media (max-width:760px){header #tg, header #tg:hover, header #tg:focus-visible{background:transparent !important;color:#294b35 !important;border:0 !important;box-shadow:none !important;border-radius:0;}
header #tg .burger-icon{stroke:#294b35;}
header #tg:focus-visible{outline:2px solid #294b35;outline-offset:2px;}}
#zusatzbereich{background:var(--bg);}
#ueber-mich.alt{background:color-mix(in srgb,var(--bg2) 72%,transparent);}
#kontakt{background:var(--bg);}
#nav #a1-nav-link[hidden]{display:none !important;}
#leistungen{background:var(--bg);}
#projekte{background:color-mix(in srgb,var(--bg2) 72%,transparent);}
#zusatzbereich:not([hidden]){background:var(--bg);}
body:not(.a1-section-visible) #ueber-mich{background:var(--bg);}
body:not(.a1-section-visible) #kontakt{background:color-mix(in srgb,var(--bg2) 72%,transparent);}
body.a1-section-visible #ueber-mich{background:color-mix(in srgb,var(--bg2) 72%,transparent);}
body.a1-section-visible #kontakt{background:var(--bg);}
#leistungen .services-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,76px);align-items:start;}
#leistungen .services-copy{min-width:0;position:sticky;top:120px;}
#leistungen .services-copy .lead{max-width:44ch;}
#leistungen .svc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;min-width:0;}
#leistungen .svc figure{min-width:0;margin:0;}
#leistungen .svc .ph{aspect-ratio:4/3;background-position:center;background-size:cover;border-radius:9px;}
#leistungen .svc figcaption{font-size:1.02rem;margin:7px 0 2px;line-height:1.35;}
#leistungen .svc .service-details-link{border:0;padding:3px 0;background:none;color:#294b35;text-decoration:underline;text-underline-offset:4px;font:600 .9rem/1.5 var(--sans);cursor:pointer;text-align:left;}
#leistungen .svc .service-details-link:hover{color:#507659;}
#ueber-mich .co{grid-template-columns:minmax(0,245px) minmax(0,1fr);gap:clamp(24px,5vw,65px);align-items:start;}
#ueber-mich .portrait{width:100%;max-width:245px;aspect-ratio:4/5;}
.service-dialog{width:min(920px,calc(100% - 24px));max-width:920px;max-height:calc(100dvh - 30px);border:0;border-radius:15px;padding:clamp(20px,4vw,36px);background:var(--bg);color:var(--ink);box-shadow:0 24px 80px #0008;overflow:auto;}
.service-dialog::backdrop{background:rgba(10,20,12,.78);}
.service-dialog-close{position:absolute;right:14px;top:8px;background:transparent;border:0;color:#294b35;font-size:2rem;cursor:pointer;z-index:2;}
.service-dialog-content{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;align-items:start;}
.service-dialog-copy h2{font-size:clamp(1.6rem,3vw,2.4rem);}
#service-dialog-description{white-space:pre-line;overflow-wrap:anywhere;}
.service-slide-stage{position:relative;background:#18251a;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:220px;}
#service-slide-image{display:block;width:100%;height:min(48vh,410px);object-fit:contain;}
.service-arrow{position:absolute;top:50%;transform:translateY(-50%);background:#15261bd9;color:white;border:0;border-radius:50%;width:42px;height:42px;font-size:2rem;line-height:1;cursor:pointer;}
#service-prev{left:9px;}
#service-next{right:9px;}
#service-slide-caption{font-size:.9rem;margin:8px 0 0;}
#service-slide-counter{font-size:.85rem;color:var(--mute);margin:2px 0 0;}
@media (max-width:760px){#leistungen .services-layout{grid-template-columns:minmax(0,1fr);gap:24px;}
#leistungen .services-copy{position:static;}
#leistungen .svc{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#ueber-mich .co{grid-template-columns:minmax(0,1fr);}
#ueber-mich .portrait{max-width:180px;}
.service-dialog-content{grid-template-columns:minmax(0,1fr);gap:15px;}
.service-dialog{padding:25px 15px 15px;}
#service-slide-image{height:min(42vh,340px);}}
@media (max-width:390px){#leistungen .svc{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
#leistungen .svc figcaption{font-size:.9rem;}
#leistungen .svc .service-details-link{font-size:.82rem;}}
.fm input.hp-field, .fm input[name="website"]{display:none !important;position:absolute !important;width:0 !important;height:0 !important;overflow:hidden !important;}
#leistungen .svc .service-details-link{display:block;width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.55;font-weight:400;}
#leistungen .svc img.ph{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:9px;background:#e8ece4;}
/* Shared layout and mobile gutters */
html,body{margin:0;min-width:0;max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.wrap{box-sizing:border-box;width:100%;max-width:1120px;min-width:0;margin-inline:auto}
#legal [data-legal-key]{white-space:pre-line;overflow-wrap:anywhere}
#leistungen .svc .service-details-link{font:600 1rem/1.4 var(--sans);padding:0;text-align:left;color:inherit;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){
.wrap{width:100%;max-width:1120px;padding-left:calc(20px + env(safe-area-inset-left,0px));padding-right:calc(20px + env(safe-area-inset-right,0px));margin-inline:auto}
.hero .hc{padding:0;min-width:0;width:100%}.hero .hc>.wrap{min-width:0}.hero .hc h1,.hero .hc p{max-width:100%;overflow-wrap:anywhere}
main,section,article,header,footer,.wrap>*,.services-layout>*,.svc>*,.co>*,.kt>*,.feature-layout>*,.fm>*{min-width:0;max-width:100%}
.kt,.co,.fm,.feature-layout{grid-template-columns:minmax(0,1fr)}
.kt .ci a{min-width:0;max-width:100%;overflow-wrap:anywhere;display:flex}.kt .ci a svg{flex:none}
h1,h2,h3,p,li,a,label,figcaption{overflow-wrap:anywhere;word-break:normal}
.fm input:not([type=checkbox]),.fm textarea{width:100%;min-width:0;max-width:100%;font-size:16px}
.hrs{grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:4px 12px}
.dots .wrap{gap:4px;flex-wrap:wrap}.dots .dt{flex-shrink:1;min-width:4px}
nav.open{padding-left:calc(20px + env(safe-area-inset-left,0px));padding-right:calc(20px + env(safe-area-inset-right,0px))}
}

/* 2026-11-25: mobile container normalization, section ordering and legal spacing */
*,*::before,*::after{box-sizing:border-box}
#ordered-sections,#custom-sections{display:contents}
#ordered-sections>section,#custom-sections>section{background:var(--bg)}
#ordered-sections>section.section-tone-alt,#custom-sections>section.section-tone-alt{background:var(--bg2)}
#ordered-sections>section:not(.section-tone-alt){background:var(--bg)}
#ordered-sections>section[hidden]{display:none!important}
.custom-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,65px);align-items:center}
.custom-layout.custom-text{display:block}.custom-text-image .custom-copy{order:0}.custom-text-image .custom-media{order:1}
.custom-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.custom-media img{width:100%;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.custom-image-text .custom-media img:only-child,.custom-text-image .custom-media img:only-child{grid-column:span 2;aspect-ratio:4/3}
.custom-copy,.custom-copy p{min-width:0;overflow-wrap:break-word}.custom-copy a{color:#294b35;text-decoration:underline}
#legal article p{margin-top:0!important;margin-bottom:.75em!important;line-height:1.55!important;white-space:pre-line}
#legal article{line-height:1.55}#legal article p:empty{display:none}
@media(max-width:760px){
 html,body{width:100%;max-width:100%;margin:0}
 .wrap,header .wrap,footer .wrap,.hc .wrap,main .wrap,#legal .wrap{width:100%!important;max-width:100%!important;min-width:0!important;padding-left:max(20px,env(safe-area-inset-left,0px))!important;padding-right:max(20px,env(safe-area-inset-right,0px))!important;margin-left:auto!important;margin-right:auto!important}
 main section,main section>div,.co,.kt,.svc,.gal,.services-layout,.services-copy,.feature-layout,.custom-layout{min-width:0;max-width:100%}
 .custom-layout{grid-template-columns:minmax(0,1fr)}.custom-media{min-width:0}
 h1,h2,h3,p,figcaption,.lead,.service-details-link,a{overflow-wrap:break-word;word-break:normal}
 img,video,iframe{max-width:100%}
 .fm input,.fm textarea,.fm button{min-width:0;max-width:100%}
}

/* 2026-11-25: iPhone overflow and dark mode consistency */
@media(max-width:760px){
  #ueber-mich .co, #ueber-mich .co>div, #ueber-mich [data-about-paragraph],
  #ueber-mich p, #ueber-mich .sig, #ueber-mich .wrap {min-width:0;max-width:100%;}
  #ueber-mich [data-about-paragraph], #ueber-mich .sig,
  #ueber-mich .sig b, #ueber-mich p {overflow-wrap:anywhere!important;word-break:normal;hyphens:auto;-webkit-hyphens:auto;}
  #ueber-mich .co {grid-template-columns:minmax(0,1fr)!important;}
  #ueber-mich .co>div {width:100%;}
  #ueber-mich .wrap {padding-inline:max(20px,env(safe-area-inset-left,0px)) max(20px,env(safe-area-inset-right,0px))!important;}
}
/* Dark theme: retain alternating sections with theme-aware colors. */
@media(prefers-color-scheme:dark){
 :root:not([data-theme="light"]) .custom-copy a{color:#a6c5a7;}
}
:root[data-theme="dark"] .custom-copy a{color:#a6c5a7;}

/* Google Maps / consent: independent of the site's light/dark theme */
.map-consent{margin-top:1.4rem;width:100%;min-width:0;max-width:100%;border-radius:14px;overflow:hidden;border:1px solid rgba(100,120,100,.25)}
.map-placeholder{padding:1.4rem;background:var(--card,#edf1e9);color:var(--text,inherit)}
.map-placeholder p{margin:.45rem 0;overflow-wrap:anywhere}
.map-load,.map-external{display:inline-flex;margin:.6rem .7rem .1rem 0;padding:.7rem .9rem;border-radius:8px;font:inherit;cursor:pointer}
.map-load{border:0;background:#294b35;color:#fff}.map-external{color:inherit;text-decoration:underline}
.map-frame iframe{width:100%;height:330px;border:0;display:block}
.cookie-banner{position:fixed;z-index:99998;inset:auto 0 0;background:#f8f8f3;color:#17261a;box-shadow:0 -4px 30px #0004;padding:1rem max(16px,env(safe-area-inset-right,0px)) calc(1rem + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));font:inherit}
.cookie-banner[hidden],.map-placeholder[hidden],.map-frame[hidden]{display:none!important}
.cookie-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}.cookie-inner p{font-size:.9rem;line-height:1.5;margin:.3rem 0 0}
.cookie-actions{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}.cookie-actions button,.privacy-settings-link{cursor:pointer;border:1px solid #294b35;border-radius:8px;background:transparent;color:inherit;padding:.65rem .85rem;font:inherit}.cookie-actions button:last-child{background:#294b35;color:#fff}
.cookie-dialog{border:0;border-radius:14px;padding:1.5rem;max-width:min(520px,calc(100vw - 32px));width:100%;background:#fafaf7;color:#17261a;box-shadow:0 15px 50px #0006}.cookie-dialog::backdrop{background:#0008}.cookie-dialog h2{color:#294b35}.cookie-dialog label{display:block;margin:1rem 0}.cookie-dialog .cookie-actions{margin-top:1.5rem}
.privacy-settings-link{margin:1rem 0;color:inherit}
@media(max-width:700px){.cookie-inner{display:block}.cookie-actions{margin-top:1rem;justify-content:stretch}.cookie-actions button{flex:1 1 130px}.map-frame iframe{height:280px}}

/* Mobile horizontal gutters: apply to actual section content, not just the page shell. */
@media screen and (max-width:760px) {
  :root { --mobile-gutter: max(22px, env(safe-area-inset-left, 0px)); --mobile-gutter-right: max(22px, env(safe-area-inset-right, 0px)); }
  html, body { max-width:100%; overflow-x:clip; }
  main > section, main > #ordered-sections > section, main > #custom-sections > section { width:100%; min-width:0; }
  main section > .wrap, #legal > .wrap, header > .wrap, footer > .wrap,
  .hero .hc > .wrap {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter-right)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  main section > .wrap > *, main section .co > *, main section .kt > *,
  main section .services-layout > *, main section .custom-layout > * {
    min-width:0;
    max-width:100%;
  }
  #ueber-mich .co, #kontakt .kt, #leistungen .services-layout { width:100%; min-width:0; }
  main section p, main section h1, main section h2, main section h3,
  main section .lead, main section .custom-copy {
    max-width:100%;
    overflow-wrap:anywhere;
    -webkit-hyphens:auto;
    hyphens:auto;
  }
}

/* Footer: unaufdringlicher Cookie-Einstellungen-Link */
footer .privacy-settings-link{display:inline!important;position:static!important;float:none!important;transform:none!important;box-shadow:none!important;background:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;color:inherit!important;font:inherit!important;font-size:inherit!important;line-height:inherit!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}footer .privacy-settings-link:hover,footer .privacy-settings-link:focus-visible{text-decoration-thickness:2px}footer .privacy-settings-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
footer .wrap>span:last-child{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1rem}
