/* Pilates Reformer Guide - Responsive CSS */
/* Mobile-First Design für maximale SEO-Performance */

:root {
  --primary: #8B5A8C;
  --primary-dark: #6B4A6C;
  --secondary: #E8D5E8;
  --accent: #C9A9C9;
  --text: #333333;
  --text-light: #666666;
  --background: #FAFAFA;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --success: #4CAF50;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; margin-top: 2rem; }
h3 { font-size: 1.3rem; margin-top: 1.5rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--text);
}

/* Navigation */
nav {
  display: none;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
}

nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

nav ul {
  list-style: none;
}

nav ul li {
  border-bottom: 1px solid var(--border);
}

nav ul li a {
  display: block;
  padding: 1rem;
  color: var(--text);
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 1rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.hero-cta {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* Main Content */
main {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  min-height: 60vh;
}

article {
  padding: 1rem 0;
}

/* Sections */
section {
  margin-bottom: 2rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
}

/* Lists */
ul, ol {
  margin: 1rem 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

th, td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--secondary);
  font-weight: 600;
  color: var(--primary-dark);
}

tr:hover {
  background: var(--background);
}

/* Info Boxes */
.info-box {
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.info-box strong {
  color: var(--primary-dark);
}

.tip-box {
  background: #E8F5E9;
  border-left: 4px solid var(--success);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-item h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* Footer */
footer {
  background: var(--text);
  color: var(--white);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--accent);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h3 {
  color: var(--white);
  margin-top: 0;
}

.cta-banner a {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 1rem;
}

/* Exercise Cards */
.exercise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.exercise-card h3 {
  color: var(--primary);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.difficulty {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.difficulty-easy {
  background: #E8F5E9;
  color: #2E7D32;
}

.difficulty-medium {
  background: #FFF3E0;
  color: #EF6C00;
}

.difficulty-hard {
  background: #FFEBEE;
  color: #C62828;
}

/* Price Cards */
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.price-card.featured {
  border-color: var(--primary);
  position: relative;
}

.price-card.featured::before {
  content: "Beliebt";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  color: var(--text-light);
}

/* Studio Finder */
.studio-list {
  list-style: none;
  margin-left: 0;
}

.studio-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.studio-item h4 {
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.studio-city {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  min-width: 500px;
}

.check {
  color: var(--success);
  font-weight: bold;
}

.cross {
  color: #C62828;
}

/* Impressum & Legal */
.legal-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  border-top: none;
  margin-top: 0;
}

/* Media Queries */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .nav-toggle {
    display: none;
  }

  nav {
    display: block;
  }

  nav ul {
    display: flex;
    gap: 0.5rem;
  }

  nav ul li {
    border-bottom: none;
  }

  nav ul li a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  main {
    padding: 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }

  .hero h1 {
    font-size: 3.2rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-links {
    margin-bottom: 0;
  }

  .footer-bottom {
    border-top: none;
    padding-top: 0;
  }
}

/* Print Styles */
@media print {
  header, footer, nav, .cta-banner {
    display: none;
  }

  main {
    padding: 0;
  }

  a {
    color: var(--text);
  }
}
