*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --black: #1d1d1f;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #c5c5ca;
  --gray-400: #a1a1a6;
  --gray-600: #6e6e73;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --red: #cc0000;
  --gold: #ffcc00;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo svg {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-links .nav-cta {
  color: var(--blue);
  opacity: 1;
}

/* ── Hero ── */
.hero {
  background: var(--gray-100);
  color: var(--black);
  text-align: center;
  padding: 120px 24px 100px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #1d1d1f 0%, #6e6e73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 12px 26px;
  border-radius: 980px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--blue-hover); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-secondary::after {
  content: '›';
  font-size: 1.2em;
  line-height: 1;
}

.btn-secondary:hover { opacity: 0.7; }

/* ── Marken-Navigation (Vor/Zurück) ── */
.brand-nav {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 32px 24px;
}

.brand-nav-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Rechter, primärer Button: Pfeil als ::after */
.brand-nav .btn-primary::after {
  content: ' ›';
  font-size: 1.1em;
  line-height: 1;
}

/* Linker, sekundärer Button: Pfeil als ::before (umgedrehte Richtung),
   gleichzeitig das globale ::after der btn-secondary hier unterdrücken */
.brand-nav .btn-secondary::before {
  content: '‹ ';
  font-size: 1.2em;
  line-height: 1;
}

.brand-nav .btn-secondary::after {
  content: none;
}

/* ── Section base ── */
.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 64px;
}

/* ── Values: bento grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 40px 36px;
  overflow: hidden;
  position: relative;
}

.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-card.dark {
  background: var(--black);
  color: var(--white);
}

.bento-card.dark .card-body { color: #86868b; }

.bento-card.accent-red { background: #fff1f1; }
.bento-card.accent-gold { background: #fffbe6; }

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.dark .card-tag { color: #86868b; }

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.card-body {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.card-body a {
  color: var(--gray-600);
  text-decoration: none;
}

.card-body a:hover {
  color: var(--black);
}

.bento-number {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}


/* ── History ── */
.history-section {
  background: var(--black);
  color: var(--white);
}

.history-section .section-eyebrow { color: #86868b; }
.history-section .section-title { color: var(--white); }
.history-section .section-body { color: #86868b; }

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}

.tl-item {
  background: #1c1c1e;
  padding: 36px 28px;
  border-radius: 0;
  transition: background 0.2s;
}

.tl-item:first-child { border-radius: 18px 0 0 18px; }
.tl-item:last-child  { border-radius: 0 18px 18px 0; }

.tl-item:hover { background: #2c2c2e; }

.tl-year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 12px;
}

.tl-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.tl-body {
  font-size: 0.875rem;
  color: #86868b;
  line-height: 1.6;
}

/* ── Industries ── */
.industries-section { background: var(--gray-100); }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--black);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 980px;
  border: 1px solid var(--gray-200);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: default;
}

.tag:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: scale(1.04);
}

.tag-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.tag-disabled .tag-dot {
  background: var(--gray-400);
}

/* ── Stats ── */
.stats-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}

.stat-item {
  padding: 52px 30px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 0.5em;
  font-weight: normal;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.stat-label a {
  color: var(--gray-600);
  text-decoration: none;
}
.stat-label a:hover { color: var(--black); }

.bento a[href^="http"]:not([href*="madeingermany.de"])::after {
  content: '↗';
}

/* ── CTA ── */
.cta-section {
  background: var(--gray-100);
  text-align: center;
}

.cta-section .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.cta-section .section-body {
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 48px 24px 32px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}

.footer-logo img {
  height: 20px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
}

.footer-desc {
  max-width: 320px;
  line-height: 1.6;
}

.footer-links-grid {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--black); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--gray-600);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--black); }

/* ── Innenpages ── */
.page-section {
  padding: 80px 24px 120px;
}

.page-inner {
  max-width: 680px;
  margin: 0 auto;
}

.page-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-lead {
  font-size: 1.2rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 64px;
}

.page-meta {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 64px;
}

.page-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.page-block:last-child {
  border-bottom: none;
}

.page-block h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.page-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
}

.page-block p + p {
  margin-top: 16px;
}

.page-block address {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  font-style: normal;
}

.page-block ul,
.page-block ol {
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  margin-top: 12px;
}

.page-block li + li {
  margin-top: 6px;
}

.page-block a {
  color: var(--blue);
  text-decoration: none;
}

.page-block a:hover {
  text-decoration: underline;
}

.page-block dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 24px;
  font-size: 1rem;
  line-height: 1.7;
}

.page-block dt {
  color: var(--gray-600);
}

.page-block dd {
  color: var(--black);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bento-card.span-6,
  .bento-card.span-4,
  .bento-card.span-8 { grid-column: span 12; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .tl-item:first-child { border-radius: 18px 18px 0 0; }
  .tl-item:last-child  { border-radius: 0 0 18px 18px; }
  .timeline { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links-grid { gap: 28px; flex-wrap: wrap; }
}

/* ── Print ── */
@media print {
  @page {
    margin-top: 0;
    margin-bottom: 0;
  }

  nav,
  footer,
  .btn-primary[download] {
    display: none;
  }
}

