/*
Theme Name: Auswandern nach Bulgarien
Theme URI: https://auswandern.lima.zone
Description: Zweisprachiges (DE/EN) One-Page WordPress-Theme für Auswanderungsberatung nach Bulgarien. Mit Nachteile-DACH-Vergleich, Vorteile Bulgarien, Leistungen, Blog und rechtlichen Seiten.
Version: 1.0.0
Author: Dachfassade EOOD
Author URI: https://auswandern.lima.zone
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: auswandern
Domain Path: /languages
*/

:root {
  --navy: #0B3D63;
  --navy-dark: #072844;
  --gold: #F5A623;
  --gold-dark: #D6890A;
  --bg-light: #F4F6F3;
  --text-main: #1A1A1A;
  --border-light: #DCE3DC;
  --max-width: 1200px;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0,0,0,0.12);
  --shadow-lg: 0 6px 22px rgba(0,0,0,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-main);
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.25; margin-bottom: 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.2rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: #444; max-width: 750px; margin: 0 auto 2.5rem; font-size: 1.1rem; }

/* Language toggle visibility */
[hidden] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.25s ease; min-height: 48px;
}
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* =====================================================
   HEADER
===================================================== */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: var(--shadow); }

.topbar { background: var(--navy-dark); color: #fff; font-size: 0.9rem; }
.topbar-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0.5rem 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; align-items: center; justify-content: center;
}
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 16px; height: 16px; flex-shrink: 0; }

.lang-switch { display: flex; gap: 0.3rem; margin-left: 0.5rem; }
.lang-btn {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff;
  padding: 0.2rem 0.6rem; border-radius: 5px; font-weight: 700; font-size: 0.8rem; cursor: pointer;
}
.lang-btn.active { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }

.header-main {
  max-width: var(--max-width); margin: 0 auto; padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.4rem; color: var(--navy); }
.logo svg { width: 36px; height: 36px; color: var(--gold); flex-shrink: 0; }
.logo small { display: block; font-size: 0.6rem; font-weight: 600; color: #555; letter-spacing: 0.4px; }
.custom-logo-link img { max-height: 44px; width: auto; }

/* Nav (WordPress menu, single markup for desktop + mobile) */
.main-nav { display: none; }
.main-nav ul.main-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; align-items: center; }
.main-nav .menu-item { position: relative; }
.main-nav a { font-weight: 700; color: var(--navy); font-size: 0.94rem; padding: 0.5rem 0.2rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.main-nav a:hover { color: var(--gold-dark); }
.main-nav .menu-item-has-children > a::after { content: '\25BE'; font-size: 0.7em; margin-left: 2px; transition: transform 0.2s ease; }
.main-nav .menu-item-has-children.open > a::after,
.main-nav .menu-item-has-children:hover > a::after { transform: rotate(180deg); }

.main-nav ul.sub-menu { list-style: none; margin: 0; padding: 0.5rem; }
.main-nav ul.sub-menu li a { display: block; padding: 0.6rem 0.8rem; border-radius: 6px; font-size: 0.92rem; }
.main-nav ul.sub-menu li a:hover { background: var(--bg-light); }

@media (min-width: 1000px) {
  .main-nav { display: block; }
  .menu-toggle { display: none !important; }
  .main-nav ul.sub-menu {
    position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border-light);
    border-radius: 8px; box-shadow: var(--shadow-lg); min-width: 230px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s ease;
  }
  .main-nav .menu-item-has-children:hover > ul.sub-menu,
  .main-nav .menu-item-has-children.open > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 999px) {
  .main-nav {
    display: none; background: #fff; border-top: 1px solid var(--border-light);
    position: absolute; left: 0; right: 0; top: 100%; box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto;
  }
  .main-nav.active { display: block; }
  .main-nav ul.main-nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 1.2rem 1rem; }
  .main-nav .menu-item { border-bottom: 1px solid var(--border-light); }
  .main-nav a { padding: 0.9rem 0.2rem; width: 100%; font-size: 1.03rem; }
  .main-nav ul.sub-menu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding-left: 1rem; }
  .main-nav .menu-item-has-children.open > ul.sub-menu { max-height: 400px; }
}

.menu-toggle { display: inline-flex; background: var(--navy); border: none; color: #fff; padding: 0.6rem; border-radius: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* =====================================================
   HERO
===================================================== */
.hero { background: linear-gradient(135deg, #EAF1F7 0%, #fff 60%); padding: 3.2rem 0 3rem; text-align: center; }
.hero .lead { font-size: 1.2rem; color: #333; max-width: 800px; margin: 0 auto 1.6rem; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.8rem; }
.badge {
  background: var(--navy); color: #fff; padding: 0.45rem 1rem; border-radius: 50px;
  font-size: 0.88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem;
}
.badge svg { width: 16px; height: 16px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: 2.3rem; }
@media (min-width: 700px) { .quick-links { grid-template-columns: repeat(4, 1fr); } }
.quick-link {
  background: #fff; border: 2px solid var(--border-light); border-radius: var(--radius);
  padding: 1.1rem 0.7rem; text-align: center; font-weight: 700; color: var(--navy); transition: all 0.2s ease; font-size: 0.92rem;
}
.quick-link:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-3px); }
.quick-link svg { width: 30px; height: 30px; margin: 0 auto 0.5rem; color: var(--gold-dark); }

/* =====================================================
   DISADVANTAGE / COMPARISON BLOCKS
===================================================== */
.compare-block { border-bottom: 1px solid var(--border-light); }
.compare-flex { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .compare-flex { grid-template-columns: 1fr 1fr; }
  .compare-flex.reverse { direction: rtl; }
  .compare-flex.reverse > * { direction: ltr; }
}

.icon-badge {
  width: 62px; height: 62px; background: var(--navy); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0;
}
.icon-badge.gold { background: var(--gold); }
.icon-badge svg { width: 30px; height: 30px; color: #fff; }
.icon-badge.gold svg { color: #1a1a1a; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.4rem 0; }
.stat-card { background: var(--bg-light); border-radius: 10px; padding: 1.1rem; text-align: center; border: 1px solid var(--border-light); }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--navy); display: block; }
.stat-label { font-size: 0.85rem; color: #555; }

.con-list, .pro-list { list-style: none; margin: 1.2rem 0; }
.con-list li, .pro-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.7rem; font-size: 1.01rem; }
.con-list svg { width: 22px; height: 22px; color: #C0392B; flex-shrink: 0; margin-top: 2px; }
.pro-list svg { width: 22px; height: 22px; color: #1E8449; flex-shrink: 0; margin-top: 2px; }

.info-box { background: var(--bg-light); border-left: 5px solid var(--gold); border-radius: 8px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 0.97rem; }
.info-box strong { color: var(--navy); }

.image-placeholder {
  width: 100%; min-height: 260px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: flex; align-items: center; justify-content: center; font-size: 5rem; color: #fff; box-shadow: var(--shadow);
}

.city-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0; }
.city-tag { background: var(--bg-light); border: 1px solid var(--navy); color: var(--navy); padding: 0.35rem 0.85rem; border-radius: 50px; font-size: 0.86rem; font-weight: 700; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; margin-top: 2rem; }
.service-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .icon-badge { width: 52px; height: 52px; }
.service-card .icon-badge svg { width: 26px; height: 26px; }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.8rem; margin-top: 2rem; }
.blog-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img { height: 150px; background: linear-gradient(135deg, var(--gold), var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 1.3rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-body h3 { font-size: 1.15rem; }
.blog-body p { font-size: 0.95rem; color: #444; flex-grow: 1; }
.blog-read { font-weight: 700; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; margin-bottom: 0.8rem; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 1.1rem 1.2rem;
  font-weight: 700; font-size: 1.03rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-question svg { width: 22px; height: 22px; transition: transform 0.25s ease; flex-shrink: 0; }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.2rem; }
.faq-answer.open { max-height: 500px; padding-bottom: 1.1rem; }

/* Contact */
.contact-section { background: var(--navy-dark); color: #fff; padding: 4rem 0; }
.contact-section h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin: 2.5rem 0; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center; }
.contact-card svg { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 0.8rem; }
.contact-card a, .contact-card p { color: #fff; }
.contact-card .small { font-size: 0.85rem; color: #cdd6e0; margin-top: 0.4rem; }

.messenger-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.msg-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.6rem; border-radius: 50px; font-weight: 700; color: #fff; }
.msg-btn svg { width: 24px; height: 24px; }
.msg-btn.whatsapp { background: #25D366; }
.msg-btn.whatsapp:hover { background: #1DA851; color: #fff; }
.msg-btn.viber { background: #7360F2; }
.msg-btn.viber:hover { background: #5C48D9; color: #fff; }

.hours-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 2rem; text-align: center; max-width: 500px; margin: 2.5rem auto 0; }
.hours-box .time { font-size: 1.8rem; font-weight: 800; color: var(--gold); margin: 0.5rem 0; }

.map-wrap { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { width: 100%; height: 350px; border: 0; display: block; }

/* Footer */
.site-footer { background: #061826; color: #a9b8c4; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #a9b8c4; font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #6f8394; }
.footer-bottom p { margin-bottom: 0.4rem; }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }

/* Legal & Blog article pages */
.legal-page, .article-page { max-width: 850px; margin: 3rem auto; padding: 0 1.2rem; }
.legal-page h1, .article-page h1 { margin-bottom: 1rem; }
.legal-page h2, .article-page h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-page p, .legal-page li, .article-page p, .article-page li { color: #333; }
.updated { color: #666; font-size: 0.9rem; margin-bottom: 2rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; font-weight: 700; }
.legal-disclaimer { background: var(--bg-light); border-left: 5px solid var(--gold); padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 2rem; font-size: 0.95rem; }
.article-hero { height: 220px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 4.5rem; margin-bottom: 2rem; }
.article-meta { color: #666; font-size: 0.9rem; margin-bottom: 1.5rem; }
.cta-box { background: var(--bg-light); border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.6rem; text-align: center; margin: 2.5rem 0; }

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .section { padding: 2.8rem 0; }
  .btn { width: 100%; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}
