/* Ocore Systems – Landingpage
   Farben laut Markenpalette, Schrift Montserrat (selbst gehostet) */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0B2545;
  --navy-950: #061629;
  --navy-700: #173556;
  --navy-600: #244366;
  --navy-100: #D5DEEA;
  --navy-50: #EEF2F7;
  --teal: #13C4A3;
  --teal-700: #0B8070;
  --teal-50: #E8FBF7;
  --coral: #FF6B3D;
  --text: #263142;
  --muted: #64728A;
  --bg: #F7F9FB;
  --border: #E1E6ED;
  --white: #FFFFFF;
  --radius: 12px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 8px 14px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav a:hover { background: var(--navy-50); color: var(--navy); }
.nav a.nav-cta { background: var(--navy); color: var(--white); }
.nav a.nav-cta:hover { background: var(--navy-700); color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #2BD0B0; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-950) 100%); color: var(--navy-100); }
.hero .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--teal); }
.hero h1 .accent { color: var(--teal); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 18px; }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: #C9D4E3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-motif { justify-self: end; width: 100%; max-width: 380px; }
.hero-deco { position: absolute; left: -180px; bottom: -220px; width: 360px; opacity: .45; pointer-events: none; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .eyebrow { color: var(--teal-700); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card .icon { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 20px; }
.card .icon svg { width: 30px; height: 30px; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; margin: 6px 0; font-size: .97rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--teal); }
.note { margin-top: 32px; padding: 18px 22px; border-left: 4px solid var(--teal); background: var(--teal-50); border-radius: 0 10px 10px 0; color: var(--text); font-size: .98rem; }
.note p { margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--navy); border-radius: 50%; margin-bottom: 16px; }
.feature .num span { display: block; width: 12px; height: 12px; background: var(--teal); }
.feature p { color: var(--muted); font-size: .98rem; }

/* About */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait .initials { font-size: 4.5rem; font-weight: 700; color: var(--white); letter-spacing: .04em; }
.portrait .initials span { color: var(--teal); }
.portrait small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .8rem; color: #9FB0C7; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: .88rem; font-weight: 600; }

/* Contact */
.contact { background: var(--navy); color: #C9D4E3; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--teal); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; background: var(--navy-700); border-radius: 10px; padding: 16px 20px; }
.contact-list svg { width: 24px; height: 24px; flex: none; }
.contact-list .label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9FB0C7; }
.contact-list a, .contact-list .value { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--teal); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9FB0C7; padding: 32px 0; font-size: .92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer img { height: 32px; width: auto; }
.site-footer ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #D5DEEA; }
.site-footer a:hover { color: var(--teal); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; color: var(--navy); }
.legal dd { margin: 0; }
.template-banner { background: #FEF6E4; border: 1px solid #F2A71B; color: #6B4306; border-radius: 10px; padding: 14px 18px; margin-bottom: 32px; font-size: .95rem; }
.ph { background: #FFF1EC; color: #9A3412; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* 404 */
.notfound { min-height: calc(100vh - 72px - 97px); display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-950) 100%); color: #C9D4E3; padding: 64px 0; }
.notfound h1 { color: var(--white); }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.notfound svg { width: 96px; margin: 0 auto 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-motif, .hero-deco { display: none; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 12px; padding-bottom: 10px; }
  .brand img { height: 38px; }
  .nav ul { gap: 4px; flex-wrap: wrap; }
  .nav a { padding: 6px 10px; font-size: .9rem; }
  .site-header { position: static; }
  .features { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .btn { width: 100%; justify-content: center; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
.site-footer .copy { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.legal h1 { font-size: clamp(1.7rem, 7vw, 2.6rem); }
.legal dl + p { margin-top: 1.5em; }
@media (min-width: 601px) { .legal dl { grid-template-columns: 240px 1fr; } }
