:root {
  --primary-color: #00e0ff;
  --background-dark: #021024;
  --card-bg: #2c2c2c;
  --text-light: #ffffff;
}

.container2 {
  max-width: 75rem;
  margin: 0px auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container2 {
    padding: 0 1rem;
  }
}

.float-left {
  float: left;
  margin-right: 20px;
}

.float-right {
  float: right;
  margin-left: 20px;
}

/* Global styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-dark);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem; /* Base font size */
}

/* Responsive text sizes */
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p, strong {
  font-size: 1rem;
}

/* Media Queries for responsive text sizes */
@media (max-width: 1200px) {
  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p, strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  body {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p, strong {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.7rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  p, strong {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 0.6rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1rem;
  }

  h3 {
    font-size: 0.875rem;
  }

  p, strong {
    font-size: 0.6rem;
  }
}

/* Other styles */
.navbar {
  background-color: var(--background-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-collapse {
  justify-content: flex-start;
}

.hero {
  min-height: 100vh;
  padding: 4rem 0;
  display: flex;
  align-items: center;
}

.highlight {
  color: #00e0ff;
}

/* Social Media Icons */
.social-icons {
  margin-bottom: 20px;
}

.social-icon {
  margin-right: 15px;
  color: white;
  font-size: 1.75rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #00e0ff;
}

/* Button */
.btn-primary {
  background-color: #00e0ff;
  border-color: #00e0ff;
  box-shadow: 0 5px 15px rgba(0, 224, 255, 0.5);
}

.btn-primary:hover {
  background-color: #00c4e0;
  border-color: #00c4e0;
  box-shadow: 0 5px 25px rgba(0, 224, 255, 0.7);
}

/* Circle Image */
.image-container {
  position: relative;
}

.image-circle {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 30px rgba(0, 224, 255, 0.5); /* Circle shadow */
  margin: 0 auto;
  position: relative;
  aspect-ratio: 1/1;
  background: radial-gradient(circle at center, var(--primary-color), transparent);
}

.profile-img {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  /* top: 50px; Adjusts the image's position within the circle */
}

/* Media Query */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding-top: 1em;
  }

  .image-circle {
    margin: auto;
    width: 300px;
    height: 300px;
    aspect-ratio: 1/1;
    background: radial-gradient(circle at center, var(--primary-color), transparent);
  }

  .profile-img {
    width: 280px;
    height: 280px;
  }
}

/* About Me Section Styles */
.about-me {
  background-color: #1d1d1d;
  color: white;
  padding: 100px 0;
}

.about-me h2 {
  font-size: 3rem;
  color: white;
}

.about-me h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.about-me p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.about-me-text {
  margin-left: auto;
}

/* .highlight bereits definiert – Duplikate entfernt */

.about-image {
    width: 30rem;
    height: 30rem;
    object-fit: cover;
    border-radius: 1000rem;
    float: left;
    shape-outside: circle(50% at 50% 50%);
    box-shadow: 0 0px 50px rgba(0, 224, 255, 0.6);
    border: 2rem solid rgba(0, 224, 255, 0.3);
}

/* Circle Image */
.about-image-container {
  position: relative;
}

/* .profile-img bereits oben definiert – Duplikat entfernt */

/* Media Queries */
@media (max-width: 768px) {
  .about-me {
    text-align: right;
  }

  .about-image-container {
    float: left;
    margin: 0 auto 30px;
    shape-outside: none;
    clip-path: none;
  }
  .float-image {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    border-radius: 1000rem;
    float: left;
    padding: 2rem;
    shape-outside: circle(50% at 50% 50%);
}
  .about-image-circle {
    margin: auto;
    width: 300px;
    height: 300px;
    aspect-ratio: 1/1;
    background: radial-gradient(circle at center, var(--primary-color), transparent);
  }

  .profile-img {
    width: 280px;
    height: 280px;
  }
}

/* Button: Definition bereits weiter oben vorhanden – Duplikate entfernt */

/* Modal Styling */
.modal-content.about-me {
  background-color: #000000; /* Beispielhintergrundfarbe */
  color: white;
  padding: 20px;
  border-radius: 10px;
}

.modal-header {
  background-color: #000000;
  border-bottom: 1px solid #444;
}

.modal-footer {
  background-color: #000000;
  border-top: 1px solid #444;
}

.modal-body {
  background-color: #000000;
}

.modal-body ul {
  background-color: #000000;
  list-style-type: none;
  padding-left: 0;
}

.modal-body ul li {
  background-color: #000000;
  margin-bottom: 10px;
}

.modal-body ul li strong {
  background-color: #000000;
  color: #00e0ff;
}

.btn-close {
  background-color: white;
  border: none;
}

.btn-secondary {
  background-color: #00e0ff;
  border-color: #00e0ff;
  color: #000;
}

.btn-secondary:hover {
  background-color: #00c4e0;
  border-color: #00c4e0;
}

/* My Services Section */
.my-services {
  background-color: #1d1d1d;
  color: white;
}

.my-services h2 {
  font-size: 3rem;
  color: white;
}

/* .highlight Duplikat entfernt */

.service-card {
  background-color: #2c2c2c;
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #00e0ff;
}

.service-icon {
  font-size: 3rem;
  color: #00e0ff;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-description {
  font-size: 1rem;
  margin-bottom: 30px;
}

/* .btn-primary Duplikate entfernt – eine zentrale Definition bleibt erhalten */

/* Flip Card */
.offers {
  min-height: 5rem;
}

.offers_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 4rem;
  padding-bottom: 6rem;
  margin-left: -0.66rem;
  margin-right: -0.66rem;
}

.offers__card {
  flex: 0 0 calc(71rem / 3);
  margin: 0 0.66rem;
  margin-top: 4rem;
  transform-style: preserve-3d;
  position: relative;
}

.offers__image-container {
  position: relative;
  margin: -0.06rem -0.06rem 0 -0.06rem;
}

.offers__image-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  border-top: 0.06rem solid rgba(0, 0, 0, 0.115);
  border-left: 0.06rem solid rgba(0, 0, 0, 0.15);
  border-right: 0.06rem solid rgba(0, 0, 0, 0.15);
}

.offers__image-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background-repeat: no-repeat;
  background-position: 50% 100%;
}

.offers__image {
  width: 100%;
  height: auto;
  display: block;
}

.offers__content {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.offers__content-heading {
  color: rgb(3, 3, 216);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0;
}

.offers__content-subhading {
  color: rgb(3, 3, 216);
  font-size: 1rem;
  font-weight: 500;
}

.offers__content-info {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 0.06rem solid rgba(0, 0, 0, 0.15);
  border-bottom: 0.06rem solid rgba(0, 0, 0, 0.15);
  display: flex;
  background-image: linear-gradient(
    90deg,
    transparent calc(50% - 1rem / 32),
    rgba(0, 0, 0, 0.15) calc(50% - 1rem / 32),
    rgba(0, 0, 0, 0.15) calc(50% + 1rem / 32),
    transparent calc(50% + 1rem / 32)
  );
  background-repeat: no-repeat;
  background-size: 100% 75%;
  background-position: center center;
}

.offers__content-info-duration,
.offers__content-info-level {
  color: rgb(1, 1, 73);
  flex: 1 1 50%;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.offers__content-price-container {
  color: rgb(1, 1, 73);
  padding-top: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
}

.offers__content-price {
  display: block;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 0.9em;
  color: rgb(3, 3, 141);
}

.offers__card-hover {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: rotateY(180deg);
  transition: opacity 0.25s ease-in-out;
  padding: 2rem;
  color: white;
  text-align: center;
  font-size: 1rem;
  margin-top: -3rem;
}

.offers__card-hover img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.offers__card-hover strong {
  text-align: center;
  margin-bottom: 1rem;
}

.offers__card:hover .offers__card-hover {
  opacity: 1;
}

.offers__card-primary::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: -0.06rem;
  right: -0.06rem;
  height: 0.75rem;

  z-index: 1;
  transition: all 0.3s ease;
}

.offers__card-primary {
  transition: opacity 0.6s ease-in-out;
}

.offers__card:hover .offers__card-primary {
  opacity: 0;
}

.offers__card-container--flip {
  perspective: 50rem;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.offers__card:hover .offers__card-container--flip {
  transform: rotateY(180deg);
}



.offers__card-spacer {
  flex: 1 1 auto;
  height: 100%; /* Ensure it covers the entire height of the card */
}

.button {
  display: inline-block;
  border-radius: 10000rem;
  border: 0.125rem solid rgb(3, 3, 141);
  color: white;
  background-image: linear-gradient(180deg, rgb(2, 2, 252) 0%, rgb(2, 2, 100) 100%);
  box-shadow: 0.5rem 0.5rem 0.5rem black;
  text-decoration: none;
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
}

.button:hover {
  color: rgb(210, 210, 210);
  background-image: linear-gradient(180deg, rgb(2, 2, 100) 0%, rgb(2, 2, 252) 100%);
  border: 0.125rem solid rgb(1, 1, 73);
}

/* iOS Calculator Style */
.calculator {
  max-width: 500px; /* Breite erhöht */
  background: #222;
  padding: 25px 20px 20px 20px;
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  margin: 0 auto;
}

#calc-display {
  width: 100%;
  height: 70px;
  font-size: 2.5rem;
  text-align: right;
  margin-bottom: 18px;
  border: none;
  background: #181818;
  color: #fff;
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-family: 'SF Pro Display', 'Arial', sans-serif;
  letter-spacing: 1px;
}

/* Optimierung der Button-Anordnung */
.calc-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-items: center;
}

.calculator button {
  width: 70px;
  height: 70px;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  font-family: 'SF Pro Display', 'Arial', sans-serif;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

/* Sicherstellung der korrekten Ausrichtung */
.calc-buttons .row {
  display: contents;
}

.calculator .btn-secondary {
  background: #333;
  color: #fff;
}
.calculator .btn-secondary:active {
  background: #444;
}

.calculator .btn-primary {
  background: #ff9500;
  color: #fff;
}
.calculator .btn-primary:active {
  background: #cc7a00;
}

.calculator .btn-warning {
  background: #a5a5a5;
  color: #000;
}
.calculator .btn-warning:active {
  background: #888;
}

.calculator .btn-success {
  background: #ff9500;
  color: #fff;
  border-radius: 30px;
  font-size: 2rem;
  font-weight: bold;
}
.calculator .btn-success:active {
  background: #cc7a00;
}