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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
}

/* Seitenhintergrund */
.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Desktop Hintergrund */
@media (min-width: 768px) {
    .page {
        background-image: url("img/background-desktop.jpg");
    }
}

/* Mobile Hintergrund */
@media (max-width: 767px) {
    .page {
        background-image: url("img/background-mobile.jpg");
        padding: 20px;
    }
}

/* Rahmen */
.frame{
  width: min(92vw, 820px);
  padding: 28px 30px;
  background: rgba(255,255,255,0.25);
  border: 28px solid transparent;

  border-image-source: url("img/frame.png");
  border-image-slice: 90;
  border-image-width: 28px;
  border-image-repeat: stretch;

  border-radius: 12px;
  backdrop-filter: blur(2px);
}





/* Textinhalt im Rahmen */
.content{
  text-align: center;
  color: #2f3d2b;
}


/* Typografie */
.content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.content h2 {
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact a {
    color: #3f4f3a;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* Mobile Textanpassung */
@media (max-width: 767px){
  .frame{
    width: min(94vw, 520px);
    padding: 18px 18px;
    border-width: 20px;
    border-image-width: 20px;
    border-image-slice: 80;
  }
}
