/* Baukastenlehre - Innovative Lehrmethoden */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #1e3a5f;
  --blue-800: #234b7a;
  --blue-700: #2563eb;
  --blue-600: #3b82f6;
  --blue-500: #60a5fa;
  --blue-400: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-500); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--slate-600); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-900) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg { flex-shrink: 0; }

.logo:hover { color: var(--blue-700) !important; }

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

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: all var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 680px; margin: 0 auto 2rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-900);
}

.btn-primary:hover {
  background: var(--blue-100);
  color: var(--blue-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-blue {
  background: var(--blue-700);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-blue {
  background: var(--blue-50);
}

.section-teal {
  background: var(--teal-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-700);
  margin-bottom: 0.75rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon.blue { background: var(--blue-100); color: var(--blue-700); }
.card-icon.teal { background: var(--teal-100); color: var(--teal-700); }
.card-icon.amber { background: var(--amber-100); color: var(--amber-600); }

.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.938rem;
  margin-top: 1rem;
  color: var(--blue-700);
}

.card-link:hover { gap: 0.6rem; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--blue-700);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.95rem;
  color: var(--slate-500);
}

/* Content Page */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; max-width: 650px; margin: 0 auto; }

.content-section {
  padding: 3rem 0 5rem;
}

.content-body {
  max-width: 800px;
  margin: 0 auto;
}

.content-body h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.75rem;
}

.content-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.content-body p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-body ul, .content-body ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--slate-600);
  line-height: 1.8;
}

.content-body li {
  margin-bottom: 0.5rem;
}

.content-body blockquote {
  border-left: 4px solid var(--blue-500);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--blue-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-body blockquote p {
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 0;
}

/* Highlight Box */
.highlight-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-200, #bfdbfe);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box h3 { color: var(--blue-900); margin-bottom: 0.75rem; }

.tip-box {
  background: var(--teal-50);
  border: 1px solid var(--teal-400);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.tip-box h4 { color: var(--teal-700); margin-bottom: 0.5rem; }

/* Method Card (for toolbox/good-practices) */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.method-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.method-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.method-tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.method-tag.teal { background: var(--teal-100); color: var(--teal-700); }
.method-tag.amber { background: var(--amber-100); color: var(--amber-600); }

.method-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.method-card p { font-size: 0.9rem; }

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--teal-700) 100%);
  color: var(--white);
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.95rem; margin-top: 0.75rem; line-height: 1.7; color: var(--slate-400); }
.footer-brand .logo { color: var(--white) !important; margin-bottom: 0.5rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--white); }

/* Breadcrumb */
.breadcrumb {
  padding: 6rem 0 0;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.breadcrumb-list a { color: var(--blue-700); }
.breadcrumb-list li + li::before { content: "/"; margin-right: 0.5rem; color: var(--slate-400); }

/* Related Pages */
.related-section {
  padding: 4rem 0;
  background: var(--slate-50);
}

.related-section .section-header { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { display: flex; }

  .hero { padding: 8rem 0 4rem; }
  .page-hero { padding: 7rem 0 2rem; }

  .card-grid, .method-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .stats-row { grid-template-columns: 1fr 1fr; }

  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
