:root{
  --bg:#0b1220;
  --text:#eaf0ff;
  --muted:#b8c4e6;
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.14);
  --shadow:0 18px 50px rgba(0,0,0,.30);
  --radius:18px;
  --max:1100px;
  --heading-font: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,var(--bg),#070b14);
  color:var(--text);
  line-height:1.55;

  /* Feinschliff: Schrift-Rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography: headings */
.page-title, .section h2, .section h3{
  font-family: var(--heading-font);
  letter-spacing: .01em;
}

/* Header */
.site-header{
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 10;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  pointer-events:none;
}
.site-header a, .site-header button{ pointer-events:auto; }

/* Logo oben rechts */
.brand{
  position:absolute;
  top:0;
  right:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.logo{
  width:210px;
  height:auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

/* Language */
.lang-toggle{
  display:flex;
  gap:8px;
  padding:8px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(11,18,32,.55);
  backdrop-filter: blur(10px);
}
.lang-btn{
  border:0;
  background:transparent;
  color:rgba(234,240,255,.90);
  font-weight:600;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
}
.lang-btn.active{
  background:rgba(255,255,255,.14);
  color:var(--text);
}

/* Language oben links im Hero */
.lang-toggle--hero{
  position:absolute;
  left:18px;
  top:18px;
  z-index:12;
  pointer-events:auto;
}

/* Hero */
.hero{
  position:relative;
  height: min(92vh, 820px);
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
}
.hero-shade{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 70% 15%, rgba(0,0,0,.28), rgba(0,0,0,0)),
    linear-gradient(180deg, rgba(0,0,0,.36), rgba(0,0,0,.10) 55%, rgba(0,0,0,.24));
  z-index:1;
}

/* Hero overlay minimal */
.hero-overlay--minimal{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2;
  max-width: var(--max);
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Facts */
.facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.fact{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(11,18,32,.38);
  backdrop-filter: blur(10px);
  color:rgba(234,240,255,.92);
  font-weight:600;
  font-size:.95rem;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:44px;
  padding:12px 18px;

  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);

  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:.98rem;
  letter-spacing:.005em;
}
.btn:hover{background:rgba(255,255,255,.16)}
.btn.primary{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.22);
}
.btn.ghost{
  background:transparent;
  border-color:rgba(255,255,255,.14);
}

/* Intro */
.intro{
  max-width: var(--max);
  margin: 44px auto 0;
  padding: 0 18px 8px;
  text-align:left;
}
.page-title{
  margin:0 0 10px;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing:.01em;
  max-width:32ch;
}
.intro-lead{
  margin:0;
  font-size: 1.05rem;
  line-height:1.7;
  letter-spacing:.002em;
  max-width:68ch;
}

/* Sections */
.section{
  max-width: var(--max);
  margin: 62px auto;
  padding: 0 18px;
}
.section.alt{
  padding-top: 54px;
  padding-bottom: 54px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}
.section h2{
  margin:0 0 16px;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.18;
  max-width:32ch;
}
.section h3{
  margin:26px 0 10px;
  line-height:1.25;
  max-width:32ch;
}
.section p{
  margin:0 0 14px;
  line-height:1.7;
  letter-spacing:.002em;
  max-width:68ch;
}
.section p:last-child{ margin-bottom:0; }
.muted{color:var(--muted)}
.philosophy{
  font-size:1.2rem;
  font-weight:700;
  margin-top:10px;
}

/* Highlight box */
.highlight-box{
  margin-top:18px;
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* Video */
.video-wrap{
  position:relative;
  max-width: var(--max);
  margin:18px auto 0;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.video-wrap video{
  width:100%;
  height:auto;
  display:block;
  background:#000;
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(0,0,0,.20);
}
.card img{
  width:100%;
  height:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display:block;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform .45s ease;
}
@media (hover: hover){
  .card:hover{ box-shadow: 0 14px 34px rgba(0,0,0,.26); }
  .card:hover img{ transform: scale(1.015); }
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
  align-items: stretch;
}
.contact-card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  padding:18px;

  display:flex;
  flex-direction:column;
  height:100%;
}
.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:auto;
  order:99;
}
/* falls in einer Karte Buttons direkt liegen (ohne .contact-actions wrapper) */
.contact-card > .btn{
  order:99;
  margin-top:auto;
}
.contact-actions .btn{
  min-width:150px;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding: 28px 18px;
  text-align:center;
  color: var(--muted);
}

.footer-links {
  margin-top: 6px;
}

.footer-social {
  margin-top: 6px;
  font-size: 0.95rem;
}

/* Footer links: one consistent rule */
.site-footer a,
.site-footer a:visited{
  color: var(--muted);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 2px 0;
  transition: color .22s ease, opacity .22s ease;
}

/* feine „Underline“-Linie, die weich einblendet */
.site-footer a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1px;
  background: rgba(234,240,255,.70);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s ease;
  opacity:.75;
}

.site-footer a:hover{
  color: var(--text);
}

.site-footer a:hover::after{
  transform: scaleX(1);
}

/* Tastatur-Fokus (barrierefrei, sieht auch edel aus) */
.site-footer a:focus-visible{
  outline: 2px solid rgba(234,240,255,.35);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 980px){
  .logo{ width: 160px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .intro{ text-align:left; }
  .contact-actions .btn{ min-width:0; }
}
@media (max-width: 640px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .section p,
  .intro-lead,
  .page-title,
  .section h2,
  .section h3{
    max-width:none;
  }
}