:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #667085;
  --border: #e4e7ec;
  --accent: #2457d6;
  --accent-soft: #eef3ff;
  --max: 1000px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: var(--accent); }

header {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  text-decoration: none;
}

.navlinks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .95rem;
}

.navlinks a {
  text-decoration: none;
  color: var(--muted);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 24px 84px;
}

.hero {
  padding: 54px 0 46px;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 11px;
  font-weight: 750;
  font-size: .86rem;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin: 0 0 20px;
}

h2 {
  font-size: 1.65rem;
  margin-top: 44px;
  letter-spacing: -.025em;
}

h3 {
  margin-top: 0;
  letter-spacing: -.015em;
}

.lead {
  font-size: 1.18rem;
  max-width: 760px;
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 24px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.app-card, .card, .value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.app-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 245px;
}

.app-card .app-meta {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 7px;
}

.app-card p {
  margin-top: 0;
}

.app-card .app-links {
  margin-top: auto;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.app-card .app-links a {
  text-decoration: none;
  font-weight: 650;
}

.card {
  padding: 26px;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.value {
  padding: 19px;
}

.value strong {
  display: block;
  margin-bottom: 5px;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid #dbe5ff;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
}

.meta, .small {
  color: var(--muted);
  font-size: .93rem;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 24px;
  color: var(--muted);
  font-size: .92rem;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

code {
  background: #eef1f5;
  border-radius: 6px;
  padding: 2px 6px;
}

@media (max-width: 760px) {
  .apps-grid, .values { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; }
  main { padding-top: 36px; }
}


/* App-Karten: klar getrennte, erweiterbare Struktur */
.apps-grid {
  align-items: stretch;
}

.app-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 275px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.075);
  border-color: #d6dce6;
}

.app-card-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.app-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.app-card h3 {
  font-size: 1.35rem;
  margin: 2px 0 0;
}

.app-card .app-meta {
  margin: 0 0 4px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}

.app-card .app-links {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.app-card .app-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}

.app-card .app-links a:hover {
  background: var(--accent-soft);
  border-color: #dbe5ff;
}

.apps-placeholder-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: .9rem;
}


/* Markenbedeutung Aptario */
.brand-meaning {
  margin-top: 72px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(36,87,214,.10), transparent 34%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.brand-meaning-intro {
  max-width: 760px;
}

.brand-origin {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid #dbe5ff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.brand-origin-mark {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: .04em;
  box-shadow: 0 10px 26px rgba(36,87,214,.18);
}

.brand-origin h3 {
  margin: 0 0 5px;
}

.brand-origin p {
  margin: 0;
  color: var(--muted);
}

.ario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ario-card {
  position: relative;
  padding: 22px 22px 22px 72px;
  min-height: 140px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.ario-letter {
  position: absolute;
  left: 20px;
  top: 21px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
  font-size: 1.05rem;
}

.ario-card h3 {
  margin: 0 0 5px;
  font-size: 1.07rem;
}

.ario-card p {
  margin: 0;
  color: var(--muted);
}

.brand-closing {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 1.03rem;
}

@media (max-width: 760px) {
  .brand-origin {
    grid-template-columns: 1fr;
  }

  .brand-origin-mark {
    width: 68px;
    height: 68px;
  }

  .ario-grid {
    grid-template-columns: 1fr;
  }

  .brand-meaning {
    padding: 24px;
  }
}
