@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300&display=swap');

:root {
  --teal:        #05A887;
  --teal-dark:   #038a6e;
  --bronze:      #D78B34;
  --blau:      #275df8;
  --gray-light:  #EBF0F0;
  --white:       #FFFFFF;
  --black:       #030203;

  --bg:          #030203;
  --surface:     #0d0d0d;
  --surface2:    #161616;
  --text:        #eef3f2;
  --text-dim:    #637070;
  --border:      rgba(5, 168, 135, 0.14);
  --border-dark: rgba(3, 2, 3, 0.1);

  --font:  'Kanit', sans-serif;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ═══════════════════════════════ NAV ════════════════════════════════ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: padding .35s ease, background .35s ease;
}

nav.scrolled {
  padding: .85rem 3rem;
  background: rgba(3, 2, 3, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.nav-brand.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-logo-svg {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.nav-logo-svg:hover { opacity: .8; }

/* Alle Pfade standardmäßig weiß */
.nav-logo-svg path,
.nav-logo-svg polygon { fill: #ffffff; }
/* Bronze-Akzente (Zahnrad-Details) */
.nav-logo-svg .st1 { fill: #D78B34; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: .45rem 1.25rem;
  transition: all .2s;
}
.nav-links .nav-cta:hover {
  background: var(--teal);
  color: var(--white);
}

/* ═══════════════════════════════ HERO ═══════════════════════════════ */

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 58% 42%;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,168,135,.1) 0%, transparent 70%);
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-right {
  position: relative;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-right > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(.35);
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to right, var(--bg) 0%, transparent 35%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp .6s ease .2s forwards;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 2.5rem; height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

.hero-logo-svg-large {
  height: clamp(6rem, 13vw, 16rem);
  width: auto;
  display: block;
  align-self: flex-start;
  margin-left: -1rem;
  margin-bottom: .5rem;
  opacity: 0;
  animation: fadeUp .6s ease .35s forwards;
}
.hero-logo-svg-large path,
.hero-logo-svg-large polygon { fill: #ffffff; }
.hero-logo-svg-large .st1 { fill: #D78B34; }


.hero-subtitle {
  font-weight: 300;
  font-size: clamp(1.3rem, 2.8vw, 2.4rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: .4rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .6s ease .5s forwards;
}

.hero-slogan {
  font-weight: 500;
  font-size: clamp(.95rem, 1.8vw, 1.4rem);
  letter-spacing: .06em;
  color: var(--bronze);
  padding: .7rem 1.2rem;
  border-left: 3px solid var(--bronze);
  background: rgba(215, 139, 52, .06);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .6s ease .65s forwards;
}

.hero-text {
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 420px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .6s ease .8s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp .6s ease .95s forwards;
}

.btn {
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 2rem;
  display: inline-block;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5,168,135,.3);
}
.btn-outline {
  border-color: rgba(238,243,242,.2);
  color: var(--text-dim);
}
.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-contact {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  opacity: 0;
  animation: fadeUp .6s ease 1.1s forwards;
}
.hero-contact-label {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-contact a {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.hero-contact a:hover { color: var(--teal); }

/* ═══════════════════════════════ TICKER ══════════════════════════════ */

.ticker {
  background: var(--teal);
  overflow: hidden;
  padding: .65rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker-item {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  padding: 0 2rem;
}
.ticker-sep {
  color: rgba(255,255,255,.38);
  align-self: center;
  font-size: .65rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════ SHARED ══════════════════════════════ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}

.section-label {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .7rem;
}

.section-title {
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: .93;
  color: var(--text);
}
.section-title.dark { color: var(--black); }

/* ═══════════════════════════════ FEATURES ════════════════════════════ */

#features {
  background: var(--surface);
  padding: 7rem 0;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
}
.features-sub {
  font-weight: 300;
  font-size: .95rem;
  color: var(--text-dim);
  max-width: 360px;
  line-height: 1.85;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface2);
}
.feature-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .5s ease;
  filter: grayscale(20%) brightness(.9);
}
.feature-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(.85);
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,2,3,.92) 0%, rgba(3,2,3,.6) 35%, rgba(3,2,3,.1) 65%, transparent 100%);
  transition: background .4s ease;
}
.feature-card:hover .feature-overlay {
  background: linear-gradient(to top, rgba(3,2,3,.95) 0%, rgba(3,2,3,.65) 38%, rgba(5,168,135,.05) 70%, transparent 100%);
}

.feature-tag {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--white);
  padding: .28rem .75rem;
}

.feature-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
}
.feature-num {
  font-weight: 700;
  font-size: 6rem;
  color: rgba(255,255,255,.04);
  line-height: 1;
  margin-bottom: -.75rem;
}
.feature-name {
  font-weight: 600;
  font-size: 2rem;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.feature-desc {
  font-weight: 300;
  font-size: .85rem;
  color: rgba(238,243,242,.6);
  line-height: 1.7;
}

/* ═══════════════════════════════ LEISTUNGEN ══════════════════════════ */

#leistungen {
  background: var(--gray-light);
  padding: 7rem 0;
}
#leistungen .section-label { color: var(--teal-dark); }

.leistungen-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.leistungen-list { list-style: none; }
.leistungen-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: .95rem;
  font-weight: 400;
  color: rgba(3,2,3,.65);
  transition: color .2s, padding-left .2s;
}
.leistungen-list li:hover {
  color: var(--black);
  padding-left: .4rem;
}
.leistungen-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.leistungen-aside {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.leistungen-card {
  background: var(--white);
  padding: 2.25rem;
  border-left: 3px solid var(--teal);
}
.leistungen-card.blau { border-left-color: var(--blau); }
.leistungen-card.bronze { border-left-color: var(--bronze); }
.leistungen-card-title {
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: .7rem;
}
.leistungen-card p {
  font-weight: 300;
  font-size: .88rem;
  color: rgba(3,2,3,.5);
  margin-bottom: 1rem;
  line-height: 1.85;
}
.stat-num {
  display: block;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--teal);
}
.leistungen-card.bronze .stat-num { color: var(--bronze); }
.stat-label {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(3,2,3,.38);
}

/* ═══════════════════════════════ GALERIE ══════════════════════════════ */

#galerie {
  background: var(--bg);
  padding: 7rem 0;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 280px 180px;
  gap: .625rem;
  margin-top: 4rem;
}
.galerie-item {
  overflow: hidden;
  position: relative;
}
.galerie-item:nth-child(1) { grid-column: span 2; }
.galerie-item:nth-child(6) { grid-column: span 3; }

.galerie-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(.82);
  transition: filter .5s ease, transform .5s ease;
}
.galerie-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,168,135,0);
  transition: background .4s ease;
  pointer-events: none;
}
.galerie-item:hover img {
  filter: grayscale(0%) brightness(.88);
  transform: scale(1.04);
}
.galerie-item:hover::after { background: rgba(5,168,135,.07); }

/* ═══════════════════════════════ KONTAKT ══════════════════════════════ */

#kontakt {
  background: var(--surface);
  padding: 7rem 0;
}

.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
}

.info-block { margin-bottom: 2.25rem; }
.info-block:last-child { margin-bottom: 0; }

.info-label {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .7rem;
}

.info-value {
  font-size: .98rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.95;
}
.info-value a {
  text-decoration: none;
  color: var(--text);
  transition: color .2s;
}
.info-value a:hover { color: var(--teal); }

.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  font-weight: 300;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.hours-list li span:first-child { font-weight: 400; color: var(--text); }

.payment-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.payment-tag {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: .28rem .75rem;
}

.map-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.map-card-bg {
  position: absolute;
  font-weight: 700;
  font-size: 7.5rem;
  color: rgba(5,168,135,.04);
  line-height: 1;
  bottom: -.5rem; right: -.5rem;
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
}
.map-address-main {
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.map-zip {
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-dim);
  margin-top: .3rem;
  position: relative;
  z-index: 1;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(5,168,135,.35);
  padding-bottom: .35rem;
  transition: gap .2s, border-color .2s;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}
.map-link:hover {
  border-color: var(--teal);
  gap: 1rem;
}

/* ═══════════════════════════════ FOOTER ═══════════════════════════════ */

footer {
  background: var(--black);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

/* ═══════════════════════════════ INNER PAGES ══════════════════════════ */

.page-hero {
  padding: 10rem 3rem 5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .9;
  color: var(--text);
  margin-top: .75rem;
}

.page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 3rem 8rem;
}
.page-body h2 {
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 3rem;
  margin-bottom: .75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.page-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.page-body p,
.page-body li {
  font-weight: 300;
  font-size: .95rem;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: .75rem;
}
.page-body ul { list-style: none; padding: 0; }
.page-body ul li::before { content: '— '; color: var(--teal); }
.page-body a { color: var(--teal); text-decoration: none; }
.page-body a:hover { text-decoration: underline; }
.page-body strong { color: var(--text); font-weight: 500; }

/* ═══════════════════════════════ ANIMATIONS ═══════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ═══════════════════════════════ RESPONSIVE ═══════════════════════════ */

@media (max-width: 960px) {
  nav, nav.scrolled { padding-left: 2rem; padding-right: 2rem; }
  .container { padding: 0 2rem; }

  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 7rem 2rem 4rem; }
  .features-header { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .leistungen-layout { grid-template-columns: 1fr; gap: 3rem; }

  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 260px 220px 220px 180px; }
  .galerie-item:nth-child(1) { grid-column: span 2; }
  .galerie-item:nth-child(6) { grid-column: span 2; }

  .kontakt-layout { grid-template-columns: 1fr; gap: 3rem; }

  footer { padding: 1.5rem 2rem; }
  .page-hero { padding: 8rem 2rem 4rem; }
  .page-body { padding: 4rem 2rem 6rem; }
}

@media (max-width: 640px) {
  nav, nav.scrolled { padding-left: 1.5rem; padding-right: 1.5rem; }
  .container { padding: 0 1.5rem; }

  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(3,2,3,.97);
    gap: 2.5rem;
    z-index: 250;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }

  #features, #leistungen, #galerie, #kontakt { padding: 5rem 0; }

  .features-grid { grid-template-columns: 1fr; }

  .galerie-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .galerie-item { height: 220px; grid-column: span 1 !important; }

  footer { flex-direction: column; text-align: center; padding: 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-body { padding: 3rem 1.5rem 5rem; }
}
