:root {
  --aqua: #00e1cb;
  --lime: #5ae100;
  --yellow: #ffff01;
  --orange: #e17101;
  --white: #ffffff;
  --light-gray: #f9f9f9;
  --dark-gray: #2e2e2e;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover{
color: var(--orange);
}

h1, h2, h3 {
  font-weight: 600;
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.row.reverse {
  flex-direction: row-reverse;
}

.row.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.text {
  flex: 1 1 50%;
}

.image {
  flex: 1 1 40%;
}

/* Components */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.framed img{
  display: block;}

.framed {
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--light-gray);
  display: inline-block;
}

.aqua-frame {
  background: #c7f4f0;
}

.lime-frame {
  background: #d9f4c7;
}

.yellow-frame {
  background: #ffffcc;
}

.orange-frame {
  background: #fbead9;
}

/* Image Container for Portrait and Sticker */
.image-container {
  flex: 1 1 40%;
  position: relative; /* Allows absolute positioning of the sticker */
}

/* Portrait Image and Frame */

.image.framed.orange-frame img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Sticker (Flower) and Frame */
.sticker.framed.lime-frame {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  padding: 0.6rem;
  border-radius: 12px;
  display: inline-block;
  z-index: 10; /* Ensures the sticker is on top of the portrait */
}

.sticker.framed.lime-frame img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.links {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.links li {
  margin-bottom: 0.5rem;
}

.links a {
  color: var(--aqua);
  font-weight: bold;
  transition: color 0.3s;
}

.links a:hover {
  color: var(--orange);
}

.about-list {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  list-style: none;
}

.about-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6em;
  height: 0.6em;
  background-color: var(--lime);
  border-radius: 50%;
}

.about-list ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  list-style: none;
}

.about-list ul li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}

.about-list ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45em;
  height: 0.45em;
  background-color: var(--aqua);
  border-radius: 50%;
}

.offer-text {
  max-width: 700px;
  margin: 0 0 0 0;
  font-size: 1.1rem;
  text-align: left;
}

.pdf-frame {
  width: 100%;
  border-radius: 12px;
  background: #fbead9;
  margin-top: 2rem;
  overflow: hidden;
}

.pdf-frame iframe {
  display: block;
  max-width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
}

/* Sections */
.hero {
  background: linear-gradient(135deg, var(--aqua), var(--lime));
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

.om-symbol {
  width: 60px;
  margin-bottom: 1rem;
  opacity: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

.section {
  background: var(--white);
  padding: 4rem 2rem;
}

.section-alt {
  background: var(--light-gray);
  padding: 4rem 2rem;
}

 p {
  padding: 0.5rem 0;
}

.center {
  text-align: left;
}

.contact-links {
  text-align: right;
}

#impressum {
margin-left: 20%;
margin-right: 20%;
}

.viernullvier{
display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      text-align: center;
}

.vier04 {
  max-width: 600px;
  padding: 20px;
}

.footer {
  background: var(--aqua);
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--white);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

/* Responsiveness on different screens */
/* Tablet (≤768px) */
@media (max-width: 768px) {
    .container {
        padding: 1rem; /* Reduce padding */
    }
    .row, .row.reverse, .row.three-col {
        flex-direction: column; /* Stack vertically */
        grid-template-columns: 1fr; /* Single column for grid */
        gap: 1rem;
    }
    .text{
        flex: 1 1 100%; /* Full width */
        text-align: left; /* Center text for consistency */
    }
    .contact-links, .image, .image-container, .text.center {
        flex: 1 1 100%; /* Full width */
        text-align: center; /* Center text for consistency */
}
    .hero {
        padding: 3rem 1rem; /* Reduce hero padding */
    }
    .hero h1 {
        font-size: 2rem; /* Smaller heading */
    }
    .hero p {
        font-size: 1rem;
    }
    .section, .section-alt {
        padding: 2rem 1rem; /* Reduce section padding */
    }
    h2 {
        font-size: 1.5rem;
    }
    p, .offer-text {
        font-size: 1rem;
    }
    .sticker.framed.lime-frame {
        bottom: -20px;
        right: -20px;
        width: 150px; /* Smaller sticker */
        margin: 1rem auto; /* Center it */
    }
    .pdf-frame iframe {
        height: 400px; /* Reduce PDF height */
    }
    .contact-links {
        text-align: center; /* Center links */
    }
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    #impressum {
        margin-left: 10%;
        margin-right: 10%;
    }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    .hero {
        padding: 2rem 0.5rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .section, .section-alt {
        padding: 1.5rem 0.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    p, .offer-text {
        font-size: 0.9rem;
    }
    .om-symbol {
        width: 40px; /* Smaller Om symbol */
    }
    .sticker.framed.lime-frame {
        width: 100px; /* Even smaller sticker */
    }
    .pdf-frame iframe {
        height: 300px; /* Further reduce PDF height */
    }
    .about-list li, .about-list ul li {
        font-size: 0.9rem;
    }
    .footer {
        padding: 1rem;
    }
    .footer-links {
        flex-direction: column; /* Stack footer links */
        gap: 0.5rem;
    }
    #impressum {
        margin-left: 5%;
        margin-right: 5%;
    }
}
