

/* =========================================================
   LAMontage - styles.css
   Diese Datei ist nur für das Design zuständig.
   Hier liegen Farben, Abstände, Layouts und Responsive Design.
   ========================================================= */

/* ---------- 1. Grundvariablen ----------
   Wenn du später Farben ändern willst, am besten hier anfangen. */
:root {
  --primary: #0077B6;
  --primary-dark: #023E8A;
  --navy: #011627;
  --steel: #5E6C78;
  --light-steel: #E8EEF2;
  --white: #FFFFFF;
  --text: #1F2933;
  --muted: #64748B;
  --border: #D7DEE5;
  --danger: #B00020;
  --shadow: 0 16px 40px rgba(1, 22, 39, 0.14);
  --soft-shadow: 0 10px 26px rgba(1, 22, 39, 0.08);
  --radius: 20px;
  --container: 1180px;
  --transition: 180ms ease;
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "Roboto Mono", "Courier New", monospace;
}

/* ---------- 2. Reset / Basis ----------
   Entfernt Standard-Abstände vom Browser und macht das Layout berechenbarer. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(135deg, rgba(94, 108, 120, 0.09) 0 1px, transparent 1px 14px);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Wenn das Menü offen ist, soll die Seite dahinter nicht scrollen. */
body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

/* Standard-Container: sorgt dafür, dass Inhalt nicht zu breit wird. */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* =========================================================
   3. Header / obere Leiste
   ========================================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 222, 229, 0.9);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: min(300px, 58vw);
  height: auto;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.menu-button:hover,
.menu-button:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(0, 119, 182, 0.13);
  transform: translateY(-1px);
  outline: none;
}

/* Drei Linien vom Hamburger-Icon. */
.hamburger span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Wenn das Menü offen ist, werden die Linien zum X. */
.menu-button[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   4. Linkes Seitenmenü
   ========================================================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(1, 22, 39, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  width: min(86vw, 370px);
  height: 100vh;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(1, 22, 39, 0.97), rgba(2, 62, 138, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 240ms ease;
}

.side-nav.open {
  transform: translateX(0);
}

.side-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 38px;
}

.side-logo {
  width: 230px;
  filter: brightness(0) invert(1);
}

.close-menu {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}

.close-menu:hover,
.close-menu:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
  outline: none;
}

.side-nav ul {
  display: grid;
  gap: 12px;
  list-style: none;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.side-nav a::after {
  content: "→";
  font-family: var(--font-mono);
  opacity: 0.72;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateX(4px);
  outline: none;
}

.side-nav-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

/* =========================================================
   5. Hero / Startbereich
   ========================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 128px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(1, 22, 39, 0.88), rgba(2, 62, 138, 0.62)),
    url("assets/images/baustelle-02.jpeg") center / cover no-repeat;
  position: relative;
  isolation: isolate;
}

/* Weicher Übergang vom Hero in den weißen Bereich darunter. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.96));
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  text-align: center;
  margin-inline: auto;
}

.eyebrow,
.kicker {
  font-family: var(--font-mono);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(0, 119, 182, 0.24);
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 16px 30px rgba(0, 119, 182, 0.34);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   6. Allgemeine Sektionen
   ========================================================= */
.section {
  padding: 88px 0;
}

.section-header {
  max-width: 820px;
  margin-bottom: 42px;
}

.kicker {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 0.82rem;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================================================
   7. Leistungs-Karten
   ========================================================= */
.services-section {
  background: rgba(232, 238, 242, 0.42);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 119, 182, 0.3);
  box-shadow: var(--shadow);
}

.service-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-family: var(--font-mono);
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.service-card p,
.project-body p {
  color: var(--muted);
}

/* =========================================================
   8. Beispielbaustellen / Bildergalerie
   ========================================================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 119, 182, 0.3);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Die ersten 3 Karten werden etwas stärker betont. */
.featured-card img {
  aspect-ratio: 4 / 3.2;
}

.project-body {
  padding: 24px;
}

/* Tags unter den Projektkarten */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 13px;
  border-radius: 999px;

  background: #f1f7fc;
  color: #1f5f94;
  border: 1px solid #d7e7f4;

  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.1px;
  text-transform: none;

  box-shadow: none;
}

/* =========================================================
   9. FAQ Akkordeon
   ========================================================= */
.faq-section {
  background: rgba(232, 238, 242, 0.45);
}

.faq-wrapper {
  max-width: 900px;
}

.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-question::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-mono);
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
  background: var(--primary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--muted);
}

/* =========================================================
   10. Kontaktformular
   ========================================================= */
.contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 238, 242, 0.58));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-box {
  position: sticky;
  top: 104px;
  padding: 32px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--primary-dark));
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box .kicker {
  color: var(--white);
}

.contact-box p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 13px;
  list-style: none;
}

.contact-list a,
.contact-list span {
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
}

.contact-list strong {
  display: block;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.12);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.error {
  min-height: 20px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 0.86rem;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--primary-dark);
  font-weight: 900;
}

/* =========================================================
   11. Footer
   ========================================================= */
.footer {
  padding: 60px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(rgba(1, 22, 39, 0.97), rgba(1, 22, 39, 0.97)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 32px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  width: 260px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer a {
  color: rgba(255, 255, 255, 0.76);
  transition: color var(--transition);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
  outline: none;
}

/* Footer: Soziale Medien Buttons reparieren */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: auto;
  width: auto;
  height: auto;

  padding: 9px 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);

  color: #ffffff;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;

  transition: 0.2s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

/* =========================================================
   12. Zurück-nach-oben Button
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 119, 182, 0.32);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--primary-dark);
  outline: none;
}

/* =========================================================
   13. Responsive Design
   Ab 920px und 640px wird die Seite für Tablet/Handy angepasst.
   ========================================================= */
@media (max-width: 920px) {
  .service-grid,
  .project-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    position: static;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-logo {
    width: min(240px, 66vw);
  }

  .hero {
    padding-top: 118px;
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-box {
    padding: 24px;
  }

  .side-logo,
  .footer-logo {
    width: 220px;
  }
}
.contact-box .kicker,
.contact-list strong {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

/* Eyebrow-Text schöner machen */
.eyebrow {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase;
  line-height: 1.2 !important;
}

/* Kleine gelbe/komische Überschriften im Kontaktbereich fixen */
.contact-info small,
.contact-info .kicker,
.contact-info .eyebrow,
.contact-info .label,
.contact-info .contact-label,
.contact-info span,
.contact-info strong {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase;
  line-height: 1.2 !important;
}













/* Rechtliche Unterseiten: Impressum & Datenschutz */
.legal-section {
  padding-top: 150px;
  background: #f7fbff;
}

.legal-container {
  max-width: 980px;
}

.legal-container h1 {
  margin: 0 0 28px;
  color: #061f35;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid rgba(0, 89, 156, 0.14);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 22px 60px rgba(6, 31, 53, 0.08);
}

.legal-card h2 {
  margin: 32px 0 12px;
  color: #061f35;
  font-size: 22px;
  line-height: 1.25;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 16px;
  color: #526783;
  font-size: 16px;
  line-height: 1.75;
}

.legal-card a {
  color: #0077b6;
  font-weight: 700;
  text-decoration: none;
}

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

.legal-note {
  margin-top: 34px !important;
  padding: 16px 18px;
  border-radius: 16px;
  background: #eef7fc;
  color: #1f5f94 !important;
  border: 1px solid #d7e7f4;
}

.header-back {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .legal-section {
    padding-top: 120px;
  }

  .topbar-inner {
    gap: 16px;
  }

  .header-back {
    padding: 10px 14px;
    font-size: 13px;
  }
}