html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    background-image: url('../images/pattern4.png');
    background-repeat: repeat;
    background-size: 50% 50%;
    background-position: center;
    font-family: "p22-underground", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    padding: 20px;
}

.content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 80vw;
    max-height: 80vh;
    width: 100%;
}

.content {
    width: 100%;
    height: 100%;
    padding: 40px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.content.with-bg {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#logo-container {
    display: flex;
    justify-content: center;
    gap: 150px;
    flex-wrap: wrap;
}

.logo-box {
    text-align: center;
    padding: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 1);
}

.logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.logo-link {
    text-decoration: none;
}

.logo-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.logo-title {
    font-size: 60px;
    margin: 0;
    font-weight: 900;
    color: black;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 20px;
    letter-spacing: 3px;
    margin: 0;
    color: black;
    text-transform: uppercase;
}

#footer {
    text-align: center;
    font-size: 14px;
    color: rgb(37, 80, 174);
    padding-top: 20px;
}

#impressum-link {
    color: rgb(37, 80, 174);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

#impressum-link:hover {
    color: rgb(222, 189, 53);
    text-decoration: underline;
}

.link {
    color: rgb(37, 80, 174);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.link:hover {
    color: rgb(222, 189, 53);
    text-decoration: underline;
}


/* MENU */
#burger-menu {
    position: fixed;
    top: 30px;
    left: 20px;
    z-index: 999;
}

.burger-icon {
    cursor: pointer;
    user-select: none;
    color: #000000;
}

#menu-content {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 6px;
    min-width: 160px;
    padding: 10px;
}

#menu-content a {
    display: block;
    padding: 8px 12px;
    color: #000;
    text-decoration: none;
}

#menu-content a:hover {
    background: #f0f0f0;
}


/* contact */
form {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
    color: #003366;
}

form input[type="text"],
form input[type="email"],
form input[type="file"],
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #f0c233;
    outline: none;
}

form button {
    background-color: #f0c233;
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #d8aa20;
}

.success-box, .error-box {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
}

.success-box {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.error-box {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-container > div {
    flex: 1 1 200px;
    max-width: 220px;
    background-color: #f9f9f9;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-info-container > div:hover {
    transform: translateY(-5px);
}

/* Icon Styles */
.contact-info-container i {
    font-size: 50px;
    margin-bottom: 10px;
    display: inline-block;
    line-height: 50px;
    color: #003366;
}
.contact-info-container i.fa-whatsapp {
    color: #003366;
}
.contact-info-container i.fa-envelope {
    color: #003366;
}
.contact-info-container i.fa-fax {
    color: #003366;
}
.contact-info-container i.fa-phone {
    color: #003366;
}

.contact-info-container p {
    margin: 6px 0 0;
    font-size: 20px;
    color: #333;
    line-height: 30px;
}

.contact-info-container a.link {
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: inherit;
}

.contact-info-container a.link:hover {
    text-decoration: underline;
}
/* Überschriften-Stile */
h1, h2, h3, h4, h5, h6 {
  font-family: "p22-underground", sans-serif;
  font-weight: 900;
  color: #333;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.2;
}

h1 {
  font-size: 48px;
}

h2 {
    font-size: 40px;
}
h2:has(+ form) {
    margin-top: 70px;
}

h3 {
    font-size: 32px;
    text-decoration: underline;
    text-transform: none;
}

h4 {
  font-size: 26px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}