/* KI-Workshop Website - CSS */
/* Farben: #E47823 (Haupt-Orange) und #FD6608 (Akzent-Orange) */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --primary: #E47823;
  --primary-dark: #c96a1f;
  --accent: #FD6608;
  --accent-light: rgba(253, 102, 8, 0.1);
  --text-dark: #2d3748;
  --text-medium: #4a5568;
  --text-light: #718096;
  --bg-light: #faf8f6;
  --bg-white: #ffffff;
  --bg-cream: #fef9f5;
  --border-light: #e8e4e0;
  --shadow-soft: 0 2px 15px rgba(228, 120, 35, 0.08);
  --shadow-hover: 0 8px 30px rgba(228, 120, 35, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Header & Navigation */
header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(45, 55, 72, 0.08);
  backdrop-filter: blur(6px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(45, 55, 72, 0.08);
  backdrop-filter: blur(8px);
  align-items: center;
  flex-wrap: wrap;
}

nav li {
  position: relative;
}

nav a {
  position: relative;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: var(--text-medium);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.5);
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--primary);
  background: rgba(228, 120, 35, 0.08);
}

nav a:hover::after,
nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(228, 120, 35, 0.2);
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section {
  margin-bottom: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover {
  gap: 0.75rem;
}

/* Prompt Cards */
.prompt-category {
  margin-bottom: 3rem;
}

.prompt-category h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.75rem 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prompt-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.prompt-header {
  padding: 1rem 1.5rem;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.prompt-header h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.prompt-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.prompt-card.open .prompt-toggle {
  transform: rotate(180deg);
}

.prompt-content {
  padding: 1.5rem;
  display: none;
}

.prompt-card.open .prompt-content {
  display: block;
}

.prompt-box {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  position: relative;
  margin-bottom: 1rem;
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #94a3b8;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.copy-btn.copied {
  background: var(--primary);
  color: white;
}

.prompt-tip {
  background: var(--bg-cream);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 3px solid var(--primary);
}

.prompt-tip strong {
  color: var(--primary);
}

/* Phase Cards (30-60-90) */
.phase-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.phase-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.phase-title h3 {
  margin-bottom: 0.25rem;
}

.phase-title span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.checklist {
  list-style: none;
}

.checklist li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
}

/* Datenschutz Boxes */
.do-dont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.do-box, .dont-box {
  padding: 2rem;
  border-radius: var(--radius-md);
}

.do-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
}

.dont-box {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fca5a5;
}

.do-box h3 {
  color: #166534;
}

.dont-box h3 {
  color: #991b1b;
}

.do-box ul, .dont-box ul {
  list-style: none;
}

.do-box li, .dont-box li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
}

.do-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #166534;
  font-weight: 700;
}

.dont-box li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #991b1b;
  font-weight: 700;
}

/* Downloads */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.download-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.download-icon {
  width: 45px;
  height: 45px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

.download-info {
  flex: 1;
}

.download-info h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.download-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.download-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.download-btn:hover {
  transform: scale(1.05);
  color: white;
}

/* Accordion */
.accordion {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--bg-cream);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-content {
  padding: 1.5rem;
  max-height: 1000px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: #cbd5e1;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: white;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #475569;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero-layout {
    gap: 1.25rem;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
  }

  nav ul.open {
    display: flex;
  }

  nav a {
    padding: 0.75rem 1rem;
    display: block;
    border-radius: var(--radius-sm);
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  main {
    padding: 2rem 1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .do-dont-grid {
    grid-template-columns: 1fr;
  }
  
  .phase-card {
    padding: 1.5rem;
  }
  
  .download-item {
    flex-direction: column;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  header, footer, .copy-btn, .menu-toggle {
    display: none;
  }
  
  .prompt-content {
    display: block !important;
  }
  
  .card {
    break-inside: avoid;
  }
}
