/* ==========================================================================
   DroidService.de – Globales Stylesheet
   ========================================================================== */

:root {
  --bg: #0b0e11;
  --bg-alt: #10151a;
  --surface: #161c22;
  --surface-2: #1c232b;
  --border: #262f39;
  --text: #e7eef4;
  --text-muted: #9aabb8;
  --primary: #3ddc84;
  --primary-dark: #29a866;
  --accent: #4f8cff;
  --danger: #ff5f6d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max-width: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: radial-gradient(circle at top, #121820 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-telegram {
  background: linear-gradient(135deg,#2AABEE,#229ED9);
  color: #fff;
  box-shadow: 0 8px 20px rgba(42,171,238,.35);
}
.btn-telegram:hover { color: #fff; box-shadow: 0 10px 26px rgba(42,171,238,.5); }

.btn-mail {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.btn-mail:hover { color: var(--text); border-color: var(--primary); }

.btn-primary {
  background: var(--primary);
  color: #06210f;
  box-shadow: 0 8px 20px rgba(61,220,132,.3);
}
.btn-primary:hover { color: #06210f; background: var(--primary-dark); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,14,17,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}
.logo svg { width: 30px; height: 30px; }
.logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a.nav-link:hover { color: var(--primary); }

.dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: .92rem;
}
.dropdown-menu a:hover { background: var(--surface-2); color: var(--primary); }
.dropdown-menu a small { color: var(--primary); font-weight: 700; }

.nav-cta { display: flex; gap: 10px; }

.burger { display: none; }
.burger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
}
.burger-label span {
  width: 26px; height: 2px; background: var(--text); border-radius: 2px;
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 340px;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 30px;
    gap: 22px;
    border-left: 1px solid var(--border);
    transition: right .3s ease;
    overflow-y: auto;
  }
  .burger:checked ~ .nav-links { right: 0; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-top: 10px; }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-cta { flex-direction: column; width: 100%; }
  .burger-label { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(61,220,132,.18), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero p.lead { font-size: 1.1rem; color: var(--text-muted); margin: 20px 0 30px; max-width: 560px; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}
.trust-badges .item { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-muted); }
.trust-badges .item svg { width: 20px; height: 20px; color: var(--primary); }

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero-panel h3 { margin-bottom: 14px; }
.hero-panel ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
  font-size: .95rem;
}
.hero-panel ul li:last-child { border-bottom: none; }
.hero-panel ul li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 18px 0 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); margin-top: 14px; }

/* Summary / AIO answer box */
.summary-box {
  background: linear-gradient(135deg, rgba(61,220,132,.08), rgba(79,140,255,.06));
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 30px 0 40px;
}
.summary-box p { margin: 0; color: var(--text); }
.summary-box strong { color: var(--primary); }

/* ---------- Service Grid ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 950px) { .grid-services { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-services { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.service-card .icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(61,220,132,.12);
  border-radius: 12px;
  color: var(--primary);
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 a { color: var(--text); }
.service-card h3 a:hover { color: var(--primary); }
.price-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(61,220,132,.14);
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.service-card .more { font-size: .9rem; font-weight: 600; margin-top: auto; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #06210f;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  display: flex; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.feature .icon { color: var(--primary); flex-shrink: 0; }
.feature .icon svg { width: 24px; height: 24px; }

/* ---------- Pricing Table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th { background: var(--surface-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--text-muted); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.price { color: var(--primary); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Related Services ---------- */
.related-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 800px){ .related-list{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .related-list{ grid-template-columns: 1fr; } }
.related-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius-sm);
}
.related-card a { color: var(--text); font-weight: 700; }
.related-card p { color: var(--text-muted); font-size: .88rem; margin-top: 8px; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(61,220,132,.14), rgba(79,140,255,.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.contact-card .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.contact-card.telegram .icon-circle { background: rgba(42,171,238,.15); color: #2AABEE; }
.contact-card.mail .icon-circle { background: rgba(61,220,132,.15); color: var(--primary); }
.contact-card .icon-circle svg { width: 32px; height: 32px; }
.contact-card p { color: var(--text-muted); margin: 10px 0 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { margin-bottom: 16px; font-size: .95rem; color: var(--text); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--text-muted); font-size: .9rem; }
.footer-grid ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- Floating Telegram Button ---------- */
.float-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 300;
  background: linear-gradient(135deg,#2AABEE,#229ED9);
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(42,171,238,.5);
  transition: transform .2s ease;
}
.float-btn:hover { transform: scale(1.08); color:#fff; }
.float-btn svg { width: 28px; height: 28px; }

/* ---------- Notice Box (Eigentumsnachweis etc.) ---------- */
.notice-box {
  background: rgba(255,95,109,.08);
  border: 1px solid rgba(255,95,109,.35);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 30px 0;
}
.notice-box strong { color: var(--danger); }

/* ---------- Utility spacing ---------- */
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* ---------- Trustpilot Button ---------- */
.btn-trustpilot {
  background: #00b67a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,182,122,.35);
}
.btn-trustpilot:hover { color: #fff; background: #009c68; box-shadow: 0 10px 26px rgba(0,182,122,.5); }
.btn-trustpilot svg { width: 20px; height: 20px; }

.trustpilot-stars {
  display: inline-flex;
  gap: 2px;
  color: #00b67a;
}
.trustpilot-stars svg { width: 16px; height: 16px; }

/* ---------- Contact Card Trustpilot Variante ---------- */
.contact-card.trustpilot .icon-circle { background: rgba(0,182,122,.15); color: #00b67a; }

/* ---------- E-Mail Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,8,10,.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .25s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease;
}
.modal-close:hover { color: var(--text); }

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(61,220,132,.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.modal-icon svg { width: 30px; height: 30px; }

.modal-box h3 { margin-bottom: 10px; }
.modal-box p.text-muted { font-size: .92rem; margin-bottom: 4px; }

.email-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 20px;
}
.email-copy-box span {
  font-weight: 700;
  font-size: .98rem;
  color: var(--text);
  word-break: break-all;
  text-align: left;
}
.email-copy-box button {
  background: var(--primary);
  color: #06210f;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
  flex-shrink: 0;
}
.email-copy-box button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.email-copy-box button.copied { background: var(--primary-dark); }

.modal-alt-action {
  margin-top: 18px;
  display: block;
  width: 100%;
  justify-content: center;
}

.modal-note {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 16px;
}