/* ============================================================
   GEWA Germany -- HOMEPAGE
   homepage.css
   ============================================================ */

/* ── 15-27. HOMEPAGE ── */


  

  

  

  /* NAV — legacy bare `nav{}`, duplicate `.nav-logo` (15px), `.nav-links`,
     and `.nav-cta` rules removed (unused in layout.html.twig; the bare
     `nav{}` selector was bleeding `padding: 0 48px` and
     `justify-content: space-between` onto <nav class="gewa-nav">). */

  /* ── HERO ── */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: transform;
    animation: heroZoom 12s ease-out forwards;
  }

  .hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  @keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(14,13,11,0.25) 0%,
      rgba(14,13,11,0.15) 35%,
      rgba(14,13,11,0.55) 65%,
      rgba(14,13,11,0.97) 100%
    );
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px 80px;
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 40px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 1s 0.4s ease-out forwards;
  }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-left {}

  .hero-eyebrow {
    font-size: 14px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 0.5px;
    background: var(--gold);
  }

  /* .hero-headline moved to global.css — shared with brand.html.twig */

  .hero-sub {
    font-size: 17px;
    line-height: 1.55;
    color: var(--w60);
    max-width: 380px;
    margin-bottom: 32px;
    font-weight: 300;
  }

  .hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
  }

  /* .btn-primary / .btn-ghost moved to global.css — shared across pages */

  .hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .hero-stats {
    display: flex;
    gap: 0;
    border: 0.5px solid var(--w10);
    background: rgba(14,13,11,0.6);
    backdrop-filter: blur(8px);
  }

  .hero-stat {
    padding: 20px 28px;
    border-right: 0.5px solid var(--w10);
    text-align: center;
  }

  .hero-stat:last-child { border-right: none; }

  .hs-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
  }

  .hs-label {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--w55);
  }

  /* ── SECTION SHARED ── */
  section { position: relative; }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 80px;
  }

  .section-label {
    font-size: 14px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
  }

  .section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 0.5px;
    background: var(--gold);
  }

  /* ── INSTRUMENTS STRIP ── */
  .instruments-section {
    background: var(--ink-mid);
    border-top: 0.5px solid var(--w06);
    border-bottom: 0.5px solid var(--w06);
  }

  .instruments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 0.5px solid var(--w06);
  }

  .instrument-card {
    padding: 36px 28px;
    border-right: 0.5px solid var(--w06);
    cursor: pointer;
    transition: background 0.25s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
  }

  .instrument-card:last-child { border-right: none; }
  .instrument-card:hover { background: rgba(201,168,76,0.04); }

  /* Product image within a featured instrument card */
  .ic-img {
    width: 100%; aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; margin-bottom: 20px;
    background: #000;
  }
  .ic-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

  .ic-tag {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 11px;
  }

  .ic-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 7px;
    line-height: 1.1;
  }

  .ic-desc {
    font-size: 16px;
    color: var(--w60);
    letter-spacing: 0.06em;
    line-height: 1.5;
    font-weight: 300;
    /* Pushes everything below (price, arrow) to the bottom of the card
       regardless of how many lines the product name takes above it. */
    margin-top: auto;
    padding-top: 16px;
    margin-bottom: 8px;
  }

  .ic-price {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--w55);
    margin-bottom: 0;
  }

  .ic-arrow {
    font-size: 18px;
    color: var(--gold);
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.2s;
    display: block;
  }

  .instrument-card:hover .ic-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  /* ── CRAFTSMANSHIP ── */
  .craft-section { background: var(--ink); }

  .craft-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .craft-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 300;
    line-height: 1.0;
    color: var(--cream);
    margin-bottom: 24px;
  }

  .craft-heading em {
    font-style: italic;
    color: var(--gold);
  }

  .craft-body { font-size: 19px; line-height: 1.55; color: var(--w65); font-weight: 300; margin-bottom: 36px; max-width: 420px; }

  .craft-pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .craft-pillar {
    padding: 24px 0;
    border-bottom: 0.5px solid var(--w06);
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .craft-pillar:first-child { border-top: 0.5px solid var(--w06); }

  .cp-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    color: var(--gold);
    letter-spacing: 0.1em;
    min-width: 24px;
    padding-top: 3px;
  }

  .cp-content {}

  .cp-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 6px;
  }

  .cp-text {
    font-size: 17px;
    line-height: 1.55;
    color: var(--w60);
    font-weight: 300;
  }

  .craft-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--w06);
    border: 0.5px solid var(--w06);
  }

  .cn-item {
    background: var(--ink-soft);
    padding: 36px 32px;
    text-align: center;
  }

  .cn-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
  }

  .cn-label {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--w55);
    line-height: 1.4;
  }

  /* ── ORIGIN ── */
  .origin-section {
    background: var(--ink-soft);
    border-top: 0.5px solid var(--w06);
  }

  .origin-bar {
    display: flex;
    align-items: center;
    gap: 0;
    border: 0.5px solid var(--w06);
    overflow: hidden;
  }

  .ob-text {
    flex: 1;
    padding: 40px 48px;
  }

  .ob-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 20px;
    line-height: 1.1;
  }

  .ob-body { font-size: 19px; line-height: 1.55; color: var(--w65); font-weight: 300; max-width: 400px; }

  .ob-divider {
    width: 0.5px;
    background: var(--w06);
    align-self: stretch;
  }

  .ob-quote {
    flex: 1;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ob-quote blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1.45;
    margin-bottom: 20px;
  }

  .ob-quote cite {
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--w55);
    font-style: normal;
  }

  /* ── INSTAGRAM ── */
  .instagram-section {
    background: var(--ink);
    border-top: 0.5px solid var(--w06);
  }

  .ig-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .ig-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--cream);
    line-height: 1.1;
  }

  .ig-handle {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
  }

  .ig-handle:hover { opacity: 0.7; }

  .ig-handle svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
  }

  .ig-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
  }

  .ig-tile {
    aspect-ratio: 1;
    background: var(--ink-soft);
    border: 0.5px solid var(--w06);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ig-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(201,168,76,0);
    transition: background 0.3s;
  }

  .ig-tile:hover::before {
    background: rgba(201,168,76,0.12);
  }

  .ig-placeholder {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--w30);
    text-align: center;
    line-height: 1.6;
    padding: 8px;
    position: relative;
    z-index: 1;
  }

  .ig-note {
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--w55);
    text-align: center;
  }

  /* ── NEWSLETTER ── */
  .newsletter-section {
    background: var(--ink-mid);
    border-top: 0.5px solid var(--w10);
    border-bottom: 0.5px solid var(--w06);
  }

  .nl-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .nl-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.0;
    color: var(--cream);
    margin-bottom: 14px;
  }

  .nl-heading em {
    font-style: italic;
    color: var(--gold);
  }

  .nl-sub {
    font-size: 17px;
    line-height: 1.65;
    color: var(--w60);
    font-weight: 300;
  }

  .nl-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .nl-role-row {
    display: flex;
    gap: 0;
  }

  .nl-role-btn {
    flex: 1;
    padding: 12px 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: none;
    border: 0.5px solid rgba(255,255,255,0.18);
    color: var(--w55);
    cursor: pointer;
    transition: all 0.2s;
  }

  .nl-role-btn:first-child { border-right: none; }

  .nl-role-btn.active {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold);
  }

  .nl-input-row {
    display: flex;
    gap: 0;
  }

  .nl-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 0.5px solid rgba(255,255,255,0.18);
    border-right: none;
    color: var(--cream);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 14px 20px;
    outline: none;
    transition: border-color 0.2s;
  }

  .nl-input::placeholder { color: var(--w30); }
  .nl-input:focus { border-color: rgba(201,168,76,0.5); }

  .nl-submit {
    background: var(--gold);
    border: none;
    color: var(--ink);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 14px 28px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
  }

  .nl-submit:hover { background: var(--gold-light); }

  .nl-privacy {
    font-size: 12px;
    color: var(--w55);
    letter-spacing: 0.06em;
    line-height: 1.5;
  }

  .nl-success {
    display: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--gold-light);
    padding: 20px 0;
  }

  /* ── 26b. NEWSLETTER (homepage form additions) ──
   Appends to the existing .newsletter-section / .nl-* rules in section 26.
   Uses only design tokens; no Bootstrap. */

  /* The shared newsletter JS (written for Bootstrap pages) toggles these */
  .newsletter-section .d-none  { display: none !important; }
  .newsletter-section .d-block { display: block !important; }

  .nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .nl-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .nl-name-row .nl-input { border-right: 0.5px solid rgba(255,255,255,0.18); min-width: 0; }

  .nl-input:focus-visible,
  .nl-role-btn:focus-visible,
  .nl-submit:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

  /* Captcha: keep the five tiles compact inside the form column */
  .nl-captcha { margin-top: 4px; }
  .nl-captcha .captchaFormAll { color: var(--w55); font-size: 14px; letter-spacing: 0.06em; }
  .nl-captcha .capNav:hover,
  .nl-captcha .capNav.capOn { border-color: var(--gold); }

  /* DSGVO consent */
  .nl-consent {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 13px; line-height: 1.5; letter-spacing: 0.04em;
    color: var(--w45); cursor: pointer;
  }
  .nl-consent input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
  .nl-consent a { color: var(--gold); border-bottom: 0.5px solid var(--gold-dim); text-decoration: none; }
  .nl-consent a:hover { color: var(--gold-light); }

  /* Result messages */
  .nl-msg { margin-top: 20px; padding: 18px 20px; border: 0.5px solid var(--w10); font-size: 15px; line-height: 1.55; }
  .nl-msg strong { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 300; font-style: italic; color: var(--gold-light); margin-bottom: 6px; }
  .nl-msg--ok  { border-color: var(--gold-dim); color: var(--w65); }
  .nl-msg--err { border-color: rgba(255,80,80,0.3); color: var(--cream-dim); }

  @media (max-width: 600px) {
    .nl-name-row { grid-template-columns: 1fr; }
    .nl-input-row { flex-direction: column; }
    .nl-input-row .nl-input { border-right: 0.5px solid rgba(255,255,255,0.18); border-bottom: none; }
  }

  /* Footer moved to global.css — shared across every page via layout.html.twig */

  /* ── ANIMATIONS ON SCROLL ── */
  /* .reveal moved to global.css — shared utility, not homepage-specific */


  /* ── RESPONSIVE ── */
  @media (max-width: 960px) {
    .nav-links { display: none; }

    .hero-content { grid-template-columns: 1fr; padding: 0 32px 64px; gap: 28px; }
    .hero-right { align-items: flex-start; }

    .section-inner { padding: 64px 32px; }

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

    .craft-layout { grid-template-columns: 1fr; gap: 48px; }
    .craft-numbers { grid-template-columns: repeat(2, 1fr); }

    .origin-bar { flex-direction: column; }
    .ob-divider { width: 100%; height: 0.5px; }

    .ig-grid { grid-template-columns: repeat(3, 1fr); }

    .nl-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 32px; }

    /* footer mobile rules moved to global.css */
  }

  @media (max-width: 600px) {
    .instruments-grid { grid-template-columns: 1fr; }
    .ig-grid { grid-template-columns: repeat(2, 1fr); }
    /* .hero-headline mobile size moved to global.css */
    .hero-stats { flex-wrap: wrap; }
    .hero-stat { flex: 1; min-width: 120px; }

    /* Side-by-side primary/ghost buttons were wrapping their text and
       leaving uneven widths — stack them full-width instead. */
    .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    /* .btn-primary/.btn-ghost mobile rule moved to global.css */
  }