/* audit/audit.css - nur audit-spezifisch (global bleibt unangetastet) */

:root{
  --c-blue:#1b4fff;
  --c-green:#10b981;
  --c-ink:#0b0f19;
  --c-line: rgba(15, 23, 42, .12);
}

.gt{ color: var(--c-ink); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.gt-hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
  margin-top: 8px;
}

.gt-kicker{
  margin:0 0 10px;
  font-weight: 800;
  letter-spacing:.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(2,6,23,.55);
}

.gt-title{
  margin:0 0 10px;
  font-size: clamp(21px, 3.6vw, 39px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.gt-lead{
  margin:0;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.55;
  color: rgba(2,6,23,.78);
  max-width: 60ch;
}

.gt-pills{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,.75);
}
.pill-blue{ box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--c-blue) 7%, white); }
.pill-green{ box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--c-green) 9%, white); }

/* ── Hero image (Platzhalter – wird durch Canva-Grafik ersetzt) ──────── */
.gt-hero__media .img-surface{
  height: 100%;
  min-height: 280px;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background:
    url('../images/audit.jpg') center/cover no-repeat,
    radial-gradient(1200px 600px at 20% 10%, rgba(27,79,255,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 80%, rgba(16,185,129,.18), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
  position: relative;
  overflow:hidden;
}

/* ── Sektion 2: Weltkugel ───────────────────────────────────────────── */
.gt-section--globe{
  padding: clamp(8px, 1.5vw, 14px) !important;
}
.globe-wrap{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  background: transparent;
}

.globe-label{
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #0b0f19;
  text-align: center;
}

.globe-sublabel{
  margin: 15px 0 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #0b0f19;
  text-align: center;
}
#globe-canvas{ display: block; max-width: 100%; }

.globe-caption{
  margin-top: 14px;
  text-align: center;
}

/* ── Globe 3-Spalten-Layout ─────────────────────────────────────────── */
.globe-layout{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.globe-pills{
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 0;
  max-width: 160px;
  align-items: stretch;
}

/* Linke Seite: Text absolut linksbündig, Abstand zur Kugel angeglichen */
.globe-pills--left{ margin-right: 28px; }
.globe-pills--left .globe-pill{ justify-content: flex-start !important; text-align: left !important; }
.globe-pills--left .globe-pill:nth-child(1){ transform: rotate( 18deg); transform-origin: right center; }
.globe-pills--left .globe-pill:nth-child(2){ transform: rotate(  6deg); transform-origin: right center; }
.globe-pills--left .globe-pill:nth-child(3){ transform: rotate( -6deg); transform-origin: right center; }
.globe-pills--left .globe-pill:nth-child(4){ transform: rotate(-18deg); transform-origin: right center; }

/* Rechte Seite: Anker links, spreizen nach rechts */
.globe-pills--right{ margin-left: -9px; }
.globe-pills--right .globe-pill{ justify-content: flex-end; }
.globe-pills--right .globe-pill:nth-child(1){ transform: rotate(-18deg); transform-origin: left center; }
.globe-pills--right .globe-pill:nth-child(2){ transform: rotate( -6deg); transform-origin: left center; }
.globe-pills--right .globe-pill:nth-child(3){ transform: rotate(  6deg); transform-origin: left center; }
.globe-pills--right .globe-pill:nth-child(4){ transform: rotate( 18deg); transform-origin: left center; }

.globe-pill{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 21px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3060ff 0%, #1b4fff 40%, #1040e8 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -2px 0 rgba(0,0,0,0.22),
    0 4px 10px rgba(27,79,255,0.38),
    0 2px 4px rgba(0,0,0,0.18);
}

@media (max-width: 680px){
  .globe-layout{ flex-direction: column; gap: 14px; }
  .globe-pills--left,
  .globe-pills--right{
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: 0;
  }
  .globe-pills--left .globe-pill,
  .globe-pills--right .globe-pill {
    transform: none !important;
    transform-origin: initial !important;
    justify-content: center !important;
    text-align: center !important;
    width: auto;
  }
  .globe-wrap{ width: 100%; }
  #globe-canvas{ width: 100% !important; height: auto !important; }
}

/* ── Sektion 2: Grafik-Platzhalter (Fallback) ───────────────────────── */
.img-surface--wide{
  min-height: 340px;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background:
    url('../images/audit.jpg') center/cover no-repeat,
    radial-gradient(1200px 600px at 20% 10%, rgba(27,79,255,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 80%, rgba(16,185,129,.18), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
  margin: 16px 0 14px;
  width: 100%;
}

.img-sub{
  text-align: center;
  color: rgba(2,6,23,.62);
  line-height: 1.55;
  max-width: 80ch;
  margin: 0 auto;
  font-size: clamp(14px, 1.8vw, 16px);
}

/* ── Sections ───────────────────────────────────────────────────────── */
.gt-section{ margin-top: clamp(18px, 4vw, 34px); }

.sec-head{ margin-bottom: 16px; }
.sec-head h2{
  margin:0 0 4px;
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing:-0.02em;
}
.sec-head p{
  margin:0;
  color: rgba(2,6,23,.68);
  line-height: 1.55;
  max-width: 80ch;
}
.sec-head--center{ text-align: center; }
.sec-head--center p{ margin: 0 auto; }

/* ── Grids ──────────────────────────────────────────────────────────── */
.gt-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.cards6{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.cards6 .card{
  padding: 14px 16px;
}
.cards6 .card-icon{ font-size: 18px; margin-bottom: 0; margin-right: 7px; flex-shrink: 0; }
.cards6 .card h3{ font-size: 14px; margin-bottom: 5px; }
.cards6 .card p{ font-size: 13px; }
.cards6 .card .card-header{
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.cards6 .card .card-header h3{ margin: 0; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card{
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: #fff;
  padding: 20px 20px;
  box-shadow: 0 10px 30px rgba(2,6,23,.04);
}
.card h2{ margin:0 0 8px; font-size: 18px; }
.card h3{ margin:0 0 8px; font-size: 16px; font-weight: 700; }
.card p{ margin:0; color: rgba(2,6,23,.75); line-height: 1.55; }

.card-accent{
  background:
    radial-gradient(1000px 500px at 10% 10%, rgba(16,185,129,.14), transparent 55%),
    radial-gradient(900px 450px at 90% 80%, rgba(27,79,255,.10), transparent 55%),
    #fff;
}

.card-exko{
  background: color-mix(in srgb, var(--c-blue) 5%, white);
  border-color: color-mix(in srgb, var(--c-blue) 18%, transparent);
}
.card-inko{
  background: color-mix(in srgb, var(--c-green) 6%, white);
  border-color: color-mix(in srgb, var(--c-green) 18%, transparent);
}

.subtle{
  background: rgba(2,6,23,.02);
  box-shadow: none;
}
.small{ font-size: 14px; }

/* ── Card-Icon (Emoji) ──────────────────────────────────────────────── */
.card-icon{
  font-size: 26px;
  line-height: 1;
  margin-bottom: 10px;
}

/* ── Step numbers ───────────────────────────────────────────────────── */
.step-num{
  font-size: 26px;
  font-weight: 900;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: 10px;
}

/* ── Notfall badge ──────────────────────────────────────────────────── */
.notfall-hint{
  margin-top: 12px;
  font-weight: 700;
  color: rgba(2,6,23,.86);
}
.notfall-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100px;
  height: 100px;
  margin-top: 12px;
  background: url('/images/button.png') center/contain no-repeat;
  color: #fff;
  font-weight: 900;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,.50);
}

/* ── Bullets ────────────────────────────────────────────────────────── */
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(2,6,23,.78);
  line-height: 1.55;
}
.bullets li{ margin: 4px 0; }

/* ── Notices ────────────────────────────────────────────────────────── */
.notice{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  margin: 12px 0 10px;
}
.notice.ok{ background: color-mix(in srgb, var(--c-green) 10%, white); }
.notice.err{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.25); }

/* ── Form ───────────────────────────────────────────────────────────── */
.audit-form{
  margin-top: 12px;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  overflow: hidden;
}
.audit-form, .audit-form *{ box-sizing: border-box; }
.audit-form .grid > label{ min-width: 0; }
.audit-form label:not(.consent){
  display:block;
  font-weight:700;
  font-size:13px;
  color: rgba(2,6,23,.86);
}
.audit-form input,
.audit-form textarea{
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.16);
  padding: 12px 12px;
  font: inherit;
  font-weight: 500;
  background: #fff;
  outline: none;
}
.audit-form textarea{ resize: vertical; }
.audit-form input:focus,
.audit-form textarea:focus{
  box-shadow: 0 0 0 3px rgba(27,79,255,.18);
  border-color: rgba(27,79,255,.35);
}
.audit-form .grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.audit-form > label:not(.consent){ margin-top: 14px; }

.req{ color: rgba(239,68,68,.9); font-weight: 900; display:inline; margin-left: 4px; }

.consent{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  margin-top: 12px;
  font-weight: 600;
  color: rgba(2,6,23,.72);
}
.consent input{ width:auto; margin-top: 2px; }

.actions{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn{
  appearance:none;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  cursor:pointer;
  background:#fff;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-blue{
  background: color-mix(in srgb, var(--c-blue) 9%, white);
}
.btn-blue:hover{
  box-shadow: 0 0 0 3px rgba(27,79,255,.18);
}

.hp{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

/* ── Alternating section tint ───────────────────────────────────────── */
.gt-section:nth-child(even){
  background: rgba(27,79,255,.04);
  border-radius: 18px;
  padding: clamp(14px,2.5vw,22px);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px){
  .gt-hero{ grid-template-columns: 1fr; }
  .gt-hero__media .img-surface{ min-height: 200px; }
  .gt-grid2{ grid-template-columns: 1fr; }
  .cards3{ grid-template-columns: 1fr; }
  .cards6{ grid-template-columns: 1fr; }
  .audit-form .grid{ grid-template-columns: 1fr; }
  .img-surface--wide{ min-height: 220px; }
}
