/*
 * style.css
 *
 * Visuelles Thema: "Clinical Minimal" mit Mikro-Interaktionen
 * Version: 4.2 (Layout- und Design-Anpassungen)
 * Autor: RCG Websites & AI Assistant
 * Beschreibung: Neugestaltung mit Fokus auf Premium-Interaktionen (Sheen, Aura, Pressed Surface),
 * unter Beibehaltung der Nüchternheit und Klarheit der Benutzeroberfläche, mit einem Mobile-First-Ansatz.
 */

/* --- Globale Konfiguration und Variablen --- */
:root {
    --primary-color: #0056b3;
    --primary-glow: rgba(0, 86, 179, 0.25);
    --primary-aura: rgba(0, 86, 179, 0.14); /* Für Fokus-Aura */
    --secondary-color: #6c757d;
    --text-color: #343a40;
    --text-muted-color: #6c757d;
    --heading-color: #212529;
    --white-color: #fff;
    --border-color: #dee2e6;
    --background-color: #f8f9fa;
    --background-gradient: linear-gradient(135deg, #ffffff, #e9ecef);
    --card-background: rgba(255, 255, 255, 0.6);
    --card-border: 1px solid rgba(255, 255, 255, 0.8);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --card-shadow-hover: 0 10px 28px rgba(31, 38, 135, 0.12);
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-radius: 16px;
    --border-radius-sm: 8px; /* Für Eingabefelder und Schaltflächen */
    --transition-speed: 0.3s;
    --transition-fast: 0.15s;
}

/* --- Zurücksetzen und Basis --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    background-color: #FFFFFF;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex-grow: 1;
    padding: 2.5rem 0;
}

/* --- Typografie --- */
h1, h2, h3, h4 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

ul, ol {
    padding-left: 20px;
}

/* --- Kopfzeile --- */
header {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin:0; padding:0;
}

header nav a {
    color: var(--text-muted-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed);
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease-in-out;
}

header nav a:hover,
header nav a.active {
    color: var(--heading-color);
}

header nav a:hover::after,
header nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

#menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--heading-color);
}

/* --- Rechner-Container --- */
.rechner-container h1 {
    margin-bottom: 1.5rem;
}
.einfuehrungstext {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 2.5rem auto;
    font-size: 1.1rem;
    color: var(--text-muted-color);
}
.input-group, .input-group-radio {
    margin-bottom: 1.75rem;
}
.input-group label, .input-group-radio .label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}
.input-group {
    position: relative;
}
.input-group input[type="number"],
.input-group input[type="text"] {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    color: var(--text-color);
    transition: border-color 120ms ease, border-radius 120ms ease, box-shadow 150ms ease, background-color 120ms ease;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

.input-group input[type="number"]::placeholder,
.input-group input[type="text"]::placeholder {
    color: var(--text-muted-color);
}
.input-group input[type="number"]:focus,
.input-group input[type="text"]:focus-visible {
    background-color: var(--white-color);
    border-color: color-mix(in oklab, var(--primary-color) 40%, var(--border-color));
    border-radius: 12px;
    outline: 2px solid var(--primary-color); 
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--primary-aura);
}
.alter-eingaben {
    display: flex;
    gap: 1rem;
}
.input-group .einheit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-color);
    font-size: 1rem;
    pointer-events: none;
}
.input-group-radio label {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
    cursor: pointer;
}
.input-group-radio input[type="radio"] {
    margin-right: 0.5rem;
}
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.rechner-footer-hinweis {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* --- Ergebnisbereich --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.results-container {
    animation: fadeIn 0.6s ease-out forwards;
}

.result-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.result-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted-color);
    margin-bottom: 0.5rem;
}
.kpi-value {
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.1;
}

/* --- Tabelle --- */
.results-table,
.methodology-answer-content .bmi-tabelle,
.bmi-tabelle {
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 1rem auto 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.results-table thead,
.methodology-answer-content .bmi-tabelle thead,
.bmi-tabelle thead {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.results-table th, .results-table td,
.methodology-answer-content .bmi-tabelle th,
.methodology-answer-content .bmi-tabelle td,
.bmi-tabelle th, .bmi-tabelle td {
    padding: 12px 15px;
    text-align: left;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: background-color 120ms ease;
}

.results-table tr:last-child td,
.methodology-answer-content .bmi-tabelle tr:last-child td,
.bmi-tabelle tr:last-child td {
    border-bottom: none;
}

.results-table thead th,
.methodology-answer-content .bmi-tabelle thead th,
.bmi-tabelle thead th {
    font-weight: 600;
    color: var(--heading-color);
    position: relative;
}
.results-table thead th::after,
.methodology-answer-content .bmi-tabelle thead th::after,
.bmi-tabelle thead th::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: .25;
}

/* --- Infoblöcke --- */
#info-block-container, #info-block-initial-position {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.info-block-top {
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.info-block-top p {
    margin: 0;
    color: var(--text-color);
}
.ymyl-hinweis {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #664d03;
}
.ymyl-hinweis p {
    margin-bottom: 0;
    color: #664d03;
}

/* --- Statischer Inhalt (Über uns, Artikel, etc.) --- */
.statische-seite .statische-kopfzeile {
    text-align: center;
    margin-bottom: 2.5rem;
}
.statische-seite .statische-kopfzeile h1 {
    margin-bottom: 1rem;
}
.statische-seite .statische-kopfzeile .einfuehrungstext {
    font-size: 1.2rem;
    color: var(--text-muted-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.statischer-inhalt section {
    margin-bottom: 2.5rem;
}
.statischer-inhalt h2 {
    text-align: left;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.hervorhebungsbox {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
}
.hervorhebungs-icon {
    font-size: 2rem;
}
.hervorhebungstext h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.hervorhebungstext p {
    margin-bottom: 0;
}

.artikel-container h2, .faq-container h2, .methodik-container h2 {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 0;
}
.artikel-container .serp-absatz {
    font-style: italic;
    color: var(--text-muted-color);
    border-left: 3px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.abschnitt-teiler {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 2.5rem 0;
}

/* --- Akkordeon (FAQ & Methodik) --- */
.faq-item, .methodology-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child, .methodology-item:last-child {
    border-bottom: none;
}
.faq-question, .methodology-question {
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 1.25rem 2.5rem 1.25rem 0;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-color);
    transition: color var(--transition-speed);
}
.faq-question:hover, .methodology-question:hover {
    color: var(--primary-color);
}
.faq-question::after, .methodology-question::after {
    content: '+';
    font-size: 1.75rem;
    color: var(--primary-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after, .methodology-item.active .methodology-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer, .methodology-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer-content, .methodology-answer-content {
    padding: 0 0 1.25rem 0;
    color: var(--text-muted-color);
}
.faq-item.active .faq-answer, .methodology-item.active .methodology-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

/* --- Werkzeugkarten-Abschnitt --- */
.werkzeug-abschnitt .abschnitt-titel {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.werkzeug-abschnitt .abschnitt-untertitel {
    color: var(--text-muted-color);
    margin-bottom: 2.5rem;
}
.werkzeug-raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.werkzeug-karte {
    display: block;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.werkzeug-karte:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    background: rgba(255, 255, 255, 0.7);
}
.werkzeug-karte .werkzeug-karten-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.werkzeug-karte h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.werkzeug-karte p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Fußzeile --- */
footer {
    background-color: #e9ecef;
    color: var(--text-color);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid #dee2e6;
}
.footer-spalten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-spalte h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}
.footer-spalte p, .footer-spalte a {
    color: var(--text-muted-color);
    font-size: 0.95rem;
}
.footer-spalte ul {
    list-style: none;
    padding: 0;
}
.footer-spalte ul li {
    margin-bottom: 0.75rem;
}
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

/* --- Modals --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--background-color);
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 700px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--card-shadow);
}
.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    border: none;
    background: none;
}
.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 1500;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner.hidden {
    transform: translateY(100%);
}
.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}
.cookie-banner-content p {
    margin: 0;
    flex-grow: 1;
}
.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.cookie-banner-buttons button {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}
#cookie-accept-all {
    background-color: var(--primary-color);
    color: #fff;
}
#cookie-accept-all:hover {
    background-color: #004494; /* Dunkleres Blau */
}
#cookie-reject-all, #cookie-customize {
    background-color: var(--secondary-color);
    color: #fff;
}
#cookie-reject-all:hover, #cookie-customize:hover {
    background-color: #5a6268; /* Dunkleres Grau */
}

/* --- Cookie-Einstellungen Modal --- */
#cookie-preferences-modal .modal-content {
    max-width: 600px;
}
.cookie-category {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-category h4 {
    margin: 0;
    color: var(--text-color);
}
.cookie-category p {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-top: 0.5rem;
    margin-bottom: 0;
}
#cookie-save-preferences {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
}

/* --- Schalter (Toggle Switch) --- */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-color);
    transition: .4s;
    border-radius: 28px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--success-color);
}
input:checked + .slider:before {
    transform: translateX(22px);
}

/* --- Responsives Design --- */
@media (max-width: 768px) {
    .glass, .statische-seite .glass {
        padding: 1.5rem;
    }

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(248, 249, 250, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
    header nav.active {
        max-height: 500px;
        border-bottom: 1px solid var(--border-color);
    }
    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    header nav a {
        display: block;
        padding: 1rem 20px;
        text-align: center;
    }
    header nav a::after {
        display: none;
    }
    #menu-toggle {
        display: block;
    }
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* --- Respektiert Benutzer, die weniger Bewegung bevorzugen --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- START DES NEUEN CSS-KITS "GLASS" --- */
:root{
  --bg:#FFFFFF;
  --text:#111827;
  --muted:#6B7280;
  --border:rgba(15,23,42,.10);
  --shadow:0 8px 24px rgba(2,6,23,.06);
  --radius:18px;
  --radius-lg:22px;
  --blur:12px;
  --tintA:rgba(99,102,241,.06);
  --tintB:rgba(56,189,248,.05);
  --tintC:rgba(20,184,166,.04);
}

.page{ min-height:100dvh; background:var(--bg); color:var(--text) }
.container{ max-width:980px; margin:0 auto; padding:16px }
.grid{ display:grid; gap:20px }
@media (min-width:768px){ .grid-2{ grid-template-columns:1fr 1fr } }

.glass{
  position:relative;
  background:
    radial-gradient(40% 30% at 15% 10%, var(--tintA), transparent 70%),
    radial-gradient(35% 30% at 85% 15%, var(--tintB), transparent 70%),
    radial-gradient(45% 35% at 50% 90%, var(--tintC), transparent 70%),
    rgba(255,255,255,.72);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(var(--blur)) saturate(120%);
  -webkit-backdrop-filter:blur(var(--blur)) saturate(120%);
  padding: 24px;
  overflow:hidden;
}

.glass.panel{
  border-radius:var(--radius-lg);
  padding: 28px 24px;
}

.glass::before{
  content:""; position:absolute; left:0; right:0; top:0; height:10px; pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,.65), rgba(255,255,255,0));
}

@media (hover:hover){
  .glass::after{
    content:""; position:absolute; inset:-25%; pointer-events:none; border-radius:inherit;
    background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.28) 12%, rgba(255,255,255,0) 24%);
    transform:translateX(-60%) rotate(8deg); opacity:0;
    transition:opacity .18s ease, transform .7s cubic-bezier(.22,.61,.36,1);
  }
  .glass:hover::after{ opacity:.55; transform:translateX(40%) rotate(8deg) }
}

.label{ display:block; margin:8px 0 6px; color:var(--muted); font-size:.95rem }
.input{
  height:52px; width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  background:rgba(255,255,255,.86);
  color:var(--text);
  padding:0 14px;
  font-size: 1rem;
  transition:border-color .12s ease, box-shadow .15s ease;
}
.input:focus{
  outline:2px solid rgba(59,130,246,.7);
  outline-offset:2px;
  box-shadow:0 0 0 6px rgba(59,130,246,.12);
}

.btn{
  height:48px; padding:0 24px; border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  color:var(--text); font-weight:600; cursor:pointer;
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 8px 18px rgba(0,0,0,.05);
  transition:transform .12s ease, box-shadow .16s ease, background .15s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.results-table{ width:100%; border-collapse:separate; border-spacing:0; }
.results-table th, .results-table td{
  padding:12px 14px; text-align:left; border-bottom:1px solid var(--border);
  background:transparent;
}
.results-table tr:last-child td{ border-bottom:none }

@media (hover:hover){
  .results-table tr:hover {
    background-color: rgba(0,0,0,0.02);
  }
}
.results-table :where(td,th):focus-visible{
  outline:2px solid rgba(59,130,246,.7);
  outline-offset:-2px;
}

.glass h1 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.glass h1::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--primary-color);
}

.btn-primary {
    background: #0056b3;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2), 0 1px 0 rgba(255,255,255,.2) inset;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border-color: #ddd;
}

@media (hover:hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        background: #0062c9;
        box-shadow: 0 8px 20px rgba(0, 86, 179, 0.25), 0 1px 0 rgba(255,255,255,.2) inset;
    }
    .btn-secondary:hover {
        transform: translateY(-1px);
        background: #e9e9e9;
        border-color: #ccc;
    }
}

.btn:active { transform: translateY(0) }

.btn-primary:active {
    transform: translateY(0px);
    background: #004a9e;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.2), 0 1px 0 rgba(0,0,0,.1) inset;
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important }
}

.table-source {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.results-disclaimer {
    margin-top: 1rem;
}

.result-header + .results-disclaimer {
    margin-top: 1.5rem;
}
.faq-container > p {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted-color);
    padding: 1rem;
    background-color: rgba(0,0,0,0.02);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
}