/* =====================================================
   Goldankauf Exclusiv - Stylesheet
   Farbwelt: Schwarz & Gold
   ===================================================== */

:root {
    --black:         #0a0a0a;
    --black-soft:    #141414;
    --black-2:       #1c1c1c;
    --gold:          #d4af37;
    --gold-light:    #e5c76b;
    --gold-dark:     #b8941f;
    --cream:         #f5ead1;
    --white:         #ffffff;
    --gray-100:      #f5f5f5;
    --gray-300:      #d4d4d4;
    --gray-500:      #737373;
    --gray-700:      #404040;
    --text:          #1a1a1a;
    --text-muted:    #666;

    --font-serif:    'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-soft:   0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-gold:   0 8px 30px rgba(212, 175, 55, 0.25);

    --radius:        6px;
    --container:     1200px;
}

/* ----------- RESET ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ----------- NAVIGATION ----------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: background .3s;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}
.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}
.logo span { color: var(--gold); font-style: italic; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
}
.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .25s;
}
.main-nav a:not(.btn):hover { color: var(--gold); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 28px; height: 2px;
    background: var(--gold);
    transition: .3s;
}

/* ----------- BUTTONS ----------- */
.btn {
    display: inline-block;
    padding: .95rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .5px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .25s;
    text-transform: uppercase;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    color: var(--black);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}
.btn-small { padding: .6rem 1.3rem; font-size: .85rem; }
.btn-full { width: 100%; }

/* ----------- HERO ----------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding: 120px 0 60px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1), transparent 40%),
        linear-gradient(135deg, var(--black), var(--black-soft) 60%, var(--black-2));
    z-index: -1;
}
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 30l15-15M30 30l-15 15M30 30l15 15M30 30l-15-15' stroke='%23d4af37' stroke-width='.5' opacity='.08'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: .4rem 1.2rem;
    border: 1px solid var(--gold);
    border-radius: 30px;
}
.hero-headline {
    color: var(--white);
    margin-bottom: .3rem;
    background: linear-gradient(135deg, var(--white) 30%, var(--gold) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}
.hero-text {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 2rem;
    color: var(--gray-300);
}
.hero-text strong { color: var(--gold-light); }
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.badge-item { text-align: center; }
.badge-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}
.badge-item span {
    font-size: .8rem;
    color: var(--gray-300);
    letter-spacing: .5px;
}

/* ----------- SECTIONS ----------- */
.section {
    padding: 6rem 0;
}
.section-dark {
    background: linear-gradient(135deg, var(--black), var(--black-soft));
    color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-sub { color: var(--gray-300); }

.section-cream {
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.04), rgba(212, 175, 55, 0.08)),
        #fbf9f4;
    position: relative;
}
.section-cream::before,
.section-cream::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .5;
}
.section-cream::before { top: 0; }
.section-cream::after  { bottom: 0; }

.service-hinweis {
    max-width: 820px;
    margin: 2rem auto 0;
    font-size: .9rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.section-eyebrow {
    display: inline-block;
    color: var(--gold-dark);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: .8rem;
}
.section-dark .section-eyebrow { color: var(--gold); }
.section-head h2 { margin-bottom: .8rem; }
.section-head h2::after {
    content: '';
    display: block;
    width: 60px; height: 2px;
    background: var(--gold);
    margin: .8rem auto 0;
}
.section-sub { color: var(--text-muted); font-size: 1.05rem; }

/* ----------- CARDS (Leistungen) ----------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(212, 175, 55, 0.3);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}
.card h3 { color: var(--black); margin-bottom: .6rem; }
.card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ----------- PREISE ----------- */
.preise-table-wrap {
    max-width: 820px;
    margin: 0 auto;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.preise-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
}
.preise-table th, .preise-table td {
    padding: 1.1rem 1.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.preise-table th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 2px;
}
.preise-table tr:last-child td { border-bottom: none; }
.preise-table tr:hover td { background: rgba(212, 175, 55, 0.05); }
.preis-spalte {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    text-align: right;
    white-space: nowrap;
}
.preis-hinweis {
    max-width: 820px;
    margin: 1.5rem auto 0;
    font-size: .85rem;
    color: var(--gray-300);
    font-style: italic;
    text-align: center;
}

/* ----------- ABLAUF ----------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    position: relative;
}
.step {
    text-align: center;
    padding: 1rem;
    position: relative;
}
.step-number {
    width: 72px; height: 72px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ----------- ÜBER UNS ----------- */
.ueber-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.ueber-text h2 { color: var(--white); }
.ueber-text strong { color: var(--gold-light); }
.ueber-features { display: flex; flex-direction: column; gap: 1.2rem; }
.feature {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.feature-check {
    flex: none;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    font-weight: 700;
}
.feature strong { color: var(--gold-light); display: block; margin-bottom: .2rem; }
.feature p { margin: 0; font-size: .9rem; color: var(--gray-300); }

/* ----------- KONTAKT ----------- */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}
.kontakt-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.kontakt-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .95rem;
}
.kontakt-list strong {
    color: var(--gold-dark);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.kontakt-form {
    background: var(--white);
    padding: 2.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kontakt-form label {
    display: block;
    margin-bottom: 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-700);
}
.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
    width: 100%;
    padding: .8rem 1rem;
    margin-top: .4rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
}
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.kontakt-form .checkbox {
    display: flex;
    gap: .6rem;
    font-size: .82rem;
    font-weight: 400;
    align-items: flex-start;
}
.kontakt-form .checkbox input { width: auto; margin-top: .3rem; }
.req { color: #c0392b; }
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
}
.alert {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
}
.alert-success {
    background: rgba(46, 160, 67, 0.1);
    border: 1px solid rgba(46, 160, 67, 0.3);
    color: #166534;
}
.alert-error {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #991b1b;
}

/* ----------- FOOTER ----------- */
.site-footer {
    background: var(--black);
    color: var(--gray-300);
    padding: 4rem 0 0;
    border-top: 2px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: .8rem;
}
.footer-logo span { color: var(--gold); font-style: italic; }
.site-footer h4 {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.site-footer a { color: var(--gray-300); }
.site-footer a:hover { color: var(--gold); }
.site-footer p, .footer-links { margin: 0; font-size: .9rem; line-height: 1.9; }
.footer-links { list-style: none; padding: 0; }
.muted { color: var(--gray-500); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    text-align: center;
    font-size: .85rem;
    color: var(--gray-500);
}
.admin-link { font-size: .8rem; opacity: .6; }

/* ----------- RESPONSIVE ----------- */
@media (max-width: 900px) {
    .ueber-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--black);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s;
    }
    .main-nav.open { max-height: 500px; }
    .main-nav a {
        padding: .8rem 1.5rem;
        width: 100%;
        text-align: center;
    }
    .main-nav a.btn {
        margin: .8rem 1.5rem;
        width: auto;
    }
    .hero-badges { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-ctas .btn { width: 100%; }
}

@media (max-width: 480px) {
    .preise-table th, .preise-table td { padding: .9rem 1rem; font-size: .9rem; }
    .preis-spalte { font-size: 1.1rem; }
    .hero-badges { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ----------- ADMIN / LOGIN ----------- */
.admin-wrap {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--black), var(--black-soft));
    color: var(--white);
    padding: 80px 0 40px;
}
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.login-box {
    max-width: 420px;
    margin: 60px auto;
    background: var(--black-soft);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.login-box h1 {
    color: var(--gold);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: .3rem;
}
.login-box .subtitle {
    text-align: center;
    color: var(--gray-300);
    margin-bottom: 2rem;
    font-size: .95rem;
}
.login-box label {
    display: block;
    margin-bottom: 1rem;
    color: var(--gray-300);
    font-size: .85rem;
    font-weight: 500;
}
.login-box input {
    width: 100%;
    padding: .9rem 1rem;
    margin-top: .4rem;
    background: var(--black);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1rem;
}
.login-box input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.login-error {
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid rgba(192, 57, 43, 0.4);
    color: #ff8a80;
    padding: .8rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
    font-size: .9rem;
}

.admin-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}
.admin-bar h1 {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0;
}
.admin-actions { display: flex; gap: .8rem; align-items: center; }
.admin-actions a { color: var(--gray-300); font-size: .9rem; }
.admin-actions a:hover { color: var(--gold); }

.admin-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 1.8rem;
    margin-bottom: 1.5rem;
}
.admin-section h2 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.admin-section label {
    display: block;
    margin-bottom: 1rem;
    color: var(--gray-300);
    font-size: .85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.admin-section input[type="text"],
.admin-section input[type="email"],
.admin-section textarea {
    width: 100%;
    padding: .7rem .9rem;
    margin-top: .4rem;
    background: var(--black);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--white);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: .95rem;
}
.admin-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.admin-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.admin-save-bar {
    position: sticky;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem;
    margin: 0 -1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    text-align: right;
    backdrop-filter: blur(10px);
    z-index: 10;
}
.admin-message {
    padding: .8rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: .9rem;
}
.admin-message.success {
    background: rgba(46, 160, 67, 0.15);
    border: 1px solid rgba(46, 160, 67, 0.4);
    color: #86efac;
}
.admin-message.error {
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid rgba(192, 57, 43, 0.4);
    color: #ff8a80;
}

/* TinyMCE Anpassung */
.tox-tinymce { border-radius: var(--radius) !important; border-color: rgba(212, 175, 55, 0.25) !important; }

/* ----------- LEGAL PAGES ----------- */
.legal-page {
    padding: 120px 0 60px;
    min-height: 80vh;
}
.legal-page h1 {
    color: var(--black);
    border-bottom: 2px solid var(--gold);
    padding-bottom: .5rem;
    margin-bottom: 1.5rem;
}
.legal-page h2 { margin-top: 2.5rem; color: var(--gold-dark); }
.legal-page h3 { margin-top: 1.5rem; }
.legal-page .container { max-width: 900px; }
.legal-back {
    display: inline-block;
    margin-top: 2rem;
    font-size: .9rem;
}
