/* Amber Grove - Kardio-Wellness Zentrum */
/* Palette: Terra Warm (SEED % 5 = 2) */

:root {
  --primary: #8b4513;
  --secondary: #a65d2e;
  --accent: #deb887;
  --background: #fdfaf6;
  --text: #3d2009;
  --white: #ffffff;
  --gray-light: #f5f2ed;
  --gray: #9a9082;
  --shadow: rgba(139, 69, 19, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--primary); }

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

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

/* Header */
.header {
  background-color: var(--primary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.logo:hover { color: var(--accent); }

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--secondary);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
}

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

.section-bg {
  padding: 80px 0;
  background-color: var(--background);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.text-center { text-align: center; }

.lead-text {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
}

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

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Intro Grid */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro-grid.reverse {
  direction: rtl;
}

.intro-grid.reverse > * {
  direction: ltr;
}

.intro-text h2 {
  margin-bottom: 24px;
}

.intro-image img {
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  margin-bottom: 12px;
}

.card-content p {
  color: var(--text);
  margin-bottom: 16px;
}

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

.card-link:hover { color: var(--primary); }

/* Product Cards */
.product-card .card-content {
  text-align: center;
}

.product-subtitle {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 16px 0;
}

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

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 16px;
  color: var(--text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* Full Testimonials */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-full {
  display: flex;
  gap: 24px;
  background-color: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-full .testimonial-avatar {
  flex-shrink: 0;
}

.testimonial-content blockquote p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-meta {
  border-top: 1px solid var(--gray-light);
  padding-top: 16px;
}

.testimonial-details {
  color: var(--gray);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  margin-bottom: 24px;
  color: var(--text);
}

/* Programs */
.program-overview {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.program-card-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.program-card-large.reverse {
  direction: rtl;
}

.program-card-large.reverse > * {
  direction: ltr;
}

.program-image img {
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
}

.program-tagline {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 16px;
}

/* Program Detail */
.program-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.program-hero-image {
  border-radius: 12px;
  margin-bottom: 32px;
  width: 100%;
}

.program-main h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.program-main h2:first-of-type {
  margin-top: 0;
}

.program-main h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--secondary);
}

/* Sidebar */
.program-sidebar,
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background-color: var(--background);
  padding: 24px;
  border-radius: 12px;
}

.sidebar-card.highlight {
  background-color: var(--primary);
  color: var(--white);
}

.sidebar-card.highlight h3 {
  color: var(--white);
}

.sidebar-card.highlight p {
  opacity: 0.9;
}

.sidebar-card h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.program-info-list,
.benefits-list,
.key-points {
  list-style: none;
}

.program-info-list li,
.benefits-list li,
.key-points li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.benefits-list li::before,
.key-points li::before {
  content: "✓ ";
  color: var(--secondary);
  font-weight: bold;
}

.related-links {
  list-style: none;
}

.related-links li {
  padding: 8px 0;
}

/* Approach Steps */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-step {
  text-align: center;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.approach-step h3 {
  margin-bottom: 12px;
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.philosophy-item {
  padding: 32px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.philosophy-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.philosophy-item h3 {
  margin-bottom: 12px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  text-align: center;
}

.value-card h3 {
  margin-bottom: 12px;
}

/* Articles */
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-card-large {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 32px;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.article-card-large .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-category {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.article-content h2 {
  margin-bottom: 12px;
}

.article-content h2 a {
  color: var(--primary);
}

.article-link {
  color: var(--secondary);
  font-weight: 600;
}

/* Article Page */
.article-header {
  padding: 40px 0;
}

.article-header h1 {
  margin-top: 12px;
  margin-bottom: 12px;
}

.article-meta {
  color: var(--gray);
}

.article-hero {
  max-height: 400px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  object-fit: cover;
}

.article-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.article-body {
  max-width: 700px;
}

.article-body .lead {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 32px;
}

.article-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--secondary);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-details {
  margin: 32px 0;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.contact-note {
  padding: 24px;
  background-color: var(--background);
  border-radius: 12px;
}

.contact-note h3 {
  margin-bottom: 12px;
}

/* Forms */
.contact-form,
.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 8px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item {
  padding: 24px;
  background-color: var(--white);
  border-radius: 12px;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* Shop Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  text-align: center;
  padding: 24px;
}

.info-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.info-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content h3 {
  margin-bottom: 24px;
  text-align: center;
}

/* Thank You */
.thank-you-section {
  padding: 100px 0;
  text-align: center;
}

.thank-you-container {
  max-width: 500px;
  margin: 0 auto;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.thank-you-message {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.thank-you-note {
  color: var(--gray);
  margin-bottom: 32px;
}

/* Legal Pages */
.legal-page h1 {
  margin-bottom: 32px;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--secondary);
}

.legal-date {
  margin-top: 48px;
  color: var(--gray);
  font-style: italic;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col p {
  opacity: 0.9;
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
}

.legal-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

.footer-minimal {
  padding: 24px 0;
  text-align: center;
}

.footer-minimal p {
  margin: 0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-list { gap: 20px; }
  .cards-grid,
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .header .container { flex-direction: column; gap: 16px; }
  .nav-list { flex-wrap: wrap; justify-content: center; gap: 12px; }
  
  .intro-grid,
  .program-card-large,
  .contact-grid,
  .program-detail-grid,
  .article-content-wrapper { grid-template-columns: 1fr; }
  
  .intro-grid.reverse,
  .program-card-large.reverse { direction: ltr; }
  
  .cards-grid,
  .products-grid,
  .testimonials-grid,
  .philosophy-grid,
  .values-grid,
  .faq-grid { grid-template-columns: 1fr; }
  
  .approach-steps,
  .info-grid { grid-template-columns: 1fr; }
  
  .article-card-large { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .legal-links { flex-wrap: wrap; justify-content: center; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .testimonial-full { flex-direction: column; }
}
