/* ============================================================
   BAUEN POLEN — Design System v2
   Hell, luftig, freundlich. Rot als Akzent, nicht als Dominanz.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  /* Struktur */
  --nav-bg:     #0f0f0f;
  --hero-bg:    #111111;
  --footer-bg:  #0f0f0f;

  /* Helles Content-System */
  --bg:         #f2f2f2;
  --bg-alt:     #ffffff;
  --white:      #ffffff;

  /* Text */
  --text:       #111111;
  --muted:      #666666;
  --subtle:     #999999;

  /* Borders & Shadows */
  --border:         #e4e4e4;
  --border-hover:   #cccccc;
  --shadow-card:    0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-hover:   0 6px 24px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);

  /* Brand */
  --red:        #C8102E;
  --red-soft:   rgba(200,16,46,0.08);
  --green:      #16a34a;

  /* Nav text */
  --nav-text:   #aaaaaa;

  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:  10px;
  --transition: 0.16s ease;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--muted); line-height: 1.7; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
section { padding: 80px 0; }

/* ── Navigation (dunkel, bleibt dunkel) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: 1140px; margin: 0 auto; padding: 0 28px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 900; font-size: 0.95rem; letter-spacing: -0.02em;
  color: #ffffff;
}
.logo .red { color: var(--red); }
.logo svg { width: 28px; height: 28px; }

.nav-links {
  display: flex; align-items: center; gap: 24px; list-style: none;
}
.nav-links a { font-size: 0.875rem; color: var(--nav-text); transition: color var(--transition); font-weight: 500; }
.nav-links a:hover { color: #ffffff; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font-size: 0.875rem; color: var(--nav-text); font-weight: 500;
  cursor: pointer; transition: color var(--transition);
  display: flex; align-items: center; gap: 5px; background: none; border: none; padding: 0;
  font-family: var(--font);
}
.nav-dropdown-toggle:hover { color: #ffffff; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0;
  background: #1a1a1a; border: 1px solid #333; border-radius: 8px;
  padding: 8px; min-width: 200px; margin-top: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 5px;
  font-size: 0.85rem; color: #aaa; transition: all var(--transition);
}
.nav-dropdown-menu a:hover { background: #222; color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 7px;
  font-weight: 700; font-size: 0.875rem;
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap; font-family: var(--font);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a50d25; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,16,46,0.3); }
.btn-ghost-dark { background: transparent; color: #ccc; border: 1px solid #444; }
.btn-ghost-dark:hover { color: #fff; border-color: #777; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }
.btn-outline { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-lg { padding: 13px 26px; font-size: 0.95rem; border-radius: 8px; }

/* ── Hero (Video-Background) ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  padding: 100px 0 80px;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  background: #111;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(200,16,46,0.12) 100%
  );
}
.hero-content { max-width: 660px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.35);
  border-radius: 100px; font-size: 0.72rem; color: #ff6680;
  font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 28px;
}
.hero h1 { color: #ffffff; margin-bottom: 20px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub { font-size: 1.05rem; max-width: 500px; margin-bottom: 38px; color: rgba(255,255,255,0.65); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Trust Bar (hell) ── */
.trust-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-grid { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-number { font-size: 1.9rem; font-weight: 900; line-height: 1; color: var(--text); }
.trust-label { font-size: 0.72rem; color: var(--subtle); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.07em; }

/* ── Section Labels ── */
.section-label {
  font-size: 0.72rem; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { max-width: 500px; }

/* ── Category Grid ── */
.categories-section { background: var(--bg); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* AKTIVE KARTE */
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: all var(--transition);
  color: var(--text);
}
.category-card.active {
  border-left-color: var(--red);
}
.category-card:hover:not(.empty) {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--border-hover);
  border-left-color: var(--red);
}
.category-card.empty {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

/* Icons — immer grau, nie rot */
.cat-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: #f0f0f0;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cat-icon svg {
  width: 19px; height: 19px;
  stroke: #888; fill: none; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.cat-info { flex: 1; min-width: 0; }
.cat-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; color: var(--text); }
.cat-status { font-size: 0.75rem; font-weight: 600; }
.status-live  { color: var(--green); }
.status-soon  { color: var(--subtle); }

/* Pfeil — nur auf Hover rot */
.cat-arrow { color: #ccc; transition: all var(--transition); flex-shrink: 0; }
.category-card:hover:not(.empty) .cat-arrow { color: var(--red); transform: translateX(3px); }

/* ── How it Works ── */
.how-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step { text-align: center; }
.step-num {
  width: 44px; height: 44px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: #fff; margin: 0 auto 20px;
}
.step h3 { margin-bottom: 10px; color: var(--text); }

/* ── Category Page Hero (hell, schmal) ── */
.cat-hero {
  background: var(--bg);
  padding: 110px 0 60px;
  border-bottom: 1px solid var(--border);
}
.cat-hero .breadcrumb { font-size: 0.82rem; color: var(--subtle); margin-bottom: 16px; }
.cat-hero .breadcrumb a { color: var(--subtle); }
.cat-hero .breadcrumb a:hover { color: var(--muted); }
.cat-hero h1 { color: var(--text); }
.cat-hero h1 em { color: var(--red); font-style: normal; }
.cat-hero p { color: var(--muted); margin-top: 14px; max-width: 540px; font-size: 1rem; }

/* ── Partner Block ── */
.partner-block {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-card); margin: 52px 0;
}
.partner-tag {
  display: inline-block; padding: 3px 10px;
  background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25);
  border-radius: 100px; font-size: 0.7rem; font-weight: 700;
  color: var(--green); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px;
}
.partner-block-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 16px; }
.partner-logo-box {
  width: 56px; height: 56px; background: #f5f5f5; border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.62rem; color: var(--red); letter-spacing: 0.04em;
  text-align: center; line-height: 1.3; flex-shrink: 0;
}
.partner-block h3 { font-size: 1.2rem; margin-bottom: 4px; color: var(--text); }
.partner-block p { color: var(--muted); }

.product-tags { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.product-tag {
  background: #f5f5f5; border: 1px solid var(--border); border-radius: 7px;
  padding: 10px 16px; font-size: 0.82rem;
}
.product-tag strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.product-tag span { color: var(--subtle); font-size: 0.78rem; }

/* ── Demnächst Block ── */
.soon-block {
  background: var(--white); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 48px 32px; text-align: center; margin: 52px 0;
}
.soon-block h3 { color: var(--text); margin-bottom: 10px; }
.soon-block p { max-width: 380px; margin: 0 auto 24px; }

/* ── Why Poland ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-card);
}
.why-icon { font-size: 1.4rem; margin-bottom: 12px; }
.why-card h4 { font-size: 0.92rem; margin-bottom: 8px; color: var(--text); }
.why-card p { font-size: 0.875rem; }

/* ── FAQ ── */
.faq-section { background: var(--bg); }
.faq-list { max-width: 680px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; cursor: pointer; }
.faq-q {
  font-weight: 700; font-size: 0.95rem; display: flex;
  justify-content: space-between; align-items: center; gap: 16px; color: var(--text);
}
.faq-q .toggle { color: var(--red); font-size: 1.3rem; font-weight: 300; flex-shrink: 0; transition: transform var(--transition); }
.faq-a { font-size: 0.88rem; color: var(--muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }
.faq-item.open .toggle { transform: rotate(45deg); }

/* ── Inquiry Form ── */
.form-section { background: var(--bg-alt); border-top: 1px solid var(--border); }
.form-wrap { max-width: 600px; }
.form-headline { margin-bottom: 8px; color: var(--text); }
.form-sub { margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.8rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
input, select, textarea {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 7px; padding: 11px 14px; color: var(--text);
  font-size: 0.92rem; font-family: var(--font);
  transition: border-color var(--transition); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
input::placeholder, textarea::placeholder { color: #bbb; }
select option { background: #fff; color: var(--text); }
textarea { resize: vertical; min-height: 88px; }
.form-note { font-size: 0.77rem; color: var(--subtle); margin-top: 12px; }
.form-success {
  display: none; background: rgba(22,163,74,0.07); border: 1px solid rgba(22,163,74,0.25);
  border-radius: 7px; padding: 14px 18px; font-size: 0.88rem; color: var(--green); margin-top: 14px;
}

/* ── Partner (Hersteller) Page ── */
.hersteller-hero {
  background: var(--bg); padding: 110px 0 60px;
  border-bottom: 1px solid var(--border);
}
.hersteller-hero h1 { color: var(--text); }
.hersteller-hero h1 em { color: var(--red); font-style: normal; }
.hersteller-hero p { color: var(--muted); margin-top: 14px; max-width: 520px; }

.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.package-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
  box-shadow: var(--shadow-card); position: relative;
}
.package-card.featured { border-color: var(--red); border-top: 3px solid var(--red); }
.package-badge {
  display: inline-block; background: var(--red); padding: 3px 12px;
  border-radius: 100px; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase; color: #fff;
  margin-bottom: 16px;
}
.package-name { font-size: 0.78rem; font-weight: 700; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.package-price { font-size: 2.2rem; font-weight: 900; line-height: 1; color: var(--text); margin-bottom: 3px; }
.package-price span { font-size: 1rem; font-weight: 500; color: var(--subtle); }
.package-per { font-size: 0.8rem; color: var(--subtle); margin-bottom: 20px; }
.package-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.package-features li { font-size: 0.85rem; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.package-features li::before { content: '✓'; color: var(--red); font-weight: 900; flex-shrink: 0; }

/* ── Die Idee ── */
.idee-content { max-width: 680px; }
.idee-content p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 22px; }
.idee-highlight {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 24px 28px; margin: 36px 0;
  box-shadow: var(--shadow-card);
}
.idee-highlight p { font-size: 0.95rem; margin: 0; }

/* ── Footer (hell) ── */
footer {
  background: var(--white); border-top: 1px solid var(--border);
  padding: 56px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; margin-top: 14px; max-width: 270px; color: var(--muted); }
.footer-brand .logo { color: var(--text); }
.footer-brand .logo svg path { stroke: var(--red) !important; }
.footer-brand .logo svg rect { stroke: var(--text) !important; }
.footer-col h4 { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--subtle); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text); }
.footer-divider { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.footer-divider p { font-size: 0.78rem; color: var(--subtle); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .packages-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-grid { gap: 32px; }
}
