*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#0b2348;font-family:Arial,sans-serif}a{text-decoration:none;color:inherit}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}header{height:68px;display:flex;align-items:center;background:#fff}.head{display:flex;align-items:center;gap:22px}.brand{margin-right:auto}.brand strong{font:700 29px Georgia;color:#111d39}.brand strong span{color:#0873d8}.brand em{display:block;font:italic 14px Georgia;color:#222}.nav{display:flex;gap:24px;font-size:13px}.langs{font-size:12px;white-space:nowrap}.langs b{color:#0873d8}.mail{background:#0873d8;color:#fff;padding:12px 18px;border-radius:24px;font-weight:bold;font-size:13px}.hero{height:315px;background:url(hero.jpg) center/cover no-repeat}.about{padding:26px 0 28px}.aboutgrid{display:grid;grid-template-columns:minmax(0,1fr) 500px;gap:52px;align-items:center}.eyebrow{font-size:13px;color:#0873d8;font-weight:bold}.about h2,.gallery h2{font:700 42px Georgia;margin:7px 0 10px}.about p{font-size:16px;line-height:1.52;color:#39445a}.quote{font:italic 23px Georgia;color:#0873d8;margin:20px}.aboutphoto{position:relative}.aboutphoto img{width:100%;height:445px;object-fit:cover}.qbox{position:absolute;right:-38px;bottom:8px;background:#172033dd;color:#fff;padding:18px 26px;width:270px;font:16px Georgia;line-height:1.45}.values{background:#f2f8fe;padding:22px 0}.values .wrap{display:grid;grid-template-columns:repeat(4,1fr);text-align:center}.value{padding:0 16px;border-right:1px solid #d8e5f2}.value:last-child{border:0}.icon{width:52px;height:52px;border-radius:50%;background:#d9ebfb;margin:auto;display:grid;place-items:center;color:#0873d8;font-size:25px}.value h3{font:700 19px Georgia;margin:7px 0}.value p{font-size:14px;color:#39445a;margin:0}.gallery{padding:30px 0 34px}.ghead{display:flex;justify-content:space-between;align-items:center}.ghead a{color:#0873d8;font-size:13px}.grid,.allgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.grid img{width:100%;height:175px;object-fit:cover}.cta{height:145px;background:url(footer.jpg) center/cover no-repeat}.foot{padding:25px 0;font-size:11px;color:#637086}.foot .wrap{display:flex;justify-content:space-between}.allgallery{padding:35px 0}.allgrid img{width:100%;height:180px;object-fit:cover}@media(max-width:900px){.nav{display:none}.head{gap:10px}.brand strong{font-size:21px}.brand em{font-size:10px}.mail{padding:10px}.hero{height:260px}.aboutgrid{grid-template-columns:1fr}.aboutphoto img{height:auto}.qbox{right:0}.values .wrap,.grid,.allgrid{grid-template-columns:1fr 1fr}.foot .wrap{flex-direction:column;gap:10px}.wrap{width:calc(100% - 24px)}}
/* Desktop proportions matched to the approved visual */
@media (min-width:901px){
  body{max-width:1440px;margin:0 auto;box-shadow:0 0 28px rgba(8,35,72,.08);background:#fff}
  html{background:#f4f6f8}
  .wrap{width:calc(100% - 112px);max-width:none}
  .hero{height:auto;aspect-ratio:1024/370;background-size:100% 100%;background-position:center}
  .about{padding:18px 0 22px}
  .aboutgrid{grid-template-columns:minmax(0,1fr) 48%;gap:54px}
  .about h2,.gallery h2{font-size:40px}
  .about p{font-size:15px;line-height:1.45}
  .aboutphoto img{height:412px}
  .values{padding:18px 0}
  .gallery{padding:24px 0 26px}
  .grid img{height:154px}
  .cta{height:auto;aspect-ratio:1024/185;background-size:100% 100%;background-position:center}
}
/* Final desktop scale correction: compact proportions on normal PC screens */
@media (min-width:901px){
  body{max-width:1280px}
  .wrap{width:calc(100% - 96px);max-width:1180px}
  header{height:64px}
  .hero{height:350px;aspect-ratio:auto;background-size:cover;background-position:center}
  .about{padding:18px 0 20px}
  .aboutgrid{grid-template-columns:minmax(0,1fr) 47%;gap:46px}
  .about h2,.gallery h2{font-size:36px}
  .about p{font-size:14px;line-height:1.42}
  .quote{font-size:21px;margin:16px}
  .aboutphoto img{height:390px;object-fit:cover;object-position:50% 28%}
  .qbox{right:-20px;width:250px;padding:15px 20px;font-size:15px}
  .values{padding:16px 0}
  .icon{width:48px;height:48px;font-size:22px}
  .value h3{font-size:17px}
  .value p{font-size:13px}
  .gallery{padding:22px 0 24px}
  .grid img{height:145px}
  .cta{height:150px;aspect-ratio:auto;background-size:cover;background-position:center}
  .foot{padding:20px 0}
}
/* Hero correction: preserve the complete original composition on desktop */
@media (min-width:901px){
  .hero{
    width:min(100%,1100px);
    height:auto;
    aspect-ratio:1024/370;
    margin:0 auto;
    background-size:100% 100%;
    background-position:center;
    background-repeat:no-repeat;
  }
}
/* 2026-09-18 final visual harmonisation — desktop only */
@media (min-width:901px){
  /* Header: bring both groups slightly toward the centre without changing hero */
  .head{padding-left:34px;padding-right:34px}
  .nav{gap:21px}

  /* Middle content: slightly more compact and visually closer to hero scale */
  .about{padding:16px 0 18px}
  .aboutgrid{grid-template-columns:minmax(0,1fr) 45%;gap:42px;align-items:center}
  .about h2{font-size:34px;margin:5px 0 9px}
  .about p{font-size:13.5px;line-height:1.42}
  .quote{font-size:20px;margin:14px 16px}
  .aboutphoto img{height:350px;object-fit:cover;object-position:50% 22%}
  .qbox{right:-12px;bottom:8px;width:238px;padding:14px 18px;font-size:14px}

  .values{padding:14px 0}
  .icon{width:44px;height:44px;font-size:21px}
  .value h3{font-size:16px;margin:6px 0}
  .value p{font-size:12.5px}

  .gallery{padding:20px 0 22px}
  .gallery h2{font-size:34px}
  .grid img{height:136px;object-fit:cover;object-position:center 30%}

  /* Bottom panorama: reduce height, preserve the whole composition */
  .cta{height:auto;aspect-ratio:1024/145;background-size:100% 100%;background-position:center;background-repeat:no-repeat}
  .foot{padding:17px 0}
}

/* EN/DE translation overlays for text baked into hero/footer artwork. Original imagery remains untouched. */
.lang-en .hero,.lang-de .hero,.lang-en .cta,.lang-de .cta{position:relative;overflow:hidden}
.lang-en .hero:before,.lang-de .hero:before{content:"";position:absolute;left:4.5%;top:18%;width:39%;height:76%;background:linear-gradient(90deg,rgba(8,24,40,.94) 0%,rgba(8,24,40,.88) 72%,rgba(8,24,40,0) 100%);border-radius:2px}
.lang-en .hero:after,.lang-de .hero:after{position:absolute;left:6.2%;top:22%;white-space:pre-line;color:white;font-family:Georgia,serif;font-weight:700;font-size:clamp(22px,3.2vw,48px);line-height:1.08;text-shadow:0 2px 4px #000;z-index:2}
.lang-en .hero:after{content:"Martin Maruna\A With people. For people.\A\A Helping others makes sense.\A Because a strong community begins with people.\A\A   More about me     •     How I help"}
.lang-de .hero:after{content:"Martin Maruna\A Mit Menschen. Für Menschen.\A\A Anderen zu helfen hat Sinn.\A Denn eine starke Gemeinschaft beginnt beim Menschen.\A\A   Mehr über mich     •     Wie ich helfe"}
.lang-en .cta:before,.lang-de .cta:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,24,40,.88) 0%,rgba(8,24,40,.72) 58%,rgba(8,24,40,.12) 80%)}
.lang-en .cta:after,.lang-de .cta:after{position:absolute;left:6%;top:24%;white-space:pre-line;color:#fff;font-family:Georgia,serif;font-weight:700;font-size:clamp(18px,2.6vw,36px);line-height:1.35;text-shadow:0 2px 4px #000}
.lang-en .cta:after{content:"Together we can do more.\A Have an idea, need help or just want to talk? Contact me."}
.lang-de .cta:after{content:"Gemeinsam können wir mehr erreichen.\A Haben Sie eine Idee, brauchen Sie Hilfe oder möchten Sie reden? Schreiben Sie mir."}
@media(max-width:900px){.lang-en .hero:after,.lang-de .hero:after{font-size:clamp(15px,4vw,26px)}.lang-en .hero:before,.lang-de .hero:before{width:52%}.lang-en .cta:after,.lang-de .cta:after{font-size:clamp(13px,3.5vw,21px)}}

/* Portrait gallery correction — keep faces visible for the two vertical photos. */
.allgrid img:nth-child(11),
.allgrid img:nth-child(15){object-position:center top}

/* Clickable areas over the two buttons embedded in the hero artwork. */
.hero{position:relative}
.hero-hotspot{position:absolute;z-index:8;display:block;height:14%;top:73%;border-radius:999px;cursor:pointer}
.hero-about{left:6.1%;width:15.3%}
.hero-help{left:22.1%;width:18.4%}
@media(max-width:900px){.hero-hotspot{top:73%;height:15%}.hero-about{left:6%;width:20%}.hero-help{left:27%;width:24%}}
