/*
Theme Name: Jessica Leygraaf
Theme URI: https://jessicaleygraaf.de/
Author: SENSOPHIE
Description: Ruhiges, individuelles WordPress-Theme für Jessica Leygraaf.
Version: 1.9.2
Text Domain: jessica-leygraaf
*/

@font-face { font-family: "Libre Caslon Text"; src: url("assets/fonts/libre-caslon-text-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("assets/fonts/libre-caslon-text-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --forest: #203e2c;
  --forest-deep: #173323;
  --forest-soft: #315740;
  --cream: #fdf8ef;
  --cream-deep: #f4ecdf;
  --paper: #fffdf9;
  --ink: #29352e;
  --muted: #69736c;
  --gold: #caa24b;
  --line: rgba(32, 62, 44, .16);
  --shadow: 0 18px 55px rgba(33, 48, 38, .09);
  --radius: 18px;
  --radius-lg: 28px;
  --content: 1180px;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 400 17px/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 {
  margin: 0 0 .65em;
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 6.1vw, 6.1rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.wrap { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 3rem), 790px); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 9rem) 0; }
.section-tight { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-heading { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.lead { color: #465249; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.65; }
.muted { color: var(--muted); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.45rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--forest-soft); }
.button-outline { background: transparent; color: var(--forest); }
.button-outline:hover { background: var(--forest); color: white; }
.button--ghost { background: transparent; color: var(--forest); }
.button--ghost:hover { background: var(--forest); color: white; }
.text-link { color: var(--forest); font-weight: 700; text-underline-offset: .25em; }

/* Header */
.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: white;
}
.site-header.is-solid {
  position: relative;
  color: var(--forest);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  width: calc(100% - clamp(2rem, 6vw, 7rem));
  min-height: 122px;
  margin-inline: auto;
  padding-top: 18px;
  gap: 2rem;
}
.is-solid .header-inner { min-height: 98px; padding-top: 0; }
.brand { display: flex; align-items: center; min-width: 225px; gap: .85rem; color: inherit; text-decoration: none; }
.brand img { width: 64px; max-height: 75px; object-fit: contain; filter: brightness(0) invert(1); }
.is-solid .brand img { width: 52px; height: 52px; max-height: none; border-radius: 5px; object-fit: cover; filter: none; }
.brand-copy { display: grid; gap: .1rem; }
.brand-copy strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.05; }
.brand-copy small { max-width: 180px; font-size: .62rem; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; opacity: .86; }
.site-nav { margin-left: auto; }
.menu { display: flex; align-items: center; margin: 0; padding: 0; gap: clamp(1rem, 2.1vw, 2.2rem); list-style: none; }
.menu a { position: relative; color: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.home .site-header:not(.is-solid) .site-nav .menu a { color: var(--forest-deep); }
.menu a::after { content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s ease; }
.menu a:hover::after, .current-menu-item > a::after { transform: scaleX(1); }
.header-contact { flex: 0 0 auto; padding: .72rem 1.1rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(19,43,29,.42); color: white; font-size: .78rem; font-weight: 700; text-decoration: none; backdrop-filter: blur(8px); }
.is-solid .header-contact { border-color: var(--forest); background: var(--forest); }
.nav-toggle { display: none; margin-left: auto; padding: .65rem; border: 0; background: transparent; color: inherit; font: inherit; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(940px, 94vh);
  overflow: hidden;
  color: white;
  background: var(--forest) url("assets/images/hero-pferdeherde-restauriert-desktop.jpg") center 50% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(0deg, var(--cream) 0%, rgba(253,248,239,.98) 5%, rgba(253,248,239,.72) 14%, rgba(253,248,239,.28) 25%, transparent 38%),
    linear-gradient(35deg, rgba(253,248,239,.88) 0%, rgba(253,248,239,.48) 24%, rgba(253,248,239,.12) 46%, transparent 67%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 68% 72% at 18% 38%, rgba(18,48,31,.8) 0%, rgba(18,48,31,.61) 43%, rgba(18,48,31,.22) 72%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; padding: 13rem 0 clamp(8rem, 13vw, 11rem); }
.hero-copy { max-width: 780px; }
.hero h1 { color: white; text-shadow: 0 2px 25px rgba(0,0,0,.25); }
.hero p { max-width: 650px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero .lead { color: white; }
.hero .button { border-color: white; background: white; color: var(--forest); }
.hero .button:hover { background: var(--cream); }
.intro-heading { width: 100%; margin-bottom: clamp(2.5rem,5vw,4.5rem); text-align: center; }
.intro-heading h2 { max-width: 1050px; margin-inline: auto; }

/* Shared cards and layout */
.split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.split.reverse > :first-child { order: 2; }
.media-card, .portrait-card, .wide-image, .tall-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}
.media-card img, .portrait-card img, .wide-image img, .tall-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.media-card { aspect-ratio: auto; }
.media-figure { margin: 0; }
.media-card--natural { aspect-ratio: auto; }
.media-card--natural img { width: 100%; height: auto; object-fit: contain; }
.image-caption { position: static; padding: 1rem .15rem 0; background: transparent; color: var(--forest); }
.image-caption strong, .image-caption span { display: block; }
.image-caption--feature { font-size: 1.06rem; line-height: 1.55; }
.image-caption--feature strong { margin-bottom: .15rem; font-family: var(--serif); font-size: 1.32rem; font-weight: 400; }
.portrait-card, .wide-image, .tall-image { aspect-ratio: auto; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 2rem; gap: 1rem; }
.mini-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.48); }
.mini-card h3 { font-size: 1.12rem; }
.mini-card p:last-child { margin-bottom: 0; }
.media-card, .portrait-card, .quote-image { position: relative; }
.portrait-card figcaption, .quote-image figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; border-radius: 12px; background: rgba(20,45,30,.82); color: white; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
.card-grid > *, .process > * { min-width: 0; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.info-card, .service-card, .value-card, .process-card {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.58);
}
.service-card { min-height: 285px; }
.service-card h3, .process h3 { max-width: 100%; font-size: clamp(1.12rem, 1.7vw, 1.55rem); hyphens: none; overflow-wrap: anywhere; }
.service-card .number, .process-card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(202,162,75,.55);
  border-radius: 50%;
  color: var(--gold);
  font: 400 1rem/1 var(--serif);
}
.process-grid { counter-reset: steps; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--line); }
.process-card { min-height: 260px; border: 0; border-radius: 0; background: var(--paper); }
.soft-band { background: var(--cream-deep); }
.dark-band { background: var(--forest); color: rgba(255,255,255,.82); }
.dark-band h2, .dark-band h3 { color: white; }

/* Inner pages */
.subhero { padding: clamp(5.5rem, 10vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem); text-align: center; background: var(--cream); }
.subhero h1 { max-width: 980px; margin-inline: auto; }
.subhero > .narrow > p { max-width: 790px; margin-inline: auto; }
.subhero .actions { justify-content: center; }
.subhero .lead { max-width: 770px; margin-inline: auto; }
.feature-panel { padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.feature-panel.dark { border: 0; background: var(--forest); color: rgba(255,255,255,.82); }
.feature-panel.dark h2, .feature-panel.dark h3 { color: white; }
.offer-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.offer-list li { position: relative; padding: 1rem 1rem 1rem 2.4rem; border-top: 1px solid var(--line); }
.offer-list li::before { content: "•"; position: absolute; left: .7rem; color: var(--gold); }
.notice { max-width: 920px; margin-inline: auto; padding: clamp(1.6rem,3vw,2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.62); color: #536057; }
.notice strong { display: block; margin-bottom: .7rem; color: var(--forest); font: 400 clamp(1.35rem,2vw,1.8rem)/1.25 var(--serif); }
.notice p:last-child { margin-bottom: 0; }
.quote-band { padding: clamp(4rem, 7vw, 7rem) 0; background: var(--forest); color: white; text-align: center; }
.quote-band blockquote { max-width: 920px; margin: 0 auto; font: 400 clamp(1.7rem, 3.5vw, 3.3rem)/1.25 var(--serif); }

/* Blog */
.category-nav { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 2rem; gap: .65rem; }
.category-nav a { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.category-nav a:hover { background: var(--forest); color: white; }
.featured-post { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.featured-post > a:first-child { align-self: center; }
.featured-post img { display: block; width: 100%; height: auto; object-fit: contain; }
.featured-post-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.post-meta, .post-card time { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 2rem; gap: 2rem; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card img { display: block; width: 100%; height: auto; object-fit: contain; }
.post-card-body { flex: 1; padding: 1.6rem; }
.post-card-body p:last-child { margin-bottom: 0; color: var(--muted); }
.pagination { margin-top: 3rem; }

/* Content */
.article { width: min(calc(100% - 3rem), 800px); margin-inline: auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.article-header { margin-bottom: 3rem; }
.article h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.article h2 { margin-top: 1.7em; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.article h3 { margin-top: 1.5em; }
.article > .narrow > img { width: 100%; height: auto; margin-bottom: clamp(2rem,5vw,4rem); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article ul, .article ol { padding-left: 1.3rem; }
.article blockquote { margin: 2.5rem 0; padding: 1rem 0 1rem 2rem; border-left: 3px solid var(--gold); font: 400 1.45rem/1.5 var(--serif); }
.related-posts { margin-top: clamp(4rem,8vw,6.5rem); padding-top: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--line); }
.related-posts h2 { margin: .45rem 0 1.5rem; font-size: clamp(1.8rem,3vw,2.55rem); }
.related-post-list { display: grid; gap: .85rem; }
.related-post-link { display: grid; grid-template-columns: minmax(110px,150px) minmax(0,1fr); align-items: center; gap: 1.25rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.related-post-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.related-post-image { overflow: hidden; border-radius: calc(var(--radius) - 4px); }
.related-post-image img { display: block; width: 100%; height: auto; max-height: 100px; object-fit: contain; }
.related-post-copy { min-width: 0; }
.related-post-copy strong { display: block; margin-top: .3rem; color: var(--forest); font: 400 clamp(1.12rem,2.2vw,1.4rem)/1.2 var(--serif); overflow-wrap: break-word; }

/* Contact and footer */
.contact-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--cream); }
.contact-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--forest);
  box-shadow: 0 24px 55px rgba(20,45,30,.18);
  color: rgba(255,255,255,.82);
  text-align: center;
}
.contact-box h2 { max-width: 980px; margin: clamp(1.7rem,4vw,3rem) auto 1.25rem; color: white; font-size: clamp(2.35rem,5vw,4.8rem); }
.contact-box h2 em { font-weight: 400; }
.contact-box p { max-width: 760px; margin: 0 auto; font-size: clamp(1rem,1.7vw,1.25rem); }
.contact-mark { width: clamp(62px, 6vw, 86px); max-height: 94px; object-fit: contain; filter: brightness(0) invert(1); }
.contact-box .button { border-color: white; background: white; color: var(--forest); white-space: nowrap; }
.site-footer { padding: 4.5rem 0 1.8rem; background: var(--forest-deep); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 3rem; }
.footer-grid h2, .footer-grid h3 { color: white; }
.footer-grid h4 { color: var(--gold); }
.footer-grid h2 { font-size: 1.75rem; }
.footer-grid h3 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid a { color: inherit; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-contact { display: flex; align-items: flex-start; }
.footer-contact-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.2rem; border: 1px solid var(--cream); border-radius: 999px; background: var(--cream); color: var(--forest) !important; font-size: .8rem; font-weight: 700; }
.footer-contact-button:hover { background: white; color: var(--forest-deep) !important; }
.footer-image-note { margin: 2.5rem 0 0; color: rgba(255,255,255,.58); font-size: .72rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .75rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.back-to-top { position: fixed; right: clamp(1rem,2.5vw,2rem); bottom: clamp(1rem,2.5vw,2rem); z-index: 50; display: block; width: 48px; height: 48px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: .88; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { opacity: 1; transform: translateY(-2px); }
.back-to-top img { display: block; width: 100%; height: 100%; }

/* Template-specific composition */
.hero-content { position: relative; z-index: 1; width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; padding: 13rem 0 clamp(8rem, 13vw, 11rem); }
.hero-content > h1, .hero-content > p { max-width: 780px; }
.actions { display: flex; flex-wrap: wrap; margin-top: 2rem; gap: .8rem; }
.button--light { border-color: white; background: white; color: var(--forest); }
.button--ghost, .button--ghost-light { background: transparent; }
.button--ghost:hover { background: var(--forest); color: white; }
.button--ghost-light { border-color: rgba(255,255,255,.75); color: white; }
.button--ghost-light:hover { border-color: white; background: white; color: var(--forest); }
.section--tint { background: var(--cream-deep); }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: clamp(2rem,4vw,4rem); gap: 2rem; }
.section-head > p { max-width: 470px; }
.section-title-center { max-width: 760px; margin: 0 auto clamp(2.5rem,5vw,4.5rem); text-align: center; }
.mini-grid > div { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); }
.mini-grid strong, .mini-grid small { display: block; }
.mini-grid small { margin-top: .25rem; color: var(--muted); line-height: 1.5; }
.card-grid--four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.service-card .dot { display: block; width: 9px; height: 9px; margin-bottom: 2rem; border-radius: 50%; background: var(--gold); }
.service-card a { color: var(--forest); font-size: .86rem; font-weight: 700; text-decoration: none; }
.process { counter-reset: path; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--line); gap: 1px; }
.process article { counter-increment: path; min-height: 250px; padding: clamp(1.5rem,3vw,2.5rem); background: var(--paper); }
.process article::before { content: "0" counter(path); display: block; margin-bottom: 2rem; color: var(--gold); font: 400 1rem/1 var(--serif); }
.process--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.blog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.blog-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 2rem; }
.blog-grid .post-card { min-width: 0; }
.blog-grid .post-card-body { padding: clamp(1.4rem,2.4vw,2rem); }
.blog-grid .post-card h3 { max-width: 100%; overflow-wrap: normal; word-break: normal; }
.soft-panel { padding: clamp(1.75rem,4vw,3.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.6); }
.compact-panel { margin-top: 1rem; padding: 1.5rem; }
.offer-focus, .story-grid, .foundation-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(2.5rem,7vw,7rem); }
.offer-visual figure, .quote-image { margin: 0; }
.offer-visual figure { overflow: visible; border-radius: 0; background: transparent; }
.offer-visual figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: contain; box-shadow: var(--shadow); }
figcaption { padding: .85rem 1rem; color: var(--muted); font-size: .75rem; }
.check-list { margin: 2rem 0; padding: 0; list-style: none; }
.check-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.offer-copy blockquote, .foundation-grid blockquote { margin: 2rem 0 0; padding: 1.2rem 0 1.2rem 1.5rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.communication-panel { background: var(--paper); }
.communication-panel > p, .section-intro { max-width: 760px; }
.communication-panel .card-grid, .life-grid, .remote-grid, .values-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 2.5rem; }
.perception-grid { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 2.5rem; }
.communication-panel article, .life-grid article, .remote-grid article, .values-grid article, .perception-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.life-grid article > span, .values-grid article > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-hero { padding-top: clamp(5rem,8vw,8rem); }
.about-hero h1 { font-size: clamp(2.8rem,5vw,5.2rem); }
.about-hero h2 { font-family: var(--sans); font-size: clamp(1.2rem,2vw,1.55rem); line-height: 1.45; }
.portrait-card { margin: 0; }
.about-portrait { overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.about-portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-portrait figcaption { position: static; margin-top: .7rem; padding: 0 .15rem; border-radius: 0; background: transparent; color: var(--muted); font-size: .72rem; text-align: right; }
.portrait-card--carmen { overflow: visible; aspect-ratio: auto; border-radius: 0; background: transparent; box-shadow: none; }
.carmen-image-frame { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.portrait-card--carmen .carmen-image-frame img { width: 100%; height: auto; object-fit: contain; }
.portrait-card--carmen figcaption { position: static; margin-top: .75rem; padding: 0 1.4rem; background: transparent; color: var(--forest); font: italic 400 1rem/1.55 var(--serif); text-align: center; }
.origin-story { grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); }
.origin-story blockquote { margin: 2rem 0 0; padding: 1.2rem 0 1.2rem 1.5rem; border-left: 3px solid var(--gold); color: var(--forest); font: italic 400 1.2rem/1.55 var(--serif); }
.section-heading--wide { max-width: 100%; }
.story-grid > div:last-child { display: grid; gap: 1.5rem; }
.quote-image { overflow: hidden; border-radius: var(--radius-lg); }
.quote-image--caption-below { overflow: visible; aspect-ratio: auto; border-radius: 0; background: transparent; box-shadow: none; }
.quote-image--caption-below img { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: contain; box-shadow: var(--shadow); }
.quote-image--caption-below figcaption { position: static; margin-top: .9rem; padding: 0 .15rem; border-radius: 0; background: transparent; color: var(--forest); font: italic 400 clamp(1.15rem,2vw,1.45rem)/1.5 var(--serif); }
.perception-intro { max-width: 980px; }
.background-section .section-heading { max-width: 880px; }
.background-layout { display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr); align-items: start; gap: clamp(2rem,6vw,6rem); }
.background-portrait-column { min-width: 0; }
.background-portrait { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius-lg); background: var(--cream-deep); box-shadow: var(--shadow); }
.background-portrait img { width: 100%; height: auto; object-fit: contain; }
.background-portrait figcaption { position: absolute; right: 1rem; bottom: .8rem; left: 1rem; padding: 0; background: transparent; color: white; font-size: .72rem; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
.portrait-context { margin: 1.25rem 0 0; padding: 1.35rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.7; }
.background-cards { display: grid; gap: 1rem; }
.background-card { padding: clamp(1.5rem,3vw,2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.background-card h3 { margin-bottom: 1rem; }
.background-card ul { margin: 0; padding: 0; list-style: none; }
.background-card li { position: relative; padding: .8rem 0 .8rem 1.3rem; border-top: 1px solid var(--line); }
.background-card li:first-child { border-top: 0; }
.background-card li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }
.background-note { margin: .5rem 0 0; padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold); color: var(--muted); font-size: .92rem; }
.process-inline { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; gap: 2rem; }
.process-inline > div { max-width: 760px; }
.topic-nav { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 2rem; gap: .65rem; }
.topic-nav a { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.topic-nav a:hover, .topic-nav a.is-active { background: var(--forest); color: white; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,4rem); }
.featured-copy h2 a { text-decoration: none; }
.meta { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quote-band cite { display: block; margin-top: 1.2rem; font: 700 .72rem/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; opacity: .72; }
.contact-mail { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin-top: clamp(2rem,4vw,3.25rem); border-radius: 50%; background: rgba(255,255,255,.13); color: #f0cc84; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.contact-mail:hover { transform: translateY(-3px); background: rgba(255,255,255,.2); }
.contact-mail img { width: 34px; height: 32px; object-fit: contain; }
.page-template-page-angebote main > .section:nth-of-type(odd) { background: var(--cream-deep); }
.page-template-page-angebote main > .section:nth-of-type(even) { background: var(--cream); }

@media (min-width: 1400px) {
  .section { padding-top: 7rem; padding-bottom: 7rem; }
  .section-tight { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (max-width: 1050px) {
  .header-contact { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid--four, .perception-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 840px) {
  .header-inner { min-height: 104px; padding-top: 12px; }
  .brand-copy { display: none; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% - 5px); right: 1rem; left: 1rem; display: none; padding: 1.25rem; border-radius: 14px; background: var(--forest-deep); box-shadow: var(--shadow); color: white; }
  .site-nav.is-open { display: block; }
  .home .site-header:not(.is-solid) .site-nav .menu a { color: white; }
  .home .site-header:not(.is-solid) .nav-toggle { color: var(--forest-deep); }
  .menu { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .split, .featured-post, .offer-focus, .story-grid, .foundation-grid, .background-layout { grid-template-columns: 1fr; }
  .background-portrait { width: min(100%, 520px); }
  .split.reverse > :first-child { order: initial; }
  .hero { min-height: 830px; background-position: 59% 42%; }
  .hero-inner { padding-bottom: 8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .narrow, .hero-inner, .hero-content { width: min(calc(100% - 2rem), var(--content)); }
  .header-inner { width: calc(100% - 2rem); }
  .brand img { width: 54px; }
  .hero { min-height: 780px; background-position: 61% center; }
  .hero::before { background: linear-gradient(0deg, var(--cream) 0%, rgba(253,248,239,.98) 5%, rgba(253,248,239,.7) 15%, rgba(253,248,239,.2) 29%, transparent 42%), linear-gradient(35deg, rgba(253,248,239,.78) 0%, rgba(253,248,239,.32) 30%, transparent 67%); }
  .hero::after { background: radial-gradient(ellipse 105% 64% at 15% 39%, rgba(18,48,31,.82) 0%, rgba(18,48,31,.58) 47%, rgba(18,48,31,.14) 78%, transparent 100%); }
  .hero h1 { max-width: 100%; font-size: clamp(2.35rem, 10vw, 3.25rem); overflow-wrap: normal; }
  .mini-grid, .card-grid, .card-grid.three, .card-grid--four, .process-grid, .process, .process--three, .post-grid, .blog-grid, .blog-grid--two, .perception-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-box { text-align: center; }
  .contact-mark { width: 72px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .service-card, .process-card { min-height: auto; }
  .section-head, .process-inline { align-items: flex-start; flex-direction: column; }
  .related-post-link { grid-template-columns: 90px minmax(0,1fr); gap: 1rem; }
  .related-post-image img { max-height: 82px; }
  .back-to-top { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
