:root{
  --bg: #0b0b0c;
  --surface: #121316;
  --muted: #6b7280;
  --text: #f5f5f7;
  --accent: #ff002e;
  --accent-weak: rgba(255,0,46,.15);
  --container: 1200px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height:1.6;
  color:var(--text);
  background:linear-gradient(180deg,#0a0b0c 0%, #15161a 100%);
}

img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.container{width:100%;max-width:var(--container);padding:0 20px;margin:0 auto}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:linear-gradient(180deg, rgba(10,11,12,.85), rgba(10,11,12,.35), transparent);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-logo{width:28px; height:28px}
.brand-name{font-weight:700; letter-spacing:.5px; color:var(--text)}

.nav{display:flex; align-items:center; gap:16px}
.nav-link{padding:8px 10px; border-radius:10px; color:#d6d7dc}
.nav-link:hover{background:rgba(255,255,255,.06); text-decoration:none}
.nav-link.is-active{color:var(--text); background:rgba(255,255,255,.08)}

/* Language dropdown */
.lang{position:relative}
.lang-btn{
  display:flex; align-items:center; gap:6px;
  padding:8px 10px; border-radius:10px; border:1px solid rgba(255,255,255,.12);
  background:transparent; color:var(--text); cursor:pointer;
}
.lang-btn .chev{opacity:.7}
.lang-menu{
  position:absolute; right:0; top:110%; list-style:none; margin:0; padding:6px;
  min-width:180px; border:1px solid rgba(255,255,255,.12);
  background:#0f1114; border-radius:12px; display:none; box-shadow:var(--shadow);
}
.lang-menu.open{display:block}
.lang-menu li{margin:0; padding:0}
.lang-menu button{
  width:100%; text-align:left; padding:10px 12px; background:transparent; border:0; color:var(--text); cursor:pointer; border-radius:8px;
}
.lang-menu button:hover{background:rgba(255,255,255,.06)}

.page-home .hero{
  background-image: url('images/autogreco.gif');
  
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-repeat: no-repeat;
  background-position: 50% 70%;
  background-size: 88% auto;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-home .hero {
    min-height: 55vh;          /* vorher viel zu hoch */
    padding-top: 20px;
    padding-bottom: 30px;
    background-position: center center;
  }
}
@media (max-width: 768px) {
  .hero h1,
  .hero .script-text {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 14px;
    opacity: 0.9;
  }
}
@media (max-width: 768px) {
  .page-home .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.65),
      rgba(0,0,0,0.85)
    );
  }
}
@media (max-width: 768px) {
  header,
  .site-header {
    padding: 10px 16px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .hero-inner {
    margin-top: 0;
    padding-top: 10px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .btn,
  .btn-primary {
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 999px;
  }
}
@media (max-width: 768px) {
  .btn-secondary {
    font-size: 13px;
    padding: 10px 18px;
    opacity: 0.85;
  }
}
@media (max-width: 768px) {
  .hero .script-text {
    font-size: 26px;
    margin-bottom: 6px;
  }
}
@media (min-width: 1200px){
  .page-home .hero{ background-size: 88% auto; }
}
@media (max-width: 900px){
  .page-home .hero{ background-size: 105% auto; background-position: 50% 50%; }
}


.page-home .hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.35) 70%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}

.page-home .hero > *{
  position: relative;
  z-index: 2;
}

body:not(.page-home) .hero{
  background-image: url('images/autogreco.png');
  
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: #0c0d0f;
  background-image: var(--hero-img);
  background-position: center;
  background-repeat: no-repeat;

  
  background-size: 65%;        
  background-color: #fff;
}

body:not(.page-home) .hero .overlay{
  position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,11,12,.55), rgba(10,11,12,.85));
}

body:not(.page-home) .hero-inner{
  position:relative; z-index:1; padding:60px 0; bottom: -235px;
  max-width:900px;
}

body:not(.page-home) .hero h1{font-size: clamp(28px, 5vw, 56px); margin:0 0 10px}


/* Hero
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: #0c0d0f;
  background-image: var(--hero-img);
  background-position: center;
  background-repeat: no-repeat;

  
  background-size: 65%;        
  background-color: #fff;      
}*/

/*
.hero .overlay{
  position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,11,12,.55), rgba(10,11,12,.85));
}
.hero-inner{
  position:relative; z-index:1; padding:60px 0; bottom: -235px;
  max-width:900px;
}
.hero h1{font-size: clamp(28px, 5vw, 56px); margin:0 0 10px}*/


/*
.hero{
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url('images/autogreco.gif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 92% auto;
  overflow: hidden;
}

.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.35) 70%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}


.hero > *{
  position: relative;
  z-index: 2;
}
*/

.lead{color:#d0d2d7; font-size: clamp(16px, 2.2vw, 20px)}

.cta{margin-top:20px; display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 16px; border-radius:999px; border:1px solid rgba(255,255,255,.16);
  color:var(--text); text-decoration:none; font-weight:600; background:transparent;
}
.btn:hover{background:rgba(255,255,255,.08); text-decoration:none}
.btn.primary{background:var(--accent); border-color:transparent; color:#0b0b0c}
.btn.primary:hover{filter:brightness(.96)}

/* Section base */
.section{padding:64px 0}
.section-title{margin:0 0 18px; font-size: clamp(22px, 3vw, 32px)}

/* Tiles (grid of 4) */
.tiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.tile{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:18px;
  min-height:140px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent-weak);
}
.tile h3{margin:0 0 6px; font-size:18px}
.tile p{margin:0; color:#c7c9cf; font-size:15px}

/* Sticky overlap section */
.grid2{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:28px; align-items:start;
}

@media (max-width: 900px){
  .grid2,
  .sticky-grid .grid2{
    grid-template-columns: 1fr !important;
  }
}

html, body{
  overflow-x: hidden;
}

.sticky-col{position:relative; height: 90vh;}
.sticky-col img{
  position: sticky; top: 90px; width:100%; height:calc(90vh - 90px);
  object-fit: cover; border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
}

@media (max-width: 900px){
  .sticky{
    position: static !important;
    top: auto !important;
  }
}

.stack{display:grid; gap:16px}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:18px;
}

/* Partners */
.partners .partner-row{
  display:grid; grid-template-columns: repeat(9, minmax(80px,1fr)); gap:14px; align-items:center; justify-items:center;
  filter: grayscale(1); opacity:.9;
}
.partners img{max-height:48px; width:auto}

/* Footer */
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 0; flex-wrap:wrap;
}
.footer-inner small{color:#b9bcc4}
.address{opacity:.8}

/* Responsive */
@media (max-width: 1100px){
  .tiles{grid-template-columns: repeat(2, 1fr)}
  .grid2{grid-template-columns: 1fr}
  .sticky-col{height:auto}
  .sticky-col img{position:relative; top:auto; height: 52vh}
  .partners .partner-row{grid-template-columns: repeat(5, 1fr)}
}
@media (max-width: 640px){
  .nav{gap:8px}
  .tiles{grid-template-columns: 1fr}
  .partners .partner-row{grid-template-columns: repeat(3, 1fr)}
  .site-header .container{height:auto; padding:10px 20px}
}

@media (max-width: 640px){
  /* Header wieder als eine klare Zeile ausrichten */
  .site-header .container{
    height: 56px;           /* fixe, saubere Höhe */
    padding: 0 16px;        /* statt 10px oben/unten */
    align-items: center;    /* vertikal zentrieren */
  }

  /* Brand (Logo + optional Text) exakt mittig */
  .brand{
    height: 56px;
    display: flex;
    align-items: center;
  }

  /* Das rote "G" minimal optisch korrigieren */
  .brand-logo{
    width: 28px;
    height: 28px;
    margin-top: 0px;        /* kleiner visueller Ausgleich (falls nötig) */
  }

  /* Nav bleibt horizontal scrollbar, aber sauber mittig */
  .nav{
    gap: 8px;
    height: 56px;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .tiles{grid-template-columns: 1fr}
  .partners .partner-row{grid-template-columns: repeat(3, 1fr)}
}


.script-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(42px, 6vw, 90px);
  color: var(--accent);
  margin: 0 0 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Einheitliche Bildgrössen – 16:9 Variante mit intelligenter Anpassung
.gallery-section .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}
.gallery-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #e5e5e5;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
*/

/* Hover-Zoom-Effekt (optional, dezent) */
.gallery-section .swiper-slide:hover img {
  transform: scale(1.08);
}

/* Responsive Anpassungen
@media (max-width: 1100px) {
  .gallery-section .swiper-slide {
    aspect-ratio: 16 / 9;
    max-height: 340px;
  }
}

@media (max-width: 768px) {
  .gallery-section .swiper-slide {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}*/

/* Kompakter Footer mit Inline-SVGs */
.site-footer {
  background: #0c0d0f;
  padding: 14px 0;
  color: #d0d2d7;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 14px;
}

.footer-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-inline a {
  color: #d0d2d7;
  text-decoration: none;
}

.footer-inline a:hover {
  color: var(--accent);
}

.social-icon {
  color: #d0d2d7;
  opacity: 0.8;
  transition: all 0.25s ease;
  margin-left: 10px;
}

.social-icon:hover {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.1);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Responsiv für kleine Bildschirme */
@media (max-width: 768px) {
  .footer-inline {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* Dezente Script-Schrift im Fliesstext (für Motto etc.) */
.script-inline {
  font-family: 'Great Vibes', cursive;
  color: var(--accent);          /* dein Rot (#ff002e) */
  font-size: 1.1em;              /* an Fliesstext angepasst */
  line-height: 1.4;
  letter-spacing: 0.3px;
  display: inline-block;
  vertical-align: middle;
}


/* Swiper Navigationspfeile in Rot */
.swiper-button-next,
.swiper-button-prev {
  color: var(--accent) !important; /* dein Akzentrot */
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Services (groß) */
.services-feature { padding-top: 40px; }
.services-feature .section-title { margin-bottom: 18px; }

.services-grid{
  display:grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 22px;
}
.service-item{
  display:block;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-decoration:none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-height: 160px;
}
.service-item:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.18);
}
.service-item .svc-ic{
  width: 42px; height: 42px;
  color: var(--accent);
  margin-bottom: 10px;
}
.service-item h3{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}
.service-item p{
  margin: 0;
  color: #c7c9cf;
  font-size: 15px;
}

/* Quick-Links (kleiner Block unterhalb) */
.quick-grid{
  display:grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.quick-card{
  display:block;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  text-decoration:none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}
.quick-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}
.quick-card h4{
  color: var(--accent);
  margin: 0 0 6px;
  font-size: 16px;
}
.quick-card p{
  margin: 0; color: #c7c9cf; font-size: 14px;
}

/* Responsive */
@media (max-width: 1100px){
  .services-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px){
  .services-grid{ grid-template-columns: 1fr; }
  .quick-grid{ grid-template-columns: 1fr; }
}

/* die helleren Kachelflächen optisch ein Stück nach unten rücken */
.services-grid{
  margin-top: 12px;                 /* Kacheln etwas tiefer */
}

/* optional: minimaler Drop-Shadow für „schwebenden“ Look */
.service-item{
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.section.services-feature::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -60px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    #1c1d20 0%,
    rgba(12,13,15,0.8) 50%,
    #0c0d0f 100%
  );
  pointer-events: none;
}

/* =========================================
   Services Section – Hintergrund + Fades
   ========================================= */

.section.services-feature {
  background: #1c1d20;      /* dein grauer Bereich */
  padding-top: 90px;        /* wie weit Grau nach oben reicht */
  padding-bottom: 140px;    /* wie weit Grau nach unten reicht */
  position: relative;
  z-index: 1;
}

/* =========================================
   Services Section – perfekter oberer Fade
   ohne schwarzen Rand
   ========================================= */

.section.services-feature {
  background: #1c1d20;          /* dein Grau */
  padding-top: 140px;           /* wie hoch Grau nach oben greift */
  padding-bottom: 140px;
  position: relative;
  z-index: 2;
}

/* Weicher Übergang VON Hero ZU Grau */
.section.services-feature::before {
  content: "";
  position: absolute;
  top: -160px;                  /* Fade beginnt höher */
  left: 0;
  right: 0;
  height: 200px;                /* längerer Übergang */
  background: linear-gradient(
    to bottom,
    rgba(12,13,15,0) 0%,        /* unsichtbar */
    rgba(28,29,32,0.35) 45%,    /* leicht grau */
    rgba(28,29,32,1) 100%       /* voll grau */
  );
  pointer-events: none;
  z-index: -1;
}

.section.services-page {
  background: #1c1d20;      /* dein grauer Bereich */
  padding-top: 90px;        /* wie weit Grau nach oben reicht */
  padding-bottom: 140px;    /* wie weit Grau nach unten reicht */
  position: relative;
  z-index: 1;
}

/* Weicher Übergang VON Hero ZU Grau */
.section.services-page::before {
  content: "";
  position: absolute;
  top: -160px;                  /* Fade beginnt höher */
  left: 0;
  right: 0;
  height: 200px;                /* längerer Übergang */
  background: linear-gradient(
    to bottom,
    rgba(12,13,15,0) 0%,        /* unsichtbar */
    rgba(28,29,32,0.35) 45%,    /* leicht grau */
    rgba(28,29,32,1) 100%       /* voll grau */
  );
  pointer-events: none;
  z-index: -1;
}

/* Seite Dienstleistungen */

.services-page {
  background: #1c1d20;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.service-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.service-line:last-of-type {
  border-bottom: none;
}

.service-line h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.service-line p {
  margin: 0 0 6px;
  color: #d0d2d7;
}

.service-line ul {
  margin: 0;
  padding-left: 18px;
  color: #c4c6cc;
  font-size: 14px;
}

.service-line li + li {
  margin-top: 2px;
}

.service-icon {
  width: 32px;
  height: 32px;
  margin-top: 4px;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

/* rechte Spalte mit Bild */

.services-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.storage-figure {
  margin: 0;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}

.storage-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.storage-figure figcaption {
  padding: 10px 14px 12px;
  font-size: 14px;
  color: #d0d2d7;
}

.services-note h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--accent);
}

.services-note p {
  margin: 0;
  font-size: 14px;
  color: #d0d2d7;
}

/* Garantien-Block */

.guarantees {
  background: #0c0d0f;
}

.guarantees-inner {
  max-width: 800px;
  margin: 0 auto;
}

.guarantees h2 {
  margin-bottom: 8px;
}

.guarantees p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #d0d2d7;
}

.guarantees ul {
  margin: 0;
  padding-left: 18px;
  color: #c4c6cc;
  font-size: 14px;
}

.guarantees li + li {
  margin-top: 4px;
}

/* Responsiv */

@media (max-width: 992px) {
  .services-detail-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .services-aside {
    order: -1; /* Bild/Teaser über den Text bei Tablet/Mobil */
  }
}

@media (max-width: 600px) {
  .service-line {
    grid-template-columns: minmax(0,1fr);
  }
  .service-icon {
    margin-bottom: -4px;
  }
}


/* Erfahrung / Counter Box */
.experience-box {
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), rgba(0,0,0,0.25));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  margin-top: 20px;
}

.exp-label {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.exp-number {
  font-size: 62px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.section.quick-links {
  background: #0c0d0f;
}

.section.sticky-grid {
  background: #0c0d0f;
  position: relative;
  z-index: 1;
}


/* Eleganter horizontaler Divider */
.section-divider {
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

.section-divider::before {
  content: "";
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,.15);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.section-divider span {
  position: relative;
  padding: 0 14px;
  background: #0c0d0f;  /* Hintergrund deiner Seite */
  color: #d0d2d7;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* Renovation - 4 Bilder nebeneinander */
.renovation-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0 20px;
}

.renovation-gallery figure {
  margin: 0;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}

.renovation-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* schneidet minimal ab, damit alle gleich groß wirken */
}

/* Responsiv */
@media (max-width: 1000px) {
  .renovation-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .renovation-gallery {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   Galerie, Store & Rechtliches
   Hellen Hintergrund-Band entfernen
   Hero/Logo bleibt unverändert
   ========================================= */

/* Pseudo-Elemente entfernen, die das helle Band erzeugen */
.page-galerie .section::before,
.page-galerie .section::after,
.page-store  .section::before,
.page-store  .section::after,
.page-rechtliches .section::before,
.page-rechtliches .section::after{
  background: none !important;
}

/* Falls body/main mit Pseudo-Hintergrund arbeitet */
.page-galerie body::before,
.page-galerie body::after,
.page-store  body::before,
.page-store  body::after,
.page-rechtliches body::before,
.page-rechtliches body::after{
  display: none !important;
  content: none !important;
}

/* Einheitlicher Seitenhintergrund */
.page-galerie,
.page-store,
.page-rechtliches{
  background: #0c0d0f;
}

/* Spezifisch für Rechtliches-Content (nur falls nötig) */
.page-rechtliches .legal-section,
.page-rechtliches .content,
.page-rechtliches main{
  background: transparent !important;
}


/* Partner-Sektion kompakter machen */
.section.partners {
  padding-top: 22px;      /* vorher vermutlich höher */
  padding-bottom: 28px;   /* vorher vermutlich höher */
}

.section.partners h2,
.section.partners .section-title {
  margin-bottom: 12px;    /* Titel-Abstand reduzieren */
}


/* Aktive Sprache im Dropdown hervorheben */
.lang-menu button.is-active {
  font-weight: 700;
  color: var(--accent);
}

.lang-menu button.is-active::after {
  content: " ✓";
  font-weight: 700;
}

/* Label im Button sauber ausrichten */
#langCurrent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* Galerie – Kartenoptik entfernen, Bild = Element */
.gallery-slider .slide,
.gallery-grid .item {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 14px;
  box-shadow: none !important;
}

/* Bild selbst steuert die Optik */
.gallery-slider img,
.gallery-grid img {
  display: block;
  height: 260px;          /* einheitliche Höhe */
  width: auto;            /* Breite passt sich dem Foto an */
  max-width: 100%;
  object-fit: contain;    /* nichts wird abgeschnitten */
  background: transparent;
}

.gallery-slider .slide {
  background: rgba(0,0,0,0.10);
  backdrop-filter: blur(6px);
}

/* Einheitliche Galerie-Kachel */
.gallery-grid,
.gallery-section .swiper-wrapper {
  align-items: stretch;
}

/* Die Karten/Slides haben fixe Höhe */
.gallery-item,
.gallery-section .swiper-slide {
  height: 260px;                 /* ggf. 240–320 anpassen */
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);  /* dezent, nicht weiss */
  border: 1px solid rgba(255,255,255,0.06);
}

/* Bild passt in die Höhe, wird aber nicht abgeschnitten */
.gallery-item img,
.gallery-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;            /* wichtig */
  object-position: center;
  display: block;
}


.gallery-item,
.gallery-section .swiper-slide {
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
}

.gallery-item img,
.gallery-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* füllt immer */
  object-position: center;
  display: block;
}

.gallery-item img,
.gallery-section .swiper-slide img {
  background: rgba(0,0,0,0.15);
}

/* =========================
   Mobile Header / Navigation
   ========================= */
@media (max-width: 820px){
  .site-header{
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .site-header .container{
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    padding: 10px 14px;
  }

  /* Brand etwas kompakter */
  .brand-name{
    display: none;
  }
  .brand-logo{
    width: 28px;
    height: 28px;
  }

  /* Nav bekommt eigene Zeile + bleibt sauber bedienbar */
  .nav{
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }

  /* Scrollbar ausblenden (bleibt trotzdem scrollbar) */
  .nav::-webkit-scrollbar{ display:none; }
  .nav{ scrollbar-width: none; }

  .nav-link,
  .lang-btn{
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 14px;
  }

  /* Dropdown-Menü nicht abgeschnitten */
  .lang-menu{
    right: 0;
  }
}

/* ===== Mobile Header Fix: scrollbare Links + fixes Sprachmenu ===== */
.nav { display:flex; align-items:center; gap:12px; }
.nav-links { display:flex; align-items:center; gap:16px; }

.lang { position:relative; flex:0 0 auto; }
.lang-menu { z-index:9999; } /* sicher über Hero/Overlays */

/* Mobile */
@media (max-width: 820px){
  .site-header .container{
    height:auto;
    padding:10px 0;
    align-items:flex-start;
  }

  /* Nav auf Mobile: Links scrollen, Sprache bleibt rechts */
  .nav{
    flex:1;
    width:100%;
    gap:10px;
  }

  .nav-links{
    flex:1;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding:6px 0;
  }
  .nav-links::-webkit-scrollbar{ display:none; }

  .nav-link{
    white-space: nowrap;
    padding:10px 12px;
  }

  /* Dropdown Position auf Mobile */
  .lang-menu{
    right:0;
    top: calc(100% + 8px);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding-top: 90px;     /* Abstand unter Header */
    padding-bottom: 20px;
    transform: translateY(-90px); /* <<< DAS ist der Key */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 58vh;   /* statt 72vh */
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    margin-top: 18px;
    gap: 10px;
    flex-direction: column;
  }

  .hero-actions .btn {
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 999px;
    width: auto;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.85;
  }
}


/* =========================
   MOBILE HEADER + DROPDOWN FIX
   ========================= */

.site-header { z-index: 1000; } /* sicher über Hero */

@media (max-width: 768px){

  /* Header kompakter + saubere Ausrichtung */
  .site-header .container{
    height: 72px;
    gap: 10px;
  }

  /* Brand: nur Logo (Name optional ausblenden für Platz) */
  .brand-name{ display:none; }
  .brand-logo{
    width: 34px;
    height: 34px;
  }

  /* Nav Layout: links scrollbare Links, rechts Sprache fix */
  .nav{
    flex: 1;
    min-width: 0;                /* wichtig, sonst kein overflow */
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
  }

  .nav-links{
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;            /* horizontal scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    flex: 1;
  }
  .nav-links::-webkit-scrollbar{ display:none; }

  .nav-link{
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 10px 12px;
  }

  .lang{
    flex: 0 0 auto;
    position: relative;
  }

  /* Dropdown: nicht "unter" dem Header verschwinden -> fixed Popover */
  .lang-menu{
    position: fixed;             /* KEY FIX für iOS/Sticky Issues */
    top: 80px;                   /* knapp unter Header */
    right: 12px;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    max-height: 60vh;
    overflow: auto;

    z-index: 3000;               /* über allem */
    border-radius: 16px;
  }
}


/* iPad / Tablet Querformat: Hero-Inhalt wieder nach oben holen */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero{
    min-height: 62vh;           /* etwas kleiner, damit Inhalt Platz hat */
    padding: 18px 0;            /* etwas Luft */
  }

  .hero-inner{
    bottom: 0 !important;       /* falls irgendwo bottom:-... drin ist */
    padding: 28px 16px !important;
    margin-top: 0 !important;
  }

  .hero-actions{
    margin-top: 14px !important;
    gap: 10px !important;
  }

  .btn{
    padding: 12px 18px !important;
    font-size: 15px !important;
  }
}

/* iPad (Tablet) Querformat: sticky-grid Bild full-bleed ohne weisse Ränder */
@media (max-width: 1024px) and (orientation: landscape) {

  /* Container soll nicht begrenzen */
  .sticky-grid .container{
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* Grid darf volle Breite nutzen */
  .sticky-grid .grid2{
    gap: 16px;              /* nach Geschmack */
  }

  /* Bild-Rahmen entfernen */
  .sticky-grid .sticky-col img{
    width: 100%;
    height: 52vh;           /* nach Geschmack: 45–60vh */
    object-fit: cover;      /* wichtig: keine Ränder, dafür evtl. minimaler Crop */
    border-radius: 0;       /* damit keine "Karten-Ecken" entstehen */
    border: 0;
    display: block;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .sticky-grid .sticky-col{
    overflow: hidden;
    border-radius: 18px; /* behält runde Ecken */
    background: #0b0c0f; /* statt hell/weiss */
  }

  .sticky-grid .sticky-col img{
    border-radius: 0;    /* Radius sitzt auf dem Container, nicht auf dem Bild */
    border: 0;
    width: 100%;
    height: 52vh;
    object-fit: cover;
    display: block;
  }
}

/* Laptop / kleinere Höhen: Hero-Text nicht nach unten schieben */
@media (max-height: 820px) {
  .hero-inner{
    bottom: 0 !important;
  }
}
