/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #1c1c1c;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; line-height: 1.2; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3;
     margin-top: 2.5rem; margin-bottom: 0.6rem; color: #1c1c1c; }
h3 { font-size: 1rem; font-weight: 600; margin-top: 1.6rem; margin-bottom: 0.3rem; color: #1c1c1c; }
p  { margin-bottom: 1rem; color: #2e2e2e; }
p + p { margin-top: -0.2rem; }
strong { font-weight: 600; }

ul {
  list-style: none;
  margin: 0.5rem 0 1.2rem 0;
  padding: 0;
}
ul li {
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
  color: #2e2e2e;
}
ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #5a7aaa;
  font-weight: 500;
}

ol {
  margin: 0.5rem 0 1.2rem 0;
  padding-left: 1.4rem;
  list-style-position: outside;
}
ol li {
  padding: 0.25rem 0;
  color: #2e2e2e;
}

hr {
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 2.5rem 0;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 380px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,25,40,0.48) 0%, rgba(10,18,32,0.68) 100%);
  display: flex;
  align-items: flex-end;
  padding: 3rem 2rem;
}
.hero-text {
  max-width: 660px;
  margin: 0 auto;
  width: 100%;
}
.hero-text h1 {
  color: #fff;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.hero-text .subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

/* ── Main Content ──────────────────────────────────────────── */
.content {
  padding: 3.5rem 0 1.5rem;
}

/* ── Highlight Box ─────────────────────────────────────────── */
.highlight-box {
  background: #f3f6fb;
  border-left: 3px solid #3a5c8a;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}
.highlight-box p { margin: 0; color: #1c1c1c; }

/* ── Frame / Conditions ────────────────────────────────────── */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.frame-item {
  background: #f7f7f6;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
}
.frame-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6a6a6a;
  display: block;
  margin-bottom: 0.2rem;
}
.frame-item .value {
  font-size: 0.95rem;
  color: #1c1c1c;
  font-weight: 500;
}

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  background: #f3f6fb;
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 1px solid #dde4ef;
  text-align: center;
}
.cta-section p {
  font-size: 1.05rem;
  color: #2e2e2e;
  margin-bottom: 1.4rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  background: #2a3f5f;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.18s ease;
  font-family: inherit;
}
.btn:hover { background: #1e2f47; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  padding: 1.8rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid #ebebeb;
  margin-top: 0;
}
footer p,
footer a {
  color: #888;
}
footer a {
  text-decoration: underline;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding-left: 1.2rem; padding-right: 1.2rem; }
  .hero { height: 55vh; }
  .hero-overlay { padding: 2rem 1.2rem; }
  .content { padding-top: 2.5rem; padding-bottom: 1rem; }
  .cta-section { padding-top: 2.2rem; padding-bottom: 2.2rem; }
  footer { padding: 1.8rem 1.2rem; }
}

@media (max-width: 400px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-overlay { padding: 2rem 1rem; }
  .content { padding-top: 2rem; padding-bottom: 1rem; }
  .cta-section { padding-top: 2rem; padding-bottom: 2rem; }
  footer { padding: 1.5rem 1rem; }
}

/* ── Button Accessibility ──────────────────────────────────── */
.btn:focus-visible {
  outline: 3px solid #5a7aaa;
  outline-offset: 3px;
}

/* ── Konzept-Seiten ────────────────────────────────────────── */
.konzept-header {
  background: #f7f7f6;
  border-bottom: 1px solid #e4e4e4;
  padding: 1rem 1.5rem;
}
.konzept-header a {
  font-size: 0.85rem;
  color: #3a5c8a;
  text-decoration: none;
}
.konzept-header a:hover { text-decoration: underline; }
.konzept-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6a6a6a;
  background: #ebebeb;
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.5rem;
}
.konzept-badge + h1,
.content .konzept-badge + h1 { margin-bottom: 0.3rem; }

/* ── Demo-Navigation (temporär) ───────────────────────────── */
.demo-nav {
  background: #fff;
  border-top: 1px solid #e4e4e4;
  padding: 2.5rem 0;
}
.demo-nav-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9a9a9a;
  margin-bottom: 1rem;
}
.demo-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.demo-nav-grid a {
  display: block;
  border: 1px solid #dde4ef;
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: #1c1c1c;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
.demo-nav-grid a:hover { background: #f3f6fb; }
.demo-nav-grid a:focus-visible {
  outline: 3px solid #5a7aaa;
  outline-offset: 2px;
}

/* ── Konzept-Link unter CTA ────────────────────────────────── */
.cta-meta-link {
  margin-top: 1.2rem;
  font-size: 0.82rem;
}
.cta-meta-link a {
  color: #3a5c8a;
  text-decoration: none;
}
.cta-meta-link a:hover { text-decoration: underline; }
