/* Steuerberater Warnung — Stylesheet */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/lora-600.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lora-700.woff2") format("woff2");
}

:root {
  --c-navy: #0b2942;
  --c-navy-700: #123655;
  --c-navy-900: #071b2c;
  --c-white: #ffffff;
  --c-surface: #f4f7fb;
  --c-surface-2: #e7eef5;
  --c-accent: #3e7cb1;
  --c-accent-600: #2f638f;
  --c-accent-soft: #dce8f3;
  --c-text: #1c2b3a;
  --c-text-muted: #52667a;
  --c-text-on-navy: #eaf1f8;
  --c-text-on-navy-muted: #b7c9db;
  --c-border: #d7e2ec;
  --c-focus: #1e6fb8;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;

  --container-w: 72rem;
  --radius-m: 0.75rem;
  --radius-l: 1.25rem;
  --shadow-card: 0 1px 2px rgba(11, 41, 66, 0.06), 0 8px 24px -12px rgba(11, 41, 66, 0.18);
  --transition-base: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  hyphens: none;
  -webkit-hyphens: none;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-accent-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--c-navy);
}

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--c-navy);
  line-height: 1.3;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 1.35rem + 1.1vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-m);
  z-index: 1000;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 6px 20px -18px rgba(11, 41, 66, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.wordmark__accent {
  color: var(--c-accent-600);
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--c-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.site-nav a:hover {
  color: var(--c-accent-600);
}

@media (max-width: 480px) {
  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 0.6rem;
    padding-block: 0.9rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    gap: 1.25rem;
  }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-700) 58%, var(--c-accent-600) 130%);
  color: var(--c-text-on-navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h, 4.75rem));
  min-height: calc(100svh - var(--header-h, 4.75rem));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-hintergrund.jpg") right center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
  max-width: 46rem;
  width: 100%;
  margin-inline: 40px 0;
}

.hero h1 {
  color: var(--c-white);
}

.hero__lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--c-text-on-navy-muted);
  max-width: 40rem;
}

.hero__lead:last-child {
  margin-bottom: 0;
}

.hero__br {
  display: none;
}

@media (min-width: 1024px) {
  .hero__br {
    display: inline;
  }
}

/* Sections */
.section {
  padding-block: clamp(3rem, 2.4rem + 3vw, 5.5rem);
}

.section--alt {
  background: var(--c-surface);
}

.section__head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section__head p {
  color: var(--c-text-muted);
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.card__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  background: var(--c-accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--c-text-muted);
}

/* Service list (Leistungen) */
.service-list {
  display: grid;
  gap: 1.5rem;
}

.service-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: 1.75rem 2rem;
}

.service-item h3 {
  margin-bottom: 0.5rem;
}

.service-item p:last-child {
  margin-bottom: 0;
  color: var(--c-text-muted);
}

/* Pull quote */
.pull-quote {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 1.7rem + 1.5vw, 3.25rem);
  text-align: center;
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.9rem);
  line-height: 1.3;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 10px 24px -12px rgba(62, 124, 177, 0.55);
}

.btn:hover {
  background: var(--c-accent-600);
  color: var(--c-white);
  transform: translateY(-1px);
}

.btn--on-navy {
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35);
}

.btn--on-navy:hover {
  background: var(--c-surface);
  color: var(--c-navy);
}

.btn-row {
  margin-top: 2.5rem;
  text-align: center;
}

/* Numbered steps */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: 1.5rem 1.75rem;
}

.step-list li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-list p {
  margin: 0;
  padding-top: 0.35rem;
}

/* Anlaufstellen cards */
.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card h3 {
  margin-bottom: 0;
}

.contact-card p {
  margin: 0;
  color: var(--c-text-muted);
}

.contact-card__link {
  font-weight: 700;
  word-break: break-word;
}

.placeholder {
  color: var(--c-accent-600);
  background: var(--c-accent-soft);
  padding: 0.1em 0.4em;
  border-radius: 0.35em;
  font-weight: 700;
  font-size: 0.92em;
}

/* Form */
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.75rem);
  box-shadow: var(--shadow-card);
  max-width: 40rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.5rem;
}

.form-field .hint {
  display: block;
  font-weight: 400;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.form-field textarea,
.form-field input[type="email"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  padding: 0.8rem 1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-field textarea:focus,
.form-field input[type="email"]:focus {
  border-color: var(--c-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--c-accent);
  flex-shrink: 0;
}

.form-checkbox label {
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--c-border);
}

.timeline li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 2.5rem;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--c-white);
  border: 3px solid var(--c-accent);
}

.timeline time {
  display: block;
  font-weight: 700;
  color: var(--c-accent-600);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.timeline .timeline__fact {
  margin-bottom: 0.5rem;
}

.timeline .timeline__source {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  margin-bottom: 0;
}

/* Confirmation page */
.confirmation {
  text-align: center;
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}

.confirmation__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--c-navy-900);
  color: var(--c-text-on-navy-muted);
  padding-block: 2.5rem;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--c-text-on-navy);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--c-white);
  text-decoration: underline;
}

/* Reveal on scroll (progressive enhancement: only hides content once JS
   has confirmed it will also reveal it again, see the early inline script
   in <head> that adds the "js" class) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Visually hidden helper (used sparingly, not for the honeypot) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
