/* CSS für struktur-statt-chaos.de - Redesign 2025 */

/* Reset & Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  background: #fafafa;
}

/* Layout-Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose {
  max-width: 860px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: rgba(250,250,250,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6e6e6;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  text-decoration: none;
  display: block;
}

.brand-sub {
  font-size: 15px;
  opacity: 0.8;
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: #666;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: #efefef;
  color: #111;
}

.nav a.is-active {
  color: #111;
  font-weight: 500;
  position: relative;
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #c8a85a;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section:first-child {
  padding-top: 96px;
}

.section-dark {
  background: #0f0f10;
  color: #f5f5f5;
}

.section-light {
  background: #fafafa;
}

.section-white {
  background: #ffffff;
}

/* Hero */
.hero-wrap {
  background: #0f0f10;
  border-radius: 24px;
  padding: 56px;
  margin-bottom: 80px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: #f5f5f5;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px 0;
  color: #fff;
}

.hero-lead {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  color: #e0e0e0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  max-width: 100%;
  height: auto;
}

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

.hero-media {
  max-width: 420px;
  margin-left: auto;
}

.hero-media img {
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.image-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  margin: 32px 0;
}

.image-caption {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 6px;
  text-align: center;
}
h1 {
  font-size: 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  margin: 0 0 32px 0;
  line-height: 1.2;
}

h2 {
  font-size: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  margin: 48px 0 24px 0;
  line-height: 1.3;
}

h3 {
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  margin: 32px 0 16px 0;
  line-height: 1.3;
}

p {
  margin: 0 0 24px 0;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.meta {
  font-size: 14px;
  opacity: 0.75;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #333;
  color: #fff;
  transform: translateY(-1px);
}

.btn-gold {
  display: inline-block;
  background: #c8a85a;
  color: #111;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background: #b49950;
  color: #111;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #111;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid #111;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary.white {
  color: #fff;
  border-color: #fff;
}

.btn-secondary.white:hover {
  background: #fff;
  color: #111;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.step-card {
  position: relative;
  padding-left: 60px;
}

.step-number {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 24px;
  height: 24px;
  background: #c8a85a;
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.cta-panel {
  background: #0f0f10;
  color: #f5f5f5;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
}

.cta-panel h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-panel p {
  color: #e0e0e0;
  margin-bottom: 24px;
}

.card-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Callout */
.callout {
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 28px;
  margin: 32px 0;
}

.callout h3 {
  margin-top: 0;
}

/* Divider */
.divider {
  border: none;
  height: 1px;
  background: #e6e6e6;
  margin: 48px 0;
}

/* Accent */
.accent {
  color: #c8a85a;
  font-weight: 600;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: #c8a85a;
  margin: 16px 0;
}

/* Lists */
ul, ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

/* Tool Boxes */
.tool-box {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tool-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.badge {
  background: #c8a85a;
  color: #111;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.tool-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-item {
  border-top: 1px solid #e7e7e7;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.tool-item:first-child {
  border-top: none;
  padding-top: 0;
}

.tool-content {
  flex: 1;
}

.tool-name {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
}

.tool-note {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.disclaimer {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e7e7e7;
}

/* Audio Box */
.audio-box {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.audio-box h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
}

.audio-box p {
  margin-bottom: 24px;
  color: #666;
}

audio {
  width: 100%;
  max-width: 400px;
  height: 40px;
  margin: 0 auto;
}

.audio-placeholder {
  padding: 20px;
  background: #f7f7f7;
  border-radius: 12px;
  color: #666;
  font-style: italic;
}

/* Audio Demo */
.audio-demo {
  margin-top: 24px;
}

.audio-demo .meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.audio-demo audio {
  width: 100%;
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: #f5f5f5;
  border-top: 1px solid #e6e6e6;
  padding: 40px 0;
  font-size: 14px;
  color: #666;
}

.footer-disclaimer {
  font-size: 12px;
  opacity: 0.8;
  margin: 16px 0;
  line-height: 1.4;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: #666;
  text-decoration: none;
}

.site-footer a:hover {
  color: #111;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section:first-child {
    padding-top: 64px;
  }
  
  .hero-wrap {
    padding: 32px 24px;
    margin-bottom: 48px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-lead {
    font-size: 18px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .grid,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step-card {
    padding-left: 0;
    padding-top: 50px;
  }
  
  .step-number {
    left: 24px;
    top: 24px;
  }
  
  .card {
    padding: 20px;
  }
  
  .cta-panel {
    padding: 32px 24px;
  }
  
  .tool-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .tool-item .btn {
    width: 100%;
    text-align: center;
  }
  
  .nav {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .nav a {
    font-size: 14px;
    padding: 6px 8px;
  }
  
  .brand {
    font-size: 24px;
  }
  
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* FAQ Details */
details {
  margin-bottom: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
}

summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 20px;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details div {
  padding: 0 20px 20px 20px;
}

/* Legacy Support */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 20px 0;
  }
  
  .brand {
    font-size: 22px;
  }
  
  .nav {
    gap: 20px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content .lead {
    font-size: 18px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 24px;
  }
  
  .callout {
    padding: 24px;
  }
  
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Additional Components */
.lead {
  font-size: 1.08em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

.page-context {
  font-size: 12px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

/* Links */
a {
  color: #000;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease;
}

a:hover {
  text-decoration-color: #000;
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
  border-radius: 2px;
  text-decoration: none;
}

/* Block Elements */
main {
  min-height: 60vh;
}

article {
  margin-bottom: 4rem;
}

/* Code */
code {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  background: #f3f3f3;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #f3f3f3;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.9em;
}

/* Blockquote */
blockquote {
  border-left: 3px solid #e6e6e6;
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: #555;
  font-style: italic;
}

blockquote p {
  margin-bottom: 0;
}
