/* ime-luebeck.de – Marten Eckel. Farbschema vom bisherigen Shapely-Theme (Violett/Dunkel), keine externen Ressourcen. */
/* Schriften lokal gehostet (SIL Open Font License, siehe fonts/LICENSE-*.txt), keine Verbindung zu Google */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/raleway-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/raleway-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/raleway-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #0e1015;
  --ink-soft: #4a5560;
  --line: #e3e5ea;
  --accent: #745cf9;
  --accent-strong: #5234f9;
  --accent-text: #5234f9;
  --accent-tint: #efecff;
  --hero-bg: #0e1015;
  --hero-ink: #ffffff;
  --hero-soft: #b9bfd0;
  --on-accent: #ffffff;
  --maxw: 68rem;
  --head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12141b; --bg-alt: #181b24; --ink: #eef0f6; --ink-soft: #a9b0c2; --line: #2a2e3b;
    --accent: #8f7cff; --accent-strong: #b0a2ff; --accent-text: #b0a2ff; --accent-tint: #25213f;
    --hero-bg: #0a0b10; --on-accent: #0e1015;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; position: relative; }
.brand { display: block; font-family: var(--head); font-weight: 800; font-size: 1.25rem; line-height: 1.15; color: var(--ink); text-decoration: none; }
.brand span { display: block; font-family: var(--body); font-weight: 400; font-size: .75rem; color: var(--ink-soft); letter-spacing: .02em; }
.main-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--accent-text); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.main-nav a.nav-cta { background: var(--accent); color: var(--on-accent); margin-left: .5rem; border-radius: 2px; border-bottom-color: transparent; }
.main-nav a.nav-cta:hover { background: var(--accent-strong); color: var(--on-accent); }
.main-nav a.nav-cta[aria-current="page"] { background: var(--accent-strong); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; padding: .45rem .8rem; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; }
@media (max-width: 52rem) {
  .nav-toggle { display: inline-block; }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; }
  .js .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a[aria-current="page"] { border-bottom-color: transparent; background: var(--accent-tint); }
  .main-nav a.nav-cta { margin: .5rem 0 0; text-align: center; }
  .main-nav a.nav-cta[aria-current="page"] { background: var(--accent-strong); }
}

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); font-family: var(--head); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .88rem; padding: .95rem 1.8rem; border: 0; border-radius: 2px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.hero .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .container { position: relative; padding-top: 4.5rem; padding-bottom: 4.5rem; max-width: 68rem; }
.hero .eyebrow { color: #a99bff; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 800; margin-bottom: 1.2rem; max-width: 22ch; }
.hero .lead { color: var(--hero-soft); font-size: 1.2rem; max-width: 38rem; margin-bottom: 2rem; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent-text); margin: 0 0 1rem; }
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 3.2rem 0 2.8rem; }
.page-hero h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 800; margin-bottom: .9rem; max-width: 30ch; }
.page-hero .lead { color: var(--ink-soft); font-size: 1.15rem; max-width: 42rem; margin: 0; }

/* Sections */
section.block { padding: 3.5rem 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .45rem; }
.section-head { max-width: 44rem; }
.section-head p:last-child { margin-bottom: 0; }
.section-head a { font-family: var(--head); font-weight: 700; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 1.6rem; }
.card { border-top: 3px solid var(--accent); padding-top: 1rem; min-width: 0; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card.boxed { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 1.3rem; }
.check { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check li { position: relative; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); }
.check li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: .6rem; height: .6rem; background: var(--accent); transform: rotate(45deg); }
.certs { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.certs li { border: 2px solid var(--accent); color: var(--accent-text); font-family: var(--head); font-weight: 700; font-size: .92rem; padding: .35rem .9rem; }
.cta-band { background: var(--hero-bg); color: var(--hero-ink); padding: 3.4rem 0; text-align: center; }
.cta-band h2 { margin-bottom: 1.4rem; }
.two-col { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.two-col > * { min-width: 0; }
.two-col h2 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); }

/* Forms */
form { display: grid; gap: 1.1rem; }
label { display: block; font-weight: 700; margin-bottom: .3rem; }
label .opt { font-weight: 400; color: var(--ink-soft); }
input[type=text], input[type=email], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--ink-soft); border-radius: 2px; padding: .7rem .8rem; }
textarea { min-height: 9rem; resize: vertical; }
.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check-row input { margin-top: .4rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--accent); }
.check-row label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { padding: 1rem 1.2rem; display: none; margin-bottom: 1.2rem; }
.form-note.visible { display: block; }
.form-success { background: #e5f6ec; color: #14532d; }
.form-error { background: #fbe9e7; color: #7a1c10; }
.form-error a { color: inherit; }
@media (prefers-color-scheme: dark) {
  .form-success { background: #12301f; color: #b9ecc8; }
  .form-error { background: #3a1712; color: #f6c4bc; }
}

/* Legal */
.legal h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.4rem; }
.legal address { font-style: normal; margin: 0 0 1rem; }
.legal ul { padding-left: 1.3rem; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 2rem 0; font-size: .92rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: flex-start; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent-text); }
