/* Hess-Psy index styles — consolidated 2026-09-21.
   Preserves former cascade order: integration.css -> masterprojekt.css -> design-system.css. */

/* Selected ZIP 1 elements. Header, navigation and shared layout stay in layout.css. */
.integrated-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--accent);
}
.integrated-hero .integration-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
.integrated-hero .eyebrow { color: #fff; font-size: 12px; font-weight: 400; line-height: 1.6; }
.integrated-hero h1 { font-size: clamp(42px,5.2vw,68px); }
.integrated-hero .hero-title { color: var(--ink); font-family: Arial,Helvetica,sans-serif; font-weight: 500; letter-spacing: -.045em; line-height: 1.08; padding-top: 24px; margin-bottom: 0; }
.integrated-hero .hero-title::before { content: ""; display: block; width: 52px; height: 3px; margin-bottom: 14px; background: #fff; transform: translateY(-24px); }
.integrated-hero .hero-title > span { display: block; }
.integrated-hero .hero-title > span + span { margin-top: 6px; }
.integrated-hero .lead, .integrated-hero .credentials { color: #243c32; }
.integrated-hero .hero-image { aspect-ratio: auto; border: 0; box-shadow: none; background: transparent; }
.integrated-hero .hero-image img { height: auto; aspect-ratio: 4 / 3; border: 0; box-shadow: none; }
.integrated-hero .hero-image .credentials { margin: 12px 0 0; font-family: var(--sans); font-size: 21px; font-weight: 400; line-height: 1.5; color: var(--ink); }
.integrated-hero .credentials span { display: block; }
.integrated-hero .credentials .portrait-name { margin-bottom: 0; font-family: inherit; font-size: inherit; font-weight: 700; line-height: inherit; letter-spacing: normal; }

/* Balanced homepage proportions, scoped to preserve navigation and inner pages. */
.integrated-hero { padding-block: 34px; }
.integrated-hero .lead { line-height: 1.5; }
.integrated-hero + .intro { padding-block: 64px; }
.integrated-hero + .intro .section-lead { max-width: 960px; margin-bottom: 0; }
@media(min-width:761px) {
  .integrated-hero .hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); column-gap: clamp(36px,5vw,72px); row-gap: 0; align-items: start; }
  .integrated-hero .hero-copy { display: contents; }
  .integrated-hero .hero-copy > .eyebrow { grid-column: 1 / -1; grid-row: 1; }
  .integrated-hero h1 { grid-column: 1; grid-row: 2; }
  .integrated-hero .lead { grid-column: 1; grid-row: 3; margin-top: 0; margin-bottom: 0; }
  .integrated-hero .hero-image { grid-column: 2; grid-row: 2 / 4; width: 100%; max-width: 480px; margin-top: 0; justify-self: end; }
}
@media(max-width:760px) {
  .integrated-hero { padding-block: 30px; }
  .integrated-hero .hero-grid { gap: 24px; }
  .integrated-hero h1 { font-size: clamp(38px,11.5vw,50px); }
  .integrated-hero .hero-image { max-width: none; }
  .integrated-hero .hero-image .credentials { margin-top: 12px; font-size: 18px; }
  .integrated-hero + .intro { padding-block: 48px; }
}

.offer-section { scroll-margin-top: 150px; padding: 72px 0 80px; background: #faf8f2; color: #243c32; font: 16px/1.65 Arial,Helvetica,sans-serif; }
.offer-section * { box-sizing: border-box; }
.offer-shell { width: min(1240px,calc(100% - 96px)); margin-inline: auto; }
.offer-section p { margin: 0 0 22px; }
.offer-section h2, .offer-section h3 { font-family: inherit; font-weight: 500; line-height: 1.14; letter-spacing: -.045em; margin: 0 0 26px; }
.offer-section h2 { font-size: clamp(32px,3.2vw,46px); }
.offer-section .offer-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .17em; font-weight: 700; margin-bottom: 24px; color: var(--accent); }
.offer-section-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 35px; }
.offer-section-head h2 { margin: 0; }
.offer-section-head > p { max-width: 360px; color: #57645c; font-size: 15px; margin: 0; }
.offer-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.offer-card { background: #fff; border-bottom: 3px solid #eab43b; border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.offer-card > img { display: block; width: 100%; height: 185px; object-fit: cover; }
.offer-card-body { padding: 25px 22px 28px; display: flex; flex-direction: column; flex: 1; }
.offer-card-no { font-size: 11px; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.offer-card h3 { font-size: 24px; letter-spacing: -.035em; margin-bottom: 16px; }
.offer-card p { font-size: 14px; color: #57645c; line-height: 1.75; }
.offer-card a { color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; }
.offer-card:hover, .offer-card:focus-within { border-bottom-color: var(--accent); }
.offer-card:hover a, .offer-card:focus-within a { color: var(--accent); }
.offer-card a:focus-visible { outline: 3px solid #1469ad; outline-offset: 5px; }
@media(max-width:1100px) {
  .offer-shell { width: calc(100% - 56px); }
  .offer-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-card > img { height: 230px; }
  .offer-card h3 { font-size: 27px; }
}
@media(max-width:760px) {
  .offer-shell { width: calc(100% - 40px); }
  .offer-section { padding: 65px 0; }
  .offer-section-head { display: block; }
  .offer-section-head > p { margin-top: 20px; }
  .offer-section .offer-eyebrow { margin-bottom: 20px; }
  .offer-cards { gap: 16px; }
  .offer-card-body { padding: 20px 16px; }
  .offer-card h3 { font-size: 21px; }
  .offer-card > img { height: 165px; }
  .offer-card p { font-size: 13px; }
}
@media(max-width:420px) {
  .offer-cards { grid-template-columns: 1fr; }
  .offer-card > img { height: 220px; }
  .offer-card h3 { font-size: 26px; }
}


/* --- Former masterprojekt.css --- */

/* Projekt-1-Gestaltung, ausschliesslich auf die übernommenen Bereiche begrenzt. */
.section.p1-block { padding:100px 0; color:#243c32; background:#fff; font:16px/1.65 Arial,Helvetica,sans-serif; }
.p1-block .shell { width:min(1240px,calc(100% - 96px)); margin-inline:auto; }
.p1-block p { margin:0 0 22px; }
.p1-block h2 { font-family:Arial,Helvetica,sans-serif; font-size:clamp(32px,3.2vw,46px); font-weight:500; line-height:1.14; letter-spacing:-.045em; margin:0 0 26px; }
.p1-block .eyebrow { font-size:12px; text-transform:uppercase; letter-spacing:.17em; font-weight:700; margin-bottom:24px; color:#c6481c; }
.p1-block.intro .shell { display:grid; grid-template-columns:1fr 1fr; column-gap:90px; }
.p1-block.intro .eyebrow { grid-column:1/-1; }
.p1-block.intro h2 { max-width:540px; }
.p1-block.intro .section-lead { color:#57645c; font-size:18px; margin:0; max-width:none; }
.p1-block .split { display:grid; grid-template-columns:1fr 1fr; gap:95px; align-items:center; }
.p1-block .approach-image { width:100%; height:500px; object-fit:cover; border-radius:5px 90px 5px 5px; }
.p1-block .split p:not(.eyebrow) { color:#57645c; }
.p1-block .principles { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0; }
.p1-block .principles span { font-size:11px; background:#f7f3df; border-radius:20px; padding:7px 12px; }
.p1-block .text-link { display:inline-block; color:inherit; text-decoration:none; font-size:14px; font-weight:600; border-bottom:1px solid #ce6b3e; padding-bottom:7px; }
.p1-block .text-link:hover { color:#c6481c; }
.p1-block .text-link span { margin-left:25px; }
.section.p1-block.portrait { background:#f5f7f2; }
.p1-block .portrait-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:130px; align-items:center; max-width:1050px; }
.p1-block .portrait-grid img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:center; border-radius:5px; }
.p1-block .portrait-title { font-size:16px; color:#c6481c; }
.p1-block .portrait-grid p:not(.eyebrow):not(.portrait-title) { color:#57645c; }
.integrated-hero .hero-image img { object-position:center 65%; }
@media(max-width:1100px) {
 .p1-block .shell { width:calc(100% - 56px); }
 .p1-block .split { gap:45px; }
 .p1-block .portrait-grid { gap:65px; }
 .p1-block.intro .shell { column-gap:45px; }
}
@media(max-width:760px) {
 .section.p1-block { padding:65px 0; }
 .p1-block .shell { width:calc(100% - 40px); }
 .p1-block.intro .shell,.p1-block .split,.p1-block .portrait-grid { grid-template-columns:1fr; gap:25px; }
 .p1-block.intro .eyebrow,.p1-block.intro h2 { margin-bottom:0; }
 .p1-block.intro .section-lead { font-size:16px; }
 .p1-block .approach-image { height:350px; }
 .p1-block .portrait-grid img { max-width:320px; grid-row:1; margin-bottom:15px; }
 .p1-block .portrait-grid { gap:15px; }
 .p1-block .eyebrow { margin-bottom:20px; }
}

/* Gleiche Abstände um die Titelzeilen; Bild vertikal im Hero zentriert. */
.integrated-hero { --title-gap: 28px; }
.integrated-hero .hero-title { padding-top:0; margin-bottom:var(--title-gap); }
.integrated-hero .hero-title::before { transform:none; margin-bottom:var(--title-gap); }
.integrated-hero .lead { margin-top:0; margin-bottom:0; }
@media(min-width:761px) {
 .integrated-hero .hero-grid { grid-template-rows:auto auto auto; }
 .integrated-hero .hero-image { grid-row:1 / 4; align-self:center; margin-block:0; }
}

/* Freigestellte Figuren: volle Farbkraft direkt auf der orangefarbenen Fläche. */
.integrated-hero .hero-image { background:transparent; overflow:visible; }
.integrated-hero .hero-image img {
 border-radius:0;
 opacity:1;
 mix-blend-mode:normal;
 -webkit-mask-image:none;
 mask-image:none;
 object-fit:contain;
 object-position:center;
}

/* Einheitliches Logo-Orange für alle fünf Bereichstitel. */
.p1-block.intro .eyebrow,
.offer-section .offer-eyebrow,
.p1-block.approach .eyebrow,
.p1-block.portrait .eyebrow,
.section.institute .eyebrow {
  color: var(--accent);
}

/* Praxisbezeichnung im Titelbereich besser lesbar. */
.integrated-hero .hero-copy > .eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* Hintergrund wie im Angebotsbereich auf hess-psy.ch: #eef3ef. */
.offer-section,
.section.p1-block.portrait {
  background: #eef3ef;
}


/* --- Former design-system.css --- */

/* HESS-PSY Designsystem V1 — Startseite
   Zentrale Gestaltungsregeln. Inhalt und Navigation bleiben unverändert. */
:root {
  --hp-orange: #ef700d;
  --hp-orange-dark: #d85f00;
  --hp-yellow: #f6c84b;
  --hp-yellow-soft: #fff6d8;
  --hp-offwhite: #fffdf8;
  --hp-soft: #f8f5ed;
  --hp-petrol-soft: #e5eeea;
  --hp-ink: #292d2b;
  --hp-muted: #626864;
  --hp-line: #e8e1d5;
  --hp-content: 1240px;
  --hp-radius: 8px;
  --hp-section: clamp(68px, 7vw, 100px);
  --accent: var(--hp-orange);
  --accent-dark: var(--hp-orange-dark);
  --ink: var(--hp-ink);
  --muted: var(--hp-muted);
  --line: var(--hp-line);
  --soft: var(--hp-soft);
  --warm: var(--hp-yellow-soft);
  --petrol-soft: var(--hp-yellow-soft);
  --sage: var(--hp-soft);
  --max: var(--hp-content);
}
body { color:var(--hp-ink); background:var(--hp-offwhite); font-family:Arial,Helvetica,sans-serif; }
.shell, .p1-block .shell, .offer-shell { width:min(var(--hp-content),calc(100% - 96px)); }
.site-header { background:rgba(255,253,248,.97); border-bottom:1px solid rgba(239,112,13,.22); }
.main-nav a { font-weight:600; }
.nav-contact { color:#fff; background:var(--hp-orange); border-color:var(--hp-orange); }
.nav-contact:visited { color:#fff; }
.nav-contact:hover, .nav-contact:focus-visible { color:#fff; background:var(--hp-orange-dark); border-color:var(--hp-orange-dark); }

/* Signature hero: Orange + warmes Gelb, ohne Petrol/Graugrün. */
.integrated-hero {
  background:linear-gradient(118deg,var(--hp-yellow) 0%,#f4a72a 34%,var(--hp-orange) 72%,#ea6808 100%);
  padding-block:clamp(42px,5vw,68px);
}
.integrated-hero .integration-lines { opacity:.38; }
.integrated-hero .hero-copy > .eyebrow { color:#fff; letter-spacing:.08em; text-transform:none; font-size:15px; }
.integrated-hero .hero-title { color:#272b29; font-weight:500; }
.integrated-hero .hero-title::before { background:#fff; }
.integrated-hero .lead { color:#353936; font-size:20px; max-width:650px; }

/* Einheitliche Sektionen */
.section.p1-block, .offer-section, .section.institute { padding-block:var(--hp-section); }
.section.p1-block { color:var(--hp-ink); }
.p1-block .eyebrow, .offer-section .offer-eyebrow, .section.institute .eyebrow { color:var(--hp-orange); }
.p1-block h2, .offer-section h2, .section.institute h2 { color:var(--hp-ink); }
.p1-block.intro .section-lead, .p1-block .split p:not(.eyebrow), .p1-block .portrait-grid p:not(.eyebrow):not(.portrait-title), .offer-section-head > p { color:var(--hp-muted); }

/* Ruhiger Rhythmus: Weiss / warm / Weiss / warm */
.p1-block.intro { background:#fff; }
.offer-section, .offer-section.offer-soft { background:var(--hp-petrol-soft); }
.p1-block.approach { background:#fff; }
.section.p1-block.portrait { background:var(--hp-petrol-soft); }
.section.institute { background:linear-gradient(112deg,#fff1bd 0%,#ffd36b 42%,#f39a25 100%); }

/* Karten und Bildsprache */
.offer-card { border:1px solid var(--hp-line); border-bottom:4px solid var(--hp-yellow); border-radius:var(--hp-radius); box-shadow:0 8px 26px rgba(41,45,43,.055); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.offer-card:hover,.offer-card:focus-within { transform:translateY(-3px); border-bottom-color:var(--hp-orange); box-shadow:0 14px 34px rgba(41,45,43,.09); }
.offer-card-no, .portrait-title { color:var(--hp-orange)!important; }
.p1-block .approach-image { border-radius:var(--hp-radius) 72px var(--hp-radius) var(--hp-radius); }
.p1-block .portrait-grid img { border-radius:var(--hp-radius); }
.p1-block .principles span { background:var(--hp-yellow-soft); border:1px solid #f4df9a; }
.p1-block .text-link { border-bottom-color:var(--hp-orange); }

/* CTA Institut */
.section.institute .eyebrow { color:#a64400; }
.section.institute .button.secondary { border-color:var(--hp-orange); background:var(--hp-orange); color:#fff; }
.section.institute .button.secondary:hover { background:var(--hp-orange-dark); border-color:var(--hp-orange-dark); }

.site-footer { background:#2b302d; color:#f8f5ed; }
.site-footer a:hover { color:var(--hp-yellow); }

@media(max-width:1100px){ .shell,.p1-block .shell,.offer-shell{width:calc(100% - 56px);} }
@media(max-width:760px){
  .shell,.p1-block .shell,.offer-shell{width:calc(100% - 40px);}
  .integrated-hero .hero-copy > .eyebrow{font-size:14px;}
  .integrated-hero .lead{font-size:18px;}
}
