/* ============================================================
   RETECH SWISS AG – Frontend
   Minimalistisches Schweizer Design, angelehnt an den Stil
   klassischer Architekturbüro-Websites (weiss, dünne Schrift).
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #555555;
  --line: #e3e3e3;
  --soft: #f7f7f6;
  --white: #ffffff;
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------------------------------------------------------------- Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* Logo sitzt links neben den Nav-Links (in der Navigationszeile) */
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
}

.logo-img {
  height: 96px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  flex: none;
}

.logo-mark {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--ink);
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* E-Mail & Telefon auf Navigationshöhe (zwischen Links und CTA) */
.navbar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 13.5px;
}

.navbar-mail,
.navbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-mail:hover,
.navbar-phone:hover {
  color: var(--ink);
}

.navbar-mail .icon,
.navbar-phone .icon {
  width: 16px;
  height: 16px;
}

/* Navigationszeile: Logo | Links | Kontakt | CTA | Burger */
.navbar {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 12px var(--pad);
}

.navbar .logo {
  align-self: center;
}

.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.nav > li {
  position: relative;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 13px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.2s;
}

/* CTA & Kontakt im mobilen Menü (Desktop versteckt) */
.nav-cta,
.nav-contact {
  display: none !important;
}

.navbar-cta {
  flex: none;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

.nav a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav a:not(.active) {
  opacity: 0.75;
}

/* CTA-Button & Kontakt-Links im Menü nie abdunkeln (sonst unlesbar) */
.nav > .nav-cta > a {
  opacity: 1;
  color: var(--white);
}

.nav > .nav-cta > a:hover {
  color: var(--white);
}

.nav > .nav-contact > a {
  opacity: 1;
}

.caret {
  font-size: 9px;
}

/* Dropdown (Projekte) */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: none;
  z-index: 50;
  list-style: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: none;
  border-top: 1px solid var(--line);
  opacity: 0.85;
}

.dropdown li:first-child a {
  border-top: none;
}

.dropdown a:hover {
  opacity: 1;
  background: var(--soft);
}

/* Burger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color 0.2s;
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}

.text-link:hover {
  border-color: var(--ink);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  height: min(82vh, 760px);
  min-height: 520px;
  overflow: hidden;
  background: var(--soft);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-img.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.hero-dot::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s;
}

.hero-dot.active::before,
.hero-dot:hover::before {
  background: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 42%, rgba(255, 255, 255, 0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-inline: var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero-box {
  max-width: 640px;
  animation: fadeUp 0.9s ease both;
}

.hero-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 400;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 16px;
  color: #3a3a3a;
  margin-bottom: 34px;
  max-width: 540px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------- Sektionen */
.section {
  padding-block: clamp(60px, 9vw, 110px);
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 44px;
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: #2b2b2b;
}

.empty {
  color: var(--muted);
  padding: 30px 0;
}

/* Intro / Über uns */
.intro-section {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.intro-grid .lead {
  margin-bottom: 26px;
}

/* Kerndienstleistungen */
.core-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.core-item {
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}

.core-index {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 18px;
}

.core-item h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.core-item p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------------------------------------------------------------- Dienstleistungen */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  transition: background 0.25s;
}

.service-item:hover {
  background: var(--soft);
}

.service-icon {
  color: var(--ink);
  opacity: 0.85;
}

.service-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.1;
}

.service-title {
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.service-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.services-grid-wide .service-item {
  padding: 44px 30px;
}

/* ---------------------------------------------------------------- Projekte */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.project-card {
  animation: fadeUp 0.8s ease both;
}

.project-media {
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 4 / 3;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.project-card:hover .project-media img {
  transform: scale(1.045);
}

.project-caption {
  padding-top: 18px;
}

.project-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}

.project-sub {
  font-size: 14px;
  color: var(--muted);
}

.project-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

/* Projekt-Detail */
.project-detail-hero {
  height: min(58vh, 560px);
  overflow: hidden;
  background: var(--soft);
}

.project-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.project-detail-info h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 10px;
}

.project-facts {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.project-facts div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.project-facts dt {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11.5px;
  align-self: center;
}

.project-detail-text .lead {
  margin-bottom: 34px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------------------------------------------------------------- Werte */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 40px;
}

.value-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.value-item h3 {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 12px;
}

.value-item p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 40px;
}

.team-media {
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
  background: var(--soft);
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.7s;
}

.team-card:hover .team-media img {
  transform: scale(1.04);
}

.team-caption {
  padding-top: 18px;
}

.team-caption h3 {
  font-size: 18px;
  font-weight: 400;
}

.team-role {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- CTA */
.cta-section {
  background: var(--ink);
  color: var(--white);
}

.cta-section .section-label {
  color: #a8a8a8;
}

.cta-section .lead {
  color: #cfcfcf;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.cta-section .btn-dark {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.cta-section .btn-dark:hover {
  background: transparent;
  color: var(--white);
}

.cta-section .btn-outline {
  border-color: #666;
  color: var(--white);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---------------------------------------------------------------- Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--ink);
}

.field ::placeholder {
  color: #6f6f6f;
  opacity: 0.7;
}

.form-hint {
  font-size: 12.5px;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Kontakt-Info */
.contact-info {
  border: 1px solid var(--line);
  padding: 36px 32px;
}

/* Google Maps (2-Klick) */
.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
}

.map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

.map-pin .icon {
  width: 36px;
  height: 36px;
  color: var(--muted);
}

.map-placeholder-text {
  font-size: 15px;
  line-height: 1.5;
}

.map-privacy {
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
}

.map-privacy a {
  text-decoration: underline;
  display: inline-block;
  padding: 4px 0;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 22px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14.5px;
}

.contact-list .icon {
  margin-top: 3px;
  color: var(--muted);
}

.contact-list span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-list a {
  border-bottom: 1px solid transparent;
  display: inline-block;
  padding: 4px 0;
}

.contact-list a:hover {
  border-bottom-color: var(--ink);
}

/* Flash */
.flash {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 22px;
  margin-bottom: 30px;
  font-size: 14.5px;
}

.flash .icon {
  width: 20px;
  height: 20px;
}

.flash-success {
  background: #eef7ef;
  border: 1px solid #bfe2c2;
  color: #1e5c2b;
}

.flash-title {
  font-weight: 500;
  margin-bottom: 4px;
}

/* ---------------------------------------------------------------- Page-Hero (Unterseiten) */
.page-hero {
  padding-block: clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 720px;
}

/* ---------------------------------------------------------------- Prosa */
.prose {
  max-width: 760px;
  color: #2b2b2b;
}

.prose h2 {
  font-size: 24px;
  margin: 40px 0 14px;
}

.prose p {
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 70px) var(--pad) 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: 50px;
}

.footer-brand {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.footer-head {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col p a:hover,
.footer-nav a:hover,
.footer-social a:hover {
  color: var(--ink);
}

/* Ausreichend grosse Touch-Targets (min. 24 px) */
.footer-nav a,
.footer-social a {
  display: inline-block;
  padding: 6px 0;
}

.footer-col p a {
  display: inline-block;
  padding: 4px 0;
}

.footer-nav {
  list-style: none;
  display: grid;
  gap: 2px;
}

.footer-social {
  display: grid;
  gap: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-bottom a {
  display: inline-block;
  padding: 8px 0;
}

/* ---------------------------------------------------------------- Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbFade 0.25s ease;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font);
  padding: 12px 8px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid #444;
  color: #fff;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: #fff;
}

.lightbox-prev { left: 26px; }
.lightbox-next { right: 26px; }

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1500px) {
  /* Bei engeren Desktops nur Telefon zeigen (E-Mail bleibt im Menü) */
  .navbar-mail { display: none; }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .intro-grid,
  .project-detail-grid,
  .contact-grid,
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-actions { justify-content: flex-start; }
  .core-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Navigation klappt ein – Logo bleibt links neben dem Burger */
  .navbar {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 10px var(--pad);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .navbar-cta,
  .navbar-contact {
    display: none;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 30;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }

  .nav.open {
    display: flex;
  }

  .nav > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: block !important;
    border-bottom: none !important;
    padding: 16px 0 8px;
  }

  .nav-cta .btn {
    width: 100%;
  }

  /* Kontaktdaten im mobilen Menü */
  .nav-contact {
    display: grid !important;
    gap: 4px;
    padding: 14px 0;
    border-bottom: none !important;
  }

  .nav-contact a {
    justify-content: flex-start;
    padding: 8px 4px;
    font-size: 13.5px;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .nav a {
    display: flex;
    justify-content: space-between;
    padding: 15px 4px;
    border: none;
  }

  .has-dropdown .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    min-width: 0;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 12px 4px 12px 20px;
  }
}

@media (max-width: 720px) {
  .logo-img { height: 68px; max-width: 180px; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }

  /* Hero als echte Slideshow: Bild dominiert, Text unten */
  .hero {
    height: 88vh;
    max-height: 720px;
    min-height: 540px;
  }
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.05) 42%,
      rgba(255, 255, 255, 0.9) 86%,
      rgba(255, 255, 255, 0.98) 100%
    );
  }
  .hero-inner {
    align-items: flex-end;
    padding-bottom: 58px;
  }
  .hero-box {
    max-width: 100%;
    padding-top: 30px;
  }
  .hero-label {
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
    margin-bottom: 14px;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .hero-dots {
    bottom: 20px;
  }
  .hero-dot::before {
    background: rgba(0, 0, 0, 0.28);
  }
  .hero-dot.active::before,
  .hero-dot:hover::before {
    background: var(--ink);
  }

  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
