/* ============================================================
   GeldStrategies.de – festgeld-tagesgeld.css
   Design inspired by festgeldki.com
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1f2937;
    background: #fff;
    line-height: 1.6;
}
a { text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   TOP CALCULATOR BAR
   ============================================================ */
.topbar {
    background: #0d1b4b;
    border-bottom: 3px solid #f59e0b;
    padding: 10px 0;
    color: #fff;
}
.topbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar-title {
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    color: #fbbf24;
    white-space: nowrap;
}
.calc-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}
.calc-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.calc-field label {
    font-size: 0.68rem;
    opacity: 0.75;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.calc-field input,
.calc-field select {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 5px;
    font-size: 0.88rem;
    min-width: 110px;
}
.calc-field select option { background: #0d1b4b; color: #fff; }
.btn-calc {
    background: #f59e0b;
    color: #0d1b4b;
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-calc:hover { background: #d97706; }
.topbar-sub { font-size: 0.72rem; opacity: 0.65; white-space: nowrap; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 200;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}
.logo {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0d1b4b;
}
.logo span { color: #16a34a; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.main-nav a {
    color: #374151;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}
.main-nav a:hover { color: #0d1b4b; }
.main-nav .nav-cta {
    background: #16a34a;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 7px;
    font-weight: 700;
}
.main-nav .nav-cta:hover { background: #15803d; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0d1b4b;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #0d1b4b 0%, #1e3a8a 60%, #1e40af 100%);
    color: #fff;
    padding: 70px 0 80px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 50px;
    align-items: center;
}
.trustpilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 22px;
    color: #86efac;
    font-weight: 500;
}
.hero-left h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 26px;
    letter-spacing: -0.5px;
}
.hero-highlight { color: #fbbf24; }
.hero-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 10px;
}
.hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.4;
}
.bcheck {
    color: #4ade80;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Special offer card */
.special-offer-card {
    background: #fff;
    border-radius: 18px;
    padding: 38px 32px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
.so-label {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.so-rate {
    font-size: 2.3rem;
    font-weight: 900;
    color: #0d1b4b;
    margin-bottom: 14px;
    line-height: 1.1;
}
.so-sub {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 26px;
    line-height: 1.5;
}

/* Buttons */
.btn-green {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.btn-green:hover { background: #15803d; }
.btn-green.full-w { width: 100%; display: block; margin-bottom: 10px; }
.btn-outline-dark {
    display: block;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 6px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-outline-dark:hover { border-color: #0d1b4b; color: #0d1b4b; }

/* ============================================================
   WHY FESTGELD
   ============================================================ */
.why-section {
    padding: 65px 0;
    background: #f8fafc;
}
.sec-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #0d1b4b;
    margin-bottom: 40px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: transform 0.2s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 auto 18px;
}
.why-icon--blue  { background: #dbeafe; color: #1d4ed8; }
.why-icon--green { background: #dcfce7; color: #16a34a; }
.why-icon--amber { background: #fef3c7; color: #d97706; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: #0d1b4b; margin-bottom: 8px; }
.why-card p  { color: #6b7280; font-size: 0.95rem; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: #0d1b4b;
    padding: 34px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item { text-align: center; color: #fff; }
.trust-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.1;
    margin-bottom: 4px;
}
.trust-item span { font-size: 0.85rem; opacity: 0.75; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.vergleich-section { padding: 75px 0; background: #fff; }
.table-toprow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.sec-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #16a34a;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.sec-title-left {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0d1b4b;
    margin-bottom: 6px;
}
.sec-sub { color: #6b7280; font-size: 0.92rem; }
.table-toprow .btn-green { align-self: center; }
.offer-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}
.offer-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.offer-table thead { background: #0d1b4b; }
.offer-table thead th {
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.offer-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}
.offer-table tbody tr:hover { background: #f9fafb; }
.offer-table tbody tr.row-top { background: #f0fdf4; }
.offer-table tbody td {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: #374151;
    vertical-align: middle;
}
.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
}
.rank--gold { background: #fbbf24; color: #78350f; }
.bname { font-weight: 700; color: #0d1b4b; display: inline-block; }
.btag {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 7px;
    font-weight: 700;
    vertical-align: middle;
}
.brate { font-size: 1.1rem; font-weight: 900; color: #16a34a; }
.row-top .brate { color: #15803d; }
.btn-tbl {
    background: #0d1b4b;
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-tbl:hover { background: #1e3a8a; }
.btn-tbl--green { background: #16a34a; }
.btn-tbl--green:hover { background: #15803d; }
.tbl-disclaimer { margin-top: 14px; font-size: 0.78rem; color: #9ca3af; }

/* ============================================================
   LEAD FORM
   ============================================================ */
.anfrage-section {
    background: linear-gradient(135deg, #0d1b4b 0%, #1e3a8a 100%);
    padding: 75px 0;
}
.anfrage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.anfrage-left { color: #fff; }
.anfrage-left h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
}
.anfrage-left p { opacity: 0.85; margin-bottom: 26px; font-size: 0.97rem; }
.anfrage-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.anfrage-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #86efac;
    font-weight: 600;
    font-size: 0.97rem;
}
.lead-form {
    background: #fff;
    padding: 34px;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.lead-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1f2937;
    margin-bottom: 14px;
    transition: border-color 0.2s;
    background: #fff;
}
.lead-form input:focus { outline: none; border-color: #16a34a; }
.form-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 0.9rem;
    display: none;
}
.form-msg.success { display: block; background: #dcfce7; color: #166534; }
.form-msg.error   { display: block; background: #fee2e2; color: #991b1b; }
.form-disc { margin-top: 12px; font-size: 0.76rem; color: #9ca3af; text-align: center; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 75px 0; background: #f8fafc; }
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.about-card {
    background: #fff;
    border-radius: 14px;
    padding: 34px 26px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.about-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0d1b4b;
    margin-bottom: 12px;
    line-height: 1.4;
}
.about-card p { color: #6b7280; font-size: 0.9rem; line-height: 1.75; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 75px 0; background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #0d1b4b;
    text-align: left;
    gap: 16px;
}
.faq-icon { font-size: 1.4rem; color: #16a34a; flex-shrink: 0; line-height: 1; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { color: #6b7280; line-height: 1.75; font-size: 0.95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d1b4b; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.6fr;
    gap: 40px;
    padding: 52px 20px 44px;
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}
.footer-logo span { color: #4ade80; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 6px; }
.footer-stars { color: #fbbf24 !important; font-weight: 700; }
.footer-links h4,
.footer-newsletter h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-newsletter p { color: rgba(255,255,255,0.6); font-size: 0.87rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 7px;
    font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.newsletter-form button:hover { background: #15803d; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.78rem; text-align: center; margin-bottom: 4px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-left h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .main-nav { display: none; gap: 16px; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 300; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .why-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .table-toprow { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .calc-row { flex-wrap: wrap; }
}
@media (max-width: 520px) {
    .hero { padding: 46px 0 50px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .offer-table thead th:nth-child(5),
    .offer-table tbody td:nth-child(5) { display: none; }
}
