/* =========================
   CSS-Variablen
   ========================= */
:root {
  --color-primary: #311C15;
  --color-secondary: #D62225;
  --color-white: #FFFFFF;
  --color-white-hover: #ddd;
  --font-primary: "Arial Narrow", Arial, Helvetica, sans-serif;
  --base-font-size: 16px; /* Basis für REM */
}

/* =========================
   Allgemeine Container
   ========================= */
html {
  scroll-behavior: smooth;
  font-size: var(--base-font-size);
}

.container-fluid .my_container {
  width: 80%;
  margin: 0 auto;
  max-width: 75rem; /* 1200px */
}

/* =========================
   Navbar
   ========================= */
.container .navbar.fixed-top.navbar-expand-lg.navbar-light.bg-light {
  background: linear-gradient(180deg, rgba(54,54,54,1) 0%, rgba(38,38,38,1) 100%);
  background-color: var(--color-secondary);
}

.navbar .nav-link {
  color: var(--color-white) !important;
  font-family: var(--font-primary);
}

.navbar .nav-link:hover {
  color: var(--color-white-hover) !important;
}

/* Mobile Navbar */
@media screen and (orientation: landscape) and (max-width: 48rem) { /* 768px */
  .navbar {
    padding: 0.125rem 0; /* 2px */
    height: 3.125rem; /* 50px */
  }
  .navbar-brand img {
    max-height: 2.5rem; /* 40px */
    width: auto;
  }
}

/* =========================
   Überschriften
   ========================= */
.row .col-12.col-md-6 h1,
.row .col-12.col-md-8 h1,
.row .col-12.col-md-9 h1 {
  font-size: 9.375rem; /* 150px */
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: bold;
}

/* Responsive Überschriften */
@media (max-width: 75rem) { /* 1200px */
  #ueber-mich h1 {
    font-size: 7.5rem !important; /* 120px */
  }
}

@media (max-width: 47.5rem) { /* 760px */
  #ueber-mich h1 {
    font-size: 5rem !important; /* 80px */
  }
}

@media (max-width: 91.875rem) { /* 1470px */
  .row {
    display: flex;
    flex-direction: column;
  }
  .col-md-6, .col-md-3, .col-md-9 {
    width: 100%;
    margin-bottom: 0;
  }
  #impressum h1, #kontakt h1, #meine-arbeiten h1 {
    font-size: 7.5rem; /* 120px */
  }
}

@media (max-width: 47.5rem) { /* 760px */
  #impressum h1, #kontakt h1, #meine-arbeiten h1 {
    font-size: 5rem; /* 80px */
  }
}

/* =========================
   Text
   ========================= */
.text-lesetext {
  font-family: var(--font-primary);
  font-style: normal;
  color: var(--color-primary);
  font-size: 1rem;
}

.text-lesetext_white {
  font-family: var(--font-primary);
  font-style: normal;
  color: var(--color-white);
  font-size: 1rem;
}

/* =========================
   Buttons
   ========================= */
.col-12.col-md-12 form .btn.btn-primary {
  background-color: var(--color-primary);
  font-family: var(--font-primary);
  border-width: 0;
}

/* =========================
   Carousel Schrift & Layout
   ========================= */
.carousel-caption {
    font-family: var(--font-primary);
    position: absolute;
    top: 50%;
    right: 10%;
    left: auto;
    transform: translateY(-50%);
    text-align: left;
    max-width: 23%;
    white-space: normal;
    word-wrap: break-word;
}

.carousel-caption h5 {
    font-family: var(--font-primary);
    font-size: clamp(0.1rem, 2.0vw, 1rem);
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-family: var(--font-primary);
    font-size: clamp(0.5rem, 2.0vw, 1rem);
    font-weight: normal; /* verhindert Fetteindruck */
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
  .carousel-caption {
    top: 30%;           /* nach oben verschieben */
   
  }
}
/* =========================
   Carousel Indicators – dynamisch rechts
   ========================= */
.carousel-indicators {
  position: absolute;
  bottom: 2%;
  right: -2%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5vw;
  transform: none;
}

.carousel-indicators li {
  width: clamp(0.2rem, 1.0vw, 1rem);
  height: clamp(0.2rem, 1.0vw, 1rem);
  border-radius: 50%;
  background-color: #fff;
}
