/* Manrope variable font, SIL Open Font License 1.1. Served from this site. */
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --crimson: #A91E3B;
  --crimson-dark: #8E1730;
  --crimson-bright: #F2506D; /* text on dark backgrounds only */
  --black: #101012;
  --grey: #4C5057;
  --line: #E4E5E8;
  --soft: #F4F5F6;
  --gutter: clamp(16px, 5vw, 72px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--black); background: #fff; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; hyphens: manual; }
p, ul, figure { margin: 0; }
address { font-style: normal; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--black); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 99px; border: 0; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.btn:active, .wp-block-button__link:active { transform: translateY(0) scale(.98); }
.btn-primary, .wp-block-button__link { background: var(--crimson); color: #fff; }
.btn-primary:hover, .wp-block-button__link:hover { background: var(--crimson-dark); }

/* Header */
.site-nav { position: relative; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--gutter); background: #fff; }
.site-nav__logo img { height: 52px; width: auto; }
.site-nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.site-nav__links > a:not(.btn) { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.site-nav__links > a:not(.btn):hover { background-size: 100% 2px; }
.site-nav .btn { padding: 11px 18px; font-size: 14px; }
.site-nav__mobile { display: none; }

@media (max-width: 860px) {
  .site-nav__links { display: none; }
  .site-nav__logo img { height: 40px; }
  .site-nav__mobile { display: block; }
  .site-nav__mobile summary { position: relative; z-index: 2; display: grid; gap: 7px; width: 44px; height: 44px; align-content: center; justify-items: center; cursor: pointer; list-style: none; }
  .site-nav__mobile summary::-webkit-details-marker { display: none; }
  .site-nav__mobile summary span { display: block; width: 26px; height: 2.5px; background: var(--black); border-radius: 2px; transition: transform .2s; }
  .site-nav__mobile[open] summary span:first-child { transform: translateY(4.75px) rotate(45deg); }
  .site-nav__mobile[open] summary span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
  .site-nav__mobile nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 80px var(--gutter) 40px; background: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
  .site-nav__mobile nav .btn { margin-top: 12px; font-size: 17px; padding: 16px 24px; letter-spacing: 0; }
}

/* Footer */
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 32px var(--gutter); padding: 56px var(--gutter) 32px; background: var(--black); color: #fff; font-size: 15px; }
.site-footer strong { display: block; font-size: 17px; margin-bottom: 8px; }
.site-footer__company a { display: inline-block; margin-top: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; align-content: flex-start; }
.site-footer a:hover { color: var(--crimson-bright); }
.site-footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #2B2C31; color: #B7BAC2; font-size: 14px; }
@media (max-width: 700px) { .site-footer { grid-template-columns: 1fr; } }

/* Plain fallback page */
.plain { padding: 80px var(--gutter); min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Page blocks. Core layout classes are neutralised so spacing stays in this file. */
.wp-block-group { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--crimson); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; font-weight: 500; }
h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
h1 em { display: block; font-style: normal; color: var(--crimson); text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 50px); text-wrap: balance; }
h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.01em; line-height: 1.2; }
.ln-mask { padding: .14em 0 .18em; margin: -.14em 0 -.18em; }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link::after { content: "→"; transition: transform .2s; }
.wp-block-button__link:hover::after { transform: translateX(4px); }
.btn-ghost .wp-block-button__link { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; padding: 13.5px 24.5px; }
.btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--black); border-color: #fff; }

.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--crimson); color: #fff; font-size: 11px; font-weight: 800; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(86vh, 800px); padding: 70px var(--gutter) 150px; overflow: hidden; color: #fff; background: var(--black); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,18,.93) 0%, rgba(14,14,18,.78) 44%, rgba(14,14,18,.22) 100%); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy { position: relative; z-index: 1; display: grid; gap: 24px; max-width: 800px; }
.hero .eyebrow, .hero h1 em { color: var(--crimson-bright); }
.hero .lede { max-width: 620px; color: #E4E5E8; }

/* Path cards overlap the bottom of the hero */
.path-cards { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: -96px var(--gutter) 0; }
.path-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 32px; background: #fff; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(16,16,18,.13); transition: transform .25s, box-shadow .25s; }
.path-card:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(16,16,18,.18); }
.path-card h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.015em; }
.path-card p { color: var(--grey); font-weight: 500; font-size: 16px; line-height: 1.5; }
.path-card .more { color: var(--crimson); font-weight: 700; }
.more a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.more a::after { content: " →"; display: inline-block; margin-left: 4px; transition: transform .2s; }
.path-card:hover .more a::after { transform: translateX(4px); }

/* Sections */
.band { padding: clamp(56px, 7vw, 100px) var(--gutter); }
.band--soft { background: var(--soft); }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head__title { display: grid; gap: 12px; }
.section-head > p { color: var(--grey); font-weight: 500; font-size: 18px; }

.services { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(170px, auto); gap: 16px; }
.svc { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px; background: var(--soft); border-radius: var(--radius); }
.svc p { color: var(--grey); font-size: 15px; font-weight: 500; line-height: 1.45; }
.svc--big { grid-row: span 2; padding: 34px; background: var(--black); color: #fff; }
.svc--big h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.svc--big p { max-width: 420px; color: #C5C8CF; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; padding: 28px; background: #fff; border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--crimson); color: #fff; font-weight: 800; }
.step p { color: var(--grey); font-size: 15px; font-weight: 500; }

.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand { display: grid; gap: 8px; align-content: start; padding: 32px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.brand h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.brand__role { color: var(--crimson); font-weight: 700; font-size: 15px; }
.brand p:last-child { color: var(--grey); font-weight: 500; }

.contact-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(44px, 6vw, 80px) var(--gutter); background: var(--crimson); color: #fff; }
.contact-cta h2 { max-width: 780px; font-size: clamp(26px, 3.2vw, 44px); }
.contact-cta .wp-block-button__link { background: #fff; color: var(--black); }
.contact-cta .wp-block-button__link:hover { background: var(--black); color: #fff; }

@media (max-width: 860px) {
  .hero { min-height: 0; padding: 56px var(--gutter) 120px; }
  .hero::after { background: linear-gradient(0deg, rgba(14,14,18,.9), rgba(14,14,18,.72)); }
  .path-cards, .section-head, .services, .steps, .brands { grid-template-columns: 1fr; }
  .path-cards { margin-top: -80px; }
  .path-card { padding: 26px; }
  .svc--big { grid-row: auto; min-height: 220px; padding: 26px; }
  .wp-block-buttons .wp-block-button, .wp-block-button__link { width: 100%; }
}

/* Sub-pages: shorter hero with no overlapping cards */
.hero--short { min-height: min(62vh, 560px); padding-bottom: 70px; }
.steps--soft .step { background: var(--soft); }
.steps--plain { counter-reset: none; }
.steps--plain .step { counter-increment: none; }
.steps--plain .step::before { content: "✓"; font-size: 15px; }
@media (max-width: 860px) { .hero--short { min-height: 0; padding-bottom: 56px; } }

/* Kontakt */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding: clamp(44px, 6vw, 84px) var(--gutter); }
.contact-layout__info { display: grid; gap: 20px; }
.contact-layout h1 { font-size: clamp(32px, 3.8vw, 54px); }
.contact-layout .lede { color: var(--grey); }
.contact-details { display: grid; gap: 14px; margin-top: 8px; font-size: 16px; }
.contact-details a { color: var(--crimson); font-weight: 600; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; }

.kontakt-form, .form-success { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); background: var(--soft); border-radius: var(--radius); scroll-margin-top: 20px; }
.form-success h2 { color: var(--crimson); }
.kontakt-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.kontakt-form legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 700; font-size: 15px; }
.field label span { font-weight: 500; color: var(--grey); }
.field input, .field textarea { width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--black); background: #fff; border: 1.5px solid #CDCFD4; border-radius: 10px; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(169,30,59,.18); }
.field textarea { resize: vertical; }
.field--error input, .field--error textarea { border-color: var(--crimson); }
.field__error { color: var(--crimson); font-size: 14px; font-weight: 600; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1.5px solid #CDCFD4; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .2s; }
.choice:hover, .choice:has(input:checked) { border-color: var(--crimson); }
.choice input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--crimson); }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 14px; background: #fff; border-left: 4px solid var(--crimson); border-radius: 6px; font-weight: 600; font-size: 15px; }
.form-privacy { color: var(--grey); font-size: 14px; }
.form-privacy a { color: var(--crimson); font-weight: 600; text-decoration: underline; }
.kontakt-form .btn { justify-self: start; }

@media (max-width: 860px) {
  .contact-layout, .field-row { grid-template-columns: 1fr; }
  .kontakt-form .btn { justify-self: stretch; }
}

.field label.choice span { color: var(--black); font-weight: 600; }

/* Legal pages */
.legal { max-width: 860px; padding: clamp(44px, 6vw, 84px) var(--gutter); display: grid; gap: 14px; }
.legal h1 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 10px; }
.legal h2 { font-size: clamp(20px, 2vw, 26px); margin-top: 22px; letter-spacing: -.01em; line-height: 1.25; }
.legal ul { padding-left: 22px; display: grid; gap: 4px; }
.legal a { color: var(--crimson); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }
.legal__date { color: var(--grey); font-size: 15px; margin-top: 18px; }

/* Long German words must break instead of widening the page on small phones */
.legal { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { h1, h2, h3 { hyphens: auto; } }

.legal a:hover { color: var(--crimson-dark); text-decoration-thickness: 2px; }

/* Long words break instead of widening a grid, whichever browser or headline */
.hero__copy, .contact-layout__info { grid-template-columns: minmax(0, 1fr); }
.hero__copy, .contact-layout__info, .kontakt-form { min-width: 0; }
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
h1 { overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

/* Über uns */
.page-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 980px; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.page-intro .lede { max-width: 720px; color: var(--grey); }
.steps--years { counter-reset: none; }
.steps--years .step { counter-increment: none; }
.steps--years .step::before { content: none; }
.steps--years h3 { color: var(--crimson); font-size: clamp(30px, 3vw, 42px); letter-spacing: -.02em; }
.steps--years .step p { font-size: 16px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principles .svc { justify-content: flex-start; min-height: 170px; }
.principles h3 { font-size: clamp(20px, 2vw, 26px); }
.principles .svc p { font-size: 16px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { display: grid; gap: 4px; align-content: start; padding: 24px; background: #fff; border-radius: var(--radius); min-width: 0; }
.person p { color: var(--grey); font-size: 15px; font-weight: 500; }
@media (max-width: 1024px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } .principles .svc { min-height: 0; } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
