/* base.css – Reset & Basis */

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--weiss);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typografie --- */
h1, h2, h3 { color: var(--allianz-blau); line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

/* --- Container --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

/* --- Sektionen --- */
.section { padding: 84px 0; }
.section--alt { background: var(--hell-grau); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__lead { color: var(--text-hell); font-size: 1.1rem; margin-top: 14px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 4px;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn--accent { background: var(--akzent-orange); color: #fff; box-shadow: 0 6px 18px rgba(52, 194, 112, 0.35); }
.btn--accent:hover { background: var(--akzent-orange-dunkel); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(52, 194, 112, 0.45); }
.btn--ghost { background: transparent; color: var(--allianz-blau); border: 2px solid var(--grau); }
.btn--ghost:hover { border-color: var(--allianz-blau); background: var(--allianz-blau); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 38px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* --- Häkchen-Checklisten --- */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist--tight { gap: 11px; }
.checklist__icon {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
  display: inline-grid;
  place-items: center;
  background: var(--akzent-orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.link { color: var(--allianz-blau-hell); text-decoration: underline; }

/* --- Scroll-Reveal-Animationen --- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
