/* ============================================================
   HIERHOLZER | DPC — Layout & components (Variant C-Light)
   Companion to tokens.css. Static port of the design prototype.
   ============================================================ */

:root { --container: 1280px; --gutter: 64px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0; background: var(--bg-canvas);
  font-family: var(--font-brand); color: var(--fg-1);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.wm-bar { color: var(--dpc-slate-400); font-weight: 300; margin: 0 0.18em; }
.wm-accent { color: var(--dpc-ocean-blue); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Brand lockup --------------------------------------------------------- */
.brand-lockup { display: inline-flex; flex-direction: column; align-items: stretch; text-decoration: none; line-height: 1; }
.brand-lockup__wm { font-weight: 900; letter-spacing: 0.04em; line-height: 1; white-space: nowrap; }
.brand-lockup__wm .wm-bar { color: rgba(255,255,255,0.45); }
.brand-lockup--dark .brand-lockup__wm { color: #fff; }
.brand-lockup__sub { display: flex; justify-content: space-between; width: 100%; margin-top: 6px; color: var(--dpc-ocean-blue); font-weight: 500; }

/* --- Buttons -------------------------------------------------------------- */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font-family: var(--font-brand); border-radius: var(--radius-pill); transition: filter var(--dur-base) var(--ease-out); }
.btn--accent { background: var(--dpc-ocean-blue); color: #fff; box-shadow: var(--shadow-accent); }
.btn--accent:hover { filter: brightness(1.06); }
.btn--accent:active { filter: brightness(0.94); }
.btn--ghost-light { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.3); transition: border-color var(--dur-base) var(--ease-out); }
.btn--ghost-light:hover { border-bottom-color: var(--dpc-ocean-blue); }
.icon { display: inline-flex; }

/* --- Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(11,46,63,0.94); border-bottom: 1px solid rgba(255,255,255,0.08); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); }
.site-header__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 32px; padding: 16px var(--gutter); }
.site-header .brand-lockup__wm { font-size: 20px; }
.site-header .brand-lockup__sub { font-size: 9px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.site-nav a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; font-weight: 500; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color var(--dur-base) var(--ease-out); }
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { color: #fff; font-weight: 600; border-bottom-color: var(--dpc-ocean-blue); }
.header-cta { padding: 10px 18px; font-size: 13px; font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-md); padding: 8px; cursor: pointer; color: #fff; }

/* --- Hero (dark, image bg + navy mask) ------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--dpc-dark-navy); color: #fff; }
.hero__bg { position: absolute; inset: 0; background-image: url("assets/img/hero-bg.jpg"); background-size: cover; background-position: center; }
.hero__mask { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,46,63,0.88) 0%, rgba(11,46,63,0.72) 52%, rgba(11,79,108,0.55) 100%); }
.hero__deco { position: absolute; border-radius: 999px; pointer-events: none; }
.hero__deco--a { right: -200px; top: -220px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(26,143,191,0.20), rgba(26,143,191,0) 68%); }
.hero__deco--b { left: -160px; bottom: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(11,79,108,0.5), rgba(11,79,108,0) 70%); }
.hero__watermark { position: absolute; right: 3vw; top: 60px; font-weight: 900; font-size: clamp(120px, 20vw, 210px); line-height: 1; color: rgba(255,255,255,0.03); letter-spacing: -0.04em; pointer-events: none; user-select: none; }
.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 60px var(--gutter) 66px; }
.eyebrow { font-family: var(--font-brand); font-weight: 600; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dpc-ocean-blue); }
.hero__title { font-weight: 900; font-size: clamp(40px, 7vw, 68px); line-height: 1.0; letter-spacing: -0.03em; margin: 18px 0 0; max-width: 760px; color: #fff; }
.hero__title .accent { color: var(--dpc-ocean-blue); }
.hero__lead { font-size: 16px; color: var(--dpc-slate-300); line-height: 1.6; margin-top: 24px; max-width: 540px; }
.hero__cta { display: flex; gap: 16px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.hero__cta .btn--accent { padding: 16px 30px; font-size: 15px; font-weight: 600; }
.hero__cta .btn--ghost-light { padding: 16px 6px; font-size: 15px; font-weight: 500; }

/* --- Content background (office photo under white mask) -------------------- */
.content-bg { position: relative; overflow: hidden; background-color: #b9c6cd; background-image: linear-gradient(rgba(248,250,252,0.50), rgba(248,250,252,0.50)), url("assets/img/content-bg.jpg"); background-size: cover; background-position: center top; background-repeat: no-repeat; }
.content-bg__inner { position: relative; z-index: 1; }

/* --- Section heads -------------------------------------------------------- */
.section { max-width: var(--container); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.section--mt { margin-top: 104px; }
.sec-head { margin-bottom: 32px; }
.sec-head .eyebrow { color: var(--dpc-ocean-blue); }
.sec-title { font-weight: 900; font-size: clamp(32px, 4.6vw, 48px); margin-top: 14px; line-height: 1.05; color: var(--fg-1); }

/* --- Leistungen cards (home) ---------------------------------------------- */
.lcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcard { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.lcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lcard__img { position: relative; height: 150px; background-size: cover; background-position: center; }
.lcard__num { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 999px; background: rgba(248,250,252,0.92); color: var(--dpc-deep-teal); font-family: var(--font-mono); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.lcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lcard__title { font-weight: 700; font-size: 18px; color: var(--fg-1); margin: 0; }
.lcard__text { font-size: 13.5px; color: var(--dpc-slate-600); line-height: 1.55; flex: 1; margin: 0; }
.lcard__link, .inline-link { color: var(--dpc-ocean-blue); font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.lcard__link:hover, .inline-link:hover { gap: 9px; }

/* --- Vorgehen (NEW: Analyse → Konzept → Umsetzung) ------------------------ */
.vorgehen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vstep { position: relative; background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 28px 26px; box-shadow: var(--shadow-sm); }
.vstep__num { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; color: var(--dpc-ocean-blue); }
.vstep__title { font-weight: 700; font-size: 19px; color: var(--fg-1); margin: 10px 0 8px; }
.vstep__text { font-size: 14px; color: var(--dpc-slate-600); line-height: 1.6; margin: 0; }
.vstep__connector { position: absolute; top: 40px; right: -12px; color: var(--dpc-slate-300); display: flex; }

/* --- Glassy card (shared content panel) ----------------------------------- */
.glass { background: rgba(248,250,252,0.74); border-radius: 16px; padding: 32px 34px; border: 1px solid rgba(255,255,255,0.6); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }

/* --- Über mich (home split) ----------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 64px; align-items: stretch; }
.about__title { font-weight: 900; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; margin: 14px 0 22px; color: var(--fg-1); }
.about__p { font-size: 15px; color: var(--dpc-slate-600); line-height: 1.7; margin: 0 0 16px; }
.about__p--muted { color: var(--dpc-slate-500); margin-bottom: 8px; }

/* --- Portrait tile (monogram, no placeholder label) ----------------------- */
.portrait { position: relative; width: 100%; min-height: 320px; border-radius: 18px; overflow: hidden; background: var(--dpc-mist); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; }
.portrait::before { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 999px; background: rgba(26,143,191,0.06); }
.portrait__monogram { position: relative; width: 92px; height: 92px; border-radius: 999px; background: var(--dpc-ocean-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 32px; }
.portrait__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait--dark { background: var(--gradient-card-dark); border: 1px solid rgba(255,255,255,0.1); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { max-width: var(--container); margin: 112px auto 96px; padding: 0 var(--gutter); text-align: center; }
.cta-band__claim { font-family: var(--font-brand); font-style: italic; font-size: clamp(20px, 3vw, 28px); color: var(--dpc-ocean-blue); }
.cta-band__title { font-weight: 900; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 18px auto 0; max-width: 780px; color: var(--fg-1); }
.cta-band .btn--accent { margin-top: 30px; padding: 16px 34px; font-size: 15px; font-weight: 600; }

/* --- SubHero (subpages) --------------------------------------------------- */
.subhero { position: relative; overflow: hidden; background: var(--dpc-dark-navy); color: #fff; }
.subhero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter) 80px; }
.subhero__title { font-weight: 900; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 18px 0 0; max-width: 920px; color: #fff; }
.subhero__sub { font-size: 17px; color: var(--dpc-slate-300); line-height: 1.6; margin-top: 20px; max-width: 640px; }

/* --- Leistungen detail (subpage, alternating) ----------------------------- */
.ldetail { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); margin-top: 80px; }
.ldetail:first-of-type { margin-top: 96px; }
.ldetail__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: stretch; }
.ldetail--rev .ldetail__grid { grid-template-columns: 1.1fr 0.9fr; }
.ldetail__img { border-radius: 18px; overflow: hidden; min-height: 320px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.ldetail--rev .ldetail__img { order: 2; }
.ldetail--rev .ldetail__panel { order: 1; }
.ldetail__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--dpc-ocean-blue); font-weight: 700; }
.ldetail__title { font-weight: 900; font-size: 34px; margin: 8px 0 14px; line-height: 1.1; color: var(--fg-1); }
.ldetail__text { font-size: 15px; color: var(--dpc-slate-600); line-height: 1.7; margin: 0 0 18px; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dpc-slate-600); line-height: 1.5; margin-bottom: 8px; }
.bullets li .icon { color: var(--dpc-ocean-blue); flex: 0 0 auto; margin-top: 1px; }

/* --- Prinzipien (Über page) ----------------------------------------------- */
.prinzipien { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prinzip { background: #fff; border-radius: 14px; padding: 26px; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
.prinzip h3 { font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--fg-1); }
.prinzip p { font-size: 14px; color: var(--dpc-slate-600); line-height: 1.6; margin: 0; }

/* --- Kontakt -------------------------------------------------------------- */
.kontakt__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.kontakt__row { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--fg-2); text-decoration: none; }
.kontakt__row .icon { color: var(--dpc-ocean-blue); }
.kontakt__row a:hover, a.kontakt__row:hover { color: var(--dpc-deep-teal); }
.form-card { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px; }
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: flex; gap: 14px; }
.field { flex: 1; }
.field label { font-size: 11px; font-weight: 600; color: var(--fg-2); letter-spacing: 0.04em; display: block; margin-bottom: 6px; }
.field input, .field textarea { font-family: var(--font-brand); font-size: 14px; color: var(--fg-1); padding: 12px 14px; border: 1px solid var(--border-default); border-radius: 10px; background: #fff; width: 100%; outline: none; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { border-color: var(--dpc-ocean-blue); box-shadow: 0 0 0 3px rgba(26,143,191,0.12); }
.form-submit { background: var(--dpc-ocean-blue); color: #fff; border: 0; padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; align-self: flex-start; box-shadow: var(--shadow-accent); margin-top: 4px; transition: filter var(--dur-base) var(--ease-out); }
.form-submit:hover { filter: brightness(1.06); }
.form-fine { font-size: 11px; color: var(--fg-3); line-height: 1.5; }
.form-fine a { color: var(--dpc-ocean-blue); }
.form-ok__icon { width: 52px; height: 52px; border-radius: 999px; background: var(--feedback-success-bg); color: var(--feedback-success); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.form-ok__title { font-weight: 900; font-size: 22px; color: var(--fg-1); }
.form-ok__body { font-size: 14px; color: var(--dpc-slate-600); line-height: 1.6; margin-top: 10px; }
.is-hidden { display: none !important; }

/* --- Legal pages ---------------------------------------------------------- */
.legal { max-width: 860px; }
.legal h1 { font-weight: 900; font-size: 26px; margin: 0 0 6px; color: var(--fg-1); line-height: 1.15; }
.legal .legal__updated { font-size: 12px; color: var(--fg-3); margin: 0 0 24px; }
.legal h2 { font-weight: 700; font-size: 19px; margin: 28px 0 10px; color: var(--fg-1); }
.legal h3 { font-weight: 600; font-size: 14px; margin: 20px 0 6px; color: var(--fg-1); }
.legal p, .legal li { font-size: 14px; line-height: 1.7; color: var(--dpc-slate-600); margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal a { color: var(--dpc-ocean-blue); }
.legal__back { display: inline-block; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--dpc-ocean-blue); text-decoration: none; }
.legal__back:hover { text-decoration: underline; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--dpc-dark-navy); color: var(--dpc-slate-300); padding: 64px 0 28px; }
.site-footer__top { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.site-footer .brand-lockup__wm { font-size: 24px; }
.site-footer .brand-lockup__sub { font-size: 11px; }
.footer-claim { font-family: var(--font-brand); font-style: italic; font-size: 14px; color: var(--dpc-mist); margin-top: 16px; max-width: 300px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.footer-contact a, .footer-contact span { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #94A3B8; text-decoration: none; }
.footer-contact .icon { color: var(--dpc-ocean-blue); }
.footer-contact a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: #fff; font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: #94A3B8; font-size: 13px; text-decoration: none; padding: 4px 0; transition: color var(--dur-base) var(--ease-out); }
.footer-col a:hover { color: #fff; }
.site-footer__line { max-width: var(--container); margin: 56px auto 0; padding: 24px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11px; color: #64748B; line-height: 1.6; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .kontakt__grid { grid-template-columns: 1fr; gap: 32px; }
  .ldetail__grid, .ldetail--rev .ldetail__grid { grid-template-columns: 1fr; gap: 28px; }
  .ldetail--rev .ldetail__img, .ldetail--rev .ldetail__panel { order: 0; }
  .ldetail__img { min-height: 240px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .lcards, .vorgehen__grid, .prinzipien { grid-template-columns: 1fr; }
  .vstep__connector { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: rgba(11,46,63,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); border-top: 0; }
  .site-nav a.is-active { border-bottom-color: rgba(255,255,255,0.08); color: var(--dpc-ocean-blue); }
  .site-nav .header-cta { margin-top: 12px; text-align: center; border: 0; }
  .section--mt { margin-top: 72px; }
  .cta-band { margin: 80px auto 72px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero__inner { padding: 44px var(--gutter) 48px; }
  .subhero__inner { padding: 52px var(--gutter) 56px; }
  .field-row { flex-direction: column; gap: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .glass { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }
