/* IPS secure GmbH — Shared Stylesheet */
/* ajax-alarmanlage-muenchen.de */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0D1B2A;
  --blue-deep: #1E3A5F;
  --blue-mid: #2A4F7C;
  --blue-light: #3B6FA0;
  --gold: #D4A828;
  --gold-light: #E8C03A;
  --white: #FFFFFF;
  --gray-50: #F7F9FC;
  --gray-100: #EEF2F7;
  --gray-200: #DDE4ED;
  --gray-400: #8FA3B8;
  --gray-600: #4A6178;
  --text: #0D1B2A;
  --text-muted: #5A6B7B;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(13,27,42,0.10);
  --shadow-lg: 0 12px 48px rgba(13,27,42,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── TOP BAR ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.topbar-logo-img {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.topbar-logo-secure {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.3px;
  line-height: 1;
}

.topbar-hours { font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.topbar-hours strong { color: var(--navy); }

.topbar-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

.topbar-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-phone svg { width: 16px; height: 16px; opacity: 0.5; }

.btn-offer-sm {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-offer-sm:hover { background: var(--gold-light); }

/* ─── NAV BREADCRUMB ─── */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 2rem;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue-deep); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: var(--gray-400); }

/* ─── SUBPAGE HERO ─── */
.hero-sub {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem 3.5rem;
  border-bottom: 1px solid var(--border);
}
.hero-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 25% 50%, rgba(30,58,95,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero-sub-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,168,40,0.1);
  border: 1px solid rgba(212,168,40,0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-sub h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.4px;
}
.hero-sub h1 em { font-style: normal; color: var(--gold); }
.hero-sub-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}
.hero-bullet { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--text); }
.hero-bullet-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.hero-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover { background: var(--gold-light); transform: scale(1.02); }

.btn-secondary-dark {
  background: rgba(30,58,95,0.07);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  border: 1.5px solid rgba(30,58,95,0.15);
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary-dark:hover { background: rgba(30,58,95,0.12); }

/* Contact sidebar card */
.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.contact-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.contact-card-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}
.contact-card-phone svg { width: 18px; height: 18px; }
.contact-card-hours { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.contact-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.simple-form .form-group { margin-bottom: 0.75rem; }
.simple-form .form-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.simple-form .form-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.simple-form .form-input:focus { border-color: var(--blue-deep); }
.simple-form .form-input::placeholder { color: var(--gray-400); }
.btn-submit-full {
  width: 100%;
  padding: 0.75rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  margin-top: 0.25rem;
}
.btn-submit-full:hover { background: var(--gold-light); }
.submit-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* ─── SECTIONS ─── */
.section { padding: 4.5rem 2rem; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--navy); }
.section-blue { background: var(--blue-deep); }

.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 820px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 0.6rem;
}
.section-label-dark { color: rgba(212,168,40,0.75); }

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  text-align: center;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.section-title-white { color: var(--white); }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 0.97rem;
  line-height: 1.7;
}
.section-sub-white { color: rgba(255,255,255,0.55); }

/* ─── CARDS ─── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s;
  background: var(--white);
}
.card:hover { border-color: var(--blue-deep); box-shadow: var(--shadow); transform: translateY(-2px); }

.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  background: rgba(30,58,95,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.card-icon svg { width: 20px; height: 20px; color: var(--blue-deep); }
.card-icon-gold { background: rgba(212,168,40,0.12); }
.card-icon-gold svg { color: var(--gold); }

.card h3 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.card-dark h3 { color: var(--white); }
.card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }
.card-dark p { color: rgba(255,255,255,0.5); }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: rgba(30,58,95,0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-top: 0.6rem;
}

/* ─── CONTENT BLOCK ─── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.content-grid-reverse { direction: rtl; }
.content-grid-reverse > * { direction: ltr; }

.content-block h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.content-block p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.content-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.content-block li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.content-block li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.content-visual {
  background: var(--gray-100);
  border-radius: 14px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.82rem;
  text-align: center;
  padding: 2rem;
}
.content-visual svg { width: 48px; height: 48px; margin: 0 auto 0.75rem; display: block; color: var(--gray-400); }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: rgba(30,58,95,0.06);
  border-left: 3px solid var(--blue-deep);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.highlight-box p { font-size: 0.9rem; color: var(--blue-deep); font-weight: 500; margin: 0; }

/* ─── PROCESS ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: var(--border);
}
.process-step { text-align: center; }
.process-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(212,168,40,0.1);
  border: 2px solid rgba(212,168,40,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.process-step p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.process-time {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212,168,40,0.1);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--gray-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; }
.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.trust-item strong { color: var(--navy); }

/* ─── FAQ ─── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  padding: 1.1rem 0;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-deep); transition: transform 0.2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--blue-deep); }
.faq-answer { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; padding-bottom: 1.1rem; }

/* FAQ on dark backgrounds */
.section-dark .faq-item { border-bottom-color: rgba(255,255,255,0.12); }
.section-dark .faq-item summary { color: var(--white); }
.section-dark .faq-item[open] summary { color: var(--gold); }
.section-dark .faq-icon { color: var(--gold); }
.section-dark .faq-answer { color: rgba(255,255,255,0.72); }

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--blue-deep);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212,168,40,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.65rem;
  position: relative;
}
.final-cta p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; margin-bottom: 1.75rem; }
.btn-cta-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.97rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 9px;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-cta-primary:hover { background: var(--gold-light); transform: scale(1.02); }
.btn-cta-secondary {
  background: rgba(255,255,255,0.09);
  color: var(--white);
  font-size: 0.97rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,0.18);
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.14); }
.cta-trust { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.cta-trust-item svg { width: 13px; height: 13px; color: var(--gold); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.footer-brand-logo svg { width: 22px; height: 22px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { font-size: 0.83rem; color: rgba(255,255,255,0.38); transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.78); }
.footer-col a.active { color: rgba(255,255,255,0.7); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.55rem; }
.footer-contact-item svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.22); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.76rem; color: rgba(255,255,255,0.22); transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.55); }

/* ─── MOBILE BAR ─── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}
.mobile-bar-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
.mobile-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0.5rem; border-radius: 8px;
  font-size: 0.72rem; font-weight: 600; text-align: center;
  transition: background 0.15s; border: none; cursor: pointer; font-family: inherit;
}
.mobile-btn svg { width: 20px; height: 20px; }
.mobile-btn-call { background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-btn-call:hover { background: rgba(255,255,255,0.14); }
.mobile-btn-offer { background: var(--gold); color: var(--navy); }
.mobile-btn-offer:hover { background: var(--gold-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-sub-inner { grid-template-columns: 1fr; }
  .contact-card { max-width: 460px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content-grid-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip-inner { justify-content: center; }
}
@media (max-width: 640px) {
  .topbar-hours { display: none; }
  .topbar-phone span { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mobile-bar { display: block; }
  body { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none; animation: none; }
}
