/*
Theme Name: TestoBlue One Page
Theme URI: https://buytbcaps.com/de
Author: TestoBlue
Description: Hoch konvertierende deutsche One-Page-Landingpage für TestoBlue Kapseln. Alle Texte, Links, Bilder, Farben und SEO-Angaben sind vollständig über den WordPress-Customizer steuerbar (Design → Customizer → "TestoBlue One Page"). Inklusive Produkt- und FAQ-Schema.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testoblue
Tags: one-page, landing-page, custom-colors, custom-logo, translation-ready
*/

:root {
  --tbo-bg: #0d1424;
  --tbo-surface: #141d33;
  --tbo-accent: #37b6f0;
  --tbo-primary: #1e6ef0;
  --tbo-text: #f3f6fc;
  --tbo-muted: #a4b1c9;
  --tbo-radius: 16px;
  --tbo-border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--tbo-bg);
  color: var(--tbo-text);
  font-family: "Barlow", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .tbo-logo, .tbo-btn, .tbo-step-n {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1rem; }
.tbo-accent { color: var(--tbo-accent); }
.tbo-lead { color: var(--tbo-muted); max-width: 62ch; }
.tbo-note { color: var(--tbo-muted); font-size: 0.92rem; }
.tbo-fineprint { color: var(--tbo-muted); font-size: 0.8rem; margin-top: 1rem; }
.tbo-center { text-align: center; }
.tbo-center .tbo-lead { margin-inline: auto; }
.tbo-mt { margin-top: 2.2rem; }

.tbo-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.tbo-narrow { max-width: 780px; }
.tbo-section { padding: 76px 0; }
.tbo-band {
  padding: 66px 0;
  background: var(--tbo-surface);
  border-top: 1px solid var(--tbo-border);
  border-bottom: 1px solid var(--tbo-border);
}

/* Header */
.tbo-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--tbo-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tbo-border);
}
.tbo-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.tbo-logo { font-size: 1.6rem; letter-spacing: 0.16em; text-decoration: none; }
.tbo-logo span { color: var(--tbo-accent); }
.tbo-nav { display: none; gap: 26px; font-size: 0.95rem; font-weight: 500; color: var(--tbo-muted); }
.tbo-nav a { text-decoration: none; }
.tbo-nav a:hover { color: var(--tbo-text); }

/* Buttons */
.tbo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: var(--tbo-radius);
  font-size: 1.3rem; letter-spacing: 0.06em; text-decoration: none;
  color: #fff;
  background: linear-gradient(100deg, var(--tbo-primary), var(--tbo-accent));
  box-shadow: 0 16px 44px -16px color-mix(in srgb, var(--tbo-primary) 75%, transparent);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.tbo-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.tbo-btn-sm { padding: 9px 18px; font-size: 1.05rem; box-shadow: none; }

/* Hero */
.tbo-hero {
  background:
    radial-gradient(110% 90% at 78% 16%, color-mix(in srgb, var(--tbo-primary) 40%, transparent) 0%, transparent 62%),
    linear-gradient(160deg, var(--tbo-surface), var(--tbo-bg));
}
.tbo-hero-grid { display: grid; gap: 42px; padding-block: 64px; }
.tbo-badge {
  display: inline-block; padding: 6px 16px; margin-bottom: 18px;
  border: 1px solid var(--tbo-border); border-radius: 999px;
  background: var(--tbo-surface);
  color: var(--tbo-accent); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.tbo-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 26px 0 0; }
.tbo-cta-row .tbo-note { max-width: 22ch; }
.tbo-bullets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 0.95rem; }
.tbo-bullets li::before { content: "✓"; color: var(--tbo-accent); font-weight: 700; margin-right: 8px; }
.tbo-hero-media img {
  border-radius: 22px;
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.55));
  margin-inline: auto;
}
.tbo-final { border-top: 1px solid var(--tbo-border); padding: 80px 0; }
.tbo-final .tbo-btn { margin-top: 12px; }

/* Grids */
.tbo-grid-2, .tbo-grid-3, .tbo-grid-4 { display: grid; gap: 24px; }
.tbo-img { border-radius: 22px; border: 1px solid var(--tbo-border); object-fit: cover; }

.tbo-card {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--tbo-border);
  border-radius: 20px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--tbo-surface) 92%, #fff 8%), var(--tbo-surface));
}
.tbo-card p { color: var(--tbo-muted); font-size: 0.95rem; margin: 10px 0 0; }
.tbo-card h3 { color: var(--tbo-text); }
.tbo-trust h3 { font-size: 1.35rem; }
.tbo-trust p { color: var(--tbo-muted); font-size: 0.92rem; margin: 4px 0 0; }

/* Steps */
.tbo-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 22px; }
.tbo-steps li { display: flex; gap: 18px; }
.tbo-step-n { font-size: 1.9rem; color: var(--tbo-accent); }
.tbo-steps p { color: var(--tbo-muted); font-size: 0.95rem; margin: 4px 0 0; }

/* Table */
.tbo-table-wrap { margin-top: 22px; border: 1px solid var(--tbo-border); border-radius: 18px; overflow: hidden; }
.tbo-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.tbo-table-wrap th {
  text-align: left; padding: 12px 16px; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.78rem;
  background: color-mix(in srgb, var(--tbo-surface) 70%, #fff 8%);
}
.tbo-table-wrap td { padding: 12px 16px; border-top: 1px solid var(--tbo-border); color: var(--tbo-muted); }
.tbo-table-wrap td:first-child { color: var(--tbo-text); }

/* Testimonials */
.tbo-stars { color: var(--tbo-accent); letter-spacing: 3px; }
.tbo-card blockquote { margin: 14px 0 0; color: var(--tbo-muted); font-size: 0.95rem; }
.tbo-card figcaption { margin-top: 14px; font-weight: 600; font-size: 0.92rem; }

/* FAQ */
.tbo-faq {
  border: 1px solid var(--tbo-border); border-radius: 18px;
  background: var(--tbo-surface); padding: 16px 20px; margin-bottom: 12px;
}
.tbo-faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.tbo-faq summary::-webkit-details-marker { display: none; }
.tbo-faq summary::after { content: "+"; float: right; color: var(--tbo-accent); }
.tbo-faq[open] summary::after { content: "–"; }
.tbo-faq p { color: var(--tbo-muted); font-size: 0.95rem; margin: 12px 0 0; }

/* Footer */
.tbo-footer { border-top: 1px solid var(--tbo-border); background: var(--tbo-surface); padding: 44px 0; }
.tbo-footer .tbo-logo { display: block; margin-bottom: 16px; }
.tbo-footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.9rem; margin-top: 16px; }

@media (min-width: 768px) {
  .tbo-nav { display: flex; }
  .tbo-grid-2 { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .tbo-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tbo-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tbo-hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-block: 92px; }
}

@media (min-width: 1024px) {
  .tbo-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .tbo-bullets { grid-template-columns: 1fr 1fr; }
}
