/* ===================================================================
   CentrumConsult – Style
   V1 Dark  |  Plus Jakarta Sans (self-hosted)
   =================================================================== */

/* --- Self-hosted fonts (DSGVO-compliant, no Google CDN) ----------- */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Variables ---------------------------------------------------- */

:root {
  --bg: #0c0c0c;
  --text: #f0ede6;
  --dim: #908b82;
  --accent: #e84225;
  --rule: #252220;
  --surface: #161412;
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* --- Reset -------------------------------------------------------- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; scroll-padding-top: 3.5rem; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--text); }

/* --- Nav ---------------------------------------------------------- */

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(12,12,12,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); padding: 0 clamp(1.5rem,4vw,4rem); height: 3.2rem; display: flex; align-items: center; gap: clamp(1rem,2.5vw,2rem); font-size: 0.78rem; font-weight: 600; }
nav .brand { color: var(--accent); font-weight: 700; margin-right: auto; text-decoration: none; }
nav a { color: var(--dim); text-decoration: none; transition: color 0.15s; }
nav a:hover { color: var(--text); }

/* --- Layout ------------------------------------------------------- */

.wrap { max-width: 960px; margin: 0 auto; padding: 0 clamp(1.5rem,4vw,4rem); }
section { padding: 5rem 0 4rem; }
.section-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-weight: 700; display: block; margin-bottom: 2rem; padding: 0.15rem 0 0.15rem 1rem; border-left: 3px solid var(--accent); border-bottom: none; }
.accent-bar { width: 32px; height: 3px; background: var(--accent); margin-bottom: 1.2rem; }

/* --- Typography --------------------------------------------------- */

h1 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
h2 { font-size: clamp(0.95rem,1.8vw,1.1rem); font-weight: 400; line-height: 1.6; color: var(--dim); margin-bottom: 1.2rem; }
h3 { font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; }
p { margin-bottom: 0.9rem; max-width: 64ch; }

/* --- Home --------------------------------------------------------- */

#home { padding-top: 7rem; padding-bottom: 3rem; }
.hero-intro { font-size: clamp(0.95rem,1.6vw,1.05rem); max-width: 54ch; margin-bottom: 2rem; line-height: 1.7; }
.clients-row { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; font-size: 0.78rem; color: var(--dim); font-weight: 600; margin-bottom: 3rem; }

/* --- Services (compact horizontal) -------------------------------- */

.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 0; }
@media(max-width:700px) { .services { grid-template-columns: 1fr; } }
.svc { padding: 1.4rem 0 0; border-top: 2px solid var(--rule); }
.svc h3 { margin-top: 0; }
.svc p { font-size: 0.85rem; color: var(--dim); line-height: 1.6; }

/* --- Buch Banner -------------------------------------------------- */

.buch { background: var(--text); color: var(--bg); padding: 3.5rem 0; }
.buch-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.buch-left { flex: 1; min-width: 280px; }
.buch-right { text-align: right; }
.buch-year { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
.buch-title { font-size: clamp(1.3rem,2.5vw,1.7rem); font-weight: 700; line-height: 1.25; color: var(--bg); margin: 0.3rem 0 0.6rem; }
.buch-sub { font-size: 0.88rem; color: #555; max-width: 42ch; line-height: 1.6; }
.buch-deadline { font-size: 0.72rem; color: #777; margin-top: 0.3rem; }
@media(max-width:600px) { .buch-right { text-align: left; } }

/* --- Blog (homepage grid) ----------------------------------------- */

#blog { padding: 4rem 0 3rem; }
.blog-header { margin-bottom: 2rem; }
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media(max-width:700px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border-top: 2px solid var(--accent); padding: 1.4rem 0 0; text-decoration: none; display: block; transition: opacity 0.15s; }
.blog-card:hover { opacity: 0.85; }
.blog-card .card-date { font-size: 0.68rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.blog-card .card-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.5rem; color: var(--text); }
.blog-card .card-excerpt { font-size: 0.82rem; color: var(--dim); line-height: 1.55; }
.blog-card .card-read { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-top: 0.6rem; display: inline-block; }
.blog-cta { margin-top: 1.5rem; font-size: 0.82rem; color: var(--accent); font-weight: 600; }

/* --- Leistungen --------------------------------------------------- */

.leistung { margin-bottom: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--rule); }
.leistung:last-child { border-bottom: none; }
.leistung-intro { font-size: 0.95rem; max-width: 56ch; margin-bottom: 1.5rem; }
.leistung-list { list-style: none; margin-bottom: 1.5rem; columns: 2; column-gap: 2.5rem; }
@media(max-width:600px) { .leistung-list { columns: 1; } }
.leistung-list li { padding-left: 1rem; position: relative; font-size: 0.85rem; color: var(--dim); margin-bottom: 0.4rem; break-inside: avoid; }
.leistung-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 1.5px; background: var(--accent); }
.leistung-result { font-size: 0.88rem; color: var(--text); padding-left: 1rem; border-left: 2px solid var(--accent); max-width: 56ch; }

/* --- Bio ---------------------------------------------------------- */

.bio p { font-size: 0.92rem; line-height: 1.7; max-width: 60ch; margin-bottom: 0.9rem; }
.bio em { color: var(--accent); font-style: italic; }
.sub-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.kunden-row { display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; font-size: 0.85rem; color: var(--dim); font-weight: 600; margin-bottom: 0.6rem; }
.branchen { font-size: 0.78rem; color: var(--dim); line-height: 1.7; }
.highlight-line { color: var(--text); font-weight: 600; }

/* --- Kontakt ------------------------------------------------------ */

.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 2rem; margin-top: 1.2rem; }
.kontakt-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 0.4rem; }
.kontakt-item p { font-size: 0.88rem; color: var(--dim); margin-bottom: 0.2rem; }
.kontakt-item a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.15s; }
.kontakt-item a:hover { border-color: var(--accent); }

.impressum { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule); font-size: 0.72rem; color: var(--dim); line-height: 1.8; }
.impressum h3 { color: var(--dim); font-size: 0.62rem; margin-top: 1.2rem; margin-bottom: 0.2rem; }
.impressum p { font-size: 0.72rem; margin-bottom: 0.2rem; }

footer { padding: 2rem 0; border-top: 1px solid var(--rule); font-size: 0.68rem; color: var(--dim); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
footer a { color: var(--dim); text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--text); }

/* --- Images ------------------------------------------------------- */

.photo-strip { margin: 2.5rem 0; overflow: hidden; }
.photo-strip img { width: 100%; height: 280px; object-fit: cover; display: block; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
@media(max-width:600px) { .photo-pair { grid-template-columns: 1fr; } .photo-strip img { height: 200px; } }
.photo-pair img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-accent { margin: 2rem 0; }
.photo-accent img { width: 100%; max-height: 320px; object-fit: cover; display: block; opacity: 0.9; }

.portrait-row { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; margin-bottom: 2rem; }
@media(max-width:600px) { .portrait-row { grid-template-columns: 1fr; } }
.portrait-row img { width: 100%; height: auto; display: block; }

/* --- LinkedIn Strip ------------------------------------------------ */

.linkedin-strip { background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2.5rem 0; }
.linkedin-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.linkedin-headline { font-size: clamp(1rem,2vw,1.2rem); font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.linkedin-text { font-size: 0.85rem; color: var(--dim); max-width: 50ch; line-height: 1.6; }
.linkedin-btn { display: inline-block; padding: 0.75rem 2rem; border: 2px solid #0a66c2; color: #0a66c2; font-family: var(--font); font-size: 0.85rem; font-weight: 700; text-decoration: none; letter-spacing: 0.02em; transition: all 0.15s; white-space: nowrap; }
.linkedin-btn:hover { background: #0a66c2; color: #fff; }
@media(max-width:600px) { .linkedin-inner { flex-direction: column; text-align: center; } .linkedin-text { max-width: none; } }

/* --- Buch CTA ----------------------------------------------------- */

.buch-cta { display: inline-block; margin-top: 0.8rem; padding: 0.75rem 2rem; background: var(--accent); color: #f0ede6; font-family: var(--font); font-size: 0.88rem; font-weight: 700; text-decoration: none; letter-spacing: 0.03em; transition: opacity 0.15s; }
.buch-cta:hover { opacity: 0.85; }
.buch-prices { font-size: 0.82rem; color: var(--bg); }
.buch-prices .old { text-decoration: line-through; opacity: 0.45; margin-right: 0.6rem; }
.buch-prices .new { font-weight: 700; color: var(--accent); }

/* --- Scroll reveal ------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Blog article page -------------------------------------------- */

.article-page { padding-top: 5rem; padding-bottom: 3rem; }
.article-header { margin-bottom: 3rem; }
.article-meta { font-size: 0.78rem; color: var(--dim); margin-bottom: 1.5rem; }
.article-meta span + span::before { content: '\00b7'; margin: 0 0.5rem; }

.article-body { max-width: 720px; }
.article-body h2 { font-size: clamp(1.1rem,2vw,1.3rem); font-weight: 700; color: var(--text); line-height: 1.35; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.1rem; max-width: 66ch; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { color: var(--accent); font-style: italic; }
.article-body ul, .article-body ol { margin: 1rem 0 1.2rem 1.2rem; max-width: 64ch; }
.article-body li { font-size: 0.92rem; line-height: 1.7; margin-bottom: 0.4rem; color: var(--dim); }
.article-body li strong { color: var(--text); }
.article-body blockquote { padding-left: 1.2rem; border-left: 2px solid var(--accent); margin: 1.5rem 0; font-style: italic; color: var(--dim); font-size: 0.95rem; max-width: 60ch; }
.article-body hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.article-back { display: inline-block; margin-top: 3rem; font-size: 0.82rem; color: var(--accent); font-weight: 600; text-decoration: none; transition: opacity 0.15s; }
.article-back:hover { opacity: 0.8; }

/* --- Datenschutz page --------------------------------------------- */

.legal-page { padding-top: 5rem; padding-bottom: 3rem; }
.legal-body { max-width: 720px; }
.legal-body h2 { font-size: clamp(1rem,1.8vw,1.15rem); font-weight: 700; color: var(--text); line-height: 1.35; margin-top: 2.5rem; margin-bottom: 0.8rem; }
.legal-body h3 { font-size: 0.85rem; font-weight: 600; color: var(--text); text-transform: none; letter-spacing: 0; margin-top: 1.8rem; margin-bottom: 0.5rem; }
.legal-body p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.8rem; color: var(--dim); max-width: 64ch; }
.legal-body ul { margin: 0.6rem 0 1rem 1.2rem; max-width: 64ch; }
.legal-body li { font-size: 0.85rem; line-height: 1.65; margin-bottom: 0.3rem; color: var(--dim); }
.legal-body a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.15s; }
.legal-body a:hover { border-color: var(--accent); }

/* --- LinkedIn icon ------------------------------------------------ */

.linkedin-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.15s; }
.linkedin-link:hover { border-color: var(--accent); }
.linkedin-link svg { width: 16px; height: 16px; fill: currentColor; }
