* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f4f0;
  color: #15171c;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 6%;
  background: #090a0c;
  color: #ffffff;
}

.brand {
  display: block;
  flex: 0 0 auto;
  margin-right: auto;
  text-decoration: none;
}

.brand img {
  width: 220px;
  max-height: 74px;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a,
footer a {
  color: #e6cc91;
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: #ffffff;
}

.cta,
button {
  display: inline-block;
  border: 0;
  padding: 12px 18px;
  background: #c7a86a;
  color: #090a0c;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.cta:hover,
button:hover {
  background: #e6cc91;
}

.outline {
  display: inline-block;
  border: 1px solid #c7a86a;
  padding: 11px 18px;
  color: #ffffff;
  text-decoration: none;
}

.outline:hover {
  background: #c7a86a;
  color: #090a0c;
}

.hero {
  display: flex;
  min-height: 760px;
  padding: 120px 9%;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.90), rgba(9, 10, 12, 0.25)),
    url("v-klasse-8.jpeg") center / cover no-repeat;
}

.hero h1 {
  max-width: 850px;
  margin: 16px 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
}

.hero > p:first-child {
  color: #e6cc91;
  letter-spacing: 3px;
}

.hero > p:not(:first-child) {
  max-width: 620px;
  font-size: 18px;
}

.content {
  max-width: 1100px;
  min-height: 300px;
  margin: auto;
  padding: 70px 7%;
}

.content h2 {
  font-family: Georgia, serif;
  font-size: 42px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards article {
  border-top: 2px solid #c7a86a;
  padding: 22px;
  background: #ffffff;
}

.image-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.image-section img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 50px;
  margin-bottom: 48px;
}

.about-intro img {
  width: 100%;
  height: auto;
  border-bottom: 4px solid #c7a86a;
}

.eyebrow {
  color: #9a793d;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2.5px;
}

.about-intro h2 {
  margin-top: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

.service-card {
  overflow: hidden;
  border-top: 2px solid #c7a86a;
  background: #ffffff;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  margin-right: 22px;
  margin-left: 22px;
}

form {
  display: grid;
  max-width: 650px;
  gap: 15px;
}

label {
  display: grid;
  gap: 5px;
}

input,
textarea {
  border: 1px solid #bbbbbb;
  padding: 12px;
  font: inherit;
}

details {
  margin: 12px 0;
  border-left: 2px solid #c7a86a;
  padding: 18px;
  background: #ffffff;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

.notice {
  border: 1px solid #a71925;
  padding: 20px;
  background: #fff5f5;
}

footer {
  padding: 45px 7%;
  background: #090a0c;
  color: #dddddd;
  line-height: 2;
}

#menu {
  display: none;
}

.hidden-field{display:none}.consent{grid-template-columns:auto 1fr;align-items:start}.consent input{width:auto;margin:6px 4px 0 0;padding:0}.consent a{color:#71591f;text-underline-offset:3px}

.language-switcher{position:relative;flex:0 0 auto}.language-toggle{display:flex;align-items:center;gap:9px;min-width:145px;border:1px solid rgba(230,204,145,.55);padding:10px 12px;background:transparent;color:#fff;font-size:13px}.language-toggle:hover,.language-toggle:focus-visible{border-color:#e6cc91;background:rgba(199,168,106,.12);outline:0}.language-toggle svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.5}.chevron{margin-left:auto;transition:transform .2s}.language-switcher.open .chevron{transform:rotate(180deg)}.language-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:10;width:205px;border:1px solid rgba(199,168,106,.38);padding:7px;background:#111318;box-shadow:0 18px 45px rgba(0,0,0,.38);opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .18s,transform .18s}.language-switcher.open .language-menu{opacity:1;pointer-events:auto;transform:none}.language-option{display:flex;align-items:center;width:100%;padding:10px 11px;background:transparent;color:#f6f4f0;font-size:14px;font-weight:500;text-align:left}.language-option:hover,.language-option:focus-visible{background:rgba(199,168,106,.14);color:#e6cc91;outline:0}.language-option .check{display:none;margin-left:auto;color:#e6cc91}.language-option.active .check{display:block}.rtl .language-menu{right:auto;left:0}.rtl .language-option{text-align:right}.rtl .language-option .check{margin-right:auto;margin-left:0}

/* Compact floating language control */
header {
  padding-right: 86px;
}

.language-switcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
}

.language-toggle {
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 0;
  border: 1px solid rgba(230, 204, 145, 0.45);
  border-radius: 50%;
  padding: 0;
  background: rgba(9, 10, 12, 0.68);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.language-toggle:hover,
.language-toggle:focus-visible,
.language-switcher.open .language-toggle {
  background: rgba(25, 27, 31, 0.9);
  transform: translateY(-1px);
}

.language-toggle svg {
  width: 23px;
}

.language-toggle .language-current,
.language-toggle .chevron {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.language-menu {
  top: 58px;
}

.rtl .language-menu {
  right: 0;
  left: auto;
}

@media (max-width: 800px) {
  header {
    flex-wrap: wrap;
    padding-right: 72px;
  }

  .language-switcher {
    top: 14px;
    right: 14px;
  }

  .language-toggle {
    width: 44px;
    height: 44px;
  }

  .brand img {
    width: 180px;
    max-height: 60px;
  }

  #menu {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .language-switcher{order:2}.language-toggle{min-width:0}header>.cta{order:3}nav{order:4}

  header.open nav {
    display: flex;
  }

  .hero {
    min-height: 650px;
    padding: 80px 7%;
  }

  .cards,
  .gallery,
  .image-section,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro {
    gap: 28px;
  }

  .cta,
  .outline {
    margin-top: 10px;
  }
}
