﻿/* === JUWELIER ARNOLD — Ultimate Premium Design === */

:root {
    --gold: #C9A84C;
    --gold-light: #D4B85A;
    --gold-dark: #A88B3D;
    --gold-glow: rgba(201, 168, 76, 0.3);
    --green: #4ade80;
    --red: #f87171;
    --bg: #0A0A0A;
    --bg-card: #141414;
    --bg-section: #0F0F0F;
    --bg-input: #1a1a1a;
    --text: #F5F0E8;
    --text-muted: #9A9590;
    --text-dark: #6B6560;
    --border: rgba(201, 168, 76, 0.15);
    --border-light: rgba(255,255,255,0.08);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Ticker === */
.ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    height: 34px;
    line-height: 34px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}
.ticker-text {
    display: inline;
    font-size: 0.75rem;
    color: #777;
    letter-spacing: 0.3px;
    margin: 0;
    padding: 0;
}
.ticker-text b {
    color: var(--gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin: 0 2px;
}
.ticker-dot { color: #333; margin: 0 8px; }

/* === Header === */
/* ── ANNOUNCEMENT TICKER ── */
.ticker-bar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 28px; background: #0a0a0a;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    z-index: 10002;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.ticker-item {
    position: absolute;
    font-size: 0.68rem; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    opacity: 0; transition: opacity 0.6s ease;
    text-align: center;
}
.ticker-item.active { opacity: 1; }
.ticker-item .ticker-gold { color: var(--gold); font-weight: 600; }
.ticker-item .ticker-dot { color: rgba(255,255,255,0.25); margin: 0 8px; }
@media (max-width: 768px) {
    .ticker-bar { height: 26px; }
    .ticker-item { font-size: 0.62rem; }
}

.header {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 10001;
    padding: 14px 0;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #1a1a1a;
}
.header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(24px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; display: flex; flex-direction: row; align-items: center; gap: 10px; color: #C9A84C; }
/* Global link defaults */
a { color: inherit; }
.logo, .logo span { color: #C9A84C !important; }
.logo svg { stroke: #C9A84C; }
.nav-active { color: #C9A84C !important; }
.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
}
.logo-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}
.nav a:hover { color: var(--gold); }

/* ── Desktop nav: clean horizontal, no icon/sub ── */
@media (min-width: 769px) {
    .nav-grid {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .nav-grid a {
        padding: 6px 11px !important;
        background: none !important;
        border: none !important;
        flex-direction: row !important;
        gap: 6px;
    }
    .nav-grid a::before,
    .nav-grid a::after { display: none !important; }
    .nav-icon,
    .nav-sub { display: none !important; }
    .nav-label {
        font-size: 0.8rem !important;
        font-weight: 400 !important;
        letter-spacing: 0.06em;
    }
    /* Hide secondary items on desktop — keep only key 6 + CTA */
    .nav-grid a[href="#diamanten"],
    .nav-grid a[href="#goldbarren"],
    .nav-grid a[href="/ring-generator/"],
    .nav-grid a[href="/konto/"] { display: none !important; }
    /* Termin CTA — gold pill */
    .nav-grid a.nav-wide {
        background: linear-gradient(135deg, #C9A84C, #f0d068) !important;
        color: #000 !important;
        border-radius: 100px !important;
        padding: 6px 16px !important;
        margin-left: 8px;
    }
    .nav-grid a.nav-wide .nav-label { color: #000 !important; font-weight: 600 !important; }
}
.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 18px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    transition: all 0.2s;
}
.header-cta:hover { background: var(--gold); color: var(--bg); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.2);
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.95) 100%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    background: rgba(201, 168, 76, 0.05);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero h1 .gold { color: var(--gold); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.85rem; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px var(--gold-glow);
}
.btn-glow { box-shadow: 0 0 20px var(--gold-glow); }
.btn-outline { border: 1px solid var(--border-light); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* === Sections === */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-section); }
.section-watch-bg {
    position: relative;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0.95) 100%),
        url('https://images.unsplash.com/photo-1523170335258-f5ed11844a49?w=1400&q=80') center/cover no-repeat;
}
.section-diamond-bg {
    position: relative;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.95) 100%),
        url('https://images.unsplash.com/photo-1573408301185-9146fe634ad0?w=1200&q=80') center/cover no-repeat;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* === Price Cards === */
.prices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}
.price-card:hover { border-color: rgba(201, 168, 76, 0.4); transform: translateY(-2px); }
.price-gold { border-color: var(--gold); background: linear-gradient(135deg, rgba(201,168,76,0.08), transparent 60%); }
.price-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.price-metal { display: flex; gap: 12px; align-items: center; }
.price-icon { font-size: 2rem; }
.price-metal h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.price-symbol { font-size: 0.75rem; color: var(--text-dark); letter-spacing: 1px; }
.price-change {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}
.price-change.up { background: rgba(74,222,128,0.1); color: var(--green); }
.price-change.down { background: rgba(248,113,113,0.1); color: var(--red); }
.price-value {
    font-size: 2.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    margin-bottom: 4px;
}
.price-unit { font-size: 0.8rem; color: var(--text-dark); margin-bottom: 20px; }
.price-details { display: flex; gap: 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.price-detail { display: flex; flex-direction: column; gap: 2px; }
.price-detail span { font-size: 0.75rem; color: var(--text-dark); }
.price-detail strong { font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.prices-disclaimer { text-align: center; color: var(--text-dark); font-size: 0.8rem; margin-top: 24px; }

/* === Calculator === */
.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.calc-group { margin-bottom: 24px; }
.calc-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.calc-input-row { display: flex; gap: 12px; }
.calc-input-row input, .calc-input-row select {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.calc-input-row input:focus, .calc-input-row select:focus {
    outline: none;
    border-color: var(--gold);
}
.calc-input-row select { flex: 0.6; cursor: pointer; }
.calc-input-row select option { background: var(--bg-card); }
.calc-karats { display: flex; flex-wrap: wrap; gap: 8px; }
.karat-btn {
    padding: 10px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.karat-btn small { font-size: 0.65rem; font-weight: 400; color: var(--text-dark); }
.karat-btn:hover { border-color: var(--gold); color: var(--gold); }
.karat-btn.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.karat-btn.active small { color: var(--bg); opacity: 0.7; }
.calc-result {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: sticky;
    top: 120px;
}
.calc-result-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 2px; text-transform: uppercase; }
.calc-result-value {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 40px var(--gold-glow);
}
.calc-result-detail { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.calc-result-detail span { font-size: 0.85rem; color: var(--text-muted); }
.calc-result-detail strong { color: var(--text); }
.calc-note { font-size: 0.75rem; color: var(--text-dark); line-height: 1.5; }

/* === Watch Evaluator === */
.watch-evaluator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.watch-group { margin-bottom: 20px; }
.watch-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.watch-group select, .watch-group input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.watch-group select option { background: var(--bg-card); }
.watch-group select:focus, .watch-group input:focus { outline: none; border-color: var(--gold); }
.condition-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cond-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.cond-btn .cond-icon { font-size: 1.5rem; }
.cond-btn span { font-size: 0.85rem; font-weight: 500; }
.cond-btn small { font-size: 0.7rem; color: var(--text-dark); text-align: center; }
.cond-btn:hover { border-color: var(--gold); }
.cond-btn.active { background: rgba(201,168,76,0.1); border-color: var(--gold); color: var(--gold); }
.accessory-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}
.check-label input { accent-color: var(--gold); width: 18px; height: 18px; }
.watch-result {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.watch-result-placeholder { text-align: center; }
.watch-result-placeholder p { color: var(--text-dark); margin-top: 16px; font-size: 0.9rem; }
.watch-result-content { width: 100%; }
.watch-result-content h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 20px; color: var(--gold); }
.watch-estimate {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin: 16px 0;
    text-shadow: 0 0 30px var(--gold-glow);
}
.watch-details { list-style: none; margin: 20px 0; }
.watch-details li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
.watch-details li span:first-child { color: var(--text-muted); }
.watch-details li span:last-child { font-weight: 500; }
.watch-disclaimer { font-size: 0.75rem; color: var(--text-dark); margin-top: 16px; }

/* === Diamond Calculator === */
.diamond-calc {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    max-width: 950px; margin: 0 auto;
}
.diamond-group { margin-bottom: 20px; }
.diamond-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.diamond-group > input {
    width: 100%; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 16px; color: var(--text);
    font-size: 1.1rem; font-family: inherit; margin-bottom: 10px;
}
.diamond-group > input:focus { outline: none; border-color: var(--gold); }
.diamond-ct-quick, .diamond-color-grid, .diamond-clarity-grid, .diamond-cut-grid, .diamond-cert-grid {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.ct-btn, .color-btn, .clarity-btn, .cut-btn {
    padding: 8px 14px; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-muted); cursor: pointer;
    font-family: inherit; font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
}
.ct-btn:hover, .color-btn:hover, .clarity-btn:hover, .cut-btn:hover { border-color: var(--gold); color: var(--gold); }
.ct-btn.active, .color-btn.active, .clarity-btn.active, .cut-btn.active {
    background: var(--gold); color: var(--bg); border-color: var(--gold);
}
.color-btn[data-tier="top"] { border-left: 2px solid #60a5fa; }
.color-btn[data-tier="good"] { border-left: 2px solid var(--green); }
.color-btn[data-tier="mid"] { border-left: 2px solid #fbbf24; }
.color-btn[data-tier="low"] { border-left: 2px solid var(--red); }
.clarity-btn[data-tier="top"] { border-left: 2px solid #60a5fa; }
.clarity-btn[data-tier="good"] { border-left: 2px solid var(--green); }
.clarity-btn[data-tier="mid"] { border-left: 2px solid #fbbf24; }
.clarity-btn[data-tier="low"] { border-left: 2px solid var(--red); }
.diamond-result {
    background: var(--bg-card); border: 1px solid var(--gold);
    border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
    position: sticky; top: 120px;
}
.diamond-result-label { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.diamond-result-value {
    font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700;
    color: var(--gold); margin-bottom: 20px; text-shadow: 0 0 40px var(--gold-glow);
}
.diamond-result-details { text-align: left; margin-bottom: 16px; }
.diamond-detail-row {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.diamond-detail-row span { color: var(--text-muted); }
.diamond-note { font-size: 0.75rem; color: var(--text-dark); line-height: 1.5; margin-top: 12px; }

@media (max-width: 768px) {
    .diamond-calc { grid-template-columns: 1fr; }
    .diamond-result { position: static; }
}

/* === Photo Evaluator === */
.photo-evaluator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.upload-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.upload-tab {
    flex: 1; padding: 12px; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-muted); cursor: pointer;
    font-family: inherit; font-size: 0.9rem; transition: all 0.2s; text-align: center;
}
.upload-tab:hover { border-color: var(--gold); }
.upload-tab.active { background: rgba(201,168,76,0.1); border-color: var(--gold); color: var(--gold); }
.upload-zone {
    border: 2px dashed var(--border); border-radius: var(--radius-lg);
    padding: 48px 32px; text-align: center; cursor: pointer;
    transition: all 0.3s; background: var(--bg-card);
    position: relative; overflow: hidden;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--gold); background: rgba(201,168,76,0.05);
}
.upload-zone p { color: var(--text-muted); margin: 12px 0 4px; }
.upload-zone p strong { color: var(--gold); }
.upload-zone small { color: var(--text-dark); font-size: 0.8rem; }
.upload-preview {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); max-height: 300px;
}
.upload-preview img { width: 100%; height: auto; display: block; max-height: 300px; object-fit: contain; background: #0a0a0a; }
.upload-remove {
    position: absolute; top: 8px; right: 8px; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.2);
    color: white; cursor: pointer; font-size: 1rem; display: flex;
    align-items: center; justify-content: center;
}
.upload-remove:hover { background: var(--red); }
.upload-security {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px; font-size: 0.75rem; color: var(--text-dark);
}
.upload-security svg { color: var(--green); }
.photo-result {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    display: block; min-height: 0; height: auto;
    overflow: visible; word-wrap: break-word;
}
.photo-result:has(.photo-result-placeholder) {
    display: flex; align-items: center; justify-content: center; min-height: 200px;
}
.photo-result-placeholder { text-align: center; }
.photo-result-placeholder p { color: var(--text-dark); margin-top: 16px; font-size: 0.9rem; }
.photo-analysis {
    width: 100%; color: var(--text); font-size: 0.95rem; line-height: 1.7;
    overflow: visible; height: auto;
}
.photo-analysis h3 { font-family: 'Playfair Display', serif; color: var(--gold); margin-bottom: 16px; }
.photo-analysis-text { white-space: pre-line; overflow: visible; height: auto; word-wrap: break-word; }
.analyzing-spinner {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.analyzing-spinner .spinner {
    width: 40px; height: 40px; border: 3px solid var(--border);
    border-top-color: var(--gold); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .photo-evaluator { grid-template-columns: 1fr; }
}

/* === Cards === */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s;
}
.card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(201, 168, 76, 0.1); }
.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.card-list { list-style: none; margin-bottom: 20px; }
.card-list li { padding: 6px 0; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.card-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.card-link { color: var(--gold); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.card-link:hover { text-decoration: underline; }

/* === Steps === */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.step { text-align: center; }
.step-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--gold); opacity: 0.4; margin-bottom: 16px; }
.step h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.95rem; max-width: 300px; margin: 0 auto; }

/* === About === */
.about-content { max-width: 800px; margin: 0 auto; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.about-feature { text-align: center; }
.about-feature strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 4px; }
.about-feature span { font-size: 0.85rem; color: var(--text-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.contact-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.contact-item a { color: var(--gold); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-item small { color: var(--text-dark); }
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25D366;
    color: white;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(37,211,102,0.3); }

/* === Contact Form === */
.contact-form { max-width: 700px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    resize: vertical;
}
.form-group select option { background: var(--bg-card); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-success { display: flex; align-items: center; gap: 12px; padding: 16px; margin-top: 16px; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2); border-radius: var(--radius); }

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 90px;
    z-index: 90;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s;
    animation: floatBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 90;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    color: var(--text-muted);
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { border-color: var(--gold); color: var(--gold); }

/* === Footer === */
.footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-brand .logo-name { font-size: 1rem; letter-spacing: 4px; }
.footer-brand p { color: var(--text-dark); font-size: 0.85rem; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { color: var(--text-dark); font-size: 0.8rem; }
.footer-legal-links { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.footer-legal-links a { color: var(--text-dark); text-decoration: none; }
.footer-legal-links a:hover { color: var(--text-muted); }

/* === Mobile === */
@media (max-width: 768px) {
    .ticker { height: 28px; line-height: 28px; }
    .ticker-text { font-size: 0.62rem; }
    .ticker-dot { margin: 0 4px; }
    .header { top: 28px; padding: 10px 0; }
    .logo-name { font-size: 1.05rem; letter-spacing: 2px; }
    .logo-sub { font-size: 0.55rem; letter-spacing: 1px; }
    .hero { padding-top: 100px; padding-bottom: 50px; }
    .hero-badge { font-size: 0.72rem; padding: 6px 14px; margin-bottom: 16px; }
    .nav {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100dvh;
        background: #060606;
        z-index: 9998;
        padding: 58px 10px 12px;
        overflow-y: auto;
        box-sizing: border-box;
    }
    .nav.open { display: block; }
    .nav-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }
    .nav a {
        position: relative; overflow: hidden;
        color: #fff; text-decoration: none;
        border-radius: 12px;
        display: flex; flex-direction: column;
        align-items: flex-start; justify-content: flex-end;
        padding: 10px 11px;
        height: 76px;
        box-sizing: border-box;
        transition: transform 0.12s;
        -webkit-tap-highlight-color: transparent;
    }
    .nav a.nav-wide {
        grid-column: span 2;
        height: 50px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 2px;
    }
    .nav a:active { transform: scale(0.96); }
    .nav a::before {
        content: ''; position: absolute; inset: 0;
        background-size: cover; background-position: center;
        opacity: 0.6; border-radius: 12px;
    }
    .nav a::after {
        content: ''; position: absolute; inset: 0;
        border-radius: 12px;
        background: linear-gradient(170deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.38) 100%);
    }
    .nav a > * { position: relative; z-index: 2; }
    .nav-icon { font-size: 1.1rem; line-height: 1; margin-bottom: 4px; opacity: 0.9; }
    .nav-wide .nav-icon { margin-bottom: 0; font-size: 1rem; }
    .nav-label {
        font-size: 0.68rem; font-weight: 700;
        letter-spacing: 0.08em; text-transform: uppercase;
        color: #fff; line-height: 1.1; white-space: nowrap;
    }
    .nav-sub {
        font-size: 0.55rem; color: rgba(255,255,255,0.5);
        margin-top: 2px; letter-spacing: 0.04em; white-space: nowrap;
    }
    .nav-wide .nav-label { font-size: 0.72rem; letter-spacing: 0.1em; }
    /* Per-item color tints + images */
    .nav a[href*="rechner"] { background: linear-gradient(135deg,#3d2a00,#1a1200); border: 1px solid rgba(201,168,76,0.3); }
    .nav a[href*="rechner"]::before { background-image: url('/images/cf/hf_20260308_031228_1e5505a2-8286-4940-a6b7-54717bafb7a6.webp'); }

    .nav a[href*="diamanten"] { background: linear-gradient(135deg,#0d1f3a,#060f1f); border: 1px solid rgba(120,180,255,0.25); }
    .nav a[href*="diamanten"]::before { background-image: url('/images/cf/hf_20260308_035158_72e6ccf8-539b-45c0-9573-46b5507f5b21.webp'); }

    .nav a[href*="bewertung"] { background: linear-gradient(135deg,#1a0d2e,#0d0618); border: 1px solid rgba(160,120,220,0.25); }
    .nav a[href*="bewertung"]::before { background-image: url('/images/cf/hf_20260308_035158_0d5e7604-7160-497d-bc2c-032fa3dd4b9f.webp'); }

    .nav a[href*="barren"] { background: linear-gradient(135deg,#2a2000,#181000); border: 1px solid rgba(200,180,80,0.25); }
    .nav a[href*="barren"]::before { background-image: url('/images/cf/hf_20260308_031228_1e5505a2-8286-4940-a6b7-54717bafb7a6.webp'); }

    .nav a[href*="ankauf"] { background: linear-gradient(135deg,#0d2010,#060f08); border: 1px solid rgba(80,160,80,0.25); }
    .nav a[href*="ankauf"]::before { background-image: url('/images/cf/hf_20260308_035158_0d5e7604-7160-497d-bc2c-032fa3dd4b9f.webp'); }

    .nav a[href*="edelsteine"] { background: linear-gradient(135deg,#0d2a10,#061508); border: 1px solid rgba(80,200,100,0.25); }
    .nav a[href*="edelsteine"]::before { background-image: url('/images/cf/hf_20260308_035158_192ccec3-f3bb-4b9a-a0f7-670717bff660.webp'); }

    .nav a[href*="trauringe"] { background: linear-gradient(135deg,#2a0d1a,#180610); border: 1px solid rgba(220,120,160,0.25); }
    .nav a[href*="trauringe"]::before { background-image: url('/images/cf/hf_20260308_033818_943c99d1-ed74-4d9d-b2f7-280bcf9ee647.webp'); }

    .nav a[href*="ring-generator"] { background: linear-gradient(135deg,#200d2a,#100618); border: 1px solid rgba(180,100,220,0.25); }
    .nav a[href*="ring-generator"]::before { background-image: url('/images/cf/hf_20260308_031952_d91ddc49-9b22-4263-a272-bacbb7eabb61.webp'); }

    .nav a[href*="termin"], .nav a[href*="kontakt"] { background: linear-gradient(135deg,#0d1a2a,#060d18); border: 1px solid rgba(100,160,220,0.25); }
    .nav a[href*="termin"]::before, .nav a[href*="kontakt"]::before { background-image: url('/images/cf/hf_20260308_031952_b91ea900-e4e2-41d0-8fa3-6a4ff1677974.webp'); }

    .nav a[href*="uhren"] { background: linear-gradient(135deg,#1a1a2a,#0d0d18); border: 1px solid rgba(160,160,220,0.25); }
    .nav a[href*="uhren"]::before { background-image: url('/images/cf/hf_20260308_031228_6d60b18d-b9f4-49e5-9f21-fff0a0b4c719.webp'); }
    .menu-toggle { display: flex; z-index: 9999; position: relative; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .header-actions { display: none; }
    .hero-content { padding: 0 8px; }
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    .hero-trust { gap: 12px; font-size: 0.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .prices-grid { grid-template-columns: 1fr 1fr; }
    .calculator { grid-template-columns: 1fr; gap: 24px; }
    .calc-result { position: static; }
    .watch-evaluator { grid-template-columns: 1fr; }
    .condition-btns { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 48px; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .prices-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .calc-karats { gap: 6px; }
    .karat-btn { padding: 8px 12px; font-size: 0.8rem; }
}

/* === Trauringe Section === */
#trauringe [style*="grid-template-columns:1fr 1fr"] {
    display: grid !important;
}
@media (max-width: 900px) {
    #trauringe [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }
}
/* v14 */

/* === Animations (disabled for stability) === */
/* All elements render immediately — no flicker, no layout shift */

/* Loading shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.loading {
    background: linear-gradient(90deg, var(--bg-card), rgba(201,168,76,0.1), var(--bg-card));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* === Visual Divider === v8 */
.visual-divider {
    position: relative !important;
    padding: 100px 0 !important;
    overflow: hidden !important;
}
.visual-divider-bg {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    filter: brightness(0.35) saturate(1.3);
    z-index: 0;
}
.visual-divider-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}

/* === Cards with Images === */
.card.card-with-image {
    overflow: hidden !important;
    padding: 0 !important;
}
.card-with-image .card-image {
    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    display: block !important;
}
.card-with-image .card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 40%, var(--bg-card) 100%);
}
.card-with-image .card-content {
    padding: 24px !important;
}
.card-with-image:hover .card-image {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .card-with-image .card-image { height: 140px !important; min-height: 140px !important; }
    .visual-divider { padding: 60px 0 !important; }
}

/\* v9-nav-fix \*/

/* Footer contact + bottom links — no browser blue */
.footer-contact a { color: #888; text-decoration: none; }
.footer-contact a:hover { color: #C9A84C; }
.footer-bottom { color: #444; font-size: 0.78rem; text-align: center; margin-top: 16px; }
.footer-bottom a { color: #555; text-decoration: none; }
.footer-bottom a:hover { color: #C9A84C; }