/* drbartel.com – no external fonts or resources */
:root {
  --navy: #0d2a3f;
  --navy-2: #123a56;
  --ink: #17242e;
  --muted: #5a6872;
  --line: #e1e7ec;
  --bg: #ffffff;
  --soft: #f3f6f9;
  --accent: #1d7fa8;
  --accent-2: #3fb3c9;
  --gold: #c8a45c;
  --radius: 18px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(13, 42, 63, .06), 0 8px 28px rgba(13, 42, 63, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

/* Language switching: without JavaScript English is shown. */
[data-l="de"] { display: none; }
html[data-lang="de"] [data-l="de"] { display: revert; }
html[data-lang="de"] [data-l="en"] { display: none; }

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; color: var(--navy); }
.brand strong { font-size: 18px; letter-spacing: .01em; }
.brand small { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.langs { display: flex; gap: 6px; }
.brand + .langs { margin-left: auto; }
.langs button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer;
}
.langs button[aria-pressed="true"] { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.langs svg { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(200, 164, 92, .35); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(63, 179, 201, .28), transparent 60%),
    radial-gradient(700px 420px at 10% 110%, rgba(29, 127, 168, .35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center;
  padding-top: 84px; padding-bottom: 92px;
}
.eyebrow {
  display: inline-block; margin: 0 0 18px;
  font-size: 13.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2);
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 19.5px; color: rgba(255,255,255,.86); margin: 0 0 32px; max-width: 600px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.portrait { position: relative; justify-self: end; width: min(380px, 100%); }
.portrait::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid rgba(200, 164, 92, .7); border-radius: 26px;
}
.portrait picture, .portrait img { position: relative; border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.portrait figcaption {
  position: absolute; left: -26px; bottom: 28px;
  background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 14px; line-height: 1.35;
}
.portrait figcaption strong { display: block; font-size: 15.5px; }

/* ---------- Facts strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts li { padding: 26px 22px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 17px; color: var(--navy); }
.facts li > span { color: var(--muted); font-size: 14.5px; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head .eyebrow { color: var(--accent); }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; margin: 0 0 14px; color: var(--navy); letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--muted); font-size: 18.5px; }
h3 { font-size: 21px; line-height: 1.3; margin: 0 0 12px; color: var(--navy); }

/* Service cards: identical structure, equal height */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13,42,63,.06), 0 18px 40px rgba(13,42,63,.12); }
.icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-2), var(--accent));
}
.icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { hyphens: auto; overflow-wrap: break-word; }
/* Align icon, title, text, list and link row across all three cards */
@supports (grid-template-rows: subgrid) {
  .card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .card .more { margin-top: 0; align-self: end; }
}
.card p { margin: 0 0 18px; color: var(--muted); }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; font-size: 15.5px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(29,127,168,.12);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.card .more {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600;
}
.card .more a { text-decoration: none; }
.card .more a:hover { text-decoration: underline; }

/* Approach */
.approach { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 20px 22px; counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 30px; font-weight: 700; color: var(--accent); opacity: .9; margin-bottom: 8px;
}
.steps h3 { font-size: 17.5px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Seminars */
.seminars .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 9px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line);
  font-size: 15px; color: var(--navy); font-weight: 500;
}
.panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff;
  border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow);
}
.panel h3 { color: #fff; }
.panel dl { margin: 0; }
.panel dt { font-weight: 650; color: var(--gold); margin-top: 16px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.panel dt:first-child { margin-top: 0; }
.panel dd { margin: 4px 0 0; color: rgba(255,255,255,.88); }
.panel .partners { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.panel .partners a {
  color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 8px 16px; font-size: 14.5px; font-weight: 600;
}
.panel .partners a:hover { background: rgba(255,255,255,.08); }

/* About */
.about { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.about p { margin: 0 0 16px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid rgba(29,127,168,.25); }
.timeline li { position: relative; margin: 0 0 20px; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.timeline b { display: block; color: var(--navy); }
.timeline li > span { color: var(--muted); font-size: 15.5px; }
.creds { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.creds div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.creds b { display: block; color: var(--navy); }

/* Quote */
.quote { padding: 84px 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote p { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--navy); margin: 0 0 18px; font-weight: 500; }
.quote p::before { content: "\201E"; color: var(--gold); }
html[data-lang="en"] .quote p::before, html:not([data-lang]) .quote p::before { content: "\201C"; }
.quote p::after { content: "\201C"; color: var(--gold); }
html[data-lang="en"] .quote p::after, html:not([data-lang]) .quote p::after { content: "\201D"; }
.quote cite { font-style: normal; color: var(--muted); }

/* Contact */
.contact {
  color: #fff; text-align: center;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(63,179,201,.25), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.85); font-size: 18.5px; max-width: 640px; margin: 0 auto 30px; }
.contact .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Footer */
footer { padding: 28px 0 36px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav a { margin-left: 20px; color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 34px; margin: 0 0 24px; color: var(--navy); }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.back { display: inline-block; margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .portrait { justify-self: start; width: min(300px, 80%); }
  .portrait figcaption { left: auto; right: -14px; }
  .cards, .seminars .cols, .about .cols { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .steps, .facts ul, .creds { grid-template-columns: 1fr; }
  .facts li { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .brand small { display: none; }
}
