body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    background-color: #E3E4E0;
    color: #222;

}

:root {
    --gold: #c9a23f;
    --text-dark: #222;
    --text-light: #f7f7f7;
    --light-bg: #f9f9f9;
    --white-bg: #ffffff;
    --dark-bg: #111;
}



.anfrage-title {
    position: relative;
    z-index: 1;
    color: black;
    font-size: 42px;
    font-weight: 700;

    text-align: center;
}


.anfrage {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 80px 20px;

}

.anfrage-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

}

.anfrage h2 {
    color: darkgoldenrod;
    margin-bottom: 15px;
}

.anfrage p {
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.anfrage-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
    min-width: 0;
}

.anfrage-form input,
.anfrage-form select,
.anfrage-form textarea {
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
    
}

.anfrage-form input:focus,
.anfrage-form select:focus,
.anfrage-form textarea:focus {
    border-color: darkgoldenrod;
    background: #333;
}

.anfrage-form button {
    background-color: darkgoldenrod;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.anfrage-form button:hover {
    background-color: #a57c1b;
    transform: scale(1.05);
}

.zurueck-link {
    margin-top: 40px;
}

.zurueck-link a {
    color: darkgoldenrod;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.zurueck-link a:hover {
    color: #a57c1b;
}

.form-status {
    font-weight: bold;
    margin-top: 10px;
}

.hidden {
    position: absolute;
    left: -9999px;
}

.kontakt-form textarea,
.anfrage-form textarea {
  resize: none;
  min-height: 140px;
  max-height: 40vh;

  overflow-y: auto;  /* wichtig: Scroll erlauben */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}



@media (max-width: 768px) {
    .anfrage-container {
        padding: 1.5rem 1rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row input {
        width: 100%;
    }

    .anfrage-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .anfrage h2 {
        font-size: 1.4rem;
    }
}