/* Startseite – Ergänzungen zum gemeinsamen NormHow-Design */

/*
 * Kopfzeile: dieselben festen Anker wie auf den veröffentlichten,
 * optimierten NormHow-Seiten. Logo und Navigation können dadurch
 * weder durch den Startseiteninhalt noch durch Schriftmetriken wandern.
 */
.home-page .main-nav{
  width:min(calc(100% - 80px),var(--max));
  min-height:82px;
  margin-inline:auto;
}

.home-page .brand{
  flex:0 0 230px;
  width:230px;
}

.home-page .brand img{
  display:block;
  width:100%;
  height:auto;
}

.home-page .navlinks{
  margin-left:auto;
}

.anchor-target{
  position:absolute;
  top:0;
}

.home-hero{
  min-height:800px;
  background:
    radial-gradient(circle at 78% 36%,rgba(95,168,160,.14),transparent 28%),
    radial-gradient(circle at 36% 8%,rgba(198,154,66,.09),transparent 31%),
    var(--dark);
}

.home-hero .hero-grid{
  grid-template-columns:1.08fr .92fr;
  min-height:740px;
  gap:78px;
}

.home-hero h1{
  max-width:790px;
  font-size:clamp(2.7rem,5.35vw,4.9rem);
}

.home-hero .lead{
  max-width:750px;
}

.hero-facts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  max-width:760px;
  margin:50px 0 0;
  padding:0;
  border-top:1px solid var(--line);
  list-style:none;
}

.hero-facts li{
  min-height:76px;
  padding:18px 18px 0 0;
  border-right:1px solid var(--line);
}

.hero-facts li+li{
  padding-left:18px;
}

.hero-facts li:last-child{
  border-right:0;
}

.hero-facts strong,
.hero-facts span{
  display:block;
}

.hero-facts strong{
  color:var(--warm);
  font:600 1.02rem Sora,Inter,sans-serif;
}

.hero-facts span{
  margin-top:4px;
  color:#777b76;
  font-size:11px;
}

.hero-photo{
  position:relative;
  margin:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-top:5px solid var(--gold);
  border-radius:30px 30px 18px 18px;
  background:#1c1e21;
  box-shadow:0 35px 80px rgba(0,0,0,.3);
}

.hero-photo-media{
  height:455px;
  overflow:hidden;
}

.hero-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.88) contrast(1.02);
  transition:transform .7s ease,filter .4s ease;
}

.hero-photo:hover img{
  transform:scale(1.025);
  filter:saturate(.98) contrast(1.02);
}

.hero-photo figcaption{
  display:grid;
  gap:6px;
  min-height:95px;
  padding:20px 25px 22px;
  border-top:1px solid var(--line);
}

.hero-photo figcaption span{
  color:var(--gold);
  font-size:11px;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.hero-photo figcaption strong{
  max-width:470px;
  color:#c6c9c4;
  font:500 13px Sora,Inter,sans-serif;
}

.need-section{
  background:
    radial-gradient(circle at 12% 90%,rgba(198,154,66,.08),transparent 27%),
    var(--warm);
}

.need-finder{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:18px;
  align-items:stretch;
}

.need-tabs{
  display:grid;
  gap:8px;
}

.need-tabs button{
  display:grid;
  /* 24px statt 44px: Die Nummern 01–05 wurden in Runde 1 durch goldene
     Punkte ersetzt, die Spalte braucht seither weniger Platz. minmax(0,…)
     verhindert, dass lange Woerter die Textspalte aufschieben. */
  grid-template-columns:24px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-height:78px;
  padding:15px 17px;
  border:1px solid #d3d0c8;
  border-radius:13px;
  background:rgba(255,255,255,.32);
  color:var(--ink);
  text-align:left;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,transform .15s ease;
}

.need-tabs button:hover{
  border-color:rgba(157,114,42,.48);
}

.need-tabs button:active{
  transform:scale(.988);
}

.need-tabs button[aria-selected=true]{
  border-color:var(--gold-dark);
  background:rgba(198,154,66,.09);
  box-shadow:inset 4px 0 0 var(--gold);
}

.need-tabs b{
  color:#a87b2e;
  font:600 1.08rem Sora,Inter,sans-serif;
}

.need-tabs strong,
.need-tabs small{
  display:block;
}

.need-tabs strong{
  font-size:12px;
}

.need-tabs small{
  margin-top:3px;
  color:#777b76;
  font-size:11px;
}

.need-result{
  display:grid;
  grid-template-rows:auto auto minmax(78px,auto) minmax(82px,auto) minmax(96px,auto) auto;
  min-height:500px;
  padding:42px;
  border:1px solid var(--line);
  border-top:5px solid var(--gold);
  border-radius:28px 28px 17px 17px;
  background:
    radial-gradient(circle at 100% 0,rgba(95,168,160,.12),transparent 35%),
    #1c1e21;
  color:var(--warm);
  box-shadow:0 24px 55px rgba(27,30,30,.12);
}

.need-result .result-meta{
  margin-bottom:0;
}

.need-result>small{
  align-self:end;
  color:var(--gold);
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.need-result h3{
  align-self:start;
  margin:10px 0 0;
  font-size:clamp(1.65rem,2.6vw,2.25rem);
}

.need-result>p{
  align-self:start;
  max-width:700px;
  margin:0;
  color:#a1a49f;
}

.need-result ul{
  align-self:start;
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.need-result li{
  padding-top:8px;
  border-top:1px solid var(--line);
  color:#c0c3be;
  font-size:11px;
}

.need-result li:before{
  content:"→";
  margin-right:10px;
  color:var(--teal);
}

.need-result .button{
  align-self:end;
  justify-self:start;
}

.need-result.is-swapping{
  animation:need-swap .4s ease both;
}

.services-section{
  background:
    radial-gradient(circle at 82% 26%,rgba(95,168,160,.08),transparent 30%),
    var(--dark);
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}

.service-card{
  grid-column:span 2;
  display:grid;
  grid-template-rows:42px minmax(132px,auto) minmax(110px,1fr) 44px;
  min-height:430px;
  padding:28px;
  border:1px solid var(--line);
  border-top:5px solid var(--gold);
  border-radius:28px 28px 17px 17px;
  background:#1c1e21;
  transition:opacity .65s ease var(--delay,0ms),transform .65s ease var(--delay,0ms),border-color .25s ease,box-shadow .25s ease;
}

.service-card.service-wide{
  grid-column:span 3;
  min-height:385px;
  grid-template-rows:42px minmax(105px,auto) minmax(95px,1fr) 44px;
}

.service-card:hover{
  border-color:rgba(198,154,66,.32);
  box-shadow:0 18px 42px rgba(0,0,0,.16);
}

.service-card header{
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:#747873;
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.service-card header span{
  color:var(--gold);
}

.service-card h3{
  align-self:end;
  margin:0;
  font-size:1.4rem;
}

.service-card p{
  align-self:start;
  margin:24px 0 0;
  color:#9da09b;
}

.service-card>a{
  align-self:end;
  display:flex;
  justify-content:space-between;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:#c1c4bf;
  font-size:11px;
  text-decoration:none;
}

.service-card>a span{
  color:var(--gold);
  transition:transform .2s ease;
}

.service-card>a:hover span{
  transform:translateX(4px);
}

.accent-teal{
  border-top-color:var(--teal);
}

.accent-teal header span,
.offer-card.accent-teal>span{
  color:var(--teal);
}

.accent-light{
  border-top-color:var(--warm);
}

.accent-light header span,
.offer-card.accent-light>span{
  color:var(--warm);
}

.social-focus-section{
  background:
    radial-gradient(circle at 88% 18%,rgba(95,168,160,.1),transparent 28%),
    var(--warm);
}

.social-focus-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:80px;
  align-items:center;
}

.social-photo{
  margin:0;
  overflow:hidden;
  border:1px solid #d2cec5;
  border-top:5px solid var(--teal);
  border-radius:30px 30px 18px 18px;
  background:#fff;
  box-shadow:0 25px 60px rgba(27,30,30,.1);
}

.social-photo img{
  display:block;
  width:100%;
  height:510px;
  object-fit:cover;
  object-position:center;
  transition:transform .7s ease;
}

.social-photo:hover img{
  transform:scale(1.02);
}

.social-photo figcaption{
  padding:16px 22px 17px;
  border-top:1px solid #ddd9d1;
  color:#6e726e;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.social-focus-copy>p:not(.eyebrow){
  max-width:650px;
  margin:27px 0 0;
  color:#606462;
  font-size:1.03rem;
}

.social-principles{
  display:grid;
  gap:0;
  margin-top:38px;
  border-top:1px solid #d5d1c8;
}

.social-principles article{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:17px;
  align-items:center;
  min-height:84px;
  padding:16px 0;
  border-bottom:1px solid #d5d1c8;
}

.social-principles article>span{
  color:#4e8e88;
  font:600 1rem Sora,Inter,sans-serif;
}

.social-principles strong,
.social-principles small{
  display:block;
}

.social-principles strong{
  color:var(--ink);
  font:600 12px Sora,Inter,sans-serif;
}

.social-principles small{
  margin-top:4px;
  color:#747874;
  font-size:11px;
}

.process-section{
  overflow:hidden;
  background:
    radial-gradient(circle at 16% 110%,rgba(198,154,66,.09),transparent 31%),
    var(--cream);
}

.method-flow{
  display:grid;
  grid-template-columns:1fr 52px 1fr 52px 1fr;
  gap:12px;
  align-items:center;
}

.method-card{
  display:flex;
  flex-direction:column;
  min-height:350px;
  padding:29px;
  border:1px solid #d5d2ca;
  border-top:5px solid var(--gold);
  border-radius:28px 28px 17px 17px;
  background:rgba(255,255,255,.58);
  color:var(--ink);
  transition:opacity .65s ease var(--delay,0ms),transform .65s ease var(--delay,0ms),box-shadow .25s ease;
}

.method-card:nth-of-type(2){
  border-top-color:var(--teal);
}

.method-card:nth-of-type(3){
  border-top-color:#292c30;
}

.method-card header{
  display:flex;
  justify-content:space-between;
  color:#777b76;
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.method-card header span{
  color:#a87b2e;
}

.method-card h3{
  margin:74px 0 16px;
  font-size:1.3rem;
}

.method-card p{
  margin:0;
  color:#686c69;
}

.method-card>strong{
  margin-top:auto;
  padding-top:17px;
  border-top:1px solid #d8d5ce;
  color:#4f5351;
  font-size:11px;
}

.method-arrow{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid #d1cec6;
  border-radius:50%;
  color:#a87b2e;
  font-style:normal;
}

.offer-section{
  background:
    radial-gradient(circle at 75% 45%,rgba(95,168,160,.09),transparent 31%),
    var(--dark);
}

.offer-intro{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:90px;
  align-items:end;
  margin-bottom:60px;
}

.offer-intro>div:last-child p{
  color:#979a95;
}

.offer-intro .text-link{
  display:inline-block;
  margin-top:12px;
}

.offer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.offer-card{
  display:grid;
  grid-template-rows:34px 28px 100px auto;
  min-height:290px;
  padding:27px;
  border:1px solid var(--line);
  border-top:5px solid var(--gold);
  border-radius:28px 28px 17px 17px;
  background:#1c1e21;
  transition:opacity .65s ease var(--delay,0ms),transform .65s ease var(--delay,0ms),border-color .25s ease;
}

.offer-card:hover{
  border-color:rgba(198,154,66,.32);
}

.offer-card>span{
  color:var(--gold);
  font-size:11px;
}

.offer-card>small{
  color:#747873;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.offer-card h3{
  align-self:center;
  margin:0;
  font-size:1.25rem;
}

.offer-card p{
  margin:0;
  padding-top:15px;
  border-top:1px solid var(--line);
  color:#949792;
  font-size:11px;
}

.final-cta .price-clarity{
  max-width:820px;
  margin:32px auto 0;
  padding-top:22px;
  border-top:1px solid var(--line);
  color:#737772;
  font-size:11px;
}

.page-nav-links a{
  position:relative;
  overflow:hidden;
}

.page-nav-links a:after{
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  bottom:3px;
  height:2px;
  border-radius:2px;
  background:#a87b2e;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}

.page-nav-links a.is-current:after{
  transform:scaleX(1);
}

@keyframes need-swap{
  0%{opacity:.5;transform:translateY(7px)}
  100%{opacity:1;transform:none}
}

@media(max-width:1120px){
  .home-hero .hero-grid{
    grid-template-columns:1fr;
  }

  .hero-photo{
    width:min(100%,760px);
  }

  .social-focus-grid{
    grid-template-columns:1fr;
    gap:55px;
  }

  .social-photo{
    width:min(100%,900px);
  }

  .social-photo img{
    height:560px;
  }

  .service-card,
  .service-card.service-wide{
    grid-column:span 3;
  }

  .service-card{
    min-height:390px;
  }

  .method-flow{
    grid-template-columns:1fr;
  }

  .method-arrow{
    transform:rotate(90deg);
    margin:auto;
  }

  .method-card{
    min-height:310px;
  }

  .offer-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){
  .need-finder,
  .offer-intro{
    grid-template-columns:1fr;
  }

  .offer-intro{
    gap:20px;
  }

  .need-result{
    min-height:520px;
  }

}

@media(max-width:720px){
  .home-hero .hero-grid{
    gap:55px;
  }

  .hero-facts{
    grid-template-columns:1fr;
  }

  .hero-facts li,
  .hero-facts li+li{
    min-height:auto;
    padding:14px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .hero-facts li:last-child{
    border-bottom:0;
  }

  .hero-photo-media{
    height:390px;
  }

  .need-result{
    grid-template-rows:auto auto auto auto auto auto;
    gap:22px;
    min-height:0;
    padding:29px;
  }

  .need-result .result-meta{
    align-items:flex-start;
    flex-direction:column;
  }

  .service-grid{
    grid-template-columns:1fr;
  }

  .service-card,
  .service-card.service-wide{
    grid-column:auto;
    grid-template-rows:42px auto auto 44px;
    min-height:390px;
  }

  .service-card h3{
    margin-top:54px;
  }

  .service-card p{
    margin-bottom:28px;
  }

  .offer-grid{
    grid-template-columns:1fr;
  }

  .offer-card{
    min-height:270px;
  }

  .social-photo img{
    height:430px;
  }

}

@media(max-width:640px){
  .home-page .main-nav{
    width:min(calc(100% - 40px),var(--max));
  }

  .home-page .brand{
    flex-basis:190px;
    width:190px;
  }
}

@media(max-width:480px){
  .home-hero h1{
    font-size:clamp(2.7rem,14vw,4rem);
  }

  .hero-photo-media{
    height:315px;
  }

  .hero-photo figcaption{
    min-height:auto;
    padding:17px 19px 19px;
  }

  .social-photo img{
    height:340px;
  }

  .social-principles article{
    grid-template-columns:35px 1fr;
    gap:12px;
  }

  .need-tabs button{
    grid-template-columns:36px 1fr;
  }

}

@media(prefers-reduced-motion:reduce){
  .need-result.is-swapping{
    animation:none;
  }

  .hero-photo img,
  .social-photo img,
  .service-card,
  .method-card,
  .offer-card{
    transition:none;
  }
}

/* Overflow-Schutz Mobil 2026-07-27: 1fr-Spalten haben min-width:auto und werden
   von langen Komposita ("Organisationsentwicklung") ueber die Containerbreite gedrueckt. */
@media(max-width:720px){
  .service-grid{grid-template-columns:minmax(0,1fr)}
  .service-card>*{min-width:0}
}

/* Regionszeile im Hero (SEO-Fassung) */
.hero-region{
  max-width:700px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

/* ── Uebernommen aus offline-r1.css, Runde 1 (03.08.2026) ───────────────────
   Alle Regeln hier werden ausschliesslich auf der Startseite verwendet.
   (Die Rasterspalte von .need-tabs button steht oben bei der Originalregel,
   damit es nicht zwei widersprechende Deklarationen gibt.) */

.interaction-hint span,
.tile-dot{
  color:#c69a42;
}

.need-tabs .tile-dot,
.service-card header .tile-dot{
  display:inline-grid;
  width:18px;
  height:18px;
  place-items:center;
  font:700 24px/1 Inter,sans-serif;
}

.phone-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
}

/* Aufklappbare HTML-Fassung der fuenf Widget-Empfehlungen. Sorgt dafuer,
   dass die Texte nicht nur in home.js stehen. */
.widget-summary{
  margin-top:22px;
  border:1px solid #d3d0c8;
  border-radius:13px;
  background:rgba(255,255,255,.28);
}

.widget-summary summary{
  padding:16px 18px;
  color:#343735;
  font-weight:700;
  cursor:pointer;
}

.widget-summary__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  padding:1px;
  background:#d8d4ca;
}

.widget-summary__grid article{
  min-width:0;
  padding:18px;
  background:#f0efe9;
}

.widget-summary__grid h3{
  margin:0 0 8px;
  color:#2c333a;
  font-size:1rem;
}

.widget-summary__grid p{
  margin:0;
  color:#5f635f;
  font-size:12px;
  line-height:1.65;
}

@media(max-width:900px){
  .interaction-hint{margin-top:0}
}

@media(max-width:640px){
  .widget-summary__grid{grid-template-columns:minmax(0,1fr)}
}
