/* ============================================================
   tHermoCEUTICAL® – styles.css
   Design: Premium B2C, orientiert an landsberg.eu
   Farben: #ffffff / #ebebeb / #313131
   Keine runden Ecken (border-radius: 0 für alle Bilder)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   1. CSS VARIABLEN
   ============================================================ */
:root {
  --white:        #ffffff;
  --gray-light:   #ebebeb;
  --gray-mid:     #d4d4d4;
  --anthrazit:    #313131;
  --text:         #313131;
  --text-muted:   #6b6b6b;
  --text-light:   rgba(255,255,255,0.75);

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container:    1200px;
  --gap:          32px;
  --section-pad:  80px;

  --transition:   all 0.25s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
}

/* ============================================================
   2. RESET & BASISREGELN
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  border-radius: 0 !important;  /* Verbindlich: keine runden Ecken */
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   3. TYPOGRAFIE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--anthrazit);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 640px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

strong { font-weight: 600; }

/* ============================================================
   4. LAYOUT – CONTAINER & GRID
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

section {
  padding: var(--section-pad) 0;
}

.section-gray  { background: var(--gray-light); }
.section-dark  { background: var(--anthrazit); }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p   { color: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p  { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--anthrazit);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo-text sup {
  font-size: 0.6em;
  vertical-align: super;
}

/* Main nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links > li > a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--anthrazit);
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  border-bottom-color: var(--anthrazit);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  min-width: 220px;
  padding: 8px 0;
  display: none;
  box-shadow: var(--shadow);
  z-index: 100;
}
.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text);
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.nav-dropdown a:hover {
  background: var(--gray-light);
  border-left-color: var(--anthrazit);
}

/* Nav right area */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lang-switch {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}
.lang-switch a.lang-active { color: var(--anthrazit); font-weight: 600; }

.nav-shop-btn {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--anthrazit);
  color: var(--white);
  padding: 9px 20px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-shop-btn:hover { background: #1a1a1a; color: var(--white); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  padding: 4px 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--anthrazit);
  transition: var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 8px 0 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}
.mobile-nav a:hover { background: var(--gray-light); }
.mobile-nav .mobile-shop {
  margin: 16px 24px 0;
  background: var(--anthrazit);
  color: var(--white);
  padding: 14px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   6. HERO BEREICHE
   ============================================================ */

/* Hero: groß mit Bild rechts */
.hero-split {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.hero-split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-split .hero-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Hero: dunkel */
.hero-dark {
  background: var(--anthrazit);
  padding: 100px 0;
  text-align: center;
}
.hero-dark h1, .hero-dark .eyebrow { color: var(--white); }
.hero-dark .eyebrow { color: rgba(255,255,255,0.55); }
.hero-dark .lead { color: rgba(255,255,255,0.75); margin: 0 auto 40px; }

/* Hero: einfach / kompakt */
.hero-simple {
  padding: 64px 0 48px;
  background: var(--gray-light);
}
.hero-simple h1 { max-width: 700px; }
.hero-simple .lead { margin-top: 16px; }

/* Hero: Produkt-Weltneuheit (Eyecontour) */
.hero-product {
  padding: 0;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-product .hero-media {
  background: var(--gray-light);
  overflow: hidden;
}
.hero-product .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-product .hero-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--anthrazit);
  color: var(--white);
}
.btn-primary:hover { background: #1a1a1a; color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--anthrazit);
  border: 1.5px solid var(--anthrazit);
}
.btn-ghost:hover { background: var(--anthrazit); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--anthrazit);
}
.btn-light:hover { background: var(--gray-light); }

.btn-block { display: block; text-align: center; width: 100%; }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================================
   8. QUADROLINK / LINIEN-RASTER (Startseite)
   ============================================================ */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.line-card {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
  aspect-ratio: 3/4;
  display: block;
  cursor: pointer;
}
.line-card__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.line-card:hover .line-card__bg { transform: scale(1.06); }

.line-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(49,49,49,0) 35%, rgba(49,49,49,0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: var(--transition);
}
.line-card:hover .line-card__overlay {
  background: linear-gradient(to bottom, rgba(49,49,49,0) 20%, rgba(49,49,49,0.92) 100%);
}

.line-card__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.line-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.line-card__sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-card__arrow {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}
.line-card:hover .line-card__arrow { opacity: 1; transform: translateY(0); }

/* ============================================================
   9. PRODUKTKARTEN
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); }

.product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-light);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.04); }

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__line {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card__desc {
  font-size: 0.845rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
  flex: 1;
}
.product-card__price {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.product-card .btn {
  padding: 11px 16px;
  font-size: 0.75rem;
}

/* ============================================================
   10. CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--anthrazit);
  padding: 80px 24px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 36px; font-size: 1rem; }

/* ============================================================
   11. FEATURE / USP BOXEN
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}
.feature-box {
  padding: 36px 28px;
  background: var(--gray-light);
}
.feature-box__number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--anthrazit);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}
.feature-box__title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-box__text  { font-size: 0.875rem; color: var(--text-muted); }

/* Technologie-Specs (Eyecontour) */
.tech-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.tech-spec {
  background: var(--anthrazit);
  color: var(--white);
  padding: 36px 24px;
  text-align: center;
}
.tech-spec__value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1;
}
.tech-spec__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ============================================================
   12. PRODUKT-DETAIL-SEKTION (Eyecontour & Linien-Detail)
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: var(--section-pad) 0;
}
.product-detail.reverse .product-detail__img { order: 2; }
.product-detail.reverse .product-detail__content { order: 1; }

.product-detail__img img { width: 100%; }

.product-detail__benefits {
  margin: 24px 0;
}
.product-detail__benefits li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.92rem;
  position: relative;
}
.product-detail__benefits li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ============================================================
   13. FAQ AKKORDEON
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--anthrazit);
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-panel.open { max-height: 600px; }
.faq-panel p {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.935rem;
  line-height: 1.75;
}

/* ============================================================
   14. BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--anthrazit); }
.breadcrumb .sep { color: var(--gray-mid); }

/* ============================================================
   15. INGREDIENT / WIRKSTOFF LISTE
   ============================================================ */
.ingredient-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.ingredient-tag {
  border: 1px solid var(--gray-mid);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 500;
}
.ingredient-tag span { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; font-weight: 400; }

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--anthrazit);
  color: var(--white);
  padding: 72px 0 32px;
}

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

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.footer-brand .footer-logo sup { font-size: 0.55em; }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   17. UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.pt-0  { padding-top: 0; }
.pb-0  { padding-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   18. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 64px; }

  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-specs  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-detail { gap: 48px; }
  .hero-split .container { gap: 48px; }
  .hero-product { grid-template-columns: 1fr; }
  .hero-product .hero-text { padding: 48px 32px; }
  .hero-product .hero-media { aspect-ratio: 16/7; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 48px; --gap: 20px; }

  /* Nav */
  .nav-links, .lang-switch, .nav-shop-btn { display: none; }
  .nav-burger { display: flex; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .hero-split .container { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Hero */
  .hero-dark { padding: 64px 0; }
  .hero-product { grid-template-columns: 1fr; }
}

/* Small mobile */
@media (max-width: 480px) {
  .lines-grid { grid-template-columns: 1fr 1fr; }
  .tech-specs  { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; text-align: center; }
}
