@media (max-width: 459px) {
  .navbar-nav {
    flex-direction: column;
  }
  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }
  .navbar-toggler {
    margin-top: 10px;
  }
  .display-1 {
    font-size: 2rem;
  }
  .display-3 {
    font-size: 1.5rem;
  }
  .section-padding {
    padding: 60px 0;
  }
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(80px - 30vh);
}
:root {
  --c-dark: #5a5a5a;
  --c-dark-sat: #414141;

  --c-dark-hover: #767676;
  --c-light: #562cff;
  --c-brand: #4450f4;
  --c-brand-light: #5a65ffd7;
  --c-brand-rgb: 78, 87, 212;
  --c-btn-light: rgba(213, 213, 213, 0.723);
  --c-btn-light-hover: rgba(237, 236, 236, 0.723);
  --c-body: #ffffffd4;
  --font-base: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --box-shadow: 0 2px 20px rgba(9, 9, 9, 0.12);
  --transition: all 0.3s ease;
}
body {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-body);
  padding-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p {
  color: var(--c-dark);
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--c-dark);
  letter-spacing: -0.02em;
}
ul {
  direction: unset;
}
a {
  text-decoration: none;
  color: var(--c-body);
  transition: var(--transition);
  position: relative;
  z-index: 10;
}
a:hover {
  color: var(--c-brand);
}
a i {
  transition: transform 0.3s ease, color 0.2s ease;
  cursor: pointer;
}
a:hover .cpp {
  transform: scale(0.2); /* leicht vergrößern */
  color: rgb(0, 149, 255); /* z. B. bläulicher Effekt beim Hover (optional) */
}
a:hover .html {
  transform: scale(0.2); /* leicht vergrößern */
  color: rgb(255, 89, 0); /* z. B. bläulicher Effekt beim Hover (optional) */
}
a:hover .css {
  transform: scale(0.2); /* leicht vergrößern */
  color: rgb(0, 94, 255); /* z. B. bläulicher Effekt beim Hover (optional) */
}
a:hover .java {
  transform: scale(0.2); /* leicht vergrößern */
  color: rgb(0, 200, 255); /* z. B. bläulicher Effekt beim Hover (optional) */
}
a:hover .js {
  transform: scale(0.2); /* leicht vergrößern */
  color: rgb(255, 251, 0); /* z. B. bläulicher Effekt beim Hover (optional) */
}
a:hover .github {
  transform: scale(0.2); /* leicht vergrößern */
  color: rgb(168, 168, 168); /* z. B. bläulicher Effekt beim Hover (optional) */
}
img {
  max-width: 100%;
  height: auto;
}
.section-padding {
  padding-top: 120px;
  padding-bottom: 100px;
}
.theme-shadow {
  box-shadow: var(--box-shadow);
}
.image-zoom {
  position: relative;
  overflow: hidden;
}
.image-zoom-wrapper {
  overflow: hidden;
  position: relative;
}
.image-zoom-wrapper img {
  transition: var(--transition);
}
.image-zoom:hover .image-zoom-wrapper img {
  transform: scale(1.1);
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1030;
  box-shadow: 0 1px 16px rgba(9, 9, 9, 0.10);
  padding: 6px 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: top 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}
.navbar.navbar--hidden {
  top: -100px;
}
.navbar-brand img {
  width: 200px;
  max-width: 200px;
  height: auto;
  display: block;
}
a.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--c-dark);
  padding-left: 1rem;
  padding-right: 1rem;
}
.navbar-nav .nav-link:hover {
  font-weight: 500;
  color: var(--c-brand);
}
.navbar-nav .nav-link.active {
  color: var(--c-brand);
}
.navbar-toggler {
  border: 1.5px solid rgba(0,0,0,0.25);
  border-radius: 8px;
}
.btn {
  font-weight: 500;
  font-size: 1.4rem;
  border-radius: 11px;
  padding: 2px 12px;
  margin-top: 60px;
  border-color: #5a5a5a93;
}
.btn-brand {
  background-color: var(--c-brand);
  border-color: rgba(0, 0, 0, 0.43);
  color: #fff;
}
.btn-sat {
  background-color: var(--c-dark-sat);
  border-color: rgba(0, 0, 0, 0.43);
  color: #fff;
}
.btn-brand:hover {
  background-color: var(--c-brand-light);
  color: #fff;
  border-color: #000;
}
.btn-sat:hover {
  background-color: var(--c-dark-hover);
  color: #fff;
  border-color: #000;
}
.btn-light {
  background-color: var(--c-btn-light);
  border-color: #212529a8;
}
.btn-light:hover {
  background-color: var(--c-btn-light-hover);
  border-color: #212529a8;
}
#hero {
  background: linear-gradient(
      rgba(var(--c-brand-rgb), 0.3),
      rgba(var(--c-brand-rgb), 0.3)
    ),
    url(../images/bg.jpg);
  background-size: cover;
  width: 100%;
  height: auto;
  background-position: center top;
  background-attachment: scroll;
}
.section-title {
  margin-bottom: 60px;
}
.line {
  width: 60px;
  height: 4px;
  background-color: var(--c-brand);
  margin: 10px auto 14px auto;
}
.lineBlck {
  width: 70%;
  height: 4px;
  background-color: black;
  margin: 10px auto 14px auto;
}
.upcoming {
  color: red;
}
h6 i {
  margin: 16px;
}
.section-title .line {
  width: 60px;
  height: 4px;
  background-color: var(--c-brand);
  margin: 10px auto 14px auto;
}
.section-title p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.iconbox {
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-brand-rgb), 0.04);
  color: var(--c-dark);
  font-size: 34px;
  flex: none;
}
.iconboxNav {
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-brand-rgb), 0);
  color: var(--c-brand);
  font-size: 18px;
  flex: none;
  padding: 10px;
}
.service {  
  position: relative;
  overflow: hidden;
  z-index: 2;
  /* min-height: 48px; */
}
.service p {
  color: #fff;
  min-height: 48px; /* ggf. anpassen fix*/
}
p {
  font-size: 1.4rem;
}
.service::after {
  content: "";
  width: 1%;
  height: 1%;
  background: rgba(var(--c-brand-rgb), 0.2);
  position: absolute;
  bottom: 5px;
  right: 5px;
  transition: var(--transition);
}
.service:hover::after {
  width: 100%;
  height: 100%;
  background: var(--c-brand);
  z-index: -1;
}
.service:hover h5,
.service:hover p {
  color: #fff;
}
.service:hover .iconbox {
  background-color: rgba(149, 149, 149, 0.734), 0.1;
  color: #fff;
}
#counter {
  background: linear-gradient(
      rgba(var(--c-brand-rgb), 0.7),
      rgba(var(--c-brand-rgb), 0.7)
    ),
    url(../images/bg0.jpg);
  background-position: center;
  background-size: cover;
  width: 80vw;
  margin-left: 10vw;
  margin-top: 110px;
}
.portfolio-item .iconbox {
  color: var(--c-brand);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.portfolio-item:hover .iconbox {
  opacity: 1;
  top: 50%;
}
.review small {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-brand);
}
.review-head {
  position: relative;
}
.review-head::after {
  content: "";
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: -14px;
  background-color: #fff;
  transform: rotate(45deg);
}
.team-member-content {
  background-color: var(--c-brand);
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: calc(100% - 80px);
  transform: translateX(-50%);
  padding: 10px;
  transition: var(--transition);
  opacity: 0;
}
.team-member:hover .team-member-content {
  opacity: 1;
  bottom: 24px;
}
#contact {
  position: relative;
  z-index: 2;
}
#contact::after {
  content: "";
  width: 100%;
  width: 70%;
  background: linear-gradient(
      rgba(var(--c-brand-rgb), 0.7),
      rgba(var(--c-brand-rgb), 0.7)
    ),
    url(../images/bg.jpg);
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
#contact .form-control {
  border-radius: 5px;
}
#contact .form-control:focus {
  box-shadow: none;
  border-color: var(--c-brand);
}
footer {
  padding-top: 60px;
}
.footer-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(91, 91, 91, 0.6);
}
.footer-bottom {
  padding-top: 10px;
  padding-bottom: 10px;
}
footer a,
footer li,
footer p {
  color: rgba(255, 255, 255, 0.6);
}
footer ul {
  list-style: none;
  padding: 0;
}
footer .line {
  width: 40px;
  height: 3px;
  background-color: var(--c-brand);
  margin-top: 12px;
  margin-bottom: 22px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}
.social-icons a:hover {
  background-color: var(--c-brand);
}
#imp {
  background-color: #242424;
}
#imp h1 {
  padding-left: 5%;
  color: #f0f8ff;
  font-size: 1.8rem;
}
#imp h2 {
  padding-left: 5%;
  color: #f0f8ff;
  font-size: 1.2rem;
}
#imp p {
  padding-left: 5%;
  padding-right: 5%;
  color: #f0f8ff;
  font-size: 1rem;
}
#imp ul {
  padding-left: 13%;
  padding-right: 5%;
  color: #f0f8ff;
  font-size: 1rem;
}
#imp a {
  margin-left: 5%;
  color: #b1b1b1;
  margin-bottom: 3%;
}
#imp a:hover {
  color: var(--c-brand-light);
}
#imp button {
  background-color: #bcbcbc;
  border: 2px solid #000;
  margin-left: 5%;
  margin-top: 3px;
  border-radius: 9px;
  width: 147px;
  height: 32px;
  font-size: 1rem;
}
#imp button:hover {
  background-color: #8a8a8a;
}

/* ── Contact Modal ── */
.modal-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.35);
}
.modal-backdrop.show {
  opacity: 1;
}
.contact-modal-content {
  border-radius: 18px;
  border: 1px solid rgba(68, 80, 244, 0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  padding: 8px;
}
.contact-modal-sub {
  font-size: 0.88rem;
  color: #888;
  margin: 4px 0 0;
}

/* ── Contact Form ── */
.contact-form {
  background: #fff;
  border: 1px solid rgba(68, 80, 244, 0.15);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.contact-input {
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-input:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(68, 80, 244, 0.10);
  outline: none;
}
.contact-submit {
  margin-top: 0;
  padding: 10px 32px;
  font-size: 1rem;
  border-radius: 10px;
}

/* ── Projects Carousel ── */
#projectsCarousel {
  border: 1.5px solid rgba(68, 80, 244, 0.37);
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
}
#projectsCarousel .carousel-inner {
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.project-cover {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 16px;
  border: none;
  height: 430px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-cover-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brand-light);
  margin-bottom: 12px;
}
.project-cover-title {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.project-cover-line {
  width: 48px;
  height: 3px;
  background: var(--c-brand);
  margin: 0 auto 16px;
  border-radius: 2px;
}
.project-cover-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  margin: 0;
}
.project-card-link {
  display: block;
  text-decoration: none;
}
.project-card {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: #fff;
}
.project-card:hover {
  box-shadow: 0 8px 36px rgba(68, 80, 244, 0.15);
}
.project-img {
  width: 100%;
  height: 364px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.project-card-body {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.project-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  letter-spacing: -0.01em;
}
.project-card-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.project-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.96) !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(68, 80, 244, 0.45) !important;
  outline: 3px solid rgba(68, 80, 244, 0.23);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.project-arrow:hover {
  background: #fff !important;
  border-color: rgba(68, 80, 244, 0.6) !important;
  box-shadow: 0 4px 20px rgba(68,80,244,0.20);
}
.project-arrow i {
  font-size: 1.5rem;
  color: #1a1a1a;
}
.carousel-control-prev.project-arrow { left: -62px; }
.carousel-control-next.project-arrow { right: -62px; }
/* feste Höhe für alle Slides */
#projectsCarousel .carousel-inner {
  height: 430px;
}
#projectsCarousel .carousel-item,
#projectsCarousel .project-card-link,
#projectsCarousel .project-card {
  height: 100%;
}
#projectsCarousel .project-img {
  height: calc(100% - 62px);
}

/* Pagination dots außerhalb, unten zentriert */
.project-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 10;
}
.project-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(68, 80, 244, 0.25);
  border: 1.5px solid rgba(68, 80, 244, 0.40);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.project-dot.active {
  background-color: var(--c-brand);
  border-color: var(--c-brand);
  transform: scale(1.3);
}
