*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0a7c6e;
  --teal-dark: #085f54;
  --teal-light: #e6f4f2;
  --sand: #f7f3ee;
  --dark: #1c2827;
  --text: #2d3a38;
  --text-muted: #5a6e6b;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10,124,110,.1);
  --shadow-lg: 0 8px 48px rgba(10,124,110,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(28, 40, 39, 0.95);
  backdrop-filter: blur(12px);
  transition: background .3s, box-shadow .3s;
}

header.scrolled {
  background: rgba(28, 40, 39, 0.98);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
}

.logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#main-nav a {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
#main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,80,70,.85) 0%, rgba(28,40,39,.6) 60%, rgba(10,80,70,.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  color: var(--white);
}

.hero-eyebrow {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-content h1 span { color: #5dd8c8; }

.hero-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: .5px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10,124,110,.3);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10,124,110,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* ── CONTACT BAR ── */
.contact-bar {
  background: var(--teal);
  padding: .75rem 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 2rem;
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.contact-bar-item:hover { color: var(--white); }
.contact-bar-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }

.section-teal {
  background: var(--dark);
  color: var(--white);
}
.section-teal h2 { color: var(--white); }
.section-teal .section-eyebrow { color: #5dd8c8; }
.section-teal p { color: rgba(255,255,255,.8); }

.section-sand { background: var(--sand); }

.section-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--dark);
  letter-spacing: -.5px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ── TWO COL (Philosophie) ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.two-col-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.two-col-img::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 3px solid var(--teal);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  z-index: -1;
}

.two-col-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .6s;
}
.two-col-img:hover img { transform: scale(1.03); }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .2s, background .2s, border-color .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
  border-color: rgba(93,216,200,.4);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(10,124,110,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #5dd8c8;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .8rem;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.service-card li {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  padding-left: 1.2rem;
  position: relative;
}

.service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #5dd8c8;
  font-size: .8rem;
}

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-main img { height: 100%; min-height: 300px; }

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(28,40,39,.8), transparent);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  padding: 1.5rem .8rem .6rem;
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .gallery-label { opacity: 1; }

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.team-card.featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}

.team-info {
  padding: 1.8rem;
}

.team-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .3rem;
}

.team-role {
  color: var(--teal);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem !important;
}

.team-info p { color: var(--text-muted); font-size: .95rem; }

.team-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.team-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .4s;
}
.team-photo:hover img { transform: scale(1.04); }

/* ── JOBS ── */
.jobs-inner {
  display: grid;
  gap: 2.5rem;
}

.jobs-text p { margin-bottom: 1rem; }

.jobs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.jobs-block {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.jobs-block h4 {
  color: #5dd8c8;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jobs-block ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }

.jobs-block li {
  padding-left: 1.4rem;
  position: relative;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}

.jobs-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5dd8c8;
  font-weight: 700;
}

.jobs-cta { justify-self: start; margin-top: .5rem; }

/* ── KONTAKT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; stroke: var(--teal); }

.contact-item strong { display: block; color: var(--dark); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .2rem; }
.contact-item > div { line-height: 1.45; }
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--teal); }

.map-placeholder {
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(10,124,110,.15);
  aspect-ratio: 4/3;
}

.map-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
  color: var(--dark);
  text-align: center;
  padding: 2rem;
  transition: background .2s;
}

.map-link:hover { background: var(--teal-light); color: var(--dark); }

.map-link svg { width: 48px; height: 48px; stroke: var(--teal); }
.map-link span { font-size: 1.1rem; font-weight: 600; }
.map-link small { color: var(--teal); font-weight: 600; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1) opacity(.7);
  margin-bottom: .8rem;
}

.footer-brand p {
  font-size: .9rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,.45);
}

.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s;
}
.footer-insta:hover { color: #e1306c; }
.footer-insta svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1.5rem;
}

.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
}

.footer-col li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--teal);
}

.footer-col li svg[fill="currentColor"] { fill: var(--teal); stroke: none; }

.footer-col a {
  color: rgba(255,255,255,.65);
  transition: color .2s;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--white); }

.footer-nav { gap: .6rem !important; }
.footer-nav a { font-size: .9rem; }

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: var(--white) !important;
  padding: .6rem 1.2rem;
  border-radius: 2rem;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.footer-wa-btn:hover {
  background: #1ebe5c;
  transform: translateY(-1px);
  color: var(--white) !important;
}
.footer-wa-btn svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255,255,255,.3);
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 60px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #25d366;
  color: var(--white);
  padding: .85rem 1.4rem .85rem 1.1rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  color: var(--white);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; border-radius: 50%; }
}

/* ── IMPRESSUM/DATENSCHUTZ ── */
.legal-page {
  max-width: 760px;
  margin: 5rem auto 4rem;
  padding: 0 1.5rem;
}

.legal-page h1 { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; color: var(--dark); }
.legal-page p, .legal-page address { font-style: normal; margin-bottom: 1rem; color: var(--text-muted); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  color: var(--teal);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col-img { order: -1; }
  .two-col-img::before { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-main { grid-column: 1 / 3; }
}

/* Mobile nav overlay — lives outside header so backdrop-filter doesn't bleed */
#mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  #main-nav { display: none !important; }

  #mobile-nav {
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1c2827;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    z-index: 199;
  }
  #mobile-nav.open { display: flex; }
  #mobile-nav a { font-size: 1.3rem; font-weight: 600; color: var(--white); text-decoration: none; }
  #mobile-nav a:hover { color: #5dd8c8; }
  #mobile-nav .nav-cta {
    background: var(--teal) !important;
    color: var(--white) !important;
    padding: .7rem 1.5rem;
    border-radius: 2rem;
    text-align: center;
    margin-top: .5rem;
  }
  .nav-toggle { display: flex; }

  .hero-content h1 { font-size: 3rem; }

  .section { padding: 4rem 0; }

  .jobs-cards { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-main { grid-column: 1/3; }

  .team-photos { grid-template-columns: 1fr 1fr; }

  .contact-bar { gap: .5rem 1.5rem; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-main { grid-column: 1; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
