@font-face {
  font-family: Ubuntu;
  src: url("../fonts/ubuntu-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Ubuntu;
  src: url("../fonts/ubuntu-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Ubuntu;
  src: url("../fonts/ubuntu-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Ubuntu;
  src: url("../fonts/ubuntu-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #f36639;
  --brand-dark: #e25528;
  --ink: #2f2f2f;
  --muted: #777777;
  --text: #666666;
  --topbar: #2c2c2c;
  --footer: #333333;
  --paper: #ffffff;
  --wash: #f7f7f7;
  --accent: #fff1eb;
  --max: 1120px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: var(--paper);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: block;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.social .icon {
  width: 22px;
  height: 22px;
}

.topbar .social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.topbar .social:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.topbar .social .icon {
  width: 22px;
  height: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar {
  background: var(--topbar);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 0;
}

.topbar a:hover {
  color: #fff;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar .hide-sm {
  display: none;
}

.topbar-full {
  display: none;
}

.brandbar {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.brandbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  background: #fff;
  padding: 10px 12px;
  margin: 10px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
}

.nav-desktop a {
  padding: 24px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: rgba(255, 255, 255, 0.82);
}

.menu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.nav-drawer[hidden] {
  display: none;
}

.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: #fff;
  color: var(--ink);
  padding: 24px 16px;
  transform: translateX(1.5rem);
  opacity: 0;
  transition: 0.2s ease;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .nav-drawer {
  pointer-events: auto;
}

body.menu-open .nav-backdrop {
  opacity: 1;
}

body.menu-open .nav-panel {
  transform: none;
  opacity: 1;
}

.nav-panel h2 {
  color: var(--brand);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.nav-panel a {
  display: block;
  padding: 12px 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

.nav-panel a:hover {
  background: var(--accent);
  color: var(--brand);
}

.nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 72vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: relative;
  padding: 72px 0 96px;
}

.eyebrow,
.kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 300;
}

.hero h1 strong {
  font-weight: 500;
  color: var(--brand);
}

.hero p {
  max-width: 38rem;
  margin: 22px 0 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn-outline {
  background: #fff;
  border-color: #e6e6e6;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.highlights {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  display: grid;
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card svg {
  width: 32px;
  height: 32px;
  color: var(--brand);
  margin-bottom: 14px;
}

.card h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
}

.card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

#start,
#ueber-uns,
#leistungen,
#kontakt {
  scroll-margin-top: 108px;
}

.section-split {
  display: grid;
  gap: 48px;
  align-items: center;
}

.photo {
  position: relative;
}

.photo-frame {
  display: none;
}

.photo img,
.rounded {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.section h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 300;
  color: var(--ink);
}

.lede,
.section p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 14px;
}

.check-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.check-list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--brand);
}

.wash {
  background: var(--wash);
}

.center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.services {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.service {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 32px;
  background: #fff;
}

.service h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}

.service ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 14px;
}

.service li {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 8px;
  flex-shrink: 0;
}

.tuv-bar {
  margin-top: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.tuv-bar svg {
  width: 32px;
  height: 32px;
  color: var(--brand);
  flex-shrink: 0;
}

.tuv-bar p {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  min-height: 180px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.contact-grid {
  display: grid;
  gap: 40px;
}

address {
  font-style: normal;
  margin-top: 28px;
}

.hours {
  margin-top: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-size: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hours div:first-child {
  border-top: 0;
}

.hours div span:last-child {
  color: var(--brand);
  font-weight: 500;
}

.hours dd {
  margin: 0;
  color: var(--brand);
  font-weight: 500;
}

.map-link {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.map-link img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.site-footer {
  background: var(--footer);
  color: #9a9a9a;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding: 56px 0;
}

.site-footer h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer p {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  color: #9a9a9a;
}

.site-footer ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.site-footer li,
.site-footer li a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer li a:hover {
  color: #fff;
}

.site-footer .nav-col a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.site-footer .nav-col a:hover {
  color: var(--brand);
}

.site-footer svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social .social {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-social .social .icon {
  width: 22px;
  height: 22px;
  color: #fff;
}

.footer-social .social:hover {
  background: var(--brand);
  color: #fff;
}

.innung {
  width: 144px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.legal {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.legal h1 {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--ink);
  margin: 10px 0 36px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 12px;
}

.legal p,
.legal li {
  color: #555;
  font-size: 17px;
  line-height: 1.8;
}

.legal a {
  color: var(--brand);
}

.legal a:hover {
  text-decoration: underline;
}

.back {
  display: inline-block;
  margin-top: 40px;
  color: var(--brand);
}

@media (min-width: 640px) {
  .highlights {
    grid-template-columns: 1fr 1fr;
  }

  .check-list {
    grid-template-columns: 1fr 1fr;
  }

  .logo {
    margin: -8px 0 0;
    padding: 14px 14px 12px;
  }

  .logo img {
    height: 48px;
  }

  .topbar .hide-sm {
    display: inline;
  }

  .topbar-full {
    display: block;
  }

  .topbar-short {
    display: none;
  }

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

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .highlights {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-split,
  .contact-grid,
  .footer-grid,
  .services {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section-split.about,
  .section-split.equip,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .photo-frame {
    display: block;
    position: absolute;
    left: -12px;
    top: -12px;
    width: 96px;
    height: 96px;
    border-radius: 24px 0 0 0;
    border-left: 4px solid var(--brand);
    border-top: 4px solid var(--brand);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery .wide {
    grid-column: span 2;
  }

  .gallery .tall {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery .tall img,
  .gallery figure img {
    min-height: 100%;
    height: 100%;
  }

  .map-link img {
    height: 320px;
  }

  .footer-mid {
    text-align: center;
    justify-self: center;
  }
}

#tuev-popup {
  z-index: 999;
  position: fixed;
  bottom: 60px;
  left: 60px;
  width: 240px;
  height: 320px;
}

.tuev-close {
  z-index: 6;
  position: absolute;
  top: -30px;
  left: -30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 100%;
  border: 2px solid #ddd;
  cursor: pointer;
  background: #fff url("../images/TUeV-NORD_HU-Teaser_close_24px.svg") no-repeat center;
  background-size: 18px;
}

.tuev-card {
  position: relative;
  width: 100%;
  height: 100%;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.6),
    6px 5px 30px 0 rgba(0, 0, 0, 0.42);
  background-image: linear-gradient(
    110deg,
    rgb(3, 78, 162) 0%,
    rgba(3, 78, 162, 0.8) 20%,
    rgba(99, 145, 197, 0.6) 80%,
    rgba(99, 145, 197, 0.8) 100%
  );
}

.tuev-mot {
  z-index: 2;
  position: absolute;
  top: -18%;
  left: -20%;
  width: 70%;
  height: auto;
  border-radius: 100%;
  background: orange;
  animation: tuev-spin 30s infinite linear;
}

@keyframes tuev-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tuev-log {
  z-index: 3;
  position: absolute;
  top: 6%;
  right: 3%;
  width: 40%;
  height: auto;
}

.tuev-txt {
  z-index: 5;
  position: absolute;
  bottom: 27%;
  left: 6%;
  width: 88%;
  height: auto;
}

.tuev-btn {
  z-index: 5;
  position: absolute;
  bottom: 7.5%;
  right: 6%;
  width: 55%;
  height: auto;
}

.tuev-link {
  z-index: 6;
  position: absolute;
  top: 0;
  right: 6%;
  width: 55%;
  height: 100%;
  overflow: hidden;
  text-indent: -999px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  #tuev-popup {
    left: 16px;
    bottom: 16px;
    width: 168px;
    height: 224px;
  }

  .tuev-close {
    top: -12px;
    left: auto;
    right: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tuev-mot {
    animation: none;
  }
}
