/* ===================================================
   Access IT GmbH – Stylesheet
   Farben: Dunkelblau #1a4b8c | Mittelblau #4a90d9 | Hellblau #e8f0fb
   =================================================== */

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

:root {
  --blue-dark:   #1a4b8c;
  --blue-mid:    #2e6fc0;
  --blue-light:  #4a90d9;
  --blue-pale:   #e8f0fb;
  --blue-bg:     #f0f4fa;
  --white:       #ffffff;
  --gray-light:  #f5f7fa;
  --gray-mid:    #dde4ef;
  --gray-text:   #4a5568;
  --text-dark:   #1a202c;
  --shadow:      0 2px 12px rgba(26,75,140,0.10);
  --radius:      8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo img {
  height: 48px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

nav a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--blue-dark);
  color: var(--white);
}

/* ── DROPDOWN ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26,75,140,0.18);
  border-top: 3px solid var(--blue-dark);
  padding: 0.4rem 0;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.dropdown-menu .dd-icon {
  font-size: 1rem;
  width: 1.4rem;
  text-align: center;
  flex-shrink: 0;
}

/* ── PRODUKT-SEITEN spezifisch ── */
.product-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
}

.product-intro.reverse { direction: rtl; }
.product-intro.reverse > * { direction: ltr; }

.product-intro-text h2 {
  color: var(--blue-dark);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.product-intro-text p {
  color: var(--gray-text);
  margin-bottom: 0.75rem;
}

.product-intro-visual {
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.product-intro-visual .big-icon {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.product-intro-visual p {
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 1rem;
}

/* Pricing / Paket-Karten */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 2px solid var(--gray-mid);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(26,75,140,0.15);
}

.pricing-card.highlight {
  border-color: var(--blue-dark);
  transform: scale(1.02);
}

.pricing-card.highlight:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-header {
  background: var(--blue-dark);
  color: var(--white);
  padding: 1.4rem 1.5rem;
  text-align: center;
}

.pricing-card.highlight .pricing-header {
  background: var(--blue-mid);
}

.pricing-header .badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.pricing-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pricing-header .subtitle {
  opacity: 0.8;
  font-size: 0.88rem;
}

.pricing-body {
  padding: 1.5rem;
}

.pricing-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.pricing-body ul li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--gray-text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px solid var(--gray-mid);
}

.pricing-body ul li:last-child { border-bottom: none; }

.pricing-body ul li::before {
  content: '✓';
  color: var(--blue-mid);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-body .cta-link {
  display: block;
  text-align: center;
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.pricing-body .cta-link:hover {
  background: var(--blue-mid);
}

/* Feature-Liste mit Icon */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item .fi-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-item h4 {
  color: var(--blue-dark);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.feature-item p {
  color: var(--gray-text);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Info-Box */
.info-box {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}

.info-box p {
  color: var(--blue-dark);
  font-size: 0.95rem;
  margin: 0;
}

/* ── HERSTELLER-BOX ── */
.partner-info-box {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.partner-info-box .pi-text { flex: 1 1 300px; }

.partner-info-box .pi-text h4 {
  color: var(--blue-dark);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.partner-info-box .pi-text p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin: 0;
}

.partner-info-box .pi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pi-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.pi-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.pi-btn-primary {
  background: var(--blue-dark);
  color: var(--white);
}

.pi-btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
}

/* ── RESPONSIVE Produkt & Dropdown ── */
@media (max-width: 900px) {
  .product-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-intro.reverse { direction: ltr; }
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--blue-dark);
  font-size: 1.3rem;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 0.75rem;
}

/* ── SECTIONS ── */
.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--blue-bg);
}

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

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--gray-text);
  max-width: 580px;
  margin: 0 auto;
}

/* ── LEISTUNGEN CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,75,140,0.15);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* ── USP / VORTEILE ── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.usp-item .usp-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.usp-item h3 {
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.usp-item p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* ── PARTNER LOGOS ── */
.partner-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.partner-bar .partner-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 3.5rem;
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
}

.partner-logo-link:hover {
  border-color: var(--gray-mid);
  box-shadow: 0 2px 12px rgba(26,75,140,0.10);
  transform: translateY(-2px);
}

.partner-logo-link img,
.partner-logo-link svg {
  display: block;
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.partner-logo-link:hover img,
.partner-logo-link:hover svg {
  filter: grayscale(0%);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.88;
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-white {
  font-size: 1.05rem;
  padding: 0.9rem 2.4rem;
}

/* ── CONTACT BOX ── */
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.contact-box h3 {
  color: var(--blue-dark);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-mid);
  text-align: left;
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-item span.icon {
  font-size: 1.3rem;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--blue-mid);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ── CONTENT PAGES (Impressum, Datenschutz, FAQ) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto;
}

.content-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-wrapper h2 {
  color: var(--blue-dark);
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--blue-pale);
}

.content-wrapper h3 {
  color: var(--blue-mid);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
}

.content-wrapper p,
.content-wrapper li {
  color: var(--gray-text);
  margin-bottom: 0.6rem;
}

.content-wrapper ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.content-wrapper a {
  color: var(--blue-mid);
}

/* ── FAQ ── */
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--gray-mid);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--blue-pale);
}

.faq-question .chevron {
  font-size: 0.9rem;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.faq-question[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.25rem;
  color: var(--gray-text);
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
}

.faq-answer.open {
  display: block;
}

.faq-answer p { margin-bottom: 0.6rem; }
.faq-answer ul { padding-left: 1.3rem; margin-bottom: 0.6rem; }

/* ── FOOTER ── */
footer {
  background: #0f2d57;
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  line-height: 1.7;
  list-style: none;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f2d57;
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

#cookie-banner p {
  flex: 1 1 300px;
  font-size: 0.9rem;
  line-height: 1.5;
}

#cookie-banner a {
  color: var(--blue-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.cookie-btn:hover { opacity: 0.88; }

.cookie-accept {
  background: var(--blue-light);
  color: var(--white);
}

.cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .nav-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--blue-dark);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  nav a { font-size: 1rem; }

  .btn-outline { margin-left: 0; margin-top: 0.5rem; }

  .hero { padding: 3.5rem 1.25rem; }

  .contact-box { padding: 1.5rem 1.25rem; }

  #cookie-banner { padding: 1rem; }
}
