/*
Theme Name: WiMaK Dienstleistung GmbH
Description: Rundum-Partner für Immobilien in Sachsen
Version: 2.0
Author: WiMaK Dienstleistung GmbH
*/


:root {
  --blue:       #0F62FE;
  --blue-dark:  #002D9C;
  --blue-light: #4589FF;
  --blue-hover: #0353E9;
  --text:       #161616;
  --text-light: #525252;
  --border:     #E0E0E0;
  --bg:         #FFFFFF;
  --bg-grey:    #F4F4F4;
  --bg-dark:    #001141;
  --white:      #FFFFFF;
  --success:    #198038;
  --error:      #DA1E28;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'IBM Plex Sans', 'Montserrat', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 0; font-size: .875rem; font-weight: 600; letter-spacing: .02em; cursor: pointer; border: none; transition: all .15s; text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white) !important; }
.btn-primary:hover { background: var(--blue-hover); color: var(--white) !important; }
.btn-secondary { background: transparent; color: var(--blue) !important; border: 1px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white) !important; }
.btn-ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-grey); }
.btn-white { background: var(--white); color: var(--blue) !important; }
.btn-white:hover { background: var(--bg-grey); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .8rem; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 { font-family: 'IBM Plex Sans', 'Montserrat', sans-serif; font-weight: 600; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 12px; }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.lead { font-size: 1.125rem; font-weight: 300; line-height: 1.7; color: var(--text-light); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section--lg { padding: 120px 0; }
.section--sm { padding: 48px 0; }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.7); }
.section--dark .text-light { color: rgba(255,255,255,.55); }
.section--grey { background: var(--bg-grey); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--white); }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-top: 8px; }
.section-header p { margin-top: 16px; max-width: 640px; }
.section-header.center p { margin: 16px auto 0; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── CARDS ── */
.card { background: var(--white); border: 1px solid var(--border); padding: 32px; }
.card:hover { border-color: var(--blue); }
.card--grey { background: var(--bg-grey); border: none; }
.card--dark { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.card--dark:hover { border-color: var(--blue-light); }
.card-icon { font-size: 2rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: .9rem; line-height: 1.65; }
.card--dark p { color: rgba(255,255,255,.6); }

/* ── TAGS / BADGES ── */
.tag { display: inline-block; padding: 4px 12px; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(15,98,254,.1); color: var(--blue); border: 1px solid rgba(15,98,254,.2); }
.tag--dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.2); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--bg-grey); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; }
.trust-bar--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 32px; }
.trust-item { font-size: .82rem; font-weight: 500; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.trust-item::before { content: '✓'; color: var(--blue); font-weight: 700; }
.trust-bar--dark .trust-item { color: rgba(255,255,255,.65); }
.trust-bar--dark .trust-item::before { color: var(--blue-light); }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-val { font-size: 2.5rem; font-weight: 300; color: var(--blue); display: block; line-height: 1; margin-bottom: 8px; }
.section--dark .stat-val { color: var(--blue-light); }
.stat-label { font-size: .8rem; color: var(--text-light); line-height: 1.4; }
.section--dark .stat-label { color: rgba(255,255,255,.55); }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .8rem; font-weight: 600; color: var(--text-light); letter-spacing: .02em; }
.form-input, .form-select, .form-textarea {
  background: var(--white); border: 1px solid var(--border-dark); color: var(--text);
  padding: 12px 16px; font-size: .9rem; font-family: inherit;
  border-radius: 0; width: 100%; transition: border-color .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(15,98,254,.15); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-input--dark, .form-select--dark, .form-textarea--dark {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: var(--white);
}
.form-input--dark::placeholder, .form-textarea--dark::placeholder { color: rgba(255,255,255,.35); }
.form-input--dark:focus, .form-textarea--dark:focus { border-color: var(--blue-light); box-shadow: 0 0 0 2px rgba(69,137,255,.2); }
.form-select--dark option { background: var(--bg-dark); }
.form-msg { display: none; padding: 12px 16px; font-size: .875rem; margin-top: 8px; }
.form-msg--success { background: rgba(25,128,56,.1); color: var(--success); border: 1px solid rgba(25,128,56,.2); }
.form-msg--error { background: rgba(218,30,40,.1); color: var(--error); border: 1px solid rgba(218,30,40,.2); }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header--dark { background: rgba(0,17,65,.97); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; color: var(--text) !important; }
.site-header--dark .site-logo { color: var(--white) !important; }
.logo-mark { width: 36px; height: 36px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: .875rem; font-weight: 500; color: var(--text-light); transition: color .15s; }
.site-header--dark .site-nav a { color: rgba(255,255,255,.7); }
.site-nav a:hover { color: var(--blue); }
.site-header--dark .site-nav a:hover { color: var(--white); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all .25s; }
.site-header--dark .hamburger span { background: var(--white); }
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--border); }
  .site-header--dark .site-nav { background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .site-header--dark .site-nav a { border-bottom-color: rgba(255,255,255,.08); }
  .nav-cta { margin: 16px 24px; }
}

/* ── FOOTER ── */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { }
.footer-brand .logo-text { color: var(--white); font-size: 1rem; font-weight: 600; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal a:hover { color: var(--white); }

/* ── HERO VARIANTS ── */
.hero { padding: 100px 0 80px; }
.hero--dark { background: var(--bg-dark); }
.hero--gradient { background: linear-gradient(135deg, var(--bg-dark) 0%, #001A6E 100%); }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p.lead { color: rgba(255,255,255,.7); margin-bottom: 40px; max-width: 620px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-split { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; gap: 48px; } }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px; border-right: 1px solid var(--border); position: relative; }
.step:last-child { border-right: none; }
.section--dark .step { border-right-color: rgba(255,255,255,.08); }
.step-num { font-size: 2.5rem; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: 16px; }
.section--dark .step-num { color: var(--blue-light); }
.step h3 { font-size: .95rem; margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }
.section--dark .step p { color: rgba(255,255,255,.55); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon { width: 40px; height: 40px; background: rgba(15,98,254,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-text strong { display: block; font-size: .75rem; color: var(--text-light); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-text a, .contact-info-text span { font-size: .95rem; color: var(--text); font-weight: 500; }
.contact-info-text a:hover { color: var(--blue); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.section--dark .faq-item { border-color: rgba(255,255,255,.1); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; padding: 20px 0; text-align: left; font-size: .95rem; font-weight: 600; font-family: inherit; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.section--dark .faq-q { color: var(--white); }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--blue); flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; padding-bottom: 20px; color: var(--text-light); font-size: .9rem; line-height: 1.7; }
.section--dark .faq-a { color: rgba(255,255,255,.55); }
.faq-a.open { display: block; }

/* ── ARTICLE CARD ── */
.article-card { background: var(--white); border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.article-card:hover { border-color: var(--blue); }
.article-cat { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.article-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--blue); }
.article-card p { font-size: .85rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.article-meta { font-size: .78rem; color: var(--text-light); }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-center { justify-content: center; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }


