:root {
    --newsletter-pad-x: 18px;
    --newsletter-gap-y: 20px;
}

/* =========================================================
   NEWSLETTER – CONTENT INNERHALB VON q3-slide
   ========================================================= */

.q3-slide > form.q3-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: var(--newsletter-gap-y);
}

/* =========================================================
   MODUS AUSWAHL
   ========================================================= */

.q3-form-mode {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
}

.q3-form-mode-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.q3-form-mode-option:nth-child(1) {
    justify-content: flex-start;
}

.q3-form-mode-option:nth-child(2) {
    justify-content: center;
}

.q3-form-mode-option:nth-child(3) {
    justify-content: flex-end;
}

.q3-form-mode-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 auto;
}

.q3-form-mode-option span {
    display: block;
    white-space: nowrap;
}

/* =========================================================
   STATUSZEILE
   ========================================================= */

.q3-form-status {
    min-height: 42px;
    display: flex;
    align-items: center;

    padding: 8px var(--newsletter-pad-x);
    box-sizing: border-box;

    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-large);
    font-weight: 600;
    color: var(--color-text);
}

.q3-form-status.is-error,
.q3-form-status.is-success {
    font-size: var(--fs-large);
    font-weight: 600;
    color: var(--color-text);
    background: #fff;
}

/* =========================================================
   MODUS GRUPPEN
   ========================================================= */

.q3-mode-group {
    display: none;
    flex-direction: column;
    gap: var(--newsletter-gap-y);
}

.q3-form[data-mode="newsletter"] .q3-mode-group--address,
.q3-form[data-mode="newsletter"] .q3-mode-group--consent {
    display: flex;
}

.q3-form[data-mode="inquiry"] .q3-mode-group--address,
.q3-form[data-mode="inquiry"] .q3-mode-group--inquiry,
.q3-form[data-mode="inquiry"] .q3-mode-group--consent {
    display: flex;
}

/* =========================================================
   ROWS
   ========================================================= */

.q3-row {
    display: flex;
    gap: 10px;
}

.q3-row input:not([type="checkbox"]) {
    width: 100%;
}

.q3-row--2 input {
    flex: 1;
}

.q3-row--street input:first-child {
    flex: 2;
}

.q3-row--street input:last-child {
    flex: 1;
}

.q3-row--city input:first-child {
    flex: 2;
}

.q3-row--city input:last-child {
    flex: 1;
}

/* =========================================================
   INPUTS
   ========================================================= */

.q3-form input:not([type="checkbox"]):not([type="radio"]),
.q3-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px var(--newsletter-pad-x);

    border: 1px solid rgba(0,0,0,0.2);
    background: #fff;
    outline: none;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-large);
    font-weight: 600;
    color: var(--color-text);
}

.q3-form textarea {
    min-height: 120px;
    resize: none;
}

/* =========================================================
   FIELD WRAPPER / PFLICHTSTERN
   ========================================================= */

.q3-field {
    position: relative;
    width: 100%;
}

.q3-required {
    position: absolute;
    right: var(--newsletter-pad-x);
    top: 50%;
    transform: translateY(-50%);

    font-size: var(--fs-large);
    font-weight: 600;
    color: var(--color-text);
    pointer-events: none;
}

.q3-field textarea + .q3-required {
    top: 8px;
    transform: none;
}

/* =========================================================
   CONSENT
   ========================================================= */

.q3-form-consent {
    position: relative;
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
    gap: 6px;

    padding: 8px var(--newsletter-pad-x);

    border: 1px solid rgba(0,0,0,0.2);
    background: #fff;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
}

.q3-form-consent input[type="checkbox"] {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.q3-form-consent span {
    flex: 1;
    display: block;
    line-height: 1.4;
}

.q3-form-consent .q3-required {
    top: 8px;
    transform: none;
}

.q3-form-consent a {
    text-decoration: none;
    font-weight: 600;
    color: inherit;
}

.q3-form-consent a:hover {
    text-decoration: underline;
}

/* =========================================================
   HONEYPOT
   ========================================================= */

.q3-hp-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

