@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #0f1c2e;
  --primary-light: #1a2f4a;
  --accent: #c9a961;
  --accent-hover: #b89850;
  --bg-light: #f8f6f3;
  --bg-white: #ffffff;
  --text-dark: #2d2d2d;
  --text-light: #6b6b6b;
  --text-white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --radius: 8px;
  --radius-sm: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

img {
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
}

main {
  flex: 1 0 auto;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 16px 48px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  max-width: 100%;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

header {
  position: sticky;
  top: 0;
  background: rgba(15, 28, 46, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.header-logo img {
  width: 50px;
  height: 50px;
}

.header-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.header-notice {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: 5px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  max-width: 100%;
  line-height: 1.4;
  min-width: 0;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  padding: 48px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-container > * {
  min-width: 0;
  max-width: 100%;
}

.hero-image {
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.hero-price {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 32px;
}

.vorteile {
  background: var(--bg-light);
  padding: 48px 0;
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vorteile-grid > * {
  min-width: 0;
  max-width: 100%;
}

.vorteil-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vorteil-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.vorteil-card p {
  color: var(--text-light);
  margin: 0;
}

.produkt {
  background: var(--bg-white);
  padding: 48px 0;
}

.produkt-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.produkt-content > * {
  min-width: 0;
  max-width: 100%;
}

.produkt-text p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.gallery-main img {
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.thumbnail.active {
  border-color: var(--accent);
}

.spezifikationen {
  background: var(--bg-light);
  padding: 48px 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
}

.spec-label {
  font-weight: 600;
  color: var(--text-dark);
}

.spec-value {
  color: var(--text-light);
}

.markt {
  background: var(--bg-white);
  padding: 48px 0;
}

.markt-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.markt-content > * {
  min-width: 0;
  max-width: 100%;
}

.markt-text p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.markt-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.bewertungen {
  background: var(--bg-light);
  padding: 48px 0;
}

.bewertungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bewertungen-grid > * {
  min-width: 0;
  max-width: 100%;
}

.bewertung-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bewertung-rating {
  color: var(--accent);
  margin-bottom: 16px;
}

.bewertung-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 16px;
}

.bewertung-author {
  display: flex;
  flex-direction: column;
}

.bewertung-author strong {
  color: var(--text-dark);
}

.bewertung-author span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.kontakt {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  padding: 48px 0;
}

.kontakt-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 48px;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.thanks-section {
  background: var(--bg-light);
  padding: 48px 0;
}

.thanks-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.thanks-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.thanks-card p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup.active {
  display: flex;
}

.popup-content {
  background: var(--bg-white);
  padding: 48px;
  border-radius: var(--radius);
  max-width: 500px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.popup.active .popup-content {
  opacity: 1;
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.popup-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.popup h3 {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.popup p {
  color: var(--text-light);
}

footer {
  background: var(--primary);
  color: var(--text-white);
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.footer-logo img {
  width: 50px;
  height: 50px;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-notice {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 5px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-contact {
  margin-bottom: 32px;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-disclaimer {
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.footer-disclaimer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.footer-copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .vorteile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .produkt-content {
    grid-template-columns: 1fr;
  }

  .markt-content {
    grid-template-columns: 1fr;
  }

  .bewertungen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .header-logo {
    justify-content: center;
  }

  .header-notice {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .vorteile-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .markt-stats {
    grid-template-columns: 1fr;
  }

  #contact-form {
    padding: 32px 20px;
  }

  .thanks-card {
    padding: 32px 20px;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-notice {
    word-break: break-all;
  }

  .header-logo a,
  .footer-logo a {
    flex-direction: column;
  }

  .header-logo a span,
  .footer-logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .footer-contact,
  .footer-disclaimer {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .header-container,
  .footer-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #contact-form,
  .thanks-card {
    padding: 24px 16px;
  }

  .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    text-align: center;
  }

  .vorteil-card,
  .bewertung-card {
    padding: 24px 16px;
  }

  h2 {
    margin-bottom: 24px;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
  background: var(--bg-white);
  word-break: break-word;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: left;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: left;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 12px;
  text-align: left;
}

.legal-content h4 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 16px;
}

.legal-content strong {
  color: var(--text-dark);
}