:root {
  --canvas: #ffffff;
  --paper: #f6f3ed;
  --paper-light: #fbfaf7;
  --sage: #a8ad96;
  --sage-dark: #7f8672;
  --gray: #6F7D71;
  --coral: #a71421;
  --red: #930915;
  --text: #40413e;
  --line: #d8d5ce;
  --max-width: 1160px;
  --content-width: 1000px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.72;
}

a { color: inherit; }
img { display: block; max-width: 100% }

.site-shell {
  width: min(calc(100% - 96px), var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper-light);
  border-left: 1px solid #eceae5;
  border-right: 1px solid #eceae5;
}

.site-shell-dnkl {
width: min(calc(100% - 96px), var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  border-left: 1px solid #eceae5;
  border-right: 1px solid #eceae5;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--gray);
  border-bottom: 6px solid var(--accent);
}

.nav {
  min-height: 76px;
  padding: 9px 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { flex: 0 0 auto; }
.logo { width: min(245px, 31vw); height: auto; }

.nav-links {
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 19px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { border-bottom-color: rgba(255,255,255,.85); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

main { padding: 68px 46px 78px; }
.wrap { width: min(100%, var(--content-width)); margin: 0 auto; }

h2 {
  margin-top: 0;
  color: var(--coral);
  line-height: 1.25;
}

h1, h3 {
  margin-top: 0;
  color: var(--gray);
  line-height: 1.25;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: .01em;
}
h2 {
  margin-bottom: 24px;
  font-size: clamp(1.65rem, 2.7vw, 2.05rem);
  font-weight: 600;
}
h3 {
  margin-bottom: 11px;
  font-size: 1.2rem;
  font-weight: 500;
}
p { margin-top: 0; }
p:last-child { margin-bottom: 0; }

/* Neue Startseite */
.home-main { padding: 0; }
.home-intro {
  min-height: 300px;
  padding: 30px 42px 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--coral);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.home-intro h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #5f605d;
  font-size: clamp(2.45rem, 5.5vw, 4.5rem);
  font-weight: 250;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.home-lead {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.home-statement {
  padding: 54px 46px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.statement-title {
  color: var(--sage-dark);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
}
.statement-grid p:last-child { font-size: 1.08rem; }

.home-paths { padding: 42px 0 18px; }
.path-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--coral);
}
.path-row:first-child { border-top: 1px solid var(--coral); }
.path-number {
  color: var(--coral);
  font-size: .85rem;
  letter-spacing: .12em;
}
.path-copy h2 {
  margin-bottom: 8px;
  color: #5e605b;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
}
.path-copy p { max-width: 660px; margin-bottom: 0; }
.text-link {
  color: var(--sage-dark);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
.text-link:hover { color: var(--coral); text-decoration: underline; }

.home-closing {
  margin-top: 68px;
  padding: 64px 46px 70px;
  background: transparent;
}
.closing-inner { max-width: 760px; margin-left: 0; }
.home-closing h2 { margin-bottom: 14px; color: #fff; font-weight: 350; }
.home-closing p { max-width: 680px; color: #fff; font-size: 1.08rem; }

/* Gemeinsame Unterseiten */
.hero { text-align: center; padding-top: 24px; }
.hero-sub {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 350;
}
.tiles { display: grid; grid-template-columns: 1fr; gap: 0; margin: 38px 0 32px; }
.tile,
.card {
  width: 100%;
  background: var(--paper);
  border: 0;
  border-radius: 0;
  padding: 30px 34px;
  box-shadow: none;
}
.tile + .tile,
.card + .card { margin-top: 18px; }
.card ul { margin: 0; padding-left: 1.25rem; }
.card li + li { margin-top: 7px; }
.tile-link,
.contact-link { color: var(--sage-dark); font-weight: 600; }
.tile-link { display: inline-flex; gap: 8px; margin-top: 8px; text-decoration: none; }
.tile-link:hover { text-decoration: underline; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--sage-dark);
  border-radius: 0;
  background: transparent;
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.cta:hover { background: var(--paper); }
.cta-light { border-color: #fff; color: #fff; }
.cta-light:hover { background: rgba(255,255,255,.12); }
.action-row { margin-top: 28px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr minmax(380px, 45%);
  gap: 24px;
  align-items: stretch;
}
.about-grid .card { align-self: center; }
.portrait {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
  opacity: 0,68;
  filter: grayscale(.52) sepia(.08) hue-rotate(48deg) saturate(.55) contrast(.92) brightness(1.05);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.footer { background: var(--gray); color: #fff; padding: 20px 34px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .site-shell { width: min(calc(100% - 36px), var(--max-width)); }
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    margin: 0;
    padding: 10px 0 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .nav-links.open { display: flex; }
  .statement-grid { grid-template-columns: 1fr; gap: 14px; }
  .path-row { grid-template-columns: 52px 1fr; }
  .text-link { grid-column: 2; justify-self: start; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait {
    width: min(100%, 540px);
    min-height: 0;
    max-height: 610px;
    margin: -12px auto 0;
    opacity: .52;
    -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
  }
}

@media (max-width: 560px) {
  .site-shell { width: 100%; border: 0; }
  .nav { padding-inline: 18px; }
  .logo { width: 220px; }
  main { padding: 46px 20px 58px; }
  .home-main { padding: 0; }
  .home-intro { min-height: 430px; padding: 72px 24px 62px; }
  .home-intro h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
  .home-statement,
  .home-closing { padding-inline: 24px; }
  .home-paths { padding-inline: 24px; }
  .path-row { grid-template-columns: 1fr; gap: 12px; }
  .path-number,
  .text-link { grid-column: 1; }
  .tile, .card { padding: 24px 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}


:root{
 --accent:var(--coral);
}
h1{
 font-weight:300!important;
 letter-spacing:.02em;
 border-bottom:2px solid var(--accent);
 padding-bottom:.35rem;
 display:inline-block;
}
footer{border-bottom:6px solid var(--accent);}
nav a.active,.nav a.active,.nav-links a.active{border-bottom:2px solid var(--accent);}
button,.btn,.button,a.button{
 transition:.2s;
}
button:hover,.btn:hover,.button:hover,a.button:hover{
 background:var(--accent)!important;
 color:#fff!important;
}

img[src*="portrait"], .portrait, .about-photo{
 filter: sepia(.10) saturate(.9) hue-rotate(-8deg) brightness(1.03);
 opacity: 0.80;
 transform:scale(1.0);
}


/* Fix hover on About page */
.action-row{
  position:relative;
  z-index:10;
}

.cta{
  position:relative;
  z-index:10;
}

.cta:hover{
  background:#e9e5dc;
}


/* Stronger coral accents */
.path-row{
  border-bottom: 2px solid var(--coral);
}

.path-row:first-child{
  border-top: 2px solid var(--coral);
}

.tiles > .tile{
  border-top: 2px solid var(--coral);
  padding-top: 32px;
}

.card + .card{
  border-top: 2px solid var(--coral);
  padding-top: 32px;
}

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

.cta:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.text-link,
.tile-link,
.contact-link{
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.text-link:hover,
.tile-link:hover,
.contact-link:hover{
  color: var(--coral);
  text-decoration-color: var(--coral);
}

.nav-links a{
  transition: color .2s ease, border-color .2s ease;
}

.nav-links a:hover{
  color: #ffe7e4;
  border-bottom-color: var(--accent);
}

h1{
  border-bottom-color: var(--accent);
}

.footer{
  border-bottom: 6px solid var(--accent);
}

/* Bildhoehe auf den vier Fotoseiten entspricht der Hoehe der linken Inhaltsspalte */
.about-grid > .portrait {
  min-height: 0;
  height: 100%;
  align-self: stretch;
  object-fit: cover;
}
