/* Hero */
.section--hero {
  --hero-pad-block: clamp(70px, 9vw, 120px);
  --hero-gap: clamp(18px, 4vw, 36px);

  position: relative;
  padding-block: var(--hero-pad-block);
  overflow: hidden;
  background: var(--bg-radial-accent), var(--bg-page);
}

.section--hero .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.section--hero .shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.section--hero .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr min(440px, 38%);
  gap: var(--hero-gap);
  align-items: stretch;
}

.section--hero .hero-copy {
  max-width: 64ch;
  min-width: 0;
  background-image:
    linear-gradient(rgba(245, 250, 242, 0.84), rgba(245, 250, 242, 0.84)),
    url("../../assets/img/Startseite/ChatGPT Image 21. Feb. 2026, 13_01_27.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  border: 0;
  border-left: 2px solid rgba(72, 102, 64, 0.45);
  border-radius: 12px;
  padding: clamp(14px, 2.4vw, 22px);
  box-shadow: none;
}

.section--hero .title {
  margin: 0.2rem 0 0.72rem;
  line-height: 1.12;
  color: var(--primary-green);
}

.section--hero .hl {
  display: inline-block;
  background: linear-gradient(
    120deg,
    rgba(193, 220, 175, 0.55),
    rgba(193, 220, 175, 0.12)
  );
  padding: 0.05em 0.25em;
  border-radius: 10px;
}

.section--hero .lead {
  margin: 0 0 1.08rem;
  opacity: 0.95;
  color: var(--ink);
}

.section--hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0.3rem 0 0.9rem;
}

.section--hero .usp {
  list-style: none;
  margin: 0.62rem 0 0;
  padding: 0;
}

.section--hero .usp li {
  margin: 0.28rem 0;
  opacity: 0.95;
  color: #2b3a2b;
}

.section--hero .hero-badge {
  width: 110px;
  height: auto;
  margin: 0.2rem 0 0.9rem;
  filter: drop-shadow(0 10px 18px rgba(30, 46, 30, 0.18));
}

/* Schnellstart-Card */
.section--hero .hero-card {
  align-self: start;
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(72, 102, 64, 0.45);
  border-radius: 0;
  padding: 4px 0 8px 14px;
  box-shadow: none;
}

.section--hero .hero-card h3 {
  margin: 0 0 0.6rem;
  line-height: 1.2;
  color: var(--primary-green);
}

.section--hero .hero-card ol {
  margin: 0 0 0.6rem;
  padding-left: 1.2rem;
}

.section--hero .hero-card .hint {
  margin: 0.4rem 0 0;
  opacity: 0.9;
  color: #324132;
}

.section--hero .hero-upload {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.52rem;
}

.section--hero .hero-upload h4 {
  margin: 0;
  color: #274126;
  font-size: 1rem;
}

.section--hero .hero-upload-text {
  margin: 0 0 0.2rem;
  color: #365138;
  font-size: 0.9rem;
}

.section--hero .hero-upload-field {
  display: grid;
  gap: 0.24rem;
}

.section--hero .hero-upload-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #274126;
}

.section--hero .hero-upload-field input,
.section--hero .hero-upload-field textarea {
  width: 100%;
  border: 1px solid rgba(72, 102, 64, 0.22);
  background: rgba(245, 250, 242, 0.85);
  color: #213823;
  border-radius: 8px;
  padding: 0.56rem 0.62rem;
  font: inherit;
}

.section--hero .hero-file-drop {
  position: relative;
  border: 1.5px dashed rgba(72, 102, 64, 0.4);
  border-radius: 10px;
  padding: 0.78rem;
  background: rgba(245, 250, 242, 0.85);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.22s ease, background-color 0.2s ease;
}

.section--hero .hero-file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.section--hero .hero-file-drop__content strong {
  display: block;
  color: #1f2d1f;
  font-size: 0.9rem;
}

.section--hero .hero-file-drop__content span {
  display: block;
  color: #4a5a4a;
  font-size: 0.82rem;
}

.section--hero .hero-file-drop:hover,
.section--hero .hero-file-drop.is-dragover {
  border-color: rgba(46, 72, 32, 0.72);
  background: rgba(238, 246, 238, 0.95);
  box-shadow: 0 0 0 4px rgba(193, 220, 175, 0.34);
}

.section--hero .hero-file-drop.has-files {
  border-style: solid;
  background: rgba(255, 255, 255, 0.9);
}

.section--hero .hero-file-drop.is-invalid {
  border-color: #a83838;
  box-shadow: 0 0 0 3px rgba(168, 56, 56, 0.14);
}

.section--hero .hero-file-list {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.section--hero .hero-file-list li {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(72, 102, 64, 0.18);
  border-radius: 8px;
  padding: 0.35rem 0.52rem;
  font-size: 0.82rem;
  color: #2b3a2b;
}

.section--hero .hero-upload-field input:focus,
.section--hero .hero-upload-field textarea:focus {
  outline: 2px solid rgba(46, 72, 32, 0.24);
  outline-offset: 1px;
}

.section--hero .hero-upload-field.is-invalid input,
.section--hero .hero-upload-field.is-invalid textarea {
  border-color: #a83838;
  box-shadow: 0 0 0 2px rgba(168, 56, 56, 0.12);
  background: rgba(255, 244, 244, 0.92);
}

.section--hero .hero-upload-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #2b3f2b;
}

.section--hero .hero-upload-check input {
  margin-top: 0.16rem;
  width: 1.02rem;
  height: 1.02rem;
  appearance: none;
  border: 1.5px solid rgba(72, 102, 64, 0.56);
  border-radius: 4px;
  background: rgba(245, 250, 242, 0.95);
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.section--hero .hero-upload-check input::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  transform: scale(0);
  transition: transform 0.12s ease-in-out;
  box-shadow: inset 1em 1em #f4faef;
  clip-path: polygon(14% 44%, 0 58%, 44% 100%, 100% 20%, 84% 6%, 40% 66%);
}

.section--hero .hero-upload-check input:checked {
  background: #2e4820;
  border-color: #2e4820;
}

.section--hero .hero-upload-check input:checked::before {
  transform: scale(1);
}

.section--hero .hero-upload-check input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 220, 175, 0.45);
}

.section--hero .hero-upload-check.is-invalid input {
  border-color: #a83838;
  box-shadow: 0 0 0 2px rgba(168, 56, 56, 0.14);
}

.section--hero .hero-upload-check a {
  color: #274126;
}

.section--hero .hero-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.section--hero .hero-upload-note {
  min-height: 1.2rem;
  margin: 0.18rem 0 0.35rem;
  font-size: 0.86rem;
  color: #274126;
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.section--hero .hero-upload-note.is-error {
  background: rgba(168, 56, 56, 0.12);
  color: #8a1f1f;
}

.section--hero .hero-upload-note.is-success {
  background: rgba(31, 90, 42, 0.12);
  color: #1f5a2a;
}

.section--hero .hero-upload-privacy-note {
  min-height: 1.15rem;
  margin: 0.18rem 0 0;
  font-size: 0.82rem;
  color: #8a1f1f;
}
