/* ══════════════════════════════════════════════
   KOOPERATIONSPARTNER PAGE
══════════════════════════════════════════════ */

/* ── Page Hero ─────────────────────────────── */
.partner-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1e4db7 100%);
  padding: 8rem var(--container-px) 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partner-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(209,40,48,0.18) 0%, transparent 65%);
  top: -200px; right: -200px;
  border-radius: 50%;
  pointer-events: none;
}
.partner-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,200,66,0.12) 0%, transparent 65%);
  bottom: -100px; left: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.partner-hero .breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.partner-hero .breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.partner-hero .breadcrumb a:hover { color: white; }
.partner-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
  line-height: 1.15;
}
.partner-hero h1 span { color: var(--yellow); }
.partner-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.partner-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative; z-index: 1;
}
/* Floating decorations */
.partner-hero__deko {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  animation: float-gentle 4s ease-in-out infinite;
  z-index: 0;
}

/* ── Partner Showcase ───────────────────────── */
.partner-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.partner-showcase__card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 6px 24px rgba(15,30,61,0.10), 0 1px 4px rgba(15,30,61,0.06);
  border: 3px solid transparent;
  transition: transform var(--t-bounce), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}
.partner-showcase__card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 48px rgba(15,30,61,0.14), 0 2px 8px rgba(15,30,61,0.08);
  border-color: var(--blue-light);
}

.partner-showcase__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  background: var(--bg-section);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.partner-showcase__icon svg {
  width: 26px; height: 26px;
  color: var(--blue);
}

/* Real logo display */
.partner-showcase__logo {
  width: 100%;
  height: 72px;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--bg-section);
  margin-bottom: 0.25rem;
}
.partner-showcase__logo img {
  max-height: 60px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.partner-showcase__card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.partner-showcase__card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.partner-showcase__tag {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--bg-section);
  color: var(--blue);
  margin-top: auto;
}

/* "Ihr Logo hier?" placeholder card */
.partner-showcase__placeholder {
  background: rgba(26,50,130,0.03);
  border: 3px dashed rgba(26,50,130,0.25);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  transition: border-color var(--t-base), background var(--t-base);
  min-height: 180px;
}
.partner-showcase__placeholder:hover {
  border-color: var(--blue);
  background: rgba(26,50,130,0.06);
}
.partner-showcase__placeholder-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  background: rgba(26,50,130,0.08);
  display: flex; align-items: center; justify-content: center;
}
.partner-showcase__placeholder-icon svg { width: 26px; height: 26px; color: var(--blue); opacity: 0.5; }
.partner-showcase__placeholder p {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--blue);
  opacity: 0.7;
  margin: 0;
}

/* ── Benefit Grid ────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-clay);
  border: var(--clay-border);
  transition: transform var(--t-bounce), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.benefit-card:nth-child(1)::before { background: var(--blue); }
.benefit-card:nth-child(2)::before { background: var(--green); }
.benefit-card:nth-child(3)::before { background: var(--red); }
.benefit-card:nth-child(4)::before { background: var(--yellow-dark, #d4a017); }

.benefit-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 40px rgba(15,30,61,0.14);
}
.benefit-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.benefit-card:nth-child(1) .benefit-card__icon { background: rgba(26,50,130,0.10); color: var(--blue); }
.benefit-card:nth-child(2) .benefit-card__icon { background: rgba(34,130,70,0.10); color: var(--green); }
.benefit-card:nth-child(3) .benefit-card__icon { background: rgba(209,40,48,0.10); color: var(--red); }
.benefit-card:nth-child(4) .benefit-card__icon { background: rgba(245,200,66,0.15); color: #b8860b; }
.benefit-card__icon svg { width: 24px; height: 24px; }

.benefit-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Partner Types ───────────────────────────── */
.partner-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.partner-type-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15,30,61,0.08);
  border: 2px solid transparent;
  transition: border-color var(--t-base), transform var(--t-bounce);
  text-align: center;
}
.partner-type-card:hover { border-color: var(--blue-light); transform: translateY(-4px); }
.partner-type-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 0.875rem;
}
.partner-type-card:nth-child(1) .partner-type-card__pill { background: rgba(26,50,130,0.10); color: var(--blue); }
.partner-type-card:nth-child(2) .partner-type-card__pill { background: rgba(34,130,70,0.10); color: var(--green); }
.partner-type-card:nth-child(3) .partner-type-card__pill { background: rgba(209,40,48,0.10); color: var(--red); }
.partner-type-card:nth-child(4) .partner-type-card__pill { background: rgba(245,200,66,0.20); color: #8a6000; }
.partner-type-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.partner-type-card p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.55; }

/* ── Apply Form ──────────────────────────────── */
.apply-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}
.apply-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,200,66,0.12) 0%, transparent 65%);
  top: -150px; right: -150px;
  border-radius: 50%;
  pointer-events: none;
}
.apply-section .section-header .eyebrow { color: rgba(255,255,255,0.6); }
.apply-section .section-header h2 { color: white; }
.apply-section .section-header h2 span { color: var(--yellow); }
.apply-section .section-header p { color: rgba(255,255,255,0.75); }

.apply-form-wrapper {
  background: var(--white);
  border-radius: var(--r-2xl, 2rem);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 24px 80px rgba(15,30,61,0.30);
  max-width: 720px;
  margin-inline: auto;
  position: relative; z-index: 1;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .apply-form { grid-template-columns: 1fr 1fr; }
  .apply-form .form-group--full { grid-column: 1 / -1; }
}

.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.form-group label .required { color: var(--red); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(15,30,61,0.12);
  border-radius: var(--r-lg);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,50,130,0.12);
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group .field-error {
  display: block;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  grid-column: 1 / -1;
}
.form-group--checkbox input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
}
.form-group--checkbox label {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.form-group--checkbox label a { color: var(--blue); text-decoration: underline; }

.apply-form__submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34,130,70,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--green);
}
.form-success__icon svg { width: 32px; height: 32px; }
.form-success h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.form-success p { color: var(--text-secondary); line-height: 1.65; }
