/* ========================================================================== 
   TSCHACHER — Startseite 2026
   Neue Positionierung: digitale Betreuung für Unternehmen.
   Ergänzt das bestehende Designsystem, ohne Navigation/Panel neu zu bauen.
   ========================================================================== */

:root {
  --home-black: #050505;
  --home-white: #ffffff;
  --home-paper: #f4f4ef;
  --home-green: #75ff4a;
  --home-green-dark: #17691e;
  --home-line: rgba(0, 0, 0, .14);
  --home-line-light: rgba(255, 255, 255, .18);
  --home-wide: 1440px;
}

.home-v2 {
  background: var(--home-white);
}

.home-v2 .site-main {
  overflow: clip;
}

/* Kein zusätzlicher Markenname im Hero; die Navigation bleibt bestehen. */
.home-v2 .site-brand {
  display: none;
}

.home-v2 .primary-nav {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.section-shell,
.new-hero__inner,
.final-cta__inner {
  width: min(calc(100% - (2 * var(--page-pad))), var(--home-wide));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--home-green);
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--home-green-dark);
}

.lead {
  max-width: 770px;
  margin-top: 1.6rem;
  font-size: clamp(1.12rem, 1.3vw, 1.45rem);
  line-height: 1.58;
}

.lead--light {
  color: rgba(255,255,255,.76);
}

.section-heading {
  max-width: 1040px;
}

.section-heading h2,
.proof-copy h2,
.bridge-question h2,
.region-title h2,
.final-cta h2 {
  text-wrap: balance;
}

/* Hero ------------------------------------------------------------------- */
.new-hero {
  position: relative;
  min-height: 94svh;
  /* Das Porträt soll unten direkt an der grünen Trennlinie enden.
     Deshalb kein zusätzlicher Schwarzraum unter dem Hero-Inhalt. */
  padding: clamp(7.5rem, 13vh, 10rem) 0 0;
  overflow: hidden;
  background: var(--home-black);
  color: var(--home-white);
}

.new-hero__inner {
  min-height: calc(94svh - clamp(7.5rem, 13vh, 10rem));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}

.new-hero__copy {
  position: relative;
  z-index: 2;
  padding-block: 2rem;
}

.new-hero h1 {
  max-width: 900px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 6.8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .91;
  text-wrap: balance;
}

.new-hero__intro {
  max-width: 690px;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  color: rgba(255,255,255,.84);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  line-height: 1.55;
}

.new-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  margin-top: 2.25rem;
}

.home-v2 main .button--accent {
  min-height: 3.25rem;
  margin-top: 0;
  border-color: var(--home-green);
  background: var(--home-green);
  color: #050505;
  box-shadow: none;
}

.home-v2 main .button--accent:hover {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.home-v2 main .button--accent:focus-visible {
  outline-color: #fff;
}

.text-link {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.new-hero__portrait {
  position: relative;
  align-self: end;
  margin: 0;
  isolation: isolate;
}

.new-hero__portrait::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: 7%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(117,255,74,.25);
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
}

.new-hero__portrait img {
  width: min(100%, 660px);
  margin-left: auto;
  filter: saturate(.94) contrast(1.02);
  transform-origin: 60% 100%;
  animation: heroPortraitIn 1.05s var(--ease-out) .1s both;
}

.new-hero__rule {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--home-green);
}

@keyframes heroPortraitIn {
  from { opacity: 0; transform: translateY(2rem) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Belege ----------------------------------------------------------------- */
.proof-section {
  padding: clamp(6rem, 11vw, 11rem) 0;
  background: var(--home-white);
  color: #111;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.proof-copy h2 {
  max-width: 950px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .95;
}

.reference-block {
  padding-top: .35rem;
  border-top: 3px solid var(--home-green);
}

.reference-block h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  line-height: 1.04;
}

.reference-block p {
  margin-top: 1.4rem;
  color: #3e3e3e;
  font-size: 1rem;
  line-height: 1.7;
}

/* Leistungen ------------------------------------------------------------- */
.services-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: var(--home-black);
  color: var(--home-white);
}

.services-section h2 {
  max-width: 1000px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.8vw, 6.35rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .94;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(4rem, 7vw, 7rem);
  border: 1px solid var(--home-line-light);
  background: var(--home-line-light);
}

.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.2vw, 3.25rem);
  background: #090909;
  transition: background-color .25s ease, color .25s ease, transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}


.service-card h3 {
  margin-top: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: .96;
}

.service-card p {
  max-width: 34rem;
  margin-top: 1.3rem;
  color: rgba(255,255,255,.74);
  font-size: 1.02rem;
  line-height: 1.58;
}



.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.3rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.service-card__link:hover {
  text-decoration: underline;
  text-underline-offset: .28em;
}

/* Brückenfrage ----------------------------------------------------------- */
.bridge-section {
  padding: clamp(6rem, 11vw, 11rem) 0;
  background: var(--home-paper);
  color: #111;
}

.bridge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
}

.bridge-question h2 {
  max-width: 980px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.bridge-answer {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.1vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.bridge-answer span {
  display: inline;
  padding: .05em .18em .08em;
  background: var(--home-green);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.bridge-copy {
  border-left: 1px solid var(--home-line);
  padding-left: clamp(1.5rem, 3vw, 3rem);
  color: #303030;
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.62;
}

/* Zusammenarbeitsmodelle ------------------------------------------------ */
.models-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: #fff;
  color: #111;
}

.models-section h2,
.work-section h2 {
  max-width: 1000px;
  font-size: clamp(3rem, 5.6vw, 6.2rem);
  line-height: .94;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: clamp(3.5rem, 6vw, 6rem);
}

.model-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 4vw, 4.25rem);
  border-radius: var(--radius-card);
  transition: background-color .25s ease, color .25s ease, transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}

.model-card--dark {
  background: #080808;
  color: #fff;
}

.model-card--accent {
  background: var(--home-green);
  color: #050505;
}

.model-card__label {
  margin-bottom: auto;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.model-card h3 {
  max-width: 680px;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  line-height: .92;
}

.model-card p:last-child {
  max-width: 650px;
  margin-top: 1.5rem;
  font-size: 1.04rem;
  line-height: 1.6;
}

.model-card--dark p:last-child {
  color: rgba(255,255,255,.76);
}

/* Projekte --------------------------------------------------------------- */
.work-section {
  padding: clamp(6rem, 11vw, 11rem) 0;
  background: var(--home-paper);
  color: #111;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-top: clamp(4rem, 7vw, 7rem);
}

.project-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-card);
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}

#arbeit .project-card:nth-child(3):last-child {
  grid-column: 4 / span 6;
}

.project-card__media {
  margin: 0;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 16 / 9;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease-out), filter .75s var(--ease-out);
}

.project-card:focus-visible .project-card__media img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.project-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.5rem, 2.8vw, 2.6rem);
}

.project-card__meta {
  margin: 0 0 1.2rem;
  color: #5b5b5b;
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: .96;
}

.project-card__copy > p:not(.project-card__meta) {
  max-width: 620px;
  margin-top: 1.2rem;
  color: #444;
  line-height: 1.55;
}

.project-card__link {
  margin-top: auto;
  padding-top: 2.25rem;
  color: #111;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 800;
}

.project-card--text {
  min-height: 560px;
  background: #090909;
  color: #fff;
}

.project-card--text .project-card__copy > p,
.project-card--text .project-card__meta,
.project-card--text .project-card__link {
  color: rgba(255,255,255,.74);
}

.project-card__type {
  min-height: 240px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: var(--home-green);
  font-family: var(--font-sans);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -.08em;
}

/* Stimmen ---------------------------------------------------------------- */
.reviews-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: #070707;
  color: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.reviews-section h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 400;
  line-height: .94;
}

.review-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--home-line-light);
}

.review-card {
  margin: 0;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-bottom: 1px solid var(--home-line-light);
}

.review-card blockquote {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  line-height: 1.35;
}

.review-card figcaption {
  margin-top: 1.8rem;
  font-family: var(--font-sans);
  font-size: .86rem;
  font-weight: 800;
}

.review-card figcaption span {
  display: block;
  margin-top: .25rem;
  color: rgba(255,255,255,.56);
  font-weight: 650;
}

/* Region ----------------------------------------------------------------- */
.region-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: #fff;
  color: #111;
}

.region-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.region-title h2 {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: .94;
}

.region-copy {
  padding-top: .25rem;
  border-top: 3px solid var(--home-green);
  color: #333;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.6;
}

/* Finale CTA ------------------------------------------------------------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 12rem) 0;
  background: var(--home-black);
  color: #fff;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 560px);
  height: 3px;
  background: var(--home-green);
}

.final-cta__inner {
  max-width: 1120px;
}

.final-cta h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(3.3rem, 6.7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.final-cta p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 2rem;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  line-height: 1.58;
}

.button--large {
  min-height: 3.6rem !important;
  padding-inline: 1.7rem !important;
  margin-top: 2.4rem !important;
}

/* Scroll-Reveal etwas ruhiger/staffelt auf Karten. */
.service-card.reveal:nth-child(2),
.model-card.reveal:nth-child(2),
.project-card.reveal:nth-child(2) {
  transition-delay: .08s;
}

.service-card.reveal:nth-child(3),
.project-card.reveal:nth-child(3) {
  transition-delay: .16s;
}

/* Tablet ----------------------------------------------------------------- */

/* Desktop-Rollover für Karten. Grün wird als Interaktionsfläche genutzt,
   nicht als dauerhafte Überschriftenfarbe. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .service-card:hover {
    z-index: 2;
    transform: translateY(-8px);
    background: var(--home-green);
    color: #050505;
    box-shadow: 0 20px 48px rgba(0,0,0,.22);
  }

  .service-card:hover h3,
  .service-card:hover p,
  .service-card:hover .service-card__link {
    color: #050505;
  }

  .model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,.16);
  }

  .model-card--dark:hover {
    background: var(--home-green);
    color: #050505;
  }

  .model-card--dark:hover p:last-child {
    color: rgba(5,5,5,.78);
  }

  .model-card--accent:hover {
    background: #080808;
    color: #fff;
  }

  .model-card--accent:hover p:last-child {
    color: rgba(255,255,255,.78);
  }

  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,.16);
  }

  .project-card:hover .project-card__media img {
    transform: scale(1.025);
    filter: saturate(1.04);
  }
}

@media (max-width: 1100px) {
  .new-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 2.5rem;
  }

  .proof-grid,
  .bridge-grid,
  .reviews-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .reference-block,
  .bridge-copy,
  .region-copy {
    max-width: 760px;
  }

  .bridge-copy {
    border-top: 1px solid var(--home-line);
    border-left: 0;
    padding-top: 2rem;
    padding-left: 0;
  }

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

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

  .project-card:nth-child(3) {
    grid-column: span 6;
  }
}

/* Mobile ----------------------------------------------------------------- */
@media (max-width: 760px) {
  .home-v2 {
    padding-bottom: calc(var(--nav-height) + 2.4rem + env(safe-area-inset-bottom));
  }

  .new-hero {
    min-height: auto;
    padding: 7rem 0 0;
  }

  .new-hero__inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }

  .new-hero__copy {
    padding: 0;
  }

  .new-hero h1 {
    max-width: 13ch;
    font-size: clamp(3.05rem, 15vw, 5rem);
    line-height: .91;
  }

  .new-hero__intro {
    max-width: 34rem;
    font-size: 1.02rem;
  }

  .new-hero__actions {
    align-items: flex-start;
  }

  .new-hero__portrait {
    width: min(100%, 520px);
    align-self: center;
    margin-top: .5rem;
  }

  .new-hero__portrait::after {
    display: none;
  }

  .new-hero__portrait img {
    width: 100%;
    margin-inline: auto;
  }

  .proof-section,
  .services-section,
  .bridge-section,
  .models-section,
  .work-section,
  .reviews-section,
  .region-section,
  .final-cta {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .proof-copy h2,
  .services-section h2,
  .bridge-question h2,
  .models-section h2,
  .work-section h2,
  .reviews-section h2,
  .region-title h2,
  .final-cta h2 {
    font-size: clamp(2.65rem, 12vw, 4.5rem);
  }

  .proof-grid,
  .bridge-grid,
  .reviews-grid,
  .region-grid {
    gap: 3.2rem;
  }

  .service-card {
    min-height: 250px;
    padding: 1.7rem;
  }

  .service-card h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .model-card {
    min-height: 360px;
    padding: 1.8rem;
  }

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

  .project-card,
  .project-card:nth-child(3) {
    grid-column: auto;
  }

  .project-card--text {
    min-height: 500px;
  }

  .review-card blockquote {
    font-size: 1.25rem;
  }

}

@media (max-width: 420px) {
  .new-hero h1 {
    font-size: clamp(2.75rem, 14.5vw, 4rem);
  }

  .new-hero__actions {
    display: grid;
    justify-items: start;
  }

  .home-v2 main .button--accent,
  .text-link {
    min-height: 3.2rem;
  }
}


/* Desktop: Das Porträt sitzt optisch direkt auf der unteren Hero-Kante.
   Die Verschiebung bleibt bewusst auf Maus-/Desktop-Layouts beschränkt. */
@media (min-width: 821px) {
  .new-hero__portrait {
    transform: translateY(clamp(2.25rem, 3.6vw, 4rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .new-hero__portrait img {
    animation: none;
  }

  .service-card,
  .model-card,
  .project-card,
  .project-card__media img {
    transition: none;
  }

  .service-card:hover,
  .model-card:hover,
  .project-card:hover {
    transform: none;
  }
}
