/*
Theme Name: Kfz-Gutachter Atmis – Landingpage Weiterstadt
Theme URI: https://gutachter-atmis.de
Description: Conversion-Landingpage für das Kfz-Sachverständigenbüro Atmis (Standort Weiterstadt) im Design der Website gutachter-atmis.de (Creme/Schwarz/Gelb). Ein Ziel: Anruf/Anfrage.
Version: 3.0
Author: Digitale Hilfe KMU
Text Domain: atmis
*/

/*
 * CI: Gelb-Akzent wie auf gutachter-atmis.de. Gelb ist Flächenfarbe (Buttons/Kreise/
 * Balken) mit SCHWARZER Schrift – nie gelbe Fließtextfarbe (Kontrast).
 */
:root {
  --bg:            #ffffff;
  --cream:         #FBF7EF;
  --cream2:        #F6F1E6;
  --ink:           #16130d;
  --accent:        #F6BE2C;
  --accent-dark:   #e0a600;
  --accent-tint:   #FBEFC9;
  --gold-text:     #8a6a00;
  --text:          #16130d;
  --text-muted:    #5f5a4f;
  --text-light:    #918b7d;
  --border:        rgba(22,19,13,0.12);
  --border-light:  rgba(22,19,13,0.07);
  --shadow:        0 2px 14px rgba(22,19,13,0.08);
  --shadow-lg:     0 10px 44px rgba(22,19,13,0.14);
  --font-head:     'DM Sans', system-ui, sans-serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --radius:        10px;
  --radius-lg:     18px;
  --section-pad:   4.5rem 5vw;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--text-muted); }
.wrap { max-width: 1160px; margin: 0 auto; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.85rem; background: var(--accent-tint); border-radius: 20px; padding: 0.4rem 0.95rem; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.section-title { margin-bottom: 1rem; }
.section-sub { font-size: 1.02rem; color: var(--text-muted); max-width: 640px; line-height: 1.7; }

/* BUTTONS — Gelb mit schwarzer Schrift (wie „Anrufen") */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 1rem 2rem; border-radius: 40px; font-size: 1rem; font-weight: 700; font-family: var(--font-body); cursor: pointer; border: none; transition: all .2s; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 6px 20px rgba(246,190,44,0.45); }
.btn-primary:hover { background: var(--accent-dark); color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #062b16; }
.btn-wa:hover { background: #1fbb59; color: #062b16; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: #fff; }

/* HEADER — helle Leiste, schwarzes Logo, gelber Anruf-Button */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 64px; background: #fff; border-bottom: 1px solid var(--border-light); box-shadow: 0 1px 10px rgba(22,19,13,0.05); display: flex; align-items: center; padding: 0 5vw; justify-content: space-between; gap: 1rem; }
.site-logo img { height: 38px; width: auto; }
.site-logo .logo-fallback { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; color: var(--ink); letter-spacing: 0.04em; }
.site-logo .logo-fallback small { color: var(--text-muted); font-weight: 600; font-size: 0.6em; letter-spacing: 0; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { text-align: right; line-height: 1.1; }
.header-phone .lbl { display: block; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); font-weight: 700; }
.header-phone .num { font-size: 1.05rem; font-weight: 800; color: var(--ink); font-family: var(--font-head); }
.header-btn { background: var(--accent); color: var(--ink); padding: 0.6rem 1.3rem; border-radius: 40px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: background .2s; }
.header-btn:hover { background: var(--accent-dark); color: var(--ink); }

/* HERO — heller Split (Bild links, Creme-Panel rechts) wie echte Website */
.hero { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; }
.hero-media { position: relative; background: #000; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { background: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: calc(64px + 3rem) 4.5vw 3rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-tint); border-radius: 20px; padding: 0.4rem 1rem; margin-bottom: 1.5rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); width: fit-content; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin-bottom: 2rem; line-height: 1.6; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-micro { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.84rem; color: var(--text-muted); font-weight: 500; }
.hero-micro span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-micro svg { width: 15px; height: 15px; color: var(--accent-dark); }

/* TRUST-CLUSTER — nur echtes Trustindex-Widget + Siegel */
.trust-cluster { background: #fff; padding: 3rem 5vw; border-bottom: 1px solid var(--border-light); }
.trust-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.55fr 1fr; gap: 3rem; align-items: center; }
.reviews-col .eyebrow { margin-bottom: 1rem; }
.trustindex-mount { min-height: 40px; }
.seals-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; border-left: 1px solid var(--border-light); padding-left: 2.5rem; }
.seals-row { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.seals-row img { height: 100px; width: auto; }
.seals-col strong { font-size: 0.95rem; color: var(--ink); }
.seals-col span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; max-width: 270px; }
.seals-col .reg { font-size: 0.68rem; color: var(--text-light); }

/* PROZESS */
.prozess { background: var(--cream); padding: var(--section-pad); }
.prozess-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.75rem; }
.prozess-step { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem 1.75rem; box-shadow: var(--shadow); }
.prozess-step .num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 900; color: var(--accent); margin-bottom: 0.6rem; }
.prozess-step h3 { margin-bottom: 0.5rem; }
.prozess-step p { font-size: 0.9rem; line-height: 1.6; }

/* STATS */
.stats { background: #fff; padding: 3.5rem 5vw; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat { text-align: center; position: relative; }
.stat .num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: var(--ink); line-height: 1; }
.stat .num em { font-style: normal; color: var(--accent-dark); }
.stat .lbl { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.45rem; font-weight: 600; }
.stat::after { content: ''; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--accent); margin: 0.85rem auto 0; }

/* USP */
.usp { background: var(--cream); padding: var(--section-pad); }
.usp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.75rem; }
.usp-card { border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.85rem; transition: all .25s; background: #fff; box-shadow: var(--shadow); }
.usp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.usp-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1rem; }
.usp-card h3 { margin-bottom: 0.4rem; }
.usp-card p { font-size: 0.88rem; line-height: 1.55; }

/* RECHT (Conversion — schwarz/gelb) */
.recht { background: var(--ink); padding: var(--section-pad); color: #fff; text-align: center; }
.recht .eyebrow { background: rgba(246,190,44,0.18); color: var(--accent); }
.recht h2 { color: #fff; max-width: 780px; margin: 0 auto 1rem; }
.recht h2 em { font-style: normal; color: var(--accent); }
.recht p { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto 2rem; font-size: 1.05rem; }
.recht-points { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 2rem; }
.recht-points span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 30px; padding: 0.55rem 1.15rem; font-size: 0.88rem; font-weight: 600; }

/* ERGEBNISSE */
.ergebnis { background: #fff; padding: var(--section-pad); }
.ergebnis-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 2.75rem; }
.ecard { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--cream2); }
.ecard img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ecard:hover img { transform: scale(1.05); }
.ecard .lbl { position: absolute; top: 0.9rem; left: 0.9rem; background: var(--accent); color: var(--ink); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.32rem 0.8rem; border-radius: 20px; z-index: 2; }
.ecard .ov { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem; background: linear-gradient(to top, rgba(22,19,13,0.92) 0%, rgba(22,19,13,0.28) 48%, transparent 78%); }
.ecard .veh { font-size: 0.78rem; color: rgba(255,255,255,0.85); font-weight: 600; }
.ecard .amt { font-family: var(--font-head); font-size: 1.85rem; font-weight: 900; color: #fff; line-height: 1.05; }
.ergebnis-note { text-align: center; font-size: 0.75rem; color: var(--text-light); margin-top: 1.75rem; }

/* GUTACHTER */
.gutachter { background: var(--cream); padding: var(--section-pad); }
.gutachter-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.gutachter-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--cream2); }
.gutachter-img img { object-position: center top; }
.gutachter-img img { width: 100%; height: 100%; object-fit: cover; }
.gutachter-text p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.g-feat { list-style: none; margin-top: 1.25rem; }
.g-feat li { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; color: var(--ink); }
.g-feat li svg { width: 18px; height: 18px; color: var(--accent-dark); flex-shrink: 0; margin-top: 3px; }

/* FAQ */
.faq { background: #fff; padding: var(--section-pad); }
.faq-list { max-width: 820px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; cursor: pointer; }
.faq-q { font-size: 0.98rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; color: var(--ink); }
.faq-q::after { content: '+'; color: var(--accent-dark); font-size: 1.4rem; font-weight: 300; }
.faq-a { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.7rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '\2212'; }

/* FINAL CTA */
.finalcta { background: var(--ink); padding: 4.5rem 5vw; text-align: center; }
.finalcta h2 { color: #fff; margin-bottom: 0.85rem; }
.finalcta p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }
.finalcta .hero-cta { justify-content: center; }

/* KONTAKT */
.kontakt { background: var(--cream); padding: var(--section-pad); }
.kontakt-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.kontakt-info h2 { margin-bottom: 1rem; }
.kontakt-info > p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.7; }
.cd { list-style: none; }
.cd li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.92rem; color: var(--ink); }
.cd .ci { color: var(--accent-dark); width: 20px; text-align: center; }
.kontakt-info .btn { margin-top: 1.5rem; }
.form-box { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow); }
.form-box h3 { margin-bottom: 1.25rem; }
.fg { margin-bottom: 0.9rem; }
.fg label { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--cream); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.75rem 0.9rem; color: var(--ink); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color .2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); background: #fff; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-box .btn { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.68rem; color: var(--text-light); margin-top: 0.7rem; line-height: 1.5; }
.form-note a { color: var(--accent-dark); text-decoration: underline; }
.contact-message { display: none; padding: 0.9rem; border-radius: 6px; margin-bottom: 0.9rem; font-size: 0.875rem; }

/* FOOTER (dunkel) */
#site-footer { background: var(--ink); padding: 3rem 5vw 0; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: inline-block; background: #fff; padding: 0.5rem 0.85rem; border-radius: 8px; }
.footer-logo img { height: 34px; display: block; }
.footer-logo .logo-fallback { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; color: #fff; letter-spacing: 0.04em; }
.footer-about { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 1rem; line-height: 1.6; max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all .2s; }
.footer-social a:hover { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-col ul a { color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.74rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* STICKY MOBILE */
.sticky-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); color: var(--ink); padding: 0.9rem; text-align: center; font-weight: 800; font-size: 1rem; z-index: 300; box-shadow: 0 -4px 16px rgba(246,190,44,0.4); }

/* LEGAL */
.legal { padding: 7rem 5vw 5rem; max-width: 820px; margin: 0 auto; }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; margin: 2rem 0 0.5rem; color: var(--ink); }
.legal p, .legal li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.7rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--accent-dark); text-decoration: underline; }
.legal-back { display: inline-block; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--accent-dark); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: auto; }
  .hero-media { height: 40vh; min-height: 260px; order: -1; }
  .hero-panel { padding: 1.75rem 1.5rem 2.5rem; }
  .trust-inner { grid-template-columns: 1fr; gap: 2rem; }
  .seals-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border-light); padding-top: 2rem; }
  .prozess-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .usp-grid { grid-template-columns: 1fr; }
  .ergebnis-grid { grid-template-columns: 1fr 1fr; }
  .gutachter-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gutachter-img { aspect-ratio: 4/5; max-height: 460px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .sticky-mobile { display: block; }
  body { padding-bottom: 60px; }
}
@media (max-width: 560px) {
  :root { --section-pad: 3rem 1.25rem; }
  .ergebnis-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .seals-row img { height: 82px; }
  h1 { font-size: 2.1rem; }
}
