/*
Theme Name: ProSURVEY
Description: Individuelles ProSURVEY Theme auf Grundlage des freigegebenen Entwurfs. Texte und Bilder unter Design > Customizer > ProSURVEY bearbeiten.
Version: 1.4.0
Author: ProSURVEY
Text Domain: pro-survey
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
*/
:root{--ink:#202623;--muted:#5d655f;--paper:#f5f5ef;--line:#d9ddd5;--accent:#e4ed4b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}img{max-width:100%;display:block}p{line-height:1.65}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:500;letter-spacing:-.045em}h2{font-size:clamp(32px,3.5vw,51px);line-height:1.08}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8c8b15;outline-offset:5px}.skip{position:absolute;top:-100px}.skip:focus{top:40px;z-index:30;background:white;padding:20px}.preview{background:var(--ink);color:#e7eadf;padding:8px 5%;font-size:10px;letter-spacing:1.5px;display:flex;justify-content:space-between}.preview span{letter-spacing:.3px}header{padding:25px 5%;display:flex;align-items:center;justify-content:space-between;background:white;gap:25px}.logo{width:235px;height:auto}nav{display:flex;align-items:center;gap:32px;font-size:13px}.button{background:var(--accent);padding:20px 24px;display:inline-flex;gap:30px;justify-content:space-between;align-items:center;color:var(--ink);font-size:14px;font-weight:600;transition:background .2s}.button:hover{background:#d1db35}.button span{font-size:22px}.button.small{padding:12px 17px}.menu{display:none}.hero{display:grid;grid-template-columns:47% 53%;min-height:620px;background:var(--ink);color:white}.hero-copy{padding:57px 8% 55px 10.6%}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;margin-bottom:25px}.cross{color:var(--accent);font-size:22px;vertical-align:middle;margin-right:8px}h1{font-size:clamp(48px,5.5vw,82px);line-height:1.04;margin:28px 0}.yellow{color:var(--accent)}.intro{font-size:16px;color:#d1d6cf;max-width:380px;margin:25px 0 30px}.quiet{display:block;margin-top:25px;font-size:12px;color:#d5d9d3}.hero-image{position:relative;min-height:600px;overflow:hidden}.hero-image>img{width:100%;height:100%;object-fit:cover;object-position:62% center}.hero-image:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0008);pointer-events:none}.hero-image figcaption{position:absolute;bottom:26px;left:30px;right:25px;z-index:1;font-size:13px}.hero-image figcaption span{display:block;font-size:9px;letter-spacing:2px;margin-bottom:9px}.hero-image figcaption b{float:right;font-size:8px;letter-spacing:1px;font-weight:400}.target{position:absolute;top:29px;right:30px;font-size:35px;font-weight:200;color:white}.region{padding:25px 5%;display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);background:var(--paper)}.region>span{font-size:10px;letter-spacing:1.5px;font-weight:700}.region p{font-size:14px}.region i{margin:0 12px;font-style:normal;color:#868b80}.section{padding:90px 5%;scroll-margin-top:20px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:45px;margin-bottom:48px}.section-heading>p{max-width:330px;font-size:15px;color:var(--muted)}.services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.services article{border-top:1px solid var(--ink);padding:24px 0 0}.number{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-bottom:45px}.number span{font-size:24px}.services h3{font-size:31px;margin-bottom:9px}.subtitle{font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:22px}.services article>p:not(.subtitle){color:var(--muted);font-size:14px;min-height:93px;max-width:330px}details{border-bottom:1px solid var(--line)}summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:22px 0;font-size:13px;font-weight:600}summary::-webkit-details-marker{display:none}summary span{font-size:21px;font-weight:400}details[open] summary span{transform:rotate(45deg)}details>div,details>p{font-size:14px;color:var(--muted);line-height:1.7;padding-bottom:24px}details a{display:block;margin-top:18px;text-decoration:underline;color:var(--ink)}.work{background:var(--paper)}.gallery{display:grid;grid-template-columns:1.15fr 1fr;gap:25px}.photo{padding:0;background:none;border:0;text-align:left}.photo img{width:100%;height:340px;object-fit:cover;transition:filter .2s}.photo:hover img{filter:brightness(1.08)}.photo>span{display:block;font-size:20px;letter-spacing:-.5px;padding-top:22px}.photo small{display:block;font-size:9px;letter-spacing:1.6px;margin-bottom:10px}.photo b{float:right;font-weight:400}.audience-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:10%;margin-top:45px}.tabs{display:flex;flex-direction:column}.tabs button{border:0;border-bottom:1px solid var(--line);background:white;padding:23px 15px;text-align:left;font-size:17px;display:flex;justify-content:space-between}.tabs button[aria-selected=true]{background:var(--accent)}#audience-panel{background:var(--paper);padding:35px}#audience-panel h3{font-size:32px;margin-bottom:20px}#audience-panel p:not(.eyebrow){color:var(--muted);font-size:15px}#audience-panel a{display:inline-block;margin-top:22px;font-size:13px;border-bottom:1px solid;padding-bottom:5px}.office{background:var(--ink);color:white;display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.office>img{width:100%;height:440px;object-fit:cover}.office h2{margin-bottom:25px}.office p:not(.eyebrow){color:#c4ccc3;font-size:15px;margin-bottom:20px}.text-link{display:inline-block;color:var(--accent);margin-top:12px;font-size:14px}.faq{display:grid;grid-template-columns:1fr 1.4fr;gap:10%}.faq summary{font-size:16px;padding:25px 0}.contact{background:var(--accent);padding:70px 8%;display:flex;justify-content:space-between;align-items:center;gap:45px}.contact h2{font-size:clamp(55px,6vw,85px);margin-bottom:25px}.contact h2 span{color:#6c7722}.contact p{font-size:15px}.contact .button{background:var(--ink);color:white}.contact .button:hover{background:#384339}.contact-action .email{display:block;margin:24px 0;font-size:22px;letter-spacing:-.5px}.contact-action p{font-size:12px}footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:45px 5%}footer img{width:200px;height:auto}footer p,footer a{font-size:12px;line-height:1.7}.draft-note{font-size:11px;background:var(--paper);padding:17px 5%;color:var(--muted)}dialog{border:none;padding:16px;background:var(--ink);color:white;max-width:min(95vw,1100px);max-height:95vh}dialog::backdrop{background:#000c}dialog img{max-height:75vh;object-fit:contain;margin:auto}dialog p{padding:12px 0 0;font-size:13px}.close{display:block;margin:0 0 12px auto;background:none;color:white;border:1px solid #777;padding:8px 14px}
@media(min-width:1600px){body{max-width:1800px;margin:auto}}@media(max-width:900px){header{padding:20px 5%}.logo{width:190px}nav{gap:18px}.hero-copy{padding:40px 9%}h1{font-size:55px}.hero{grid-template-columns:1fr 1fr}.hero-image{min-height:600px}.hero-copy .button{padding:17px;gap:10px}.region{flex-direction:column;align-items:flex-start;gap:8px}.services{gap:22px}.services h3{font-size:27px}.photo img{height:280px}.section{padding:65px 5%}.section-heading>p{max-width:250px}.office>img{height:400px}.hero-image figcaption b{display:none}}
@media(max-width:760px){html{scroll-padding-top:20px}.preview{font-size:8px}.preview span{max-width:190px;text-align:right;line-height:1.5}header{flex-wrap:wrap}.logo{width:200px}.menu{display:block;border:1px solid var(--line);padding:9px 12px;background:white;font-size:12px}nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}nav.open{display:flex}nav>a{padding:15px 0}.hero{grid-template-columns:1fr}.hero-copy{padding:35px 6% 40px}.hero .eyebrow{margin-bottom:18px}h1{font-size:58px;margin:18px 0}.intro{font-size:15px;max-width:100%;margin:22px 0}.hero-image{min-height:340px;height:340px}.hero-image>img{object-position:center 59%}.hero-image figcaption{left:22px}.region p{font-size:12px}.region i{margin:0 6px}.section{padding:55px 6%}.section-heading{display:block;margin-bottom:30px}.section-heading>p{max-width:none;margin-top:22px}.services{grid-template-columns:1fr;gap:35px}.number{margin-bottom:20px}.services article>p:not(.subtitle){min-height:0;max-width:none}.services h3{font-size:32px}.gallery{grid-template-columns:1fr;gap:35px}.photo img{height:270px}.audience-layout{grid-template-columns:1fr;gap:25px;margin-top:30px}#audience-panel{padding:25px}.office{grid-template-columns:1fr;gap:35px}.office>img{height:300px}.faq{grid-template-columns:1fr;gap:20px}.faq summary{font-size:14px}.contact{display:block;padding:50px 6%}.contact-action{margin-top:35px}footer{flex-wrap:wrap;padding:35px 6%}footer img{width:180px}footer p{width:100%}.draft-note{line-height:1.6}.eyebrow{font-size:9px}h2{font-size:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.legal{max-width:1100px;margin:auto;min-height:65vh}.legal h1{color:var(--ink);margin-top:15px}.legal h2{font-size:23px;letter-spacing:-.025em;margin-bottom:18px}.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin:40px 0}.legal a{text-decoration:underline;text-underline-offset:4px}.review-note{background:var(--paper);border-left:4px solid var(--accent);padding:22px;font-size:13px;line-height:1.6;margin-top:30px}.review-note p{margin-top:6px}.source-note{margin-top:40px;font-size:12px;color:var(--muted)}@media(max-width:650px){.legal-grid{grid-template-columns:1fr}.legal h1{font-size:49px}}

/* WordPress integration */
body.admin-bar{margin-top:0}.legal .entry-content>*+*{margin-top:1.2em}.legal .entry-content h2{margin-top:1.6em}.legal .entry-content ul,.legal .entry-content ol{line-height:1.7;padding-left:1.4em}.legal .entry-content img{height:auto}.legal .entry-content a{text-decoration:underline}.legal .entry-content .wp-block-image{margin:1.5em 0}.legal .entry-content{overflow-wrap:anywhere}.pagination{display:flex;gap:1rem;padding-top:2rem}

/* Bildausschnitte der aktuellen Projektfotos */
.hero-image>img{object-position:50% 50%}

.office>img{object-position:50% 35%}

/* Vollständige, gleichmäßig große Vorschauen im Einblick-Bereich */
.gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto;align-items:start}
.gallery .photo{min-width:0}
.gallery .photo img{width:100%;height:clamp(300px,38vw,460px);object-fit:contain;object-position:center}
@media(max-width:760px){.gallery{grid-template-columns:1fr}}

/* Sprache und Rechtstexte */
header{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;column-gap:24px;row-gap:10px}
header>a:first-child{grid-column:1;grid-row:1 / 3}header>nav{grid-column:2 / 4;grid-row:2;justify-self:end}
.language-switch{grid-column:2 / 4;grid-row:1;justify-self:end;display:flex;gap:12px;flex-wrap:wrap;font-size:11px;line-height:1.5}
.language-switch a{display:inline-flex;align-items:center;gap:5px;padding:3px 0;border-bottom:2px solid transparent}
.language-switch a[aria-current=page]{border-color:var(--ink);font-weight:700}
.legal .legal-copy h2{margin-top:28px;margin-bottom:12px}.legal .legal-copy p,.legal .legal-copy ul{margin-bottom:15px;line-height:1.7}.legal .legal-copy li{margin-bottom:6px}
@media(max-width:760px){header{grid-template-columns:1fr auto;gap:12px}header>a:first-child{grid-row:2;grid-column:1}.language-switch{grid-row:1;grid-column:1 / 3;gap:14px}header>.menu{grid-row:2;grid-column:2}header>nav{grid-row:3;grid-column:1 / 3;justify-self:stretch}}

html[lang="en"] .hero h1,html[lang="fr"] .hero h1,html[lang="pl"] .hero h1{font-size:clamp(42px,4.7vw,74px)}
@media(max-width:760px){html[lang="en"] .hero h1,html[lang="fr"] .hero h1,html[lang="pl"] .hero h1{font-size:46px}}

header>.text-link{grid-column:2 / 4;grid-row:2;justify-self:end}.legal h1{font-size:clamp(28px,5.5vw,64px);overflow-wrap:anywhere}
@media(max-width:760px){header>.text-link{grid-column:1 / 3;grid-row:3;justify-self:start}}

/* Cookie-Hinweis mit freiwilliger Speicherung der Bestätigung */
.cookie-notice{position:fixed;inset:auto 20px 20px;z-index:10000;max-width:1020px;margin-inline:auto;display:flex;gap:28px;align-items:center;padding:22px 26px;background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 5px 35px #0003}
.cookie-notice[hidden]{display:none}.cookie-copy{flex:1}.cookie-notice h2{font-size:19px;letter-spacing:-.02em;line-height:1.3;margin:0 0 9px}.cookie-notice p{font-size:13px;line-height:1.6}.cookie-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px;font-size:12px}.cookie-links a{text-decoration:underline;text-underline-offset:3px}
.cookie-actions{display:flex;flex-direction:column;gap:10px;min-width:180px}.cookie-actions button{padding:12px 16px;border:1px solid var(--ink);background:white;font-size:12px;line-height:1.4}.cookie-actions .cookie-remember{background:var(--accent)}.cookie-reopen{border:0;background:none;padding:0;text-align:left;font-size:12px;line-height:1.7;text-decoration:underline;text-underline-offset:3px}.cookie-actions button:focus-visible,.cookie-reopen:focus-visible{outline:3px solid #8c8b15;outline-offset:3px}
@media(max-width:760px){.cookie-notice{inset:auto 10px 10px;display:block;padding:18px;max-height:75vh;overflow:auto}.cookie-actions{flex-direction:row;flex-wrap:wrap;margin-top:16px}.cookie-actions button{flex:1;min-width:120px}.language-switch{gap:10px}}

footer{flex-wrap:wrap}

/* Service detail pages keep the established typography and page widths. */
.service-detail{max-width:1100px;margin:auto}.service-detail h1{font-size:clamp(38px,5vw,65px);max-width:950px}.service-detail .service-intro{font-size:19px;color:var(--muted);max-width:850px;margin:25px 0 40px}.service-detail section{margin:35px 0}.service-detail h2{font-size:28px;margin-bottom:16px}.service-detail p,.service-detail li{font-size:16px;line-height:1.7}.service-detail ul{padding-left:24px}.service-detail .breadcrumbs{font-size:13px;margin-bottom:25px}.service-detail a:not(.button){text-decoration:underline;text-underline-offset:3px}.service-detail .service-contact{background:var(--paper);padding:30px}.service-detail .service-contact .button{margin-top:20px}.service-detail .related-services{display:flex;gap:18px;flex-wrap:wrap}.service-more{display:inline-block;margin-top:20px;border-bottom:1px solid;padding-bottom:4px;font-size:14px}
