/* ============================================================
   style.css – Page Specific Styles (Index)
   Aufbau:
   1) Hero Section
   2) Grids & Layout
   3) Feature Cards
   4) Responsive Anpassungen
   ============================================================ */

:root {
  --hero-gap: clamp(1.8rem, 1.5vw, 1.2rem);
}

/* GLOBAL PAGE BACKGROUND FIX */
html, body {
  background: var(--bg-2) !important;
}

/* ============================================================
   FCH — HERO SECTION (Dark, Apple-Clean)
   ============================================================ */

   /* Hero Basis */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Farbklecks eindeutig zugeordnet */
.hero-blob::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 37%;
  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle at center,
    rgba(159, 204, 100, 0.35) 0%,
    rgba(170, 184, 100, 0.15) 40%,
    rgba(173, 184, 100, 0.05) 70%,
    rgba(171, 184, 100, 0) 100%
  );

  z-index: 0;
  pointer-events: none;
  transform: rotate(15deg);
}
.hero-blob::before {
  filter: blur(120px);
}

/* SECTION BASE */
.hero-section {
  background: var(--bg-2); /* gleiche Farbe wie Header */
  padding-bottom: clamp(4rem, 8vw, 7rem);
  text-align: center;
  width: 100%;
  position: relative;
  min-height: clamp(540px, 64vw, 900px);
}

/* MEDIA WRAPPER — Bild mit radius + offenen Seiten */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: clamp(88%, 94%, 96%);
  margin-inline: auto;
  margin-top: var(--hero-gap);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  border-radius: 30px;
  overflow: hidden;
  height: clamp(480px, 60vw, 820px);
}

/* HERO IMAGE */
.hero-media {
  position: relative;
  width: 54%;
  height: 88%;
  object-fit: cover;
  border-radius: 30px;
  margin-right: 0;
}

/* Overlay nur auf dem Bild */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.0) 75%
  );

  border-radius: 30px;
  pointer-events: none;
  z-index: 2;
}


  .hero-content {
    position: absolute;
    top: 45%;
    left: clamp(2rem, 8vw, 12rem);
    transform: translateY(-50%);
    width: min(580px, 49%);
    text-align: left;
    padding-right: clamp(1rem, 4vw, 3rem);
    z-index: 2;
  }


/* TEXT CONTENT */
.hero-eyebrow {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 1rem;
  letter-spacing: .5px;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink-1);
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.hero-subtitle {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* CTA GROUP */
.hero-cta-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* BUTTON BASE */
.hero-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: clamp(.9rem, 1vw, 1.1rem) clamp(2.2rem, 3vw, 2.8rem);
  border-radius: 999px;
  font-size: var(--fs-body);
  font-weight: 500;
  transition: background .3s ease, transform .3s ease, color .3s ease;
}

/* PRIMARY BUTTON */
.hero-btn.primary {
  background: var(--brand);
  color: #111;
}

.hero-btn.primary:hover {
  background: color-mix(in srgb, var(--brand) 90%, white);
  transform: translateY(-2px);
}

/* SECONDARY BUTTON */
.hero-btn.secondary {
  border: 2px solid var(--ink-1);
  color: var(--ink-1);
  background: transparent;
}

.hero-btn.secondary:hover {
  background: var(--ink-1);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 480px) {

  .hero-section {
    height: 100svh;
    min-height: 100svh;
    padding: 0;
    margin: 0;
  }

  /* Full Hero – Edge to Edge */
  .hero-media-wrapper {
    width: 100vw;
    height: 100svh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }
.hero-media-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.45) 45%,
      rgba(0,0,0,0.25) 60%,
      rgba(0,0,0,0.10) 100%
    );
    z-index: 2;
    pointer-events: none;
  }

    .hero-content {
    position: absolute;
    top: 36%;
    left: 6%;
    transform: none;
    padding: 0;
    z-index: 5;
    width: 88%;
    text-align: left;
    left: 4%;
    width: 92%;
  }

  .hero-content h1,
  .hero-content .hero-title {
    
    line-height: 1.22;
    max-width: 88%;
  }

  .hero-subtitle {
    
    max-width: 88%;
    margin-bottom: 1rem;
  }



  .hero-cta-group {
    flex-direction: column;
    gap: 0.6rem;
    width: 90% !important;
    margin-left: 5% !important;
  }

  .hero-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    width: 100% !important;
    justify-content: center;
  }

  .hero-eyebrow {
    margin-left: 0.2rem;
  }

  .hero-content .hero-eyebrow,
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-cta-group {
    margin-left: 5% !important;
    width: 90% !important;
  }
}

/* 480–768px — Mobile Landscape / Small Tablets */
@media (min-width: 480px) and (max-width: 900px) {
  .hero-media-wrapper {
    width: clamp(88%, 94%, 96%);
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-media {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    border-radius: 20px;
  }
.hero-media-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.10) 65%,
      rgba(0,0,0,0.00) 100%
    );
    z-index: 2;
    pointer-events: none;
  }
  .hero-content {
    position: relative;
    top: 0;
    left: 5;
    transform: none;
    width: 100%;
    padding: 1.8rem 1.6rem;
    text-align: left;
  }
  .hero-content {
    width: clamp(420px, 88%, 760px);
  }

  .hero-content h1,
  .hero-content .hero-title {
    
    max-width: 92%;
  }

  .hero-subtitle {
    
    max-width: 92%;
  }

  .hero-cta-group {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .hero-btn {
    padding: 0.7rem 1.4rem;
  }
}

/* ============================================================
   HERO — TABLET VIEW (768–1200px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .hero-media-wrapper {
    width: clamp(88%, 94%, 96%);
    margin-inline: auto;
    border-radius: 20px;
  }

  .hero-media {
    width: 100%;
    height: 100vh;
  }
  .hero-media-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.45) 35%,
      rgba(0,0,0,0.15) 60%,
      rgba(0,0,0,0.00) 100%
    );
    z-index: 2;
    pointer-events: none;
  }

  .hero-content {
    position: absolute;
    top: 46%;
    left: clamp(2rem, 8vw, 12rem);
    transform: translateY(-50%);
    width: clamp(480px, 62%, 760px);
    text-align: left;
    padding-right: clamp(1rem, 4vw, 3rem);
    z-index: 2;
  }

  .hero-eyebrow {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    margin-left: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    line-height: 1.22;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.55;
    margin-bottom: 1.4rem;
  }

  .hero-cta-group {
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.7rem 1.6rem;
  }


  /* Farbklecks eindeutig zugeordnet */
  .hero-blob::before {
    content: "";
    position: absolute;
    top: 20%;
    right: -15%;
    width: 300px;
    height: 300px;
  }
  .hero-blob::before {
    filter: blur(120px);
  }
}

/* 1440+ — Large Desktop / Widescreen */
@media (min-width: 1440px) {
  .hero-media-wrapper {
    width: 94%;
  }
}

/* ============================================================
   2) GLOBAL PAGE LAYOUT (specific for this page)
   ============================================================ */

.page-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.page-section-sm {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.page-section-lg {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}


/* Max width wrappers */
.wrapper {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* Wide wrapper (Hero, Big grids, etc.) */
.wrapper-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}


/* ============================================================
   3) FEATURE GRID
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
}


/* ============================================================
   4) GENERAL IMAGE / MEDIA BEHAVIOUR
   ============================================================ */

img.fullwidth {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}


/* ============================================================
   RESPONSIVE BREAKPOINTS — FCH STANDARD
   ============================================================ */

/* 0–480px — Mobile Portrait */
@media (max-width: 480px) {



.hero-blob::before { 
  top: 40%;
  width: 200px;
  height: 200px;
}
  .hero-social { display: none !important; }


  .hero-content {
    position: absolute;
    top: 18%;
    left: 6%;
    transform: none;
    padding: 0;
    z-index: 5;
    width: 88%;
    text-align: left;
    left: 4%;
    width: 92%;
  }



  .hero-content h1,
  .hero-content .hero-title {
    font-size: clamp(1.7rem, 5.5vw, 2.1rem);
    line-height: 1.22;
    max-width: 88%;
  }

  .hero-subtitle {
    font-size: clamp(.95rem, 4vw, 1.05rem);
    max-width: 88%;
    margin-bottom: 1rem;
  }

  .hero-right-widgets {
    position: absolute;
    bottom: 0%;
    right: 50%;
    top: auto;
    margin: 0;
    z-index: 6;
    align-items: center;
    flex-direction: row;
    gap: .8rem;
    transform: translateX(50%);
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.6rem;
    width: 90% !important;
    margin-left: 5% !important;
  }

  .hero-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    width: 100% !important;
    justify-content: center;
  }

  .hero-eyebrow {
    margin-left: 0.2rem;
  }

  .hero-content .hero-eyebrow,
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-cta-group {
    margin-left: 5% !important;
    width: 90% !important;
  }
}

/* 480–768px — Mobile Landscape / Small Tablets */
@media (min-width: 480px) and (max-width: 900px) {
  .hero-media-wrapper {
    width: clamp(88%, 94%, 96%);
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-media {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    border-radius: 20px;
  }

  .hero-content {
    position: relative;
    top: 0;
    left: 5;
    transform: none;
    width: 100%;
    padding: 1.8rem 1.6rem;
    text-align: left;
  }
  .hero-content {
    width: clamp(420px, 88%, 760px);
  }

  .hero-content h1,
  .hero-content .hero-title {
    font-size: clamp(2.1rem, 5vw, 2.6rem);
    max-width: 92%;
  }

  .hero-subtitle {
    font-size: clamp(1.05rem, 3.8vw, 1.2rem);
    max-width: 92%;
  }



  .hero-cta-group {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .hero-btn {
    padding: 0.7rem 1.4rem;
  }
}

/* ============================================================
   HERO — TABLET VIEW (768–1200px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .hero-media-wrapper {
    width: clamp(88%, 94%, 96%);
    margin-inline: auto;
    border-radius: 20px;
  }

  .hero-media {
    width: 100%;
    height: 90vh;
  }

  .hero-content {
    position: absolute;
    top: 46%;
    left: clamp(2rem, 8vw, 12rem);
    transform: translateY(-50%);
    width: clamp(480px, 62%, 760px);
    text-align: left;
    padding-right: clamp(1rem, 4vw, 3rem);
    z-index: 2;
  }

  .hero-eyebrow {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    margin-left: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    line-height: 1.22;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.55;
    margin-bottom: 1.4rem;
  }

  .hero-cta-group {
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.7rem 1.6rem;
  }

 
  /* Farbklecks eindeutig zugeordnet */
  .hero-blob::before {
    content: "";
    position: absolute;
    top: 20%;
    right: -15%;
    width: 300px;
    height: 300px;
  }
  .hero-blob::before {
    filter: blur(120px);
  }
}

/* 1440+ — Large Desktop / Widescreen */
@media (min-width: 1440px) {
  .hero-media-wrapper {
    width: 94%;
  }
}



/* ============================================================
   FCH – Kontaktseite
   3-Card Kontaktgrid · Darkmode · Glassmorphism
   ============================================================ */

/* Grid-Wrapper */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
  padding-top: 0px;
  padding-bottom: var(--s-9);
}


/* ============================================================
   CARD – GLASS STYLE
   ============================================================ */
.kontakt-card {
  padding: var(--s-7);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04); /* leichter Glass-Effekt */
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}

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


/* ============================================================
   ICONS / HEADINGS / TEXT
   ============================================================ */
.kontakt-icon {
  font-size: 2.4rem;
  margin-bottom: var(--s-4);
  color: var(--brand);
}

.kontakt-card h3 {
  color: var(--ink-1);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--s-4);
}

.kontakt-text {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: var(--s-4);
}

.kontakt-text a {
  color: var(--brand);
  text-decoration: none;
}

.kontakt-text a:hover {
  text-decoration: underline;
}


/* ============================================================
   BUTTON
   ============================================================ */
.kontakt-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 28px;
  background: var(--brand);
  color: #111;
  border-radius: var(--r-md);
  margin-top: var(--s-3);
  font-size: var(--fs-body);
  transition: background .25s ease, transform .25s ease;
}

.kontakt-btn:hover {
  background: #A8BE5B;
  transform: translateY(-2px);
}


/* ============================================================
   RESPONSIVE – FCH STANDARD BREAKPOINTS
   ============================================================ */

/* ======================================
   MOBILE PORTRAIT — 0–480px
====================================== */
@media (max-width: 480px) {

  .kontakt-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-6) !important;
    width: 94% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    margin-top: 50px;
  }

  .kontakt-card {
    padding: var(--s-5) !important;
    border-radius: var(--r-lg) !important;
  }

  .kontakt-icon {
    font-size: 1.9rem !important;
    margin-bottom: var(--s-3) !important;
  }

  .kontakt-card h3 {
    font-size: 1.35rem !important;
    margin-bottom: var(--s-3) !important;
  }

  .kontakt-text {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: var(--s-3) !important;
  }

  .kontakt-btn {
    width: 100% !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    margin-top: var(--s-3) !important;
  }
}


/* ======================================
   MOBILE LANDSCAPE / SMALL TABLETS
   480–768px
====================================== */
@media (min-width: 480px) and (max-width: 768px) {

  .kontakt-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-6) !important;
    width: 92% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .kontakt-card {
    padding: var(--s-6) !important;
    border-radius: var(--r-lg) !important;
  }

  .kontakt-icon {
    font-size: 2.1rem !important;
  }

  .kontakt-card h3 {
    font-size: 1.45rem !important;
  }

  .kontakt-text {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .kontakt-btn {
    width: 100% !important;
    padding: 12px 22px !important;
  }
}


/* ======================================
   TABLET — 768–1050px
====================================== */
@media (min-width: 768px) and (max-width: 1050px) {

  .kontakt-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--s-7) !important;
    width: 92% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .kontakt-card {
    padding: var(--s-7) !important;
  }
}


/* ======================================
   LARGE MOBILE SAFETY OVERRIDE
   (Overflow Fix wie bei WHY-US)
====================================== */
@media (max-width: 1200px) {
  .kontakt-grid {
    overflow-x: visible !important;
  }
}