:root {
  color-scheme: light;
  --ink: #16251e;
  --muted: #657268;
  --paper: #f8f3e6;
  --white: #fffdf5;
  --line: rgba(22, 37, 30, 0.15);
  --red: #c04a2f;
  --green: #0f5a3f;
  --deep-green: #11382b;
  --fresh: #93b95c;
  --mint: #e5f0e2;
  --gold: #e2ae3d;
  --blue: #276f8f;
  --shadow: 0 24px 58px rgba(15, 39, 30, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbf7eb 0%, #edf5e7 38%, #fffaf0 100%);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 245, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav-links a {
  color: #425247;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.header-link,
.logout-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.logout-form {
  margin: 0;
}

.header-link:hover,
.logout-button:hover {
  border-color: var(--green);
  color: var(--green);
}

.nav-cta,
.primary-action,
.secondary-action,
.support-card button,
.club-form button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.nav-cta,
.primary-action,
.support-card button,
.club-form button {
  background: var(--green);
  color: var(--white);
  padding: 0 18px;
  box-shadow: 0 10px 20px rgba(15, 90, 63, 0.18);
}

.nav-cta:hover,
.primary-action:hover,
.support-card button:hover,
.club-form button:hover {
  background: #0b4732;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 245, 0.78);
  color: var(--white);
  padding: 0 18px;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 28px;
  padding: 120px clamp(18px, 5vw, 72px) 44px;
  overflow: hidden;
  border-bottom: 10px solid var(--fresh);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(11, 39, 29, 0.9) 0%, rgba(13, 58, 42, 0.66) 44%, rgba(13, 58, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 58, 42, 0.62) 0%, rgba(13, 58, 42, 0.08) 52%);
}

.hero-content,
.campaign-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 780px;
  color: var(--white);
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #dcefb0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 6.35rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.campaign-url {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 7px 10px;
  background: rgba(226, 174, 61, 0.2);
  border: 1px solid rgba(255, 253, 245, 0.34);
  border-radius: 6px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.95rem;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.campaign-panel {
  align-self: end;
  padding: 24px;
  background: rgba(255, 253, 245, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-top: 7px solid var(--fresh);
}

.panel-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.campaign-panel strong {
  display: block;
  font-size: 2.25rem;
}

.progress-meta,
.campaign-stats {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.progress-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.progress-bar {
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
  background: #dce9d9;
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--fresh));
}

.campaign-stats {
  margin: 20px 0 0;
}

.campaign-stats div {
  min-width: 0;
}

.campaign-stats dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.campaign-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--deep-green);
  color: var(--white);
}

.trust-strip span {
  padding: 18px 16px;
  text-align: center;
  font-weight: 850;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--mint);
  border-bottom: 1px solid var(--line);
}

.photo-story figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.photo-story img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-story figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  background: rgba(35, 31, 27, 0.76);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.photo-feature {
  min-height: 650px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.host-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  background:
    linear-gradient(90deg, var(--white) 0%, #f1f7ec 100%);
}

.host-copy {
  max-width: 760px;
}

.host-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.host-points span {
  padding: 9px 12px;
  background: #f2f8ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.host-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.host-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 42%;
}

.host-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(35, 31, 27, 0.72);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 10px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.section p,
.finance-list {
  color: var(--muted);
  line-height: 1.65;
}

.model-grid,
.support-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}

.model-grid article,
.support-card {
  background: var(--white);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 39, 30, 0.08);
}

.step,
.tag {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.support-band {
  background:
    linear-gradient(135deg, var(--deep-green) 0%, #14553d 48%, #f7f2e5 48.2%, #f7f2e5 100%);
}

.support-band .section-heading {
  color: var(--white);
}

.support-band .section-heading .eyebrow {
  color: #dcefb0;
}

.legal-frame {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #f3f8ef;
}

.legal-frame figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: min(100%, 420px);
  justify-self: center;
}

.legal-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 50%;
}

.legal-frame ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.62;
}

.legal-note {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.94rem;
}

.support-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 330px;
}

.support-card.featured {
  border-top: 6px solid var(--fresh);
}

.support-card strong {
  font-size: 1.8rem;
}

.support-card button {
  width: 100%;
  margin-top: auto;
}

.partner-support {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  margin-top: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(226, 174, 61, 0.48);
  border-radius: 10px;
  background: linear-gradient(135deg, #153e31, #0b2d23);
  color: var(--white);
  box-shadow: var(--shadow);
}

.partner-support h3 {
  margin: 8px 0 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.partner-support p {
  color: rgba(255, 253, 245, 0.82);
}

.partner-support .tag {
  color: #f3c862;
}

.partner-note {
  margin-bottom: 0;
  font-weight: 750;
}

.partner-levels {
  display: grid;
  gap: 10px;
}

.partner-levels button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 253, 245, 0.25);
  border-radius: 7px;
  background: rgba(255, 253, 245, 0.08);
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.partner-levels button:hover {
  border-color: var(--gold);
  background: rgba(255, 253, 245, 0.14);
}

.partner-levels span,
.partner-levels strong {
  font-weight: 900;
}

.partner-levels strong {
  color: #f3c862;
  font-size: 1.15rem;
}

.partner-levels small {
  grid-column: 1 / -1;
  color: rgba(255, 253, 245, 0.7);
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: var(--white);
}

.club-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #edf5e8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(35, 31, 27, 0.22);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 750;
}

input[type="file"] {
  min-height: auto;
  padding: 10px 12px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 1fr);
  gap: 12px;
}

.company-fields {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(226, 174, 61, 0.5);
  border-radius: 7px;
  background: #fff9e9;
}

.company-fields[hidden] {
  display: none;
}

.company-fields small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.consent-label {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 650;
  line-height: 1.45;
}

.consent-label input {
  width: 19px;
  min-height: 19px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-note.is-error {
  color: #9c2f20;
}

.login-page,
.admin-page {
  min-height: 100svh;
}

.login-page {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(10, 48, 35, 0.92), rgba(15, 90, 63, 0.72)),
    url("assets/originale/hufeisen-12-signwand-hell.jpg") center / cover;
}

.login-card {
  width: min(460px, 100%);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(255, 253, 245, 0.96);
  box-shadow: var(--shadow);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.login-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.login-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 9vw, 3.4rem);
}

.login-card > p {
  margin-top: 0;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.login-form button,
.admin-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.login-error {
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: #fff0ec;
  color: #8f2e1e;
  font-weight: 750;
}

.admin-shell {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-topbar h1 {
  margin: 5px 0 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-actions form {
  margin: 0;
}

.admin-button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.admin-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15, 39, 30, 0.1);
}

.admin-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.table-wrap {
  overflow-x: auto;
}

.signup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.signup-table th,
.signup-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.signup-table th {
  background: #edf5e8;
  color: var(--deep-green);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.signup-table tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  padding: 42px 24px;
  color: var(--muted);
  text-align: center;
}

.finance-layout {
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.allocation {
  display: grid;
  gap: 10px;
}

.allocation span {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  background:
    linear-gradient(90deg, var(--color) 0 var(--size), color-mix(in srgb, var(--color), white 84%) var(--size) 100%);
  border: 1px solid color-mix(in srgb, var(--color), black 8%);
  color: var(--ink);
  border-radius: 6px;
  font-weight: 850;
  white-space: normal;
  line-height: 1.2;
}

.finance-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
  font-size: 1.05rem;
}

.contact {
  background:
    linear-gradient(135deg, var(--deep-green), #0e4935);
  color: var(--white);
}

.contact p {
  color: rgba(255, 253, 248, 0.72);
}

.support-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.support-dialog::backdrop {
  background: rgba(20, 14, 10, 0.58);
  backdrop-filter: blur(4px);
}

.support-dialog form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
}

.support-dialog h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-checkout {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .host-section,
  .legal-frame,
  .split,
  .contact,
  .finance-layout,
  .partner-support {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .campaign-panel {
    max-width: 520px;
  }

  .model-grid,
  .support-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-story {
    grid-template-columns: 1fr;
  }

  .photo-feature {
    min-height: 440px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-link,
  .logout-button {
    min-height: 38px;
    padding-inline: 9px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.4rem, 16vw, 4rem);
  }

  .model-grid,
  .support-options,
  .photo-grid,
  .trust-strip,
  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .campaign-stats {
    flex-wrap: wrap;
  }

  .allocation span {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    flex-wrap: wrap;
  }
}
