@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --sidebar-width: 300px;
  --dark: #252525;
  --dark-soft: #252525;
  --accent: #f1a821;
  --text-light: #252525;
  --text-dark: #ffffff;
  --muted: #6c757d;
  --light: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-light);
  background: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}


/* Globale Absatzgröße */
p {
  font-size: 1.02rem;
}

button,
input,
textarea,
select {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.text-success {
    color: var(--accent) !important;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
}

/* Header / Sidebar */
.header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  z-index: 997;
  padding: 28px 18px;
  overflow-y: auto;
  background: var(--dark);
  color: #fff;
  transition: transform 0.3s ease;
}

.header .profile-img {
  width: 250px;
  height: 250px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
}

.header .profile-img img {
  width: 100%;
  height: 100%;
}

.header .logo {
  color: #fff;
  margin-bottom: 30px;
}

.header .sitename {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

/* Navigation */
.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  color: #a8a9b4;
  border-radius: 6px;
}

.navmenu a:hover,
.navmenu a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.navmenu .navicon {
  color: #6f7180;
  font-size: 20px;
}

.navmenu a:hover .navicon,
.navmenu a.active .navicon {
  color: var(--accent);
}

/* Main Layout */
.main,
.footer {
  margin-left: var(--sidebar-width);
}

.section {
  padding: 70px 0;
  scroll-margin-top: 15px;
}

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

.dark-background {
  background: var(--dark-soft);
  color: #fff;
}

.section-title {
  padding-bottom: 35px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.section-title-rights h2 {
  font-size: 2rem; important!;
  font-weight: 700;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.section-title-rights h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 11, 20, 0.9),
    rgba(4, 11, 20, 0.5)
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  color: #f1a821;
}

.hero-card,
.detail-card,
.info-wrap {
  border-radius: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.14);
}

.light-background .detail-card {
  background: #fff;
}

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

.typing-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.typing-text {
    color: #ffffff;
    border-bottom: 2px solid var(--accent);
    font-weight: 500;
}

.typing-cursor {
    color: var(--accent);
    font-weight: 500;
    animation: typingCursorBlink 0.8s step-end infinite;
}

@keyframes typingCursorBlink {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* About / Details */
.about-modern {
  position: relative;
  overflow: hidden;
}

.about-modern .section-title p {
  max-width: 820px;
  margin: 0;
  line-height: 1.75;
  font-size: 1.02rem;
  color: var(--muted);
}

/* Hauptlayout */
.about-modern .about-row {
  row-gap: 32px;
}


.about-modern .about-visual::before {
  content: "";
  position: absolute;
  inset: -10px 10px 10px -10px;
  /*border: 2px solid var(--accent);
  border-radius: 18px;*/
  z-index: 0;
  opacity: 0.65;
}

.about-modern .img-fallback {
  position: relative;
  z-index: 1;
  min-height: 430px;
  border-radius: 18px;
  overflow: hidden;
  /*background: #fff;
  box-shadow: 0 14px 36px rgba(37, 37, 37, 0.12); */
}

.about-modern .img-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  /*object-fit: cover;*/
}

/* Inhaltskarte */
.about-modern .about-content {
  height: 100%;
  padding: 34px;
  /*border: 1px solid rgba(37, 37, 37, 0.08);*/
  border-radius: 18px;
  /*background: #fff;
  box-shadow: 0 14px 36px rgba(37, 37, 37, 0.08); */
}

.about-modern .about-content > h2 {
  margin: 0 0 14px;
  color: var(--text-light);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
}

/*.about-modern .about-intro {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(241, 168, 33, 0.08);
  color: #555;
  font-style: normal !important;
  line-height: 1.7;
}*/

/* Leistungslisten */
.about-modern .about-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-modern .about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 64px;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid rgba(37, 37, 37, 0.07);
  border-radius: 12px;
  background: #fafafa;
  color: var(--text-light);
  line-height: 1.55;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.about-modern .about-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 168, 33, 0.55);
  background: #fff;
  box-shadow: 0 8px 20px rgba(37, 37, 37, 0.08);
}

.about-modern .about-list li i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #252525;
  font-size: 18px;
}

/* Abschluss / Callout */
.about-modern .about-closing {
    margin: 28px 0 0;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--accent);
    color: #252525;
}

.about-modern .about-closing strong {
  color: var(--accent);
}

/* Tablet */
@media (max-width: 991.98px) {
  .about-modern .img-fallback,
  .about-modern .img-fallback img {
    min-height: 360px;
  }

  .about-modern .about-content {
    padding: 28px;
  }
}

/* Smartphone */
@media (max-width: 767.98px) {
  .about-modern .section-title {
    margin-bottom: 0;
  }

  .about-modern .section-title p {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .about-modern .about-row {
    row-gap: 26px;
  }

  .about-modern .about-visual::before {
    inset: -7px 7px 7px -7px;
    border-radius: 15px;
  }

  .about-modern .img-fallback,
  .about-modern .img-fallback img {
    min-height: 300px;
    border-radius: 15px;
  }

  .about-modern .about-content {
    padding: 22px;
    border-radius: 15px;
  }

  .about-modern .about-intro {
    margin-bottom: 22px;
    padding: 12px 14px;
  }

  .about-modern .about-list li {
    min-height: auto;
    padding: 13px;
  }

  .about-modern .about-closing {
    margin-top: 22px;
    padding: 16px;
  }
}

/* Kleine Smartphones */
@media (max-width: 479.98px) {
  .about-modern .about-content {
    padding: 18px;
  }

  .about-modern .img-fallback,
  .about-modern .img-fallback img {
    min-height: 250px;
  }

  .about-modern .about-list li i {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

/* Services */
.services .nav-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.services .nav-link.active {
  background: var(--accent);
  border-color: var(--accent);
}

.service-image {
  min-height: 360px;
}

.service-image img {
  object-fit: cover;
  border-radius: 10px;
}

.service-image .placeholder {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

/* Partner */
.partner-carousel {
  overflow: hidden;
}

.partner-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: partnerScroll 28s linear infinite;
}

.partner-logo {
  width: 190px;
  display: grid;
  place-items: center;
  background: none;
  border-radius: 10px;
  padding: 15px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes partnerScroll {
  to {
    transform: translateX(-50%);
  }
}

/* Portfolio */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.portfolio-filters li {
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 20px;
  background: #fff;
}

.portfolio-filters li.filter-active {
  background: var(--accent);
  color: #fff;
}

.portfolio-content {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-height: 240px;
}

.portfolio-content img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.portfolio-content.placeholder-img {
  min-height: 260px;
  background: #e9ecef;
}

.portfolio-info {
  padding: 18px;
}

.details-link {
  font-size: 24px;
}

/* Contact */
.contact .info-wrap {
  background: rgba(255, 255, 255, 0.08);
}

.contact .info-item {
  margin-bottom: 24px;
  gap: 12px;
}

.contact .info-item > i {
  color: var(--accent);
  font-size: 22px;
}

.contact .form-control {
  color: #ffffff;
  border-radius: 8px;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact .form-control::placeholder {
  color: #ffffff;
  opacity: 1;
}

.contact .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(241, 168, 33, 0.25);
background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact textarea.form-control {
  min-height: 295px;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

/* Senden-Button rechtsbündig */
.contact .col-md-12.text-center {
  text-align: right !important;
}

/* Senden-Button Farben */
.contact button[type="submit"] {
  background-color: #f1a821;
  border-color: #f1a821;
  color: #252525;
  font-weight: 600;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.contact button[type="submit"]:hover,
.contact button[type="submit"]:focus,
.contact button[type="submit"]:active {
  background-color: #f1a821 !important;
  border-color: #f1a821 !important;
  color: #ffffff !important;
}

/* Page Title / Breadcrumbs */
.page-title {
  padding: 45px 0;
}

.page-title h1 {
  font-weight: 700;
}

.breadcrumbs ol {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #a8a9b4;
}

/* Footer */
.footer {
  padding: 30px 0;
}

.legal-links a {
  color: inherit;
}

/* Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 999;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .header {
    transform: translateX(-100%);
  }

  .mobile-nav-active .header {
    transform: translateX(0);
  }

  .main,
  .footer {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 55px 0;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-card,
  .detail-card,
  .info-wrap {
    padding: 20px;
  }

  .contact .col-md-12.text-center {
    text-align: right !important;
  }
}