/* ============================================================
   Fresh Compliance – freshcompliance.de
   Statisches Stylesheet, kein Framework, keine externen Quellen
   ============================================================ */

/* ---------- Schrift: Space Grotesk (lokal, variabel 300–700) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-4ecc7e89.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-c0b2233d.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-01d4d517.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* ---------- Design-Tokens ---------- */
:root {
  --ink: #181717;          /* Text */
  --navy: #0c0b52;         /* Header/Hero-Karte */
  --navy-2: #1b1978;       /* Progress-Track */
  --green: #00ff9d;        /* Akzent */
  --paper: #e9e7e4;        /* Fallback-Hintergrund */
  --white: #ffffff;
  --radius: 12px;
  --pad-card: 32px;
  --gap: 16px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url('../img/gradients-bg.jpg');
  background-size: 100% auto;
  background-repeat: repeat-y;
  padding: 24px 32px 32px 32px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; }
p a, li a { border-bottom: 1px solid currentColor; }
p a:hover, li a:hover { opacity: .7; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; }

/* ---------- Buttons (Pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--ink); color: var(--white); }

.btn-green {                       /* Umriss grün – auf dunkler Karte */
  border-color: var(--green);
  color: var(--green);
}
.btn-green:hover { background: var(--green); color: var(--ink); }

.btn-dark {                        /* gefüllt dunkel – auf hellen/grünen Flächen */
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn-dark svg { color: var(--green); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-dark:hover svg { color: var(--ink); }

/* ---------- Jobs-Banner ---------- */
.jobs-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 4px 20px 4px;
  font-size: 15px;
}
.jobs-banner .btn { font-size: 14px; padding: 6px 14px; }

/* ---------- Header / Hero (dunkle Karte) ---------- */
.site-header {
  background: var(--navy);
  border-radius: var(--radius);
  padding: var(--pad-card);
  color: var(--green);
  display: flex;
  flex-direction: column;
}
.header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 234px; height: auto; }

/* Navigation */
.nav-toggle-box { display: none; }
.nav-toggle { display: none; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  padding-top: 6px;
}
.main-nav a {
  color: var(--green);
  font-size: 20px;
  font-weight: 400;
  border: 0;
}
.main-nav a:hover { border-bottom: 1px solid var(--green); }

/* Hero-Inhalt */
.hero-title {
  color: var(--green);
  font-size: clamp(38px, 4.6vw, 59px);
  line-height: 0.95;
  font-weight: 500;
  max-width: 24ch;
  margin: 96px 0;
}
.header-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.header-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lang-switch {
  color: var(--green);
  font-size: 18px;
  letter-spacing: .04em;
  border: 0;
  padding: 6px 2px;
}
.lang-switch:hover { border-bottom: 1px solid var(--green); }

/* kompakter Header auf Unterseiten */
.site-header.compact .header-bottom { margin-top: 40px; }

/* ---------- Sektionen ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px auto; }
.section-head h1,
.section-head h2 {
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-head p { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; font-weight: 400; }

/* ---------- Leistungs-Karten (grün, aufklappbar ohne JS) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
}
.card-acc {
  background: var(--green);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.card-acc summary::-webkit-details-marker { display: none; }
.card-acc .card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  transition: transform .2s ease;
}
.card-acc[open] .card-icon svg { transform: rotate(180deg); }
.card-acc h3 { font-size: 17px; font-weight: 600; line-height: 1.25; }
.card-acc .card-body { padding: 0 24px 24px 24px; font-size: 15px; line-height: 1.45; }

/* ---------- Prioritäten / Vergleich ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.compare-col .compare-label { font-size: 16px; font-weight: 600; margin: 0 0 10px 4px; }
.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.meter .meter-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 18px;
}
.meter .meter-value { font-size: 20px; }
.meter .meter-track {
  height: 14px;
  border-radius: 100px;
  background: var(--navy-2);
  overflow: hidden;
}
.meter .meter-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--green);
}

/* großes grünes Panel */
.panel-green {
  background: var(--green);
  border-radius: var(--radius);
  padding: 48px;
  margin-top: 48px;
}
.panel-green .panel-intro {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  max-width: 62rem;
  margin-bottom: 40px;
}
.panel-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  margin-bottom: 40px;
}
.feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  font-size: 16px;
  line-height: 1.45;
}
.feature svg { width: 24px; height: 24px; margin-top: 2px; }
.panel-green .panel-cta { text-align: center; }

/* ---------- Referenzen ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 48px;
  align-items: center;
  justify-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}
.logo-grid img {
  width: auto;
  max-width: 150px;
  max-height: 44px;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  opacity: .9;
  transition: opacity .15s ease, filter .15s ease;
}
.logo-grid a:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.logo-grid a.tall img { max-height: 64px; }

/* ---------- Preise ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
}
.price-card {
  background: var(--green);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.price-card .price-cycle { font-size: 15px; }
.price-card .price { font-size: 44px; font-weight: 600; line-height: 1.1; margin: 10px 0 4px 0; }
.price-card .price-term { font-size: 15px; margin-bottom: 20px; }
.price-list {
  list-style: none;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.35;
}
.price-list img { width: 18px; height: 18px; margin-top: 2px; }
.price-options {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.price-options strong { font-weight: 600; }
.price-note { font-size: 15px; line-height: 1.4; margin-bottom: 24px; }
.price-card .btn { align-self: flex-start; margin-top: auto; }

/* Audit-Karte (weiß) */
.audit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 760px;
  margin: 64px auto 0 auto;
}
.audit-card .audit-kicker { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.audit-card .price { font-size: 40px; font-weight: 600; margin-bottom: 6px; }
.audit-card .audit-sub { font-size: 16px; margin-bottom: 22px; }
.audit-list {
  list-style: none;
  border-top: 1px solid #d8d5d1;
  padding: 22px 0;
  margin-bottom: 22px;
  border-bottom: 1px solid #d8d5d1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.audit-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 15px;
}
.audit-list img { width: 18px; height: 18px; margin-top: 1px; }

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.team-card > img { border-radius: 8px; width: 100%; }
.team-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 28px 8px 12px 8px;
}
.team-member h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.team-member p { font-size: 15px; line-height: 1.5; margin-bottom: 16px; }
.team-social { display: flex; gap: 14px; font-size: 14px; }
.team-social a { border-bottom: 1px solid var(--ink); }
.team-social a:hover { opacity: .7; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-bottom: 1px solid #e5e2df;
}
.faq-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.faq-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 28px 24px 28px; font-size: 15.5px; line-height: 1.55; }

/* ---------- Kontakt ---------- */
.contact-card {
  background: var(--green);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.contact-card .contact-mail {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  display: inline-block;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 28px;
}
.contact-card .contact-mail:hover { opacity: .7; }
.contact-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green);
  border-radius: var(--radius);
  padding: var(--pad-card);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 56px;
}
.footer-top .logo img { width: 200px; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border: 0;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { opacity: .7; }
.footer-bottom {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  line-height: 1.5;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover, .footer-credit a:hover { opacity: .7; }
.footer-credit a, .footer-legal a { border-bottom: 0; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  max-width: 1000px;
  margin: 0 auto;
}
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--green);
}
.blog-card .blog-card-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(100%);
}
.blog-card .blog-card-body { padding: 22px 24px 24px 24px; }
.blog-card h2, .blog-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
}
.blog-card .read-more svg { width: 16px; height: 16px; }
.blog-card:hover .read-more { text-decoration: underline; }

/* ---------- Artikel / Textseiten ---------- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 0 96px 0;
}
.article-head { text-align: center; margin-bottom: 40px; }
.article-head h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.article-featured img {
  border-radius: var(--radius);
  filter: grayscale(100%);
  width: 100%;
  margin-bottom: 40px;
}
.article-body p { margin-bottom: 1.2em; }
.article-body h2 { font-size: 24px; margin: 1.6em 0 .6em 0; }
.article-body h3 { font-size: 20px; margin: 1.4em 0 .5em 0; }
.article-body ul, .article-body ol { margin: 0 0 1.2em 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }

/* Zusammenfassung (Datenschutzerklärung) */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 56px;
}
.summary-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 14.5px;
  line-height: 1.5;
}
.summary-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }

.article.wide { max-width: 980px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 40px; margin-bottom: 16px; }
.error-page p { font-size: 18px; margin-bottom: 32px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  body { padding: 12px 16px 16px 16px; }
  .section { padding: 72px 0; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero-title { margin: 72px 0; }
}

@media (max-width: 768px) {
  .site-header { padding: 20px; }
  .logo img { width: 180px; }

  /* Mobile-Navigation ohne JavaScript (Checkbox-Hack) */
  .nav-toggle {
    display: block;
    cursor: pointer;
    padding: 8px;
    margin-top: 2px;
  }
  .nav-toggle svg { width: 28px; height: 28px; display: block; color: var(--green); }
  .nav-toggle .icon-close { display: none; }
  .main-nav {
    display: none;
    width: 100%;
  }
  .header-top { flex-wrap: wrap; }
  .nav-toggle-box:checked ~ .main-nav { display: block; }
  .nav-toggle-box:checked ~ .nav-toggle .icon-open { display: none; }
  .nav-toggle-box:checked ~ .nav-toggle .icon-close { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 24px 0 8px 0;
  }
  .main-nav a { display: block; padding: 10px 0; font-size: 22px; }

  .hero-title { margin: 56px 0; }
  .header-bottom { flex-wrap: wrap; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card-acc summary { gap: 32px; }
  .compare-grid { grid-template-columns: 1fr; }
  .panel-green { padding: 28px; }
  .panel-features { grid-template-columns: 1fr; gap: 24px; }
  .team-cols { grid-template-columns: 1fr; gap: 28px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px; }
  .footer-top { margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .article { padding: 48px 0 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card-acc .card-icon svg, .faq-item summary svg { transition: none; }
}

/* ---------- Druck ---------- */
@media print {
  body { background: none; padding: 0; }
  .jobs-banner, .nav-toggle, .to-top { display: none; }
}
