/* ============================================================
   DT BauPro GmbH - Stylesheet
   Typo: Barlow Condensed (Display), Barlow (Text), selbst gehostet
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-v13-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-v13-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-v13-latin-regular.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-v13-latin-ext-regular.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-v13-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-v13-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-v13-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-v13-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #1c2634;
  --muted: #55637a;
  --blue: #1d55b0;
  --blue-deep: #143a80;
  --blue-bright: #2e7bd8;
  --navy: #0f2347;
  --navy-deep: #0a1832;
  --paper: #ffffff;
  --putz: #f3f6fa;
  --line: #dfe6ef;
  --radius: 12px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Typo ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  font-family: var(--font-text);
}
p {
  margin: 0 0 1rem;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
}

/* Eyebrow mit den drei Türmen aus der Bildmarke (assets/img/icon-tuerme.svg) */
.eyebrow {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.eyebrow .bars {
  display: block;
  height: 22px;
  width: auto;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  height: 44px;
  width: auto;
}
.brand-name {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name .dt {
  color: #5c6b7a;
}
.brand-name .bp {
  color: var(--blue);
}
.brand-name .gmbh {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-left: 0.3rem;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}
.site-nav a:hover {
  color: var(--blue);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
}
.nav-cta:hover {
  background: var(--blue-deep);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 9px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 85, 176, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--putz);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero h1 {
  color: var(--ink);
}
.hero h1 .blue {
  color: var(--blue);
}
.hero .lead {
  margin-top: 1.4rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}
.hero-register {
  margin-top: 2.2rem;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Skyline-Grafik rechts */
.hero-art {
  justify-self: center;
}
.hero-art svg {
  width: min(100%, 420px);
  height: auto;
  display: block;
}
.hero-art .bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: barGrow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero-art .bar-1 { animation-delay: 0.05s; }
.hero-art .bar-2 { animation-delay: 0.15s; }
.hero-art .bar-3 { animation-delay: 0.25s; }
@keyframes barGrow {
  from {
    transform: scaleY(0);
  }
}
.hero-art .rest {
  animation: fadeIn 0.7s ease 0.45s backwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

/* Leistungs-Ticker */
.ticker {
  background: var(--navy);
  color: #cddcf5;
  overflow: hidden;
  border-block: 1px solid var(--navy-deep);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker ul {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.ticker li::after {
  content: "•";
  margin-left: 2.4rem;
  color: var(--blue-bright);
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.section-head p {
  color: var(--muted);
  margin-top: 1rem;
}
.section-putz {
  background: var(--putz);
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-bright);
  box-shadow: 0 10px 26px rgba(15, 35, 71, 0.08);
}
.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.service-card h3 {
  margin-bottom: 0.4rem;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about .section-head {
  margin-bottom: 1.2rem;
}
.facts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.facts dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0.15rem 0 0;
  font-weight: 500;
}

/* ---------- Kontakt ---------- */
.contact {
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #fff;
}
.contact .eyebrow {
  color: #8fb4e8;
}
.contact .eyebrow .bars {
  /* Die Originalverläufe der Bildmarke sind für hellen Grund gebaut, auf dem
     Navy verliert der dunkelste Turm den Kontrast. Aufhellen statt neu einfärben. */
  filter: brightness(1.4);
}
.contact h2 {
  color: #fff;
}
.contact .section-head p {
  color: #b9c9e2;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.1rem;
}
.contact-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
a.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}
.contact-card svg {
  width: 28px;
  height: 28px;
  color: #7fb0f0;
  margin-bottom: 0.8rem;
}
.contact-card .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa9cf;
  margin-bottom: 0.25rem;
}
.contact-card .value {
  font-size: 1.25rem;
  font-weight: 600;
}
.contact-card .role {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: #8fa9cf;
}
.contact-card .hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #b9c9e2;
}
.contact-card .hint a {
  color: #cfe0f5;
  text-decoration: none;
}
.contact-card .hint a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #a9bad6;
  padding-block: 2.4rem;
  font-size: 0.95rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.footer-brand {
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
}
.footer-brand .gmbh {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #a9bad6;
  text-transform: uppercase;
  margin-left: 0.3rem;
}
.footer-nav {
  display: flex;
  gap: 1.4rem;
}
.site-footer a {
  color: #cdd9ec;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Rechtsseiten ---------- */
.legal {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}
.legal h2 {
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-text);
  font-weight: 600;
  margin: 2.2rem 0 0.6rem;
}
.legal p,
.legal ul {
  color: #3d4a5d;
}
.legal address {
  font-style: normal;
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .hero-art .bar,
  .hero-art .rest {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .about {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.4rem;
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 0.55rem 0;
    font-size: 1.1rem;
  }
  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-mark {
    height: 38px;
  }
}
