/* GENERIERT von docs/theme/build-theme-light.py aus styles.css + theme-light.manual.css — nicht von Hand bearbeiten. */


/* ---- Automatisch abgeleitet aus styles.css ---- */

html[data-theme="light"] body::before {
  background: radial-gradient(circle at 18% 8%, rgba(245,158,11,.24), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(251,113,133,.13), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(20,184,166,.15), transparent 34%),
    linear-gradient(180deg, #f6efe4 0%, #f6efe4 52%, rgba(72,42,18,0.08) 100%);
}

html[data-theme="light"] body::after {
  background-image: linear-gradient(rgba(255,255,255,0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.9) 1px, transparent 1px);
}

html[data-theme="light"] header {
  background: rgba(255,250,242,0.85);
  border-bottom: 1px solid rgba(72,42,18,0.15);
  box-shadow: 0 12px 40px rgba(72,42,18,0.054);
}

html[data-theme="light"] .nav-toggle {
  border: 1px solid rgba(72,42,18,0.22);
  background: rgba(255,255,255,0.63);
}

html[data-theme="light"] .brand-text span {
  color: #92400e;
}

html[data-theme="light"] .site-nav {
  border: 1px solid rgba(72,42,18,0.17);
  background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0.525));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(72,42,18,0.048);
  color: #5c4638;
}

html[data-theme="light"] .site-nav a {
  color: #5c4638;
}

html[data-theme="light"] .btn {
  border: 1px solid rgba(72,42,18,0.22);
  background: rgba(255,255,255,0.63);
}

html[data-theme="light"] .btn:hover {
  background: rgba(255,255,255,0.75);
}

html[data-theme="light"] .eyebrow {
  color: #92400e;
}

html[data-theme="light"] .lead {
  color: #5c4638;
}

html[data-theme="light"] .stat {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(255,255,255,0.585);
}

html[data-theme="light"] .terminal-card {
  background: rgba(255,250,242,0.85);
}

html[data-theme="light"] .terminal-inner {
  border: 1px solid rgba(72,42,18,0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.69), rgba(255,255,255,0.525));
}

html[data-theme="light"] .card-head {
  border-bottom: 1px solid rgba(72,42,18,0.18);
}

html[data-theme="light"] .codebox {
  background: rgba(72,42,18,0.08);
  box-shadow: inset 0 0 20px rgba(72,42,18,0.075);
  color: #5c4638;
}

html[data-theme="light"] .green {
  color: #15803d;
}

html[data-theme="light"] .gold {
  color: #92400e;
}

html[data-theme="light"] .teal {
  color: #0f766e;
}

html[data-theme="light"] .menu-grid div {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(255,255,255,0.585);
  color: #5c4638;
}

html[data-theme="light"] .kicker {
  color: #0f766e;
}

html[data-theme="light"] .card {
  border: 1px solid rgba(72,42,18,0.19);
  background: linear-gradient(145deg, rgba(255,255,255,0.675), rgba(255,255,255,0.534));
  box-shadow: 0 18px 60px rgba(72,42,18,0.066);
}

html[data-theme="light"] .card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.75), rgba(255,255,255,0.555));
}

html[data-theme="light"] .card p {
  color: #5c4638;
}

html[data-theme="light"] .tag {
  color: #92400e;
}

html[data-theme="light"] .band {
  border-block: 1px solid rgba(72,42,18,0.18);
  background: rgba(72,42,18,0.055);
}

html[data-theme="light"] .ticker {
  color: #92400e;
}

html[data-theme="light"] .ticker em {
  color: var(--text);
}

html[data-theme="light"] .showcase {
  border: 1px solid rgba(72,42,18,0.2);
  background: linear-gradient(135deg, rgba(251,191,36,.13), rgba(255,255,255,0.555) 35%, rgba(20,184,166,.10)),
    rgba(255,255,255,0.57);
}

html[data-theme="light"] .showcase-main {
  background: radial-gradient(circle at 20% 15%, rgba(251,191,36,.28), transparent 35%),
    linear-gradient(160deg, rgba(72,42,18,0.07), rgba(72,42,18,0.08)),
    url("data:image/svg+xml,%3Csvg width='600' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.81)' stroke-width='2'%3E%3Cpath d='M60 420 C160 300 230 500 330 350 S520 270 560 120'/%3E%3Cpath d='M40 170 C150 80 260 220 350 150 S500 40 570 90'/%3E%3Ccircle cx='150' cy='145' r='54'/%3E%3Ccircle cx='432' cy='315' r='86'/%3E%3C/g%3E%3C/svg%3E");
  border: 1px solid rgba(72,42,18,0.21);
}

html[data-theme="light"] .showcase-main p {
  color: #92400e;
}

html[data-theme="light"] .recipe {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(72,42,18,0.055);
}

html[data-theme="light"] a.recipe:hover {
  background: rgba(72,42,18,0.08);
}

html[data-theme="light"] .cta-box {
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(255,255,255,0.57) 45%, rgba(20,184,166,.12));
}

html[data-theme="light"] .cta-box::after {
  color: var(--text);
}

html[data-theme="light"] footer {
  border-top: 1px solid rgba(72,42,18,0.17);
  color: #8a7260;
}

html[data-theme="light"] .footer-gsc {
  border-bottom: 1px solid rgba(72,42,18,0.14);
}

html[data-theme="light"] .footer-gsc-label {
  color: #8a7260;
}

html[data-theme="light"] .footer-gsc-list a {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(255,255,255,0.54);
  color: #5c4638;
}

html[data-theme="light"] .gsc-query-list a {
  border: 1px solid rgba(72,42,18,0.2);
  background: rgba(255,255,255,0.57);
}

html[data-theme="light"] .footer-nap {
  color: #8a7260;
}

html[data-theme="light"] .footer-nap a {
  color: #5c4638;
}

html[data-theme="light"] .footer-links a {
  color: #5c4638;
}

html[data-theme="light"] .legal-content {
  border: 1px solid rgba(72,42,18,0.19);
  background: linear-gradient(145deg, rgba(255,255,255,0.66), rgba(255,255,255,0.525));
}

html[data-theme="light"] .legal-block {
  border-top: 1px solid rgba(72,42,18,0.17);
}

html[data-theme="light"] .legal-provider-card {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(72,42,18,0.055);
}

html[data-theme="light"] .legal-contact {
  border-top: 1px solid rgba(72,42,18,0.16);
}

html[data-theme="light"] .legal-contact-row {
  border-bottom: 1px solid rgba(72,42,18,0.14);
}

html[data-theme="light"] .legal-actions {
  border-top: 1px solid rgba(72,42,18,0.17);
}

@media (max-width: 900px) {
  html[data-theme="light"] .site-nav {
    border: 1px solid rgba(72,42,18,0.2);
    background: rgba(255,250,242,0.97);
    box-shadow: 0 24px 60px rgba(72,42,18,0.135), inset 0 1px 0 rgba(255,255,255,.06);
  }

  html[data-theme="light"] .site-nav a:hover {
    background: rgba(255,255,255,0.63);
  }
}

html[data-theme="light"] .topic-hero-eyebrow {
  color: #92400e;
}

html[data-theme="light"] .topic-lead {
  color: #5c4638;
}

html[data-theme="light"] .topic-tag {
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(72,42,18,0.2);
}

html[data-theme="light"] .topic-section {
  border: 1px solid rgba(72,42,18,0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.645), rgba(255,255,255,0.51));
  box-shadow: 0 16px 52px rgba(72,42,18,0.066);
}

html[data-theme="light"] .software-app-head {
  border: 1px solid rgba(72,42,18,0.2);
  background: radial-gradient(120% 160% at 0% 0%, rgba(251,191,36,.22), rgba(251,191,36,0) 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(45,212,191,.16), rgba(45,212,191,0) 55%),
    linear-gradient(145deg, rgba(255,255,255,0.63), rgba(255,255,255,0.495));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 44px rgba(72,42,18,0.078);
}

html[data-theme="light"] .software-app-icon {
  box-shadow: 0 16px 40px rgba(72,42,18,0.126);
}

html[data-theme="light"] .software-app-icon-lucide {
  background: linear-gradient(145deg, rgba(255,255,255,0.75), rgba(255,255,255,0.54));
  border: 1px solid rgba(72,42,18,0.2);
}

html[data-theme="light"] .software-app-badge {
  background: rgba(255,250,242,0.85);
}

html[data-theme="light"] .software-screenshot img {
  border: 1px solid rgba(72,42,18,0.2);
  box-shadow: 0 18px 50px rgba(72,42,18,0.102);
}

html[data-theme="light"] .software-quote {
  background: rgba(255,255,255,0.57);
}

html[data-theme="light"] .code-block {
  background: rgba(72,42,18,0.08);
  color: #5c4638;
  border: 1px solid rgba(72,42,18,0.16);
}

html[data-theme="light"] .sidebar-card {
  border: 1px solid rgba(72,42,18,0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.645), rgba(255,255,255,0.51));
  box-shadow: 0 14px 44px rgba(72,42,18,0.06);
}

html[data-theme="light"] .sidebar-nav a {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(72,42,18,0.17);
}

html[data-theme="light"] .faq-item {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(255,255,255,0.57);
}

html[data-theme="light"] .menu-grid a {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(255,255,255,0.585);
  color: #5c4638;
}

html[data-theme="light"] .mo-timeline-item {
  border-bottom: 1px solid rgba(72,42,18,0.16);
}

html[data-theme="light"] .contact-form-wrap {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(72,42,18,0.055);
}

html[data-theme="light"] .form-field label {
  color: #92400e;
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea {
  border: 1px solid rgba(72,42,18,0.2);
  background: rgba(255,255,255,0.6);
}

html[data-theme="light"] .contact-form input:focus,
html[data-theme="light"] .contact-form textarea:focus {
  background: rgba(255,255,255,0.69);
}

html[data-theme="light"] .form-success {
  color: #0f766e;
}

html[data-theme="light"] .form-error {
  color: #be123c;
}

html[data-theme="light"] .sidebar-agencyos {
  background: linear-gradient(135deg, rgba(45,212,191,.08), rgba(255,255,255,0.54));
}

html[data-theme="light"] .case-study-box {
  background: linear-gradient(135deg, rgba(45,212,191,.1), rgba(255,255,255,0.54));
}

html[data-theme="light"] .case-study-box p {
  color: #92400e;
}

html[data-theme="light"] .project-card-meta {
  color: #92400e;
}

html[data-theme="light"] button.topic-tag.project-filter:hover,
html[data-theme="light"] button.tag.project-card-tag:hover {
  background: rgba(255,255,255,0.78);
  border-color: rgba(72,42,18,0.22);
  color: #92400e;
}

html[data-theme="light"] button.tag.project-card-tag {
  border: 1px solid rgba(72,42,18,0.2);
  background: rgba(255,255,255,0.57);
  color: #92400e;
}

html[data-theme="light"] .hub-pillar-icon {
  background: radial-gradient(circle at 30% 25%, rgba(251,191,36,.28), transparent 60%),
    rgba(255,255,255,0.57);
  color: #92400e;
}

html[data-theme="light"] .hub-recipe-eyebrow {
  color: #92400e;
}

html[data-theme="light"] .hub-recipe-lead {
  color: #92400e;
}

html[data-theme="light"] .hub-link-list a {
  border: 1px solid rgba(72,42,18,0.2);
  background: rgba(255,255,255,0.57);
  color: #92400e;
}

html[data-theme="light"] .skip-link:focus,
html[data-theme="light"] .skip-link:focus-visible {
  outline: 2px solid rgba(72,42,18,0.22);
}

html[data-theme="light"] .mt-metric span {
  color: var(--text);
}

html[data-theme="light"] .mt-tier {
  border: 1px solid rgba(72,42,18,0.18);
  background: rgba(255,255,255,0.54);
}

html[data-theme="light"] .mt-tier-price small {
  color: var(--text);
}

html[data-theme="light"] .mt-tier-note {
  color: var(--text);
}

html[data-theme="light"] .mt-rechner {
  background: radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.1), transparent 55%),
    rgba(255,250,242,0.85);
}

html[data-theme="light"] .mt-label,
html[data-theme="light"] .mt-field label {
  color: var(--text);
}

html[data-theme="light"] .mt-pill {
  border: 1px solid rgba(72,42,18,0.22);
  background: rgba(255,255,255,0.57);
  color: var(--text);
}

html[data-theme="light"] .mt-pill[aria-pressed="true"],
html[data-theme="light"] .mt-pill[aria-selected="true"] {
  color: var(--text);
}

html[data-theme="light"] .mt-rechner-result {
  border-top: 1px solid rgba(72,42,18,0.16);
}

html[data-theme="light"] .mt-rechner-price {
  color: var(--text);
}

html[data-theme="light"] .mt-rechner-hint {
  color: var(--text);
}

html[data-theme="light"] .mt-rechner-breakdown {
  color: var(--text);
}

html[data-theme="light"] body #aos-cookie-banner .aos-cb-card {
  background: rgba(255,250,242,0.94);
}

/* ---- Manuell (theme-light.manual.css) ---- */

/* Light-Tokens (wie gaeste.moes-taverne.com/assets/taverne-styles.css) */
html[data-theme="light"] {
  --bg: #f6efe4;
  --bg2: #efe3d2;
  --card: rgba(255,255,255,.72);
  --card2: rgba(255,255,255,.88);
  --line: rgba(72,42,18,.14);
  --text: #2a1810;
  --muted: #6b5344;
  --muted2: #8a7260;
  --amber: #d97706;
  --amber2: #b45309;
  --teal: #0f766e;
  --rose: #e11d48;
  --shadow: 0 24px 70px rgba(72,42,18,.14);
  color-scheme: light;
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(circle at 18% 8%, rgba(245,158,11,.18), transparent 32%),
    radial-gradient(circle at 82% 0%, rgba(251,113,133,.08), transparent 30%),
    radial-gradient(circle at 50% 92%, rgba(20,184,166,.1), transparent 36%),
    linear-gradient(180deg, #f8f1e6 0%, #f0e4d2 52%, #e8d8c4 100%);
}

html[data-theme="light"] body::after {
  opacity: .045;
  background-image:
    linear-gradient(rgba(72,42,18,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,42,18,.55) 1px, transparent 1px);
}

html[data-theme="light"] .glow { opacity: .35; }

html[data-theme="light"] header {
  background: rgba(246,239,228,.88);
  border-bottom-color: rgba(72,42,18,.1);
  box-shadow: 0 10px 28px rgba(72,42,18,.08);
}

html[data-theme="light"] .site-nav {
  border-color: rgba(72,42,18,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(72,42,18,.08);
}

html[data-theme="light"] .btn.primary,
html[data-theme="light"] .btn.primary:hover {
  color: #1b1007;
  background: #fbbf24;
  box-shadow: 0 14px 36px rgba(217,119,6,.22);
}
html[data-theme="light"] .btn.primary:hover { background: #f59e0b; }

html[data-theme="light"] .codebox { color: #4a372c; }
html[data-theme="light"] .green { color: #15803d; }
html[data-theme="light"] .gold { color: #b45309; }
html[data-theme="light"] .teal { color: #0f766e; }

/* Cookie-Banner (AgencyOS) im hellen Modus */
html[data-theme="light"] body #aos-cookie-banner .aos-cb-card {
  background: rgba(255,252,247,.96);
  color: #2a1810;
  border-color: rgba(72,42,18,.14);
  box-shadow: 0 16px 48px rgba(72,42,18,.16);
}
html[data-theme="light"] body #aos-cookie-banner .aos-cb-text { color: #6b5344; }
html[data-theme="light"] body #aos-cookie-banner .aos-cb-text a { color: #b45309; }
html[data-theme="light"] body #aos-cookie-banner .aos-cb-ghost { color: #2a1810; border-color: rgba(72,42,18,.18); }

/* ---- Theme-Schalter (wie gaeste.moes-taverne.com) ---- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d8c9bb;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(251,191,36,.1); }
.theme-toggle:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.theme-toggle__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 46px;
  height: 26px;
  padding: 0 5px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
}
.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fde68a, #fbbf24);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  transition: transform .22s ease;
}
.theme-toggle__sun,
.theme-toggle__moon { position: relative; z-index: 1; transition: opacity .18s ease; }
.theme-toggle__sun { color: #fde68a; opacity: .35; }
.theme-toggle__moon { color: #c9b8a6; opacity: .95; }
html[data-theme="light"] .theme-toggle { color: #5c4638; }
html[data-theme="light"] .theme-toggle__thumb { transform: translateX(20px); background: linear-gradient(180deg, #fff7ed, #fbbf24); box-shadow: 0 2px 8px rgba(72,42,18,.25); }
html[data-theme="light"] .theme-toggle__sun { opacity: .95; color: #92400e; }
html[data-theme="light"] .theme-toggle__moon { opacity: .35; }
html[data-theme="light"] .theme-toggle__track { border-color: rgba(72,42,18,.14); background: rgba(255,255,255,.75); }
@media (prefers-reduced-motion: reduce) { .theme-toggle__thumb { transition: none; } }
