:root{
  /* Corporate Design */
  --tf-gold:#c7ad6a; /* TF_Gold */
  --tf-gold-dark:#a88d4f;
  --tf-black:#0a0a0a;
  --tf-white:#ffffff;
  --tf-off:#f7f7f7;
  --tf-gray:#161616;
  --tf-line:rgba(199,173,106,.35);

  --radius:18px;
  --radius-sm:12px;

  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --shadow-soft: 0 10px 28px rgba(0,0,0,.18);

  --container: min(1140px, 92vw);
  --nav-h: 78px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--tf-white);
  background: radial-gradient(1200px 800px at 30% -10%, rgba(199,173,106,.18), transparent 60%),
              radial-gradient(1000px 600px at 90% 0%, rgba(199,173,106,.10), transparent 55%),
              var(--tf-black);
  line-height: 1.6;
}

h1,h2,h3,h4,.brand{
  font-family:"Varta","Roboto",sans-serif;
  letter-spacing:.04em;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.page{
  padding-top: var(--nav-h);
}

.container{
  width: var(--container);
  margin: 0 auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--tf-line);
  background: rgba(255,255,255,.06);
  color: var(--tf-white);
  transition: .25s ease;
  cursor:pointer;
  user-select:none;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.09);border-color:rgba(199,173,106,.55)}
.btn:active{transform:translateY(0px)}
.btn--gold{
  background: linear-gradient(90deg, rgba(199,173,106,.95), rgba(168,141,79,.95));
  color: #0b0b0b;
  border-color: rgba(199,173,106,.9);
  box-shadow: 0 14px 30px rgba(199,173,106,.18);
}
.btn--gold:hover{filter:saturate(1.05);transform:translateY(-1px)}
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.16);
}
.btn--small{padding:10px 14px;font-size:.92rem}

.badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:.84rem;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(199,173,106,.35);
  background: rgba(199,173,106,.10);
  color: rgba(255,255,255,.92);
}

.kicker{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.82rem;
  color: rgba(255,255,255,.78);
}

.section{
  padding: 90px 0;
}
.section--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 22px;
  margin-bottom: 34px;
}
.section-title h2{
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  line-height:1.15;
}
.section-title p{
  margin-top:10px;
  color: rgba(255,255,255,.78);
  max-width: 120ch;
}
.gold-line{
  width:72px;height:3px;background:var(--tf-gold);
  border-radius:99px;margin-top:12px;
  box-shadow: 0 0 0 1px rgba(199,173,106,.15);
}

/* NAV */
.nav{
  position:fixed; inset:0 0 auto 0;
  height: var(--nav-h);
  z-index: 999;
  background: rgba(10,10,10,.80);
  border-bottom: 1px solid rgba(199,173,106,.25);
  backdrop-filter: blur(10px);
}

/* FULL width (nicht in container) */
.nav-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 5vw;   /* Abstand zum Bildschirmrand */
}

/* Logo links */
.brand-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-logo{ height:34px; width:auto; }

/* Alles rechts: Menü + Buttons */
.nav-right{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Menü */
.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  list-style:none;
}

.nav-links a{
  font-size:.92rem;
  color: rgba(255,255,255,.86);
  padding: 10px 12px;
  border-radius: 10px;
  transition:.2s ease;
}

.nav-links a:hover{
  background: rgba(255,255,255,.06);
  color: var(--tf-white);
}

.nav-links a.active{
  color: var(--tf-gold);
  background: rgba(199,173,106,.10);
  border:1px solid rgba(199,173,106,.22);
}

/* Buttons rechts */
.nav-cta{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn--tiny{
  padding: 6px 8px;
  font-size: .85rem;
  line-height: 1;
  border-radius: 999px;
}

.theme-toggle{
  margin-left: 6px;   /* kleiner Abstand */
  opacity: .75;
}
.theme-toggle:hover{
  opacity: 1;
}
@media (max-width: 980px){

  /* NAV darf höher werden auf Mobile */
  :root{
    --nav-h: 112px;   /* vorher 78px -> jetzt 2 Zeilen Platz */
  }

  .nav{
    height: var(--nav-h);
  }

  /* 2 Reihen: (Logo+Toggle) oben, Links unten */
  .nav-inner{
    height: 100%;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 10px;
    column-gap: 10px;
  }

  /* Logo oben links */
  .brand-wrap{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  /* Toggle oben rechts */
  .theme-toggle{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-left: 0;
    justify-self: end;
  }

  /* nav-right “auflösen”, damit UL nicht blockiert */
  .nav-right{
    display: contents;
  }

  /* Links unten, KEIN scroll, sondern wrap */
  .nav-links{
    grid-column: 1 / 3;
    grid-row: 2 / 3;

    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;

    overflow: visible;
    white-space: normal;
  }

  .nav-links li{
    flex: 0 0 auto;
  }

  /* Links kompakter */
  .nav-links a{
    padding: 7px 10px;
    font-size: .84rem;
    border-radius: 999px;
  }

  /* Logo bisschen kleiner */
  .brand-logo{
    height: 30px;
  }
  /* Toggle klein */
  .btn--tiny{
    padding: 6px 8px;
    font-size: .82rem;
  }
}

.checkbox-row{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.88rem;
  color: rgba(255,255,255,.82);
  cursor:pointer;
}

.checkbox-row input{
  width:16px;
  height:16px;
  accent-color: var(--tf-gold);
}

/* HERO  */
.hero{
  position:relative;
  min-height: calc(100vh - var(--nav-h));
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero-logo{
  width: min(560px, 78vw);
  margin: 0 auto;
  filter: drop-shadow(0 18px 45px rgba(0,0,0,.55));
  transform: translateX(-6%);
}
.hero-media{
  position:absolute; inset:0;
  z-index:-2;
}
.hero--photo{
  position:relative;
  min-height: calc(100vh - var(--nav-h));
  display:grid;
  place-items:center;
  overflow:hidden;

  background-image: url("assets/homepage.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:0;
  background: rgba(0,0,0,.55);
}
.hero-content{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero-claim{
  color: var(--tf-gold);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  margin-top: 8px;
}
.hero h1{
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.05;
}
.hero p{
  margin: 14px auto 26px;
  max-width: 70ch;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
}
.hero-actions{
  display:flex;
  justify-content:flex-start;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.scroll-cue{
  margin-top: 32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;height:46px;
  border-radius:999px;
  border: 1px solid rgba(199,173,106,.35);
  background: rgba(10,10,10,.35);
  color: var(--tf-gold);
  animation: bounce 2.1s infinite;
}
@keyframes bounce{
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* GRID / CARDS */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr; /* SYMMETRISCH */
  gap: 32px;
  align-items:stretch;
}

.grid-2 > .card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.figure-wrap{
  background:#ffffff;
  border-radius: var(--radius-sm);
  padding:16px;
  border:1px solid rgba(199,173,106,.18);
  display:flex;
  align-items:center;
  justify-content:center;

  min-height:360px;
}

.figure-wrap img{
  max-width:100%;
  max-height:320px;
  object-fit:contain;
}
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.card-pad{padding: 26px}
.card h3{font-size:1.15rem}
.card p{color: rgba(255,255,255,.80); margin-top: 8px}

.card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* 1) MARKT: nicht auf Ablauf-Höhe strecken -> weniger Leerraum unten */
.section--soft .grid-2{
  align-items: start; /* KEY */
}

/* Markt soll NICHT künstlich in die Höhe gezogen werden */
.card--market{
  display:block;
}

/* 2) WERTE: 2 Spalten (Desktop) -> Card wird kürzer */
.values-list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* letzte Karte (Klarheit) über volle Breite */
.values-list .value-item:last-child{
  grid-column: 1 / -1;
}

/* Buttons unten in Werte-Card */
.values-actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 3) PYRAMIDE: weniger Leere + Bild etwas grösser */
.card--figure .figure-wrap{
  min-height: 340px;   /* weniger leer */
}
.card--figure .figure-wrap img{
  max-height: 340px;   /* etwas grösser */
  width:auto;
}

/* Mobile */
@media (max-width: 980px){
  .values-list{ grid-template-columns: 1fr; }
  .values-list .value-item:last-child{ grid-column: auto; }
}
.usps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 980px){.usps{grid-template-columns:1fr}}
.usp{
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(199,173,106,.18);
}
.usp .icon{
  width: 38px; height: 38px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(199,173,106,.14);
  border: 1px solid rgba(199,173,106,.22);
  margin-bottom: 10px;
}
.usp h4{font-size:1.02rem}
.usp p{font-size:.95rem;color:rgba(255,255,255,.78);margin-top:6px}

.stats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat{
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  text-align:center;

  min-height: 110px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 6px;
}

.stat .num{
  font-family:"Varta","Roboto",sans-serif;
  color: var(--tf-gold);
  font-size: 1.18rem;
  letter-spacing:.03em;
  line-height: 1.15;
}

.stat .lbl{
  color: rgba(255,255,255,.74);
  font-size: .92rem;
  line-height: 1.25;
}

/* für lange Texte wie Adresse */
.stat--address .num{
  font-size: 1.05rem;
  letter-spacing: .01em;
}


/* Reviews */
.review{
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.review .meta{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom: 8px;
}
.stars{color: var(--tf-gold); letter-spacing: .12em}
.review .name{font-weight:600}
.review .when{color:rgba(255,255,255,.65);font-size:.9rem}
.review p{color:rgba(255,255,255,.82);font-size:.95rem;margin-top:8px}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
/* Services */
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 980px){
  .service-grid{grid-template-columns:1fr}
}
@media (max-width: 980px){.service-grid{grid-template-columns:1fr}}
.service{
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(199,173,106,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  transition: .25s ease;
}
.service:hover{transform: translateY(-3px); border-color: rgba(199,173,106,.42)}
.service-top{
  display:flex;align-items:center;gap:12px;
  margin-bottom: 10px;
}
.service-ico{
  width: 42px;height:42px;border-radius: 14px;
  display:grid;place-items:center;
  background: rgba(199,173,106,.14);
  border: 1px solid rgba(199,173,106,.22);
}
.service h3{font-size:1.08rem}
.service p{color: rgba(255,255,255,.78); font-size:.95rem}

/* Forms */
.form{
  display:grid;
  gap: 12px;
}
.field{
  display:grid;
  gap: 6px;
}
label{font-size:.9rem;color:rgba(255,255,255,.82)}
input, select, textarea{
  width:100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,10,10,.45);
  color: var(--tf-white);
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(255,255,255,.55)}
textarea{min-height:130px;resize:vertical}

.helper{
  font-size:.88rem;color:rgba(255,255,255,.70);
}
.note{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(199,173,106,.18);
  background: rgba(199,173,106,.10);
  color: rgba(255,255,255,.86);
}

/* Auth layout */
.auth-shell{
  min-height: calc(100vh - var(--nav-h));
  display:grid;
  place-items:center;
  padding: 40px 0 70px;
}
.auth-card{
  width: min(980px, 92vw);
  display:grid;
  grid-template-columns: 1fr 1fr;
  overflow:hidden;
}
@media (max-width: 980px){.auth-card{grid-template-columns:1fr}}
.auth-left{
  padding: 34px;
  background:
    radial-gradient(700px 420px at 30% 10%, rgba(199,173,106,.20), transparent 60%),
    rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.10);
}
.auth-right{padding: 34px; background: rgba(0,0,0,.22)}
.tabs{
  display:flex; gap: 10px;
  margin: 14px 0 18px;
}
.tab{
  flex:1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  cursor:pointer;
}
.tab.active{
  background: rgba(199,173,106,.18);
  border-color: rgba(199,173,106,.38);
  color: var(--tf-gold);
}
.smallprint{
  font-size: .82rem;
  color: rgba(255,255,255,.68);
  margin-top: 10px;
}

/* Portal */
.portal-grid{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
}
@media (max-width:980px){.portal-grid{grid-template-columns:1fr}}
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
}
.table th, .table td{
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align:left;
  font-size:.95rem;
}
.table th{color: rgba(255,255,255,.80); background: rgba(255,255,255,.04)}
.table td{color: rgba(255,255,255,.86)}
.table tr:last-child td{border-bottom:none}

/* =========================
   Footer
========================= */
.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 58px 0 22px;
  background: rgba(0,0,0,.40);
}
.footer-grid{
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr 0.8fr 0.8fr;
  column-gap: 32px;
  row-gap: 32px;
  align-items: start;

  max-width: 1100px;
  margin: 0 auto;
}

/* Logo-Spalte */
.footer-logoCol{
  display:flex;
  align-items:flex-start;
}

.footer-logo{
  height: 52px;
  width: auto;
  display:block;
}

/* Standorte */
.footer-locations strong{
  display:block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.90);
}

.footer-locations p{
  margin: 6px 0;
  color: rgba(255,255,255,.72);
}

/* Headings (statt inline style) */
.footer h4{
  margin: 0;
  color: rgba(255,255,255,.72);
  font-weight: 600;
}

/* Links / Text */
.footer a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
.footer a:hover{
  color: var(--tf-gold);
}
.footer p{
  color: rgba(255,255,255,.72);
}

/* Bottom */
.footer .mini{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
  color: rgba(255,255,255,.62);
  text-align: center;
}

/* =========================
   Responsive
========================= */

/* Tablet: 2 Spalten Layout */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 28px;
    max-width: 720px;
  }

  /* Logo über die ganze Breite */
  .footer-logoCol{
    grid-column: 1 / -1;
  }
}

/* Handy: alles untereinander */
@media (max-width: 560px){
  .footer-grid{
    grid-template-columns: 1fr;
    max-width: 92vw;
    row-gap: 22px;
  }

  .footer-logo{
    height: 62px;
  }
}

/* Utilities */
.mt-8{margin-top:8px}
.mt-12{margin-top:12px}
.mt-18{margin-top:18px}
.mt-24{margin-top:24px}
.center{text-align:center}

.contact-card{
  display:flex;
  flex-direction:column;
}

.contact-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 12px;
}

.contact-item{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  display:grid;
  gap: 4px;
}

.contact-key{
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.contact-val{
  font-size: 1.02rem;
  color: rgba(255,255,255,.90);
}

.contact-link{
  color: var(--tf-gold);
}
.contact-link:hover{
  text-decoration: underline;
}

.contact-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-social{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge--link{
  cursor:pointer;
}
.badge--link:hover{
  border-color: rgba(199,173,106,.55);
  background: rgba(199,173,106,.14);
}

.value-item{
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(199,173,106,.08);
  border: 1px solid rgba(199,173,106,.18);
}

.value-item h4{
  font-size: 1rem;
  color: var(--tf-gold);
  margin-bottom: 6px;
  letter-spacing: .04em;
}

.value-item p{
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
/* ===== CONTACT extras ===== */
.contact-flow{
  max-width: 980px;
  margin: 24px auto 0;
}
/* CONTACT INFO: Buttons + Social mittig */
.contact-card .contact-actions,
.contact-card .contact-social { justify-content: center; }
.contact-card .helper { text-align: center; }

/* Optional: Text darunter auch mittig */
#contact-info .helper{
  text-align: center;
}
#contact-info .contact-card{
  max-width: 760px;
  margin: 0 auto 24px auto; /* unten 24px Abstand */
}
.form-grid{
  gap: 14px;
}

.map-frame{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}

.locations-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.location-card{
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(199,173,106,.18);
}

.location-title{
  font-weight: 700;
  color: var(--tf-gold);
  letter-spacing: .03em;
  margin-bottom: 8px;
}

.location-text{
  color: rgba(255,255,255,.86);
  line-height: 1.5;
}

/* Legal (details/summary) */
.legal{
  display:grid;
  gap: 12px;
}

.legal-item{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}

.legal-item summary{
  cursor:pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  list-style: none;
}

.legal-item summary::-webkit-details-marker{ display:none; }

.legal-body{
  padding: 0 16px 16px;
  color: rgba(255,255,255,.80);
}

.legal-body h4{
  font-size: 1rem;
  color: rgba(255,255,255,.92);
  margin-top: 12px;
}

.legal-list{
  margin: 10px 0 0 18px;
  color: rgba(255,255,255,.80);
}

.legal-content{
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255,255,255,.80);
  line-height: 1.7;
}

.legal-content h4{
  font-size: 1.1rem;
  color: var(--tf-gold);
  margin-top: 18px;
}

.legal-content p{
  margin: 12px 0;
}

.legal-content ul{
  margin: 10px 0 0 18px;
}

/* Light theme fixes */
body.light .location-card{
  background: #fff;
  border: 1px solid rgba(26,26,26,.10);
}
body.light .location-text{
  color: rgba(26,26,26,.82);
}
body.light .legal-item{
  background:#fff;
  border: 1px solid rgba(26,26,26,.10);
}
body.light .legal-item summary{
  color: rgba(26,26,26,.92);
}
body.light .legal-body{
  color: rgba(26,26,26,.78);
}
body.light .legal-list{
  color: rgba(26,26,26,.78);
}
body.light .legal-content{
  color: rgba(26,26,26,.78);
}

@media (max-width: 980px){
  .locations-grid{ grid-template-columns: 1fr; }
}
/* =========================
   PREMIUM LIGHT THEME (warm / pastel / gold) — SAFE
   Wirkt NUR wenn <body class="light"> gesetzt ist.
   ========================= */
body.light{
  /* semantische Farben */
  --bg: #fbf7ef;
  --bg2:#f6efe3;
  --surface:#ffffff;
  --surface-soft:#fff7ea;
  --text:#1a1a1a;
  --muted: rgba(26,26,26,.72);
  --muted2: rgba(26,26,26,.58);
  --border: rgba(26,26,26,.10);
  --gold-border: rgba(199,173,106,.35);

  color: var(--text);
  background:
    radial-gradient(1200px 800px at 25% -10%, rgba(199,173,106,.22), transparent 60%),
    radial-gradient(900px 650px at 95% 0%, rgba(199,173,106,.14), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 70%, #f3eadb 100%);
}

/* ---------- GLOBAL TEXT FIXES (weil Dark überall rgba(255,255,255,...) nutzt) ---------- */
body.light h2,
body.light h3,
body.light h4{
  color: var(--text) !important;
}
body.light h1{
  color: #ffffff !important;
}
body.light .kicker,
body.light .section-title p,
body.light .card p,
body.light .usp p,
body.light .service p,
body.light .review p,
body.light .review .when,
body.light .helper,
body.light .smallprint,
body.light .footer p,
body.light .footer a{
  color: var(--muted) !important;
}

body.light .scroll-cue{
  background: rgba(199,173,106,.18);
  border: 1px solid rgba(199,173,106,.55);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  color: rgba(26,26,26,.85);
}

/* ---------- NAV ---------- */
body.light .nav{
  background: rgba(255,250,242,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
body.light .nav-links a{
  color: rgba(26,26,26,.82);
}
body.light .nav-links a:hover{
  background: rgba(199,173,106,.14);
  color: var(--text);
}
body.light .nav-links a.active{
  color: var(--text);
  background: rgba(199,173,106,.22);
  border: 1px solid rgba(199,173,106,.35);
}

/* ---------- BUTTONS ---------- */
body.light .btn{
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  color: var(--text);
}
body.light .btn:hover{
  background:#fff;
  border-color: rgba(199,173,106,.55);
}
body.light .btn--ghost{
  background: transparent;
  border-color: rgba(26,26,26,.16);
  color: rgba(26,26,26,.86);
}
body.light .btn--gold{
  background: linear-gradient(90deg, rgba(199,173,106,.95), rgba(168,141,79,.95));
  color: #111;
  border-color: rgba(199,173,106,.85);
  box-shadow: 0 14px 30px rgba(199,173,106,.18);
}
body.light .theme-toggle{
  border-color: rgba(26,26,26,.16);
}

/* ---------- SECTIONS ---------- */
body.light .section--soft{
  background: linear-gradient(180deg, rgba(199,173,106,.12), rgba(255,255,255,.78));
  border-top: 1px solid rgba(26,26,26,.06);
  border-bottom: 1px solid rgba(26,26,26,.06);
}

/* ---------- CARDS ---------- */
body.light .card{
  background: var(--surface);
  border: 1px solid rgba(26,26,26,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

/* ---------- USP ---------- */
body.light .usp{
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(199,173,106,.28);
}
body.light .usp .icon{
  background: rgba(199,173,106,.20);
  border: 1px solid rgba(199,173,106,.35);
}

/* ---------- BADGE ---------- */
body.light .badge{
  border: 1px solid rgba(199,173,106,.42);
  background: rgba(199,173,106,.18);
  color: rgba(26,26,26,.80);
}

/* ---------- STATS ---------- */
body.light .stat{
  background:#fff;
  border: 1px solid rgba(26,26,26,.08);
}
body.light .stat .lbl{
  color: var(--muted2) !important;
}

/* ---------- SERVICES (FIX: vorher waren Texte weiss auf hellem BG) ---------- */
body.light .service{
  background: #ffffff;
  border: 1px solid rgba(26,26,26,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
body.light .service:hover{
  border-color: rgba(199,173,106,.45);
}
body.light .service h3{
  color: var(--text) !important;
}
body.light .service p{
  color: var(--muted) !important;
}
body.light .service-ico{
  background: rgba(199,173,106,.18);
  border: 1px solid rgba(199,173,106,.30);
}

/* ---------- FORMS ---------- */
body.light label{
  color: rgba(26,26,26,.82) !important;
}
body.light input,
body.light select,
body.light textarea{
  background:#fff;
  border: 1px solid rgba(26,26,26,.14);
  color: var(--text);
}
body.light input::placeholder,
body.light textarea::placeholder{
  color: rgba(26,26,26,.45);
}

/* ---------- CONTACT (FIX: links waren dunkel/grau) ---------- */
body.light .contact-item{
  background:#fff;
  border: 1px solid rgba(26,26,26,.10);
}
body.light .contact-key{
  color: rgba(26,26,26,.58) !important;
}
body.light .contact-val{
  color: rgba(26,26,26,.88) !important;
}
body.light .contact-link{
  color: rgba(168,141,79,.95);
}

/* ---------- REVIEWS ---------- */
body.light .review{
  background:#fff;
  border: 1px solid rgba(26,26,26,.10);
}
body.light .stars{
  color: rgba(168,141,79,.95);
}

/* ---------- AUTH (FIX: auth-right war dunkel) ---------- */
body.light .auth-left{
  background:
    radial-gradient(700px 420px at 30% 10%, rgba(199,173,106,.18), transparent 60%),
    #ffffff;
  border-right: 1px solid rgba(26,26,26,.10);
}
body.light .auth-right{
  background:#fff;
}
body.light .tab{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(26,26,26,.12);
  color: rgba(26,26,26,.84);
}
body.light .tab.active{
  background: rgba(199,173,106,.22);
  border-color: rgba(199,173,106,.35);
  color: rgba(26,26,26,.92);
}

/* ---------- TABLE (Portal) ---------- */
body.light .table{
  border: 1px solid rgba(26,26,26,.10);
}
body.light .table th{
  background: rgba(199,173,106,.14);
  color: rgba(26,26,26,.78) !important;
  border-bottom: 1px solid rgba(26,26,26,.10);
}
body.light .table td{
  color: rgba(26,26,26,.86) !important;
  border-bottom: 1px solid rgba(26,26,26,.08);
}

/* ---------- NOTE ---------- */
body.light .note{
  background: rgba(199,173,106,.18);
  border: 1px solid rgba(199,173,106,.30);
  color: rgba(26,26,26,.84) !important;
}
body.light .hero-overlay{
  background:
          linear-gradient(to bottom, rgba(255,248,236,.10), rgba(255,248,236,.04)),
          rgba(0,0,0,.32);
}
body.light .hero p{
  color: rgba(26,26,26,.74) !important;
}
body.light .hero-claim{
  color: rgba(168,141,79,.95) !important;
}
body.light .hero-logo{
  filter:
          drop-shadow(0 2px 0 rgba(255,255,255,.22))
          drop-shadow(0 26px 60px rgba(0,0,0,.72))
          drop-shadow(0 8px 22px rgba(0,0,0,.35))
          contrast(1.18)
          saturate(1.12);
}
body.light .scroll-cue{
  background: var(--tf-gold);      /* SOLID GOLD */
  border: 1px solid var(--tf-gold-dark);
  color: #111;                     /* dunkler Pfeil für Kontrast */
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

body.light .scroll-cue:hover{
  background: var(--tf-gold-dark);
  border-color: var(--tf-gold-dark);
}

/* ---------- FOOTER ---------- */
body.light .footer{
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(246,239,227,.96));
  border-top: 1px solid rgba(26,26,26,.08);
}
body.light .footer a:hover{
  color: var(--tf-gold);
}
body.light .footer .mini{
  color: rgba(26,26,26,.55) !important;
}

@media (max-width: 980px){

  /* verhindert horizontales “leer rechts”/overflow */
  html, body { overflow-x: hidden; }

  /* ALLE 2/3-Spalten Grids auf 1 Spalte */
  .grid-2{ grid-template-columns: 1fr !important; }
  .grid-3{ grid-template-columns: 1fr !important; }
  .service-grid{ grid-template-columns: 1fr !important; }
  .footer-grid{ grid-template-columns: 1fr !important; }
  .portal-grid{ grid-template-columns: 1fr !important; }
  .auth-card{ grid-template-columns: 1fr !important; }

  /* Sections etwas tighter */
  .section{ padding: 56px 0; }

  /* Hero Logo nicht nach links schieben auf Mobile */
  .hero-logo{
    transform: none !important;
    width: min(420px, 86vw);
  }

  /* Hero Buttons zentrieren */
  .hero-actions{
    justify-content: center;
  }
}

/* ===== PARTNER LOGOS ===== */
.partners {
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid rgba(199,173,106,.18);
  transition: .25s ease;
  aspect-ratio: 16 / 7;
}

.partner-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(199,173,106,.55);
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.light .partner-logo {
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

body:not(.light) .partner-logo:hover {
  border-color: rgba(199,173,106,.65);
  box-shadow: 0 8px 22px rgba(199,173,106,.12);
}

@media (max-width: 980px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}