/* =========================================================
   HOME – Buttons (für Sektionen wiederverwendbar)
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  padding: 0.7rem 1rem;
  border-radius: var(--pill-radius);
  border: 1px solid var(--border);

  font-size: 0.875rem;
  color: var(--text-0);
  background: var(--card-bg-1);

  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.btn:hover{
  transform: translateY(var(--hover-lift));
  border-color: var(--hover-border);
  background: var(--accent-10);
}

.btn--primary{
  background: rgba(160,143,106,0.22);
  border-color: rgba(160,143,106,0.55);
}
.btn--primary:hover{ background: rgba(160,143,106,0.28); }

.btn--ghost{ background: transparent; }

/* =========================================================
   HOME – Services CTA Buttons (muted + highlight, wie Lang-Switch)
   ========================================================= */

.services-cta{
  margin-top: var(--space-8);
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn--icon{
  gap: var(--space-2);
}

.btn-icon{
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.95;
}

/* Muted: ähnlich wie Lang-Links */
.btn--muted{
  background: var(--card-bg-1);
  border-color: var(--border);
  color: var(--text-1);
}

.btn--muted:hover{
  border-color: var(--hover-border);
  background: var(--accent-10);
  color: var(--text-0);
}

/* Highlight: Mail “active” */
.btn--highlight{
  background: var(--accent-18);
  border-color: var(--accent-75);
  color: var(--text-0);
}

.btn--highlight:hover{
  background: rgba(160,143,106,0.24);
  border-color: rgba(160,143,106,0.95);
}


/* =========================================================
   HOME – S1 Hero (Full-bleed Background + Wide Card)
   ========================================================= */
.hero{
  padding: 0;
}

.hero-slider{
  position: relative;
  width: 100%;
  overflow: clip;              /* verhindert seitliches Scrollen */
  border-radius: 0;            /* wie Referenz: full width */
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
}

.hero-bg-overlay{
  position: absolute;
  inset: 0;
  z-index: 0;          /* <<< war 1 */
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
}


/* Inhalt über Overlay */
.hero-viewport{
  position: relative;
  z-index: 1;
  overflow: hidden;

  /* wichtig für Touch/Pointer: erlaubt vertikales Scrollen, aber horizontal kann JS übernehmen */
  touch-action: pan-y;
}

.hero-nav, .hero-dots{ z-index: 3; }



/* Optional: ein bisschen "Rahmen" oben/unten */
.hero-slider::before,
.hero-slider::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height: 1px;
  background: rgba(255,255,255,0.10);
  z-index: 1;
}
.hero-slider::before{ top:0; }
.hero-slider::after{ bottom:0; }



.hero-track{
  display: flex;
  transform: translateX(0%);
  transition: transform 900ms cubic-bezier(.22,.61,.36,1); /* vorher 450ms ease */
  will-change: transform;
  user-select: none;
}


.hero-slide{
  min-width: 100%;
  position: relative;

  /* mehr “Bühne” wie im Beispiel */
  min-height: clamp(420px, 54vh, 620px);

  display: flex;
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  /* dunkler, aber elegant (wie Beispiel) */
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
}

/* Wide glass-card */
.hero-card--wide{
  position: relative;
  z-index: 2;

  /* weniger “card-gradient”, mehr “glass panel” */
  background: rgba(15,16,18,0.60);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);

  box-shadow: 0 18px 60px rgba(0,0,0,0.45);

  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: var(--space-7);
  align-items: center;

  padding: var(--space-8);
  max-width: 1100px;
}

/* rechteckiges Bild links */
.hero-card-img--rect{
  width: 100%;
  height: clamp(220px, 22vw, 320px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-title{
  font-family: var(--font-accent);
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.hero-lead{
  margin: var(--space-4) 0 0;
  color: var(--text-1);
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-actions{
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hero-lead{
margin-bottom: var(--space-6);
  }

/* =========================================================
   HERO – Dots (zentriert unten)
   ========================================================= */
.hero-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;

  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;

  pointer-events: auto;
}

/* einzelne Punkte */
.hero-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.18);
  cursor: pointer;

  transition:
    transform 160ms var(--anim-ease),
    border-color 160ms var(--anim-ease),
    background 160ms var(--anim-ease),
    box-shadow 160ms var(--anim-ease);
}

.hero-dot:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.28);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.hero-dot.is-active{
  background: rgba(160,143,106,0.75);
  border-color: rgba(160,143,106,0.95);
  box-shadow: 0 10px 18px rgba(160,143,106,0.20);
}
  

/* =========================================================
   HERO – Controls (besser sichtbar + Hover-Effekt)
   ========================================================= */

.hero-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 44px;
  height: 44px;
  border-radius: var(--pill-radius);

  border: 1px solid var(--hero-control-border);
  background: var(--hero-control-bg);
  color: var(--text-0);
  cursor: pointer;

  font-size: 25px;
  line-height: 1;
  padding-bottom: 2px; /* optischer Ausgleich für ‹› */

  /* edler Look */
  backdrop-filter: blur(6px);
  box-shadow: var(--hero-control-shadow);

  transition:
    transform 160ms var(--anim-ease),
    border-color 160ms var(--anim-ease),
    background 160ms var(--anim-ease),
    box-shadow 160ms var(--anim-ease);

  
}

.hero-prev{ left: 14px; }
.hero-next{ right: 14px; }

.hero-nav:hover{
  transform: translateY(-50%) translateY(-2px);
  border-color: var(--hero-control-border-hover);
  background: var(--hero-control-bg-hover);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}

.hero-nav:active{
  transform: translateY(-50%) translateY(0px);
}

/* Dots etwas klarer */
.hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.18);
  cursor: pointer;

  transition:
    transform 160ms var(--anim-ease),
    border-color 160ms var(--anim-ease),
    background 160ms var(--anim-ease),
    box-shadow 160ms var(--anim-ease);
}

.hero-dot:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.28);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.hero-dot.is-active{
  background: rgba(160,143,106,0.75);
  border-color: rgba(160,143,106,0.95);
  box-shadow: 0 10px 18px rgba(160,143,106,0.20);
}

/* =========================================================
   HERO – Controls näher am Content (Desktop)
   ========================================================= */

.hero-prev{ left: 14px; }
.hero-next{ right: 14px; }

/* Auf großen Screens: an Container ausrichten */
@media (min-width: 1200px){
  .hero-prev{
    left: calc((100vw - 1200px) / 2 + 1px);
  }
  .hero-next{
    right: calc((100vw - 1200px) / 2 + 1px);
  }
}




/* =========================================================
   HERO – Mobile: gleiche Card-Höhen + Buttons immer unten
   ========================================================= */

/* Textblock kann "strecken" und Actions nach unten drücken */
.hero-card-text{
  display: flex;
  flex-direction: column;
}

/* Buttons immer am unteren Rand des Textblocks */
.hero-actions{
  margin-top: auto;
}


/* =========================================================
   HOME – S2 Fleet
   ========================================================= */

/* Fleet näher an Hero (dezent) */
.fleet{
  margin-top: calc(var(--space-10) * -1); /* -64px */
  padding-top: var(--space-10);          /* gleicht es visuell aus */
}

.fleet-head{
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-8);
  padding: 4em
}

.fleet-logo{
  height: 100px;
  width: auto;
  padding-bottom: 1em;
}

.fleet-lead{
  margin: 0;
  max-width: 78ch;
  color: var(--text-1);
  font-size: 1.2rem;
}

/* Grid */
.fleet-grid{
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

/* Card equal height */
.fleet-card{
  padding: var(--space-6);
  display: grid;
  grid-template-rows: auto auto 1fr;  /* Bild, Titel, Text (Text füllt) */
  gap: var(--space-4);
  height: 100%;
}

/* Image area fixed height so cards align nicely */
.fleet-media{
  height: 170px;                 /* gleiche Bildfläche -> gleiche Cardhöhe */
  display: grid;
  place-items: center;
}

.fleet-img{
  max-height: 170px;
  width: auto;
  object-fit: contain;           /* freigestellt -> contain */
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.35));
}

.fleet-name{
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.05rem;
}

.fleet-text{
  margin: 0;
  color: var(--text-1);
  line-height: 1.55;
}

/* =========================================================
   HOME – Reviews (Google)
   ========================================================= */
.reviews-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-8);
  align-items: center;
}

.reviews-title{
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.reviews-lead{
  margin: var(--space-4) 0 0;
  color: var(--text-1);
  max-width: 65ch;
}

/* Panel (wie eure Karten) */
.reviews-panel{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-bg-1), var(--card-bg-2));
  box-shadow: var(--shadow);
  padding: var(--space-7);
}

.reviews-badge{
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.reviews-score{
  font-family: var(--font-accent);
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0.2px;
}

/* Stars with fractional fill */
.reviews-stars{
  position: relative;
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1;
}

.stars-base{
  color: rgba(255,255,255,0.18);
}

.stars-fill{
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  width: calc((var(--rating, 4.8) / 5) * 100%);
  color: var(--star-gold);
}

/* Meta */
.reviews-meta{
  margin-top: var(--space-4);
  color: var(--text-1);
  display: grid;
  gap: var(--space-2);
}

.reviews-date{
  color: var(--text-2);
  font-size: 0.9rem;
}

.reviews-cta{
  margin-top: var(--space-6);
  width: 100%;
  justify-content: center;
}

/* =========================================================
   HOME – TEAM
   ========================================================= */

.team-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}

.team-photo{
  padding: 0;
  overflow: hidden;
}

.team-photo img{
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
}

.team-eyebrow{
  margin: 0 0 var(--space-2);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.team-title{
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.team-lead{
  margin: var(--space-4) 0 0;
  color: var(--text-1);
  max-width: 65ch;
  line-height: 1.6;
}

.team-values{
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
  color: var(--text-1);
}

.team-values li{
  padding-left: 14px;
  position: relative;
}

.team-values li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.8;
}


/* =========================================================
   HOME – SERVICES (Tiles 6er Grid inkl. Intro-Kachel)
   ========================================================= */

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* Desktop: 3x2 */
  gap: var(--space-6);
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.service-tile{
  padding: var(--space-6);
  height: 100%;

  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-name{
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.05rem;
}

.service-text{
  margin: 0;
  color: var(--text-1);
  line-height: 1.55;
}


/* Intro-Kachel – EMBOSS (positiver Abdruck) */
.service-tile--intro{
  border-color: var(--intro-border);
  background:
    radial-gradient(900px 420px at 20% 15%, rgba(160,143,106,0.18), transparent 60%),
    linear-gradient(180deg, var(--intro-bg-1), var(--intro-bg-2));
}

.service-tile--intro .service-intro-title{ color: var(--intro-title); }
.service-tile--intro .service-intro-lead{ color: var(--intro-text); }
.service-tile--intro .service-eyebrow{ color: var(--intro-eyebrow); }





.service-eyebrow{
  margin: 0;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.service-intro-title{
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
}

.service-intro-lead{
  margin: 0;
  color: var(--text-1);
  line-height: 1.6;
}

/* =========================================================
   SECTION – Carbon Background (nur dort wo genutzt)
   ========================================================= */
.section--carbon{
  position: relative;
  isolation: isolate;           /* Pseudo-Layer sauber hinter Inhalt */
  overflow: clip;
}

.section--carbon::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;

  /* Carbon Texture */
  background-image: url("/assets/pictures/backgrounds/BG_Carbon_Texture.jpg");
  background-repeat: no-repeat;
  background-size: cover;  /* anpassen: 420–700 je nach Look */
  background-position: center;
  
  opacity: 0.92;                /* subtil! */
  filter: saturate(0.9);


  /* Feather top */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
}

.section--carbon::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;

  /* dunkler, edler Film drüber */
  background:
    radial-gradient(900px 420px at 20% 15%, rgba(160,143,106,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.70));
}



/* =========================================================
   MEDIA QUERIES – HOME
   ========================================================= */

/* =========================================================
   <= 1024px (Tablet/Laptop)
   ========================================================= */
@media (max-width: 1024px){

  /* --- HERO (Slider) --- */
  .hero-card--wide{
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr; /* Bild = auto, Text = füllt Rest */
    align-items: stretch;
    min-height: 520px;            /* stabilisiert unterschiedliche Inhalte */
  }

.hero-card-img--rect{
  height: clamp(260px, 28vh, 340px);
}

.hero-card--wide{
  min-height: 560px; /* war 520px */
}



  .hero-card-text{
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Buttons auf Tablet/Mobile ruhiger & gleich breit */
  .hero-actions{
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding-top: var(--space-2);
  }

  .hero-actions .btn{ width: 100%; }

  .btn{
    padding: 0.65rem 0.95rem;
    font-size: 0.85rem;
  }

  .hero-lead{
    margin-bottom: var(--space-6);
  }

  /* --- FLOTTE (Fleet) --- */
  .fleet-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-media{ height: 190px; }  
  .fleet-img{
    max-height: 150px;          
    max-width: 92%;
  }

    .fleet{ margin-top: calc(var(--space-9) * -1); padding-top: var(--space-9); } /* -48px */
  .fleet-logo{ height: 90px; }


    /* Sektion 3 Media Query für Reviews*/
    .reviews-inner{
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* --- TEAM --- */
  .team-grid{ grid-template-columns: 1fr; }

  .team-photo img{
  height: clamp(320px, 34vh, 520px);
  object-position: center; /* bleibt neutral */
}


  /* --- SERVICES --- */
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2x3 */
}

.section--carbon .services-cta .btn{
  background: rgba(15,16,18,0.55);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.14);
}

.section--carbon .services-cta .btn--highlight{
  background: rgba(160,143,106,0.20);
  border-color: rgba(160,143,106,0.70);
}



/* =========================================================
   <= 768px (Tablet/Mobile)
   ========================================================= */
@media (max-width: 768px){

  /* --- HERO (Slider) --- */
  .hero-card--wide{
    padding: var(--space-7);
    min-height: 540px;            /* bisschen mehr Luft für längere Texte */
  }

  /* --- FLOTTE (Fleet) --- */
  .fleet{
    margin-top: 0; 
    padding-top: var(--space-10); /* vorher 0 -> mehr Luft nach der Hero-Sektion */
  }

  .fleet-head{
    margin-bottom: var(--space-8);
    padding: var(--space-8) 0 var(--space-6); /* mehr vertikale Bühne fürs Logo+Text */
    gap: var(--space-4);
    text-align: center;
  }

  .fleet-logo{ 
    height: 74px;               /* vorher 62px -> auf Tablet etwas präsenter */
    padding-bottom: 0;          /* falls vorher irgendwo gesetzt */
  }

  .fleet-lead{ 
    font-size: 1rem; 
    line-height: 1.65;
    padding-inline: var(--space-4); /* weniger “gequetscht” am Rand */
  }

  .fleet-grid{ 
    gap: var(--space-5); 
  }

  .fleet-media{ 
    height: 200px; 
  }

  .fleet-img{
    max-height: 140px;
    max-width: 90%;
  }



   /*Media Query für Reviews*/
    .reviews-panel{ padding: var(--space-6); }


 /*Media Query für Team*/
    .team-photo img{
  height: clamp(300px, 38vh, 520px);
}


    
  /* --- SERVICES --- */
  .services-grid{ gap: var(--space-5); }
}


/* =========================================================
   <= 480px (Small mobile) – HOME
   ========================================================= */
@media (max-width: 480px){

  /* --- HERO (Slider) --- */
  .hero-nav{ display: none; }
  .hero-card--wide{ padding: var(--space-6); }

  .site-header{ overflow-x: clip; }

  .header-inner{
    position: relative;
    padding: 14px 14px 16px;
    gap: 12px;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  /* Language Switch oben rechts */
  .lang-switch{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    justify-content: flex-end;
    max-width: calc(100% - 20px);
  }

  .lang-link{
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  /* Brand kompakt & zentriert */
  .brand{
    min-width: unset;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .brand-logo{ height: 44px; }
  .brand-claim{ font-size: 14px; }

  .header-right{
    align-items: stretch;
    gap: 10px;
    max-width: 100%;
  }

  /* Kontakte: 1 Spalte, aber NICHT full-width */
  .header-contact{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
    justify-items: center; /* <<< zentriert die Kacheln */
  }

  /* Kacheln = schmaler + zentriert (wie “Buttons”) */
  .contact-item{
    width: min(92%, 300px);  /* <<< hier kommt der “nicht so breit”-Look her */
    min-width: 0;

    padding: 10px 12px;
    justify-content: center;
    text-align: center;
  }

  /* Icons ausblenden */
  .contact-icon{ display: none !important; }

  /* Text zentriert */
  .contact-text{
    align-items: center;
    text-align: center;
    gap: 2px;
    min-width: 0;
  }

  .contact-title{
    font-size: 11px;
    color: var(--text-2);
  }

  .contact-value{
    font-size: 13px;
    color: var(--text-0);
    overflow-wrap: anywhere;
  }

  /* Optional: Telefon dezent highlighten (ohne HTML-Änderung) */
  .header-contact a[href^="tel:"]{
    border-color: rgba(160,143,106,0.55);
    background: rgba(160,143,106,0.16);
  }



  /* --- FLOTTE (Fleet) --- */
  .fleet{
    padding-top: var(--space-10);
  }

  .fleet-head{
    padding: var(--space-10) 0 var(--space-10);
    gap: var(--space-4);
    text-align: center;
  }

  .fleet-logo{
    height: 68px;
    padding-bottom: 0;
  }

  .fleet-lead{
    font-size: 0.98rem;
    line-height: 1.7;
    padding-inline: var(--space-4);
  }

  /* <<< DAS ist das fehlende 1-Spalten Layout */
  .fleet-grid{
    grid-template-columns: 1fr;
    margin-top: var(--space-8);
  }

  .fleet-card{
    padding: var(--space-6);
  }

  .fleet-media{
    height: 200px;
  }

  .fleet-img{
    max-height: 135px;
    max-width: 88%;
  }

  /* --- REVIEWS --- */
  .reviews-panel{
    padding: var(--space-6);
  }

  /* --- SERVICES --- */
  .services-grid{
    grid-template-columns: 1fr;
  }

  /* --- SERVICES CTA --- */
  .services-cta{
    width: min(66%, 360px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    justify-items: stretch;
  }

  .services-cta .btn{
    width: 100%;
    justify-content: center;
  }
}
