@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://static.wixstatic.com/ufonts/2ae547_f7da646912994edbab876aa48b32fa6a/file.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://static.wixstatic.com/ufonts/2ae547_bce363e6ab4a4b918f813ebda4d583c6/file.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://static.wixstatic.com/ufonts/2ae547_d25a3a71ddd64732a0f18b85a62b43d7/file.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://static.wixstatic.com/ufonts/2ae547_692329b5be104c418eb7d7619e5c3077/file.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://static.wixstatic.com/ufonts/2ae547_1fa90b7d48d84ac6b0f6cc2a2fa47bac/file.woff2") format("woff2"); }
/* DM Beratung – Dennis Missfeldt · Hamburg */
:root {
  --navy: #0E2233;
  --navy-deep: #091826;
  --patina: #5E7F75;
  --patina-light: #A9C2B9;
  --paper: #FBFAF7;
  --stone: #E9E6DF;
  --ink: #16202A;
  --muted: #5A6570;
  --line: #D6D2C9;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--patina); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 400; margin: 0; color: inherit; }
.display {
  font-family: var(--display);
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.25;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
  max-width: 34em;
}
.prose p { max-width: 38em; margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid currentColor;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-solid { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-solid:hover { background: var(--patina); border-color: var(--patina); }
.btn-light { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost { color: var(--paper); border-color: rgba(251,250,247,.6); }
.btn-ghost:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.textlink {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--patina);
  padding-bottom: 2px;
}
.textlink:hover { color: var(--patina); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--paper);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header.solid, .site-header.on-light {
  background: var(--paper); color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-size: 25px; letter-spacing: 0.005em; }
.brand-sub { font-size: 12.5px; opacity: .78; letter-spacing: 0.02em; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: currentColor; }
.menu .menu-cta a { border: 1px solid currentColor; padding: 10px 18px; }
.menu .menu-cta a:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.site-header:not(.solid):not(.on-light) .menu .menu-cta a:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.burger { display: none; background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 7px 0; transition: transform .3s ease, opacity .3s ease; }

@media (max-width: 960px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 84px 0 0 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); color: var(--navy);
    padding: 24px var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .menu a { display: block; font-family: var(--serif); font-size: 22px; padding: 16px 0; border: 0; }
  .menu .menu-cta { border: 0; margin-top: 24px; }
  .menu .menu-cta a { display: inline-block; font-family: var(--sans); font-size: 16px; }
  .nav-open .menu { opacity: 1; transform: none; visibility: visible; }
  .nav-open .site-header { background: var(--paper); color: var(--navy); }
  .nav-open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
}

/* ---------- Hero (slider / film) ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px; max-height: 1100px;
  color: var(--paper); background: var(--navy-deep); overflow: hidden;
}
.hero-media, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.8s ease; }
.slide.active { opacity: 1; }
.slide img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1.02); }
.slide.active img { animation: drift 9s ease-out forwards; }
.slide:nth-child(even).active img { animation-name: drift-alt; }
@keyframes drift { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes drift-alt { from { transform: scale(1.12) translate(-1.5%, 0); } to { transform: scale(1.03) translate(0, -1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9,24,38,.55) 0%, rgba(9,24,38,0) 22%),
    linear-gradient(0deg, rgba(9,24,38,.86) 0%, rgba(9,24,38,.35) 45%, rgba(9,24,38,.05) 70%);
}
.hero-content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(96px, 14vh, 150px);
}
.hero-content .display { max-width: 11.5em; }
.hero-content .lede { margin: 26px 0 36px; color: rgba(251,250,247,.9); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-places {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 32px;
}
.places { display: flex; gap: clamp(14px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.places button {
  appearance: none; background: none; border: 0; color: rgba(251,250,247,.6);
  font: 500 13.5px/1 var(--sans); letter-spacing: .02em; cursor: pointer;
  padding: 14px 0 0; position: relative; min-width: 80px; text-align: left;
}
.places button::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(251,250,247,.3);
}
.places button::after {
  content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--paper);
}
.places button.active { color: var(--paper); }
.places button.active::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.places button:hover { color: var(--paper); }
@keyframes progress { to { width: 100%; } }
@media (max-width: 640px) {
  .places { gap: 12px; }
  .places button { min-width: 0; flex: 1; font-size: 12px; }
  .hero-content { bottom: 100px; }
}

/* Page hero (subpages) */
.page-hero {
  position: relative; color: var(--paper); background: var(--navy-deep);
  min-height: 68vh; display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,24,38,.88) 0%, rgba(9,24,38,.35) 55%, rgba(9,24,38,.45) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 96px); padding-top: 140px; width: 100%; }
.page-hero .lede { margin-top: 22px; color: rgba(251,250,247,.9); }
.crumb { font-size: 14px; margin-bottom: 18px; color: rgba(251,250,247,.75); }
.crumb a { text-decoration: none; border-bottom: 1px solid rgba(251,250,247,.4); }
.page-hero.plain { min-height: 46vh; background: var(--navy); }
.page-hero.plain::after { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-stone { background: var(--stone); }
.bg-navy { background: var(--navy); color: var(--paper); }
.bg-navy .muted { color: rgba(251,250,247,.72); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split-even { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 120px; }
@media (max-width: 860px) { .sticky { position: static; } }

/* Statement */
.statement {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.18;
  max-width: 21em;
  letter-spacing: -0.005em;
}
.statement-foot { margin-top: 36px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Pillars: three tall linked panels */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--paper); }
.pillar {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(460px, 62vh, 640px); color: var(--paper); text-decoration: none; overflow: hidden;
  background: var(--navy);
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.pillar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,24,38,.92) 0%, rgba(9,24,38,.5) 48%, rgba(9,24,38,.15) 100%);
  transition: background-color .4s ease;
}
.pillar-body { position: relative; z-index: 2; padding: clamp(28px, 3vw, 44px); }
.pillar h3 { font-family: var(--display); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; }
.pillar p { margin: 14px 0 22px; color: rgba(251,250,247,.86); font-size: 16px; max-width: 26em; }
.pillar .more { font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--patina-light); padding-bottom: 2px; }
.pillar:hover img { transform: scale(1.05); }
.pillar:hover::after { background-color: rgba(94,127,117,.18); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 420px; } }

/* Principles list */
.principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.principles p { margin: 0; color: var(--muted); }
.principles cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--patina); }
@media (max-width: 700px) { .principles li { grid-template-columns: 1fr; gap: 10px; } }

/* Profile */
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--stone); position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credentials { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.credentials li { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 19px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }

/* Quote */
.quote {
  font-family: var(--display); font-size: clamp(30px, 3.8vw, 52px); line-height: 1.18; max-width: 20em; margin: 0;
}
.quote-by { margin-top: 26px; font-size: 15px; }

/* Service list (subpages) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.service { padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.service p { margin: 0; color: var(--muted); max-width: 32em; }
.service ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); }
.service li { margin: 4px 0; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Process (true sequence → numbered) */
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.process li { counter-increment: step; border-top: 1px solid rgba(251,250,247,.35); padding-top: 22px; }
.process li::before { content: counter(step); display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--patina-light); margin-bottom: 18px; }
.process h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 8px; }
.process p { margin: 0; font-size: 15.5px; color: rgba(251,250,247,.75); }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Figures (only real, sourced facts) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.fact { border-top: 1px solid var(--navy); padding-top: 22px; }
.fact strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; margin-bottom: 14px; }
.fact p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* CTA band */
.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta .h2 { max-width: 13em; }
.cta p { margin: 18px 0 0; max-width: 32em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.contact-block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-block:first-child { border-top: 1px solid var(--line); }
.contact-block h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.contact-block p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.contact-block a { text-decoration: none; border-bottom: 1px solid var(--patina); }
form .field { margin-bottom: 22px; }
form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
form input, form select, form textarea {
  width: 100%; font: 17px/1.5 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 14px 16px;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--patina); outline-offset: 0; border-color: var(--patina); }
form textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 860px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* Legal */
.legal h2 { font-family: var(--serif); font-size: 24px; margin: 44px 0 12px; }
.legal p { max-width: 42em; }
.placeholder { background: #F3EBD7; padding: 1px 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(251,250,247,.78); padding: 80px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: var(--paper); font-size: 28px; }
.site-footer h4 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--paper); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-claim { font-family: var(--serif); font-size: 19px; color: var(--paper); margin: 18px 0 0; max-width: 18em; line-height: 1.4; }
.footer-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(251,250,247,.15); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal: one quiet entrance for the hero only */
.hero-content > * { opacity: 0; transform: translateY(14px); animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-content > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
/* Portrait: black & white with a quiet navy tone */
.portrait.person { background: var(--navy); }
.portrait.person img { filter: grayscale(1) contrast(1.06); object-position: 50% 15%; }
.portrait.person::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(94,127,117,.06), rgba(14,34,51,.16)); mix-blend-mode: multiply; }

/* Wordmark: name, hairline, credentials */
.brand { flex-direction: row; align-items: center; gap: 16px; line-height: 1; }
.brand-name { font-size: 28px; letter-spacing: 0.01em; }
.brand-rule { width: 1px; height: 30px; background: currentColor; opacity: .4; }
.brand-sub { font-size: 11.5px; line-height: 1.4; letter-spacing: 0.06em; opacity: .82; }
@media (max-width: 420px) { .brand-rule, .brand-sub { display: none; } .brand-name { font-size: 25px; } }

/* Wordmark v2: letterhead mark + letterspaced capitals */
.brand { gap: 14px; }
.brand-mark { width: 31px; height: 24px; flex: none; }
.brand-mark .g { fill: currentColor; opacity: .5; }
.brand-accent { fill: #8FB63F; }
.brand-text { display: flex; flex-direction: column; gap: 6px; }
.brand-name { font-family: var(--display); font-size: 20px; letter-spacing: .15em; text-transform: uppercase; line-height: 1; }
.brand-sub { font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; opacity: .72; line-height: 1; }
.site-footer .brand-name { font-size: 22px; }
@media (max-width: 420px) { .brand { gap: 11px; } .brand-mark { width: 26px; height: 20px; } .brand-name { font-size: 16px; letter-spacing: .12em; } .brand-sub { display: block; font-size: 8.5px; letter-spacing: .26em; } }
