/* ==========================================================================
   marktumfrage.ch – Stylesheet
   ========================================================================== */

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

:root {
  --color-primary: #1a73e8;
  --color-primary-dark: #1558b0;
  --color-primary-light: rgba(26, 115, 232, 0.08);
  --color-text: #1e1e1e;
  --color-text-light: #555;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-border: #e0e0e0;
  --color-white: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-primary-dark); }

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.header__logo:hover { color: var(--color-primary); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.header__links a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.header__links a:hover,
.header__links a.active {
  color: var(--color-primary);
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  border-left: 1px solid var(--color-border);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.header__lang-item {
  color: var(--color-text-light);
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.header__lang-item:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.header__lang-item.is-active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.header__lang-sep {
  color: var(--color-border);
  font-size: 0.75rem;
  user-select: none;
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-header p { margin-bottom: 0; }

/* --- Hero --- */
.hero {
  padding: 7rem 0 5.5rem;
  text-align: center;
  background: linear-gradient(160deg, #f0f5ff 0%, #e8f0fe 40%, var(--color-bg) 100%);
}

.hero--with-bg {
  background: linear-gradient(160deg, rgba(240,245,255,0.92) 0%, rgba(232,240,254,0.90) 40%, rgba(255,255,255,0.88) 100%),
              url('/static/img/hero-bg.jpg') center/cover no-repeat;
}

.hero__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 740px;
  margin: 0 auto 1.5rem;
  font-size: 2.75rem;
}

.hero__sub {
  font-size: 1.2rem;
  max-width: 660px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.hero__trust-bar {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero__trust-item {
  text-align: center;
}

.hero__trust-value {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.hero__trust-label {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

/* --- Product Cards --- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center;
}

.products--row {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.products--row-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin-top: 2rem;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.product-card__img {
  width: calc(100% + 4rem);
  margin: -2.5rem -2rem 0;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 1rem;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card--highlight {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  position: relative;
}

/* Disabled card (Marketing-Profi) */
.product-card--disabled {
  background: var(--color-bg-alt);
  border-style: dashed;
  border-color: var(--color-border);
}
.product-card--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Badge */
.product-card__badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--color-text-light);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 20px;
}
.product-card__badge--primary {
  background: var(--color-primary);
}

.product-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.product-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  min-height: 4.8em;
}

.product-card__features {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-top: auto;
  margin-bottom: 1.5rem;
  flex-grow: 0;
}

.product-card__features li {
  padding: 0.5rem 0 0.5rem 1.4rem;
  text-indent: -1.4rem;
  border-bottom: 1px solid var(--color-bg-alt);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.product-card__features li::before {
  content: "\2713";
  color: var(--color-primary);
  font-weight: 700;
  display: inline-block;
  width: 1.4rem;
  text-indent: 0;
}

.product-card__price {
  margin-bottom: 1.5rem;
}

.product-card__amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.product-card__suffix {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.product-card__icon--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--color-white);
}

.product-card__icon--youtube {
  background: #ff0000;
  color: var(--color-white);
}

.product-card__icon--profi {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--color-white);
}

.product-card .btn {
  width: 100%;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-light);
}

.btn--disabled {
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.step { text-align: center; }

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

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

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: var(--color-border);
}

/* --- Trust Cards --- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 1.5rem;
}

.trust-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.trust-card:hover { box-shadow: var(--shadow-lg); }

.trust-card__icon {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
}

.trust-card h3 { font-size: 1.05rem; }

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-section h2 { color: var(--color-white); }

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.cta-section .btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-section .btn--primary:hover { background: #f0f0f0; }

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Legal Pages --- */
.legal { max-width: 740px; }
.legal h2 { margin-top: 2.5rem; }
.legal h3 { margin-top: 1.5rem; }

.legal ul {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--color-text-light);
}

.legal li { margin-bottom: 0.4rem; }

/* --- Page Header --- */
.page-header {
  padding: 4rem 0 3rem;
  background: var(--color-bg-alt);
  text-align: center;
}

.page-header p {
  max-width: 560px;
  margin: 0.5rem auto 0;
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem 0;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__brand { display: flex; align-items: center; gap: 0.75rem; }

.footer__logo { height: 18px; opacity: 0.4; flex-shrink: 0; vertical-align: middle; }

.footer__tagline { font-size: 0.8rem; margin: 0; padding: 0; line-height: 1; }

.footer__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1;
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--color-white); }

/* --- Analyse Form --- */
.analyse-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.form-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.form-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-light);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.form-step-dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.form-step-line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
}

.form-step h2 {
  margin-bottom: 0.5rem;
}

.form-step > p {
  margin-bottom: 2rem;
}

/* Type selection cards */
.type-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.type-card {
  cursor: pointer;
}

.type-card input {
  display: none;
}

.type-card__inner {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition);
  color: var(--color-text-light);
  height: 100%;
  min-height: 140px;
}

.type-card__inner strong {
  color: var(--color-text);
  font-size: 0.85rem;
}

.type-card__inner span {
  font-size: 0.75rem;
  font-weight: 600;
}

.type-card__inner:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.type-card input:checked + .type-card__inner {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

/* Disabled type card (Marketing-Profi) */
.type-card--disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.type-card--disabled .type-card__inner {
  border-style: dashed;
  opacity: 0.5;
  background: var(--color-bg-alt);
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

/* Radio group */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  user-select: none;
}

.radio-option input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.radio-option span {
  min-width: 0;
}

.radio-option:hover {
  border-color: var(--color-primary);
  background: #f8fafc;
}

.radio-option:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

/* Form hints */
.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Form validation */
.is-invalid {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12) !important;
}

/* Form navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Summary box */
.form-summary {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.form-summary h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span {
  color: var(--color-text-light);
}

/* --- Upload Area --- */
.upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-area:hover,
.upload-area.is-dragover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.upload-previews {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.upload-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview__remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview__remove:hover {
  background: rgba(229, 62, 62, 0.9);
}

/* --- Confirmation Page --- */
.confirm-icon {
  margin-bottom: 1.5rem;
}

.confirm-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.confirm-details {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.confirm-row:last-child { border-bottom: none; }

.confirm-row span { color: var(--color-text-light); }

.confirm-info {
  text-align: left;
  margin-bottom: 2rem;
}

.confirm-info h3 {
  margin-bottom: 1rem;
}

.confirm-info ol {
  margin-left: 1.5rem;
  color: var(--color-text-light);
}

.confirm-info li {
  margin-bottom: 0.5rem;
}

/* --- Auth Forms --- */
.auth-form {
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.auth-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 0 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.faq-answer ul {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .products--row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .products--row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }

  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero__sub { font-size: 1.05rem; }

  .section { padding: 3.5rem 0; }

  .products,
  .products--row,
  .products--row-2 {
    grid-template-columns: minmax(0, 400px);
    gap: 1.5rem;
    justify-content: center;
  }

  /* Mobile reorder: Instagram first (entry product), Marketing-Profi (decoy) last.
     Cross-row reorder via display:contents on the row containers + flex column on
     #produkte .container so the cards become orderable siblings. */
  #produkte .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  #produkte .section-header { width: 100%; }
  #produkte .products--row,
  #produkte .products--row-2 { display: contents; }
  #produkte .product-card { width: 100%; max-width: 400px; }

  #produkte .product-card--ig        { order: 1; }
  #produkte .product-card--highlight { order: 2; } /* Website */
  #produkte .product-card--yt        { order: 3; }
  #produkte .product-card--market    { order: 4; }
  #produkte .product-card--disabled  { order: 5; } /* Marketing-Profi */

  .trust {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps::before { display: none; }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .header__nav.is-open { transform: translateX(0); }

  .header__links {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .header__links a { font-size: 1.1rem; }

  .header__lang {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
  }

  .header__toggle { display: block; }

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

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

  .radio-group {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer__brand { flex-direction: column; gap: 0.5rem; }
  .footer__nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}


/* ==========================================================================
   Swiss Engineering Bar & Comparison Table (added 2026-03-31)
   ========================================================================== */

/* Swiss Engineering top bar */
.swiss-bar {
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}
.swiss-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.swiss-bar__flag { line-height: 1; flex-shrink: 0; }
.swiss-bar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 768px) {
  .swiss-bar { font-size: 0.7rem; padding: 0.4rem 0.5rem; }
  .swiss-bar__text { white-space: normal; text-align: center; }
}

/* Comparison table */
.comparison-table { overflow-x: auto; margin-top: 1.5rem; }
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.comparison-table thead th {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-bottom: 2px solid var(--color-border);
}
.comparison-table .comparison-highlight {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 500;
}
.comparison-table thead .comparison-highlight {
  color: var(--color-primary);
  font-weight: 700;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody td:first-child { font-weight: 500; color: var(--color-text); }

@media (max-width: 640px) {
  .comparison-table th, .comparison-table td { padding: 0.5rem 0.6rem; font-size: 0.82rem; }
}

/* Hero trust line (single-line compact) */
.hero__trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.hero__trust-sep { opacity: 0.4; }

/* === Instagram 5-slot uploader — minimal list layout === */

.ig-uploads {
  --ig-primary: var(--color-primary, #1a73e8);
  --ig-primary-soft: rgba(26, 115, 232, 0.08);
  --ig-success: #059669;
  --ig-success-soft: #ecfdf5;
  --ig-warn: #b45309;
  --ig-warn-soft: #fef3c7;
  --ig-border: #e5e7eb;
  --ig-bg: #fafbfc;
  --ig-card: #ffffff;
  --ig-text: #0f172a;
  --ig-muted: #64748b;
  background: var(--ig-bg);
  border: 1px solid var(--ig-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.ig-uploads__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
.ig-uploads__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ig-text);
  letter-spacing: -0.01em;
}
.ig-uploads__intro {
  margin: 0 0 1.25rem;
  color: var(--ig-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Progress bar */
.ig-progress {
  display: flex; align-items: center; gap: 0.75rem;
  max-width: 360px; margin: 0 auto;
}
.ig-progress__bar {
  flex: 1; height: 6px; background: var(--ig-border);
  border-radius: 999px; overflow: hidden;
}
.ig-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ig-primary) 0%, var(--ig-success) 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ig-progress__label {
  font-size: 0.8rem; font-weight: 600; color: var(--ig-muted);
  font-variant-numeric: tabular-nums; min-width: 40px; text-align: right;
}

/* List layout — one item per row */
.ig-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 0.75rem;
}

.ig-item {
  background: var(--ig-card);
  border: 1px solid var(--ig-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ig-item:hover { border-color: #cbd5e1; }
.ig-item.is-uploaded {
  border-color: var(--ig-success);
  background: #f8fdfb;
}

.ig-item__head {
  display: flex; align-items: flex-start; gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.ig-item__num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--ig-muted);
  font-size: 0.85rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.ig-item__check {
  flex-shrink: 0;
  display: none;
  color: var(--ig-success);
  margin-left: -6px; /* hugs the number */
}
.ig-item.is-uploaded .ig-item__check { display: inline-block; }

.ig-item__titleblock { flex: 1; min-width: 0; }
.ig-item__title {
  margin: 0;
  font-size: 0.98rem; font-weight: 600;
  color: var(--ig-text);
  line-height: 1.3;
  display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.ig-item__tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  background: #f1f5f9; color: var(--ig-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.ig-item__hint {
  margin: 0.25rem 0 0;
  font-size: 0.83rem; line-height: 1.5;
  color: var(--ig-muted);
}
.ig-item__hint-aside {
  font-style: italic;
  color: #94a3b8;
}
.ig-item.is-optional .ig-item__num {
  background: #f1f5f9;
  color: #94a3b8;
}
.ig-item.is-optional.is-uploaded .ig-item__num {
  background: var(--ig-success);
  color: #fff;
}

.ig-item__example-link {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--ig-border);
  border-radius: 6px;
  background: #fff;
  color: var(--ig-muted);
  font-size: 0.78rem; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.ig-item__example-link:hover {
  border-color: var(--ig-primary);
  color: var(--ig-primary);
  background: var(--ig-primary-soft);
}

/* Drop zone — the hero action */
.ig-item__drop {
  position: relative;
  display: block;
  min-height: 110px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  overflow: hidden;
}
.ig-item__drop:hover,
.ig-item__drop.is-dragover {
  border-color: var(--ig-primary);
  background: var(--ig-primary-soft);
}
.ig-item.is-uploaded .ig-item__drop {
  border-style: solid;
  border-color: var(--ig-success);
  background: #fff;
  min-height: 0;
  padding: 0.5rem;
}
.ig-item__drop-empty {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.5rem 1.25rem;
}
.ig-item.is-uploaded .ig-item__drop-empty { display: none; }
.ig-item__drop-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: #fff;
  color: var(--ig-primary);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ig-border);
}
.ig-item__drop:hover .ig-item__drop-icon {
  border-color: var(--ig-primary);
  background: var(--ig-primary);
  color: #fff;
}
.ig-item__drop-text { display: flex; flex-direction: column; gap: 2px; }
.ig-item__drop-text strong {
  color: var(--ig-text);
  font-size: 0.92rem; font-weight: 600;
}
.ig-item__drop-text span {
  color: var(--ig-muted);
  font-size: 0.78rem;
}

/* Uploaded preview — compact row: small thumbnail left, filename right, remove far right */
.ig-item__drop-filled {
  position: relative;
  display: none;
  width: 100%;
  padding: 0.25rem 0.5rem;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  border-radius: 6px;
}
.ig-item.is-uploaded .ig-item__drop-filled { display: flex; }
.ig-item__drop-filled img {
  flex-shrink: 0;
  width: 56px; height: 100px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--ig-border);
  background: #fafbfc;
}
.ig-item__drop-filled::after {
  content: attr(data-filename);
  flex: 1;
  color: var(--ig-muted);
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ig-item__remove {
  position: relative;
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--ig-border);
  border-radius: 6px;
  background: #fff;
  color: var(--ig-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.ig-item__remove:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

/* Mobile */
@media (max-width: 480px) {
  .ig-uploads { padding: 1.25rem; }
  .ig-uploads__title { font-size: 1.1rem; }
  .ig-item { padding: 0.9rem; }
  .ig-item__head { flex-wrap: wrap; }
  .ig-item__example-link { margin-left: auto; }
  .ig-item__drop-empty { padding: 1.25rem 0.9rem; }
}

/* ===== Example modal ===== */
.ig-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: igModalFade 0.2s ease;
}
.ig-modal[hidden] { display: none; }

@keyframes igModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes igPanelRise {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ig-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}
.ig-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 460px; width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3),
              0 10px 40px rgba(15, 23, 42, 0.15);
  animation: igPanelRise 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ig-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.ig-modal__close:hover { background: #e2e8f0; color: #0f172a; }

.ig-modal__header { margin-right: 2.5rem; margin-bottom: 0.75rem; }
.ig-modal__step {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.ig-modal__title {
  margin: 0;
  font-size: 1.2rem; font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.ig-modal__hint {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.88rem; line-height: 1.55;
}
.ig-modal__imgframe {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}
.ig-modal__imgframe img {
  max-width: 100%; max-height: 62vh;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  display: inline-block;
}
.ig-modal__fallback {
  padding: 2.5rem 1rem;
  color: #64748b;
  font-size: 0.88rem;
}

/* === IG confirmation checkbox + validation warnings === */
.ig-confirm {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ig-confirm:hover { border-color: #cbd5e1; }
.ig-confirm--error {
  border-color: #ef4444; background: #fef2f2;
  animation: shake 0.4s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.ig-confirm__box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1a73e8;
}
.ig-confirm__text {
  color: #334155;
  font-size: 0.88rem; line-height: 1.5;
}
.ig-confirm__text strong {
  display: block; color: #0f172a;
  margin-bottom: 0.15rem;
}

.ig-item__warning {
  margin-top: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  display: flex; flex-direction: column; gap: 2px;
}
.ig-item__warning strong { color: #b45309; }
.ig-item__warning span { color: #78350f; }
.ig-item__warning em {
  font-style: italic; color: #92400e;
}
.ig-item.has-warning {
  border-color: #f59e0b;
  background: #fffdf5;
}

.ig-override {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 10px;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.ig-override__text {
  flex: 1; min-width: 220px;
  color: #78350f; font-size: 0.88rem; line-height: 1.5;
}
.ig-override__text strong { color: #92400e; }

/* YouTube upload variant — inherits all ig-* styles, only accent differs */
.yt-uploads {
  --ig-primary: #ff0000;
  --ig-primary-soft: rgba(255, 0, 0, 0.06);
}
