/* ============================================================
   Eva Hoffmann — Site styles
   Warm paper · ochre-yellow · blue (not violet)
   ============================================================ */

:root{
  --paper: #f5efe2;
  --paper-deep: #ebe1cb;
  --ink: #1f3540;
  --ink-soft: #4a6470;
  --ink-mute: #7a8891;
  --sun: #d8853a;
  --sun-soft: #e6b074;
  --sun-deep: #b56922;
  --blue: #1f6f7a;
  --blue-deep: #134852;
  --teal: #2a9098;
  --line: #d4cab5;
  --rule: rgba(31,53,64,0.18);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a{color:inherit; text-decoration: none}
img{max-width:100%; display:block}

.serif{font-family:'Cormorant Garamond', Georgia, serif}

.wrap{max-width: 1180px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2}
.wrap-narrow{max-width: 860px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2}
.wrap-reading{max-width: 720px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2}

section{padding: 100px 0; position: relative}

/* ---------- Nav ---------- */
header.nav{
  position: fixed; top:0; left:0; right:0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  transition: padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled{ border-bottom-color: var(--rule) }
.nav-inner{
  display:flex; align-items:center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 22px 40px;
  transition: padding .3s ease;
}
header.nav.scrolled .nav-inner{ padding: 12px 40px }
.brand{
  display:flex; align-items:center; gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--ink);
}
.brand-mark{ width: 28px; height: 28px; transition: transform .6s ease }
.brand:hover .brand-mark{ transform: rotate(-8deg) }
.brand-name{ font-weight: 500 }
.brand-role{
  color: var(--ink-mute); font-family:'Work Sans'; font-size: 12px;
  letter-spacing:.15em; text-transform: uppercase;
  margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--rule);
}
nav.links{
  display:flex; gap: 28px; align-items:center;
  font-size: 14px;
}
nav.links a{
  position: relative; padding: 6px 2px;
  color: var(--ink-soft);
  transition: color .2s ease;
}
nav.links a:hover{ color: var(--ink) }
nav.links a.active{ color: var(--ink) }
nav.links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom: -2px;
  height: 2px; background: var(--accent, var(--blue));
  transform-origin: left; animation: underline .4s ease;
}
@keyframes underline{ from{ transform: scaleX(0) } to{ transform: scaleX(1) } }
.nav-cta{
  font-size: 14px;
  padding: 6px 2px;
  color: var(--ink-soft);
  transition: color .2s ease;
  background: transparent; border: 0;
}
.nav-cta:hover{ color: var(--sun) }

/* ---------- Hero / Page head ---------- */
.page-head{
  padding-top: 160px; padding-bottom: 80px;
  position: relative;
}
.page-head.with-hero{ padding-bottom: 40px; min-height: 88vh; display: flex; align-items: center }
.page-head h1{
  font-family:'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.page-head h1 em{ font-style: italic; color: var(--blue-deep); font-weight: 400 }
.page-head h1 .sun{ color: var(--sun); font-style: italic }
.eyebrow{
  display:inline-flex; align-items:center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 28px; font-weight: 500;
}
.eyebrow::before{ content:""; width: 28px; height:1px; background: var(--sun) }
.lede{
  font-family:'Cormorant Garamond', serif;
  font-size: 22px; line-height: 1.5; color: var(--ink-soft);
  max-width: 560px; margin: 0 0 36px; font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 14px 22px;
  font-family:'Work Sans'; font-size: 14px; letter-spacing: .06em;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  transition: all .2s ease;
  cursor: pointer;
}
.btn:hover{ background: var(--blue-deep); border-color: var(--blue-deep) }
.btn-ghost{ background: transparent; color: var(--ink) }
.btn-ghost:hover{ background: var(--ink); color: var(--paper) }
.btn .arrow{ transition: transform .25s ease }
.btn:hover .arrow{ transform: translateX(4px) }
.actions{ display:flex; gap: 16px; align-items: center; flex-wrap: wrap }

/* ---------- Splashes ---------- */
.splash{ position: absolute; pointer-events: none; mix-blend-mode: multiply; z-index: 0 }

/* ---------- Section heading ---------- */
.sec-head{
  display:grid; grid-template-columns: 1fr 2fr;
  gap: 60px; margin-bottom: 70px; align-items: end;
}
.sec-label{
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 12px; border-top: 1px solid var(--rule);
  align-self: start;
}
.sec-title{
  font-family:'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.01em;
  margin: 0; text-wrap: balance;
}
.sec-title em{ font-style: italic; color: var(--blue-deep) }

/* ---------- Reading prose ---------- */
.prose p{
  font-size: 17px; line-height: 1.75; color: var(--ink);
  margin: 0 0 1.2em;
}
.prose p.large{
  font-family:'Cormorant Garamond', serif;
  font-size: 24px; line-height: 1.5; color: var(--ink);
  font-weight: 300; margin-bottom: 1.4em;
}
.prose h2{
  font-family:'Cormorant Garamond', serif;
  font-weight: 500; font-size: 34px;
  margin: 60px 0 16px; line-height: 1.15;
}
.prose h2 em{ font-style: italic; color: var(--blue-deep) }
.prose h3{
  font-family:'Cormorant Garamond', serif;
  font-weight: 500; font-size: 24px; margin: 36px 0 10px;
}
.prose ul{ padding-left: 0; list-style: none; margin: 0 0 1.2em }
.prose ul li{
  position: relative; padding-left: 22px;
  margin-bottom: 8px; color: var(--ink);
}
.prose ul li::before{
  content:""; position: absolute; left: 0; top: 12px;
  width: 10px; height: 1px; background: var(--sun);
}

/* ---------- Cards ---------- */
.cards{ display:grid; gap: 36px; grid-template-columns: repeat(3, 1fr) }
.cards.cols-2{ grid-template-columns: repeat(2, 1fr) }
.card{
  display:flex; flex-direction: column; gap: 14px;
  padding: 0;
  height: 100%;
}
.cards{ align-items: stretch }
.card-icon{ width: 96px; height: 96px; margin-bottom: 6px }
.card h3{
  font-family:'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  margin: 0; line-height: 1.2;
}
.card p{ margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65 }
.card .more{
  margin-top: auto;
  font-size: 13px; letter-spacing: .06em;
  color: var(--blue-deep);
  display: inline-flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--rule); padding-top: 16px;
  transition: gap .2s ease, color .2s ease;
  align-self: flex-start;
}
.card .more:hover{ gap: 14px; color: var(--sun) }
.card .more .arrow{ transition: transform .2s ease }

/* ---------- Image break ---------- */
.imagebreak{
  position: relative; height: 60vh; min-height: 420px;
  overflow: hidden; margin: 0;
}
.imagebreak img{
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) brightness(.95);
}
.imagebreak .quote{
  position: absolute; inset: 0;
  display:flex; align-items: center; justify-content: center; padding: 0 40px;
}
.imagebreak blockquote{
  font-family:'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.3;
  color: #f6f1e8; text-align: center; max-width: 900px; margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.4); text-wrap: balance;
}
.imagebreak cite{
  display:block; margin-top: 18px;
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  font-style: normal; color: rgba(246,241,232,.8);
}

/* ---------- Two-col grid ---------- */
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start }
.two-col.split-4-6{ grid-template-columns: 4fr 6fr }
.two-col.split-5-5{ grid-template-columns: 1fr 1fr }
.two-col.split-6-4{ grid-template-columns: 6fr 4fr }

/* ---------- Photo ---------- */
.photo{ position: relative; overflow: hidden }
.photo img{
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95);
}
.photo.portrait{ aspect-ratio: 4/5 }

/* ---------- Definition rows (contact, meta) ---------- */
.meta{
  display:grid; grid-template-columns: 110px 1fr;
  gap: 24px; align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.meta dt{
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute); padding-top: 4px; margin: 0;
}
.meta dd{
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--ink); line-height: 1.35;
}
.meta dd small{
  display:block;
  font-family:'Work Sans'; font-size: 13px;
  color: var(--ink-mute); margin-top: 4px; letter-spacing: 0;
}

/* ---------- Price table ---------- */
.price{
  display:grid; grid-template-columns: 1fr auto auto;
  gap: 24px 40px; align-items: baseline;
  padding: 18px 22px;
  border-top: 1px solid var(--rule);
  position: relative;
  cursor: pointer;
  transition: background .35s cubic-bezier(.2,.7,.2,1),
              color .35s cubic-bezier(.2,.7,.2,1),
              padding-left .35s cubic-bezier(.2,.7,.2,1),
              transform .35s cubic-bezier(.2,.7,.2,1);
}
.price:last-of-type{ border-bottom: 1px solid var(--rule) }
.price .t{ font-family:'Cormorant Garamond', serif; font-size: 20px; transition: color .35s ease }
.price .d{ font-size: 13px; color: var(--ink-mute); letter-spacing: .06em; transition: color .35s ease }
.price .v{
  font-family:'Cormorant Garamond', serif; font-size: 22px; color: var(--blue-deep);
  transition: color .35s ease;
}
.price .v small{ font-size: 13px; color: var(--ink-mute); font-family:'Work Sans'; margin-left: 4px; transition: color .35s ease }

/* Hover: highlight whole row in CTA blue with white font */
.price:hover{
  background: var(--blue-deep);
  padding-left: 32px;
  transform: translateX(4px);
  border-color: transparent;
  z-index: 1;
}
.price:hover + .price{ border-top-color: transparent }
.price:hover .t,
.price:hover .d,
.price:hover .v,
.price:hover .v small{ color: var(--paper) }
.price:hover .v{ color: #fff }
.price:hover::before{
  content:""; position:absolute; left: 12px; top: 50%;
  width: 12px; height: 1px; background: var(--sun);
  transform: translateY(-50%);
}

/* ---------- Footer ---------- */
footer{
  margin-top: 80px;
  background: var(--paper-deep);
  padding: 60px 0 40px;
  font-size: 14px; color: var(--ink-soft);
}
.foot-grid{
  display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--rule); margin-bottom: 30px;
}
.foot-grid h5{
  font-family:'Work Sans'; font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; margin: 0 0 14px; color: var(--ink-mute); font-weight: 500;
}
.foot-grid ul{ list-style: none; padding: 0; margin: 0 }
.foot-grid li{ margin-bottom: 8px }
.foot-grid a:hover{ color: var(--ink) }
.foot-brand{ font-family:'Cormorant Garamond', serif; font-size: 26px; color: var(--ink); margin-bottom: 10px }
.foot-brand-sub{ color: var(--ink-mute); font-size: 13px; letter-spacing: .14em; text-transform: uppercase }
.foot-bottom{
  display:flex; justify-content: space-between; align-items: center; gap: 40px;
  font-size: 12px; color: var(--ink-mute);
  flex-wrap: wrap;
}

/* ---------- Keep in mind (inside hero, right side, non-sticky) ---------- */
.page-head{ position: relative }
.keepbar{
  position: absolute; top: 160px; right: 40px;
  z-index: 5; pointer-events: auto;
  max-width: 300px;
}
.keepbar-inner{ display: block }
.keep-side{
  padding: 10px 0 0;
  text-align: right;
  transition: opacity .6s ease;
}
.keep-side.right{ text-align: right }
.keep-label{
  font-family:'Work Sans'; font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--sun); margin-bottom: 6px;
  display:flex; align-items:center; gap: 8px;
}
.keep-side.right .keep-label{ justify-content: flex-end }
.keep-label::before{ content:""; width: 14px; height: 1px; background: var(--sun) }
.keep-side.right .keep-label::before{ order: 2 }
.keep-text{
  font-family:'Cormorant Garamond', serif;
  font-size: 15px; line-height: 1.4; color: var(--ink);
  font-style: italic; font-weight: 400;
  transition: opacity .5s ease;
}
.keep-cite{
  font-size: 10px; color: var(--ink-mute); letter-spacing: .14em;
  margin-top: 4px; font-family: 'Work Sans'; font-style: normal;
  text-transform: uppercase;
}
@media (max-width: 900px){
  .keepbar{ display: none }
}

/* ---------- Reveal + Lenis ---------- */
.reveal{
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in{ opacity: 1; transform: none }
.reveal-d1{ transition-delay: .08s }
.reveal-d2{ transition-delay: .16s }
.reveal-d3{ transition-delay: .24s }

.parallax{ will-change: transform }

/* ---------- Artifacts ---------- */
.artifact{
  position: absolute;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
.artifact svg{ width: 100%; height: auto; display: block }

/* ---------- Topics list (Fortbildungen) ---------- */
.topics{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-top: 1px solid var(--line);
}
.topics li{
  padding: 36px 40px 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.topics li:nth-child(odd){ padding-right: 60px }
.topics li:nth-child(even){ padding-left: 60px; border-left: 1px solid var(--line) }
.topic-num{
  font-family: 'Work Sans'; font-size: 11px; letter-spacing: .25em;
  color: var(--sun); margin-bottom: 10px;
}
.topics h3{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 24px; line-height: 1.3;
  color: var(--ink); margin: 0 0 8px;
}
.topics p{
  font-family: 'Work Sans'; font-size: 14px; line-height: 1.55;
  color: var(--ink-mute); margin: 0; font-style: italic;
}
.topics-footnote{
  margin-top: 32px; color: var(--ink-mute);
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  font-size: 20px; text-align: center;
}

/* ---------- Place cards (Ablauf/Ort) ---------- */
.places{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.place{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 32px 36px;
  text-align: center;
  position: relative;
}
.place-num{
  position: absolute; top: 16px; left: 20px;
  font-family: 'Work Sans'; font-size: 10px; letter-spacing: .25em;
  color: var(--sun);
}
.place-icon{
  width: 60px; height: 60px; margin: 8px auto 20px; display: block;
}
.place h3{
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 22px; color: var(--blue-deep); margin: 0 0 12px;
}
.place p{
  font-family: 'Work Sans'; font-size: 14.5px; line-height: 1.6;
  color: var(--ink-mute); margin: 0;
}
@media (max-width: 900px){
  .places{ grid-template-columns: 1fr; gap: 20px }
}

/* Bordered card variant */
.card.boxed{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
}
.card.boxed h3{ margin-bottom: 4px }

.card-artifact{
  width: 100%;
  max-width: 220px;
  margin: 0 auto 18px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-artifact svg{ width: 100%; height: auto; display: block }
section{ position: relative; overflow: hidden }
.imagebreak{ overflow: hidden }

html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .wrap, .wrap-narrow, .wrap-reading{ padding: 0 24px }
  section{ padding: 60px 0 }
  .sec-head{ grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px }
  .two-col, .two-col.split-4-6, .two-col.split-5-5, .two-col.split-6-4{
    grid-template-columns: 1fr; gap: 36px;
  }
  .cards{ grid-template-columns: 1fr; gap: 36px }
  .cards.cols-2{ grid-template-columns: 1fr }
  .foot-grid{ grid-template-columns: 1fr 1fr; gap: 30px }
  nav.links .link-item{ display: none }
  .brand-role{ display: none }
  .keep{ display: none }
  .page-head{ padding-top: 120px; padding-bottom: 40px }
  .page-head.with-hero{ min-height: auto }
}
