

.container.request-catering     { min-height: calc(100vh - 400px); display: flex; padding: 150px 100px; flex-direction: column; }
.container.request-catering h1  { margin-bottom: 50px; }

.crc-option                     { 
    display: flex;
    position: relative;
    padding: 60px 100px;
    margin-top: 50px;
    text-align: left;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.crc-option:before {
    content: "";
    z-index:-1;
    position: absolute;
    width: calc(100% + 160px);
    height: calc(100% + 100px);
    left: -80px;
    top: -50px;
    background: none; border: 1px solid var(--color-text); border-radius: 20px;
}

.crco-choice { position: relative; padding: 0px 150px; margin-left: 20px; margin-bottom: 20px; width: 60%; text-align: center; }
.crco-choice h2 { font-size: clamp(1.8rem, 3vw, 1.9rem);}
.crco-choice:before,
.crco-choice:after {
    content: " ";
    width: 100px;
    height: 1px;
    background: #FFF;
    position: absolute;
    top: calc(50% - 10px);
}

.crco-choice:before { left: 0px; }
.crco-choice:after { right: 0px; }

.crco-choice h2::before,
.crco-choice h2::after              { content: ""; width: 1px; height: 20px; background: #FFF; position: absolute; top: 50%; transform: translateY(-50%); }
.crco-choice h2::after              { right: 0px; }
.crco-choice h2::before             { left: 0px; }
.crco-buttons {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: space-between;
}
.crc-button {
	min-width: 400px;
	font-family: var(--font-headlines);
	font-size:26px;
    height: 62px;
	font-weight: 500;
	color: #FFF;
	background-color: var(--color-hg-orange-light);
	border:1px solid #FFF;
	text-align: center;
	margin-bottom: 50px;
}
.crc-button.active {
	background-color: var(--color-hg-orange);
}

.crcobci-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.crcobci-info i {
    min-width:10px;
}
.crc-form.crc-loc-1,
.crc-form.crc-loc-2,
.crc-form.crc-loc-3 {
    margin-top:100px;
    position: relative;
    flex-direction: column;
}
.crc-loc-1_form {
    margin-top: 100px;
}

/*** content area **/
.crc-rs-images                      { position: relative; padding-left: 100px; }
.crc-rs-text-head                   { margin-top:-40px; }
.crc-rs-text-head h3                { margin-bottom:0px; }
.crc-rss-texts                      { position: absolute; left: 0; display: flex; gap: 20px; flex-direction: column; align-items: flex-start; }
.crc-rs-text-head,
.crc-rs-text                        { background: #fff; padding: 40px 50px; z-index: 2; position: relative; min-width: 450px; left: 0px; max-width: 500px; }
.crc-rs-text                        { left:60px; }

.crc-rs-text-head:before,
.crc-rs-text:before                 { width: calc(100% - 20px); height: calc(100% - 20px); content: ""; border: 1px solid #212223; position: absolute; left: 10px; top: 10px; }

.crc-rs-row-two                     { width: 70%; display: flex; position: relative; }
.crc-rs-section                     { display: flex; flex-direction: column; align-items: center;}

.crc-rs-row-one .crc-rsr-image      { width: 100%; max-height: 780px; display: flex; justify-content: center; align-items: center;}
.crc-rs-row-two .crc-rsr-image      { width: 50%; max-height: 300px; -webkit-box-shadow: 0px 8px 29px -5px rgba(0,0,0,0.24); box-shadow: 0px 8px 29px -5px rgba(0,0,0,0.24); }
.crc-rs-row-two                     { margin-left: -100px; margin-top: -30px; }

.crc-rsr-image                      { overflow: hidden; }
.crc-rsr-image img                  { width: 100%; height: 100%; transform: scale(1.2); transition: transform 15s ease; object-fit: cover; object-position: center; /**animation: zoomLoop 30s ease infinite; **/}
.crc-rsr-image:hover img            { transform: scale(1.1); }

.crc-rs-video                       { margin-top: 70px; background: #000; width: 100%; max-width: 1000px; min-height: 300px; max-height: 800px; }


.crclf-container[data-before]                   { position: relative;}
.crclf-container[data-before]::before           { content: attr(data-before); position: absolute;top: 28px; left: -32px; background: #FFF;border-radius: 50%; width: 64px; border: 1px solid #000;font-weight: 600; height: 64px;display: flex;align-items: center;justify-content: center;font-size: 35px; font-weight: bold; z-index: 1;}

.crclf-header                                   { padding-left: 100px;} 
.crclf-header .crclfh-prehead                   { margin-bottom: 0px;}
.crclf-header .crclfh-prehead span              { display: inline-block;background: #FFF; padding: 4px 20px 7px 20px;border-radius: 55px;text-align: center; border: 1px solid #000; margin-left: 10px; font-size: 30px; font-weight: 600; margin-right: 10px;}
.container.request-catering .crclf-header h2    { margin-bottom: 20px; font-size: var(--font-size-h1); font-family: var(--font-headlines);}

.crc-form                                       { display:none; align-items: flex-start;}
.crc-form.active {
    display: flex;
}

.crc-loc-form  {
    margin-top: 150px;
    width: 100%;
}
.crc-has-border {
    padding: 100px 150px;
    border: 1px solid #000;
    border-radius: 25px;
    margin-bottom: 70px;
}

.crc-form-group {
   margin-bottom: 20px;
}

.crclf-container {
    display: flex;
    flex-wrap: wrap;

}
        
.crc-form-group {
    margin-bottom: 20px;
}
        
.fmg-50 { flex: 0 0 50%; display: flex; flex-direction: column; padding: 0 10px; }
.fmg-35 { flex: 0 0 35%; display: flex; flex-direction: column; }
.fmg-75 { flex: 0 0 100%; padding: 0 10px; }
.fmg-75 > * { width: 75%; }
        
.crc-fmg {
    margin-bottom: 15px;
}
       
.crc-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-negativ);
}
        
        .crc-form-group input, .crc-form-group textarea, .crc-form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #000;
            font-size: 16px;
            background-color: var(--color-text-negativ);
            padding: 20px 30px;
        }
        
        .crc-form-group textarea {
            height: 150px;
            resize: vertical;
        }
 
        .checkbox-item { position: relative; display: flex; align-items: center; width: calc(100% - 20px); border-radius: 4px; cursor: pointer; transition: background-color 0.3s; margin-bottom: 20px; }
        .checkbox-item input { position: absolute; opacity: 0; cursor: pointer;  }
        .crc-form-group.fmg-35 { margin-top:50px; }
       
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item {
          display: grid;
          gap: 14px 24px;
        }

        /* Jede Option */
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item {
          display: block;
        }

        /* Das klickbare Label als Flex-Container */
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label {
          position: relative;
          display: flex;
          align-items: center;
          gap: 20px;
          cursor: pointer;
          user-select: none;
          min-height: 100px; /* passend zu Icon-Größe */
        }

        /* Den nativen Input zugänglich lassen, aber visuell ausblenden */
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label > input[type="checkbox"] {
          position: absolute;
          inset: 0;
          opacity: 0;
          width: 100%;
          height: 100%;
          cursor: pointer;
        }

        /* Der Textknoten, den CF7 erzeugt */
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item-label {
          color: var(--color-text-negativ);
          transition: color .3s ease;
          z-index: 1; /* über dem Icon, falls nötig */
        }

        /* Kreis-Hintergrund links im Label */
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label::before {
          content: "";
          flex: 0 0 100px;
          width: 100px;
          height: 100px;
          border-radius: 50%;
          background-color: var(--color-text-negativ);
          box-shadow: 0 0 0 1px rgba(0,0,0,.1);
          transition: background-color .3s ease, filter .2s ease;
        }

        /* SVG-Icon als Maske oben drauf */
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label::after {
          content: "";
          position: absolute;
          left: 0;              /* deckt den Kreis */
          width: 100px;
          height: 100px;
          mask: no-repeat center / 50%;
          -webkit-mask: no-repeat center / 50%;
          background-color: var(--color-text);
          transition: background-color .3s ease;
          pointer-events: none;
        }


        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label:has(input:checked)::before { background-color: var(--color-hg-orange); }
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label:has(input:checked)::after { background-color: var(--color-text-negativ); }
        .wpcf7-form-control.wpcf7-checkbox.checkbox-item .wpcf7-list-item > label:has(input:checked) .wpcf7-list-item-label { color: var(--color-text); }
        .wpcf7-response-output { display: none; }
        .crclf-footer .wpcf7-response-output { display: block;}
        .wpcf7-not-valid-tip { display: none !important; }

/* Roter Rahmen für invalide Felder */
input.wpcf7-not-valid,
textarea.wpcf7-not-valid,
select.wpcf7-not-valid {
  border-color: #d33 !important;
  outline: none;
}

/* Checkbox/Radio: Label einfärben, wenn das Input invalid ist */
.wpcf7-list-item > label:has(input[aria-invalid="true"]) {
  outline: 2px solid #d33;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Styling der globalen Fehlerbox */
.crc-global-errors {
    margin-top: 16px;
    margin-left: 10px;
    padding: 12px 14px;
    background: #ff5959;
    color: #ffffff;
    display: none;
}
.crc-global-errors p {
    color: var(--color-text-negativ);
    font-weight: bold;
}
.crc-global-errors ul {   margin: 6px 0 0;  padding: 2px 60px; list-style: auto; }

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output
{
    border: 1px solid;
    border-color: #d33 !important;
    background-color: var(--color-hg-orange);
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: bold;
    margin: 40px 0px;
    color: #FFF;
}
        .crclf-footer .submit-btn {
            background-color: var(--color-hg-orange-light);
            color: white;
            border: 1px solid #FFF;
            padding: 12px 20px;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            max-width: 250px;
            margin-top: 40px;
            text-align: center;
            border-radius: 35px;
        }
        
        .crclf-footer .submit-btn:hover {
            background-color: var(--color-hg-orange);
        }
        
        .note {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        .crclf-legal {
            margin-top: 20px;
        }
        .crclf-legal p {
            color: var(--color-text-negativ);
            font-size: 14px;
        }
        .crclf-legal p a {
            text-decoration: underline;
        }

@media (min-width: 770px) and (max-width: 1645px) {
    .crc-option {
        padding: 60px 0px;
    }
    .crco-choice {
        width: 100%;
    }
    .crc-button {
        min-width: 400px;
        padding: 0px 70px;
    }
    .crco-buttons {
        display: flex;
        gap: 40px;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}
@media (min-width: 1645px) and (max-width: 1900px) {
    .crc-option {
        padding: 60px 0px;
    }
    .crc-button {}
}

@media (max-width: 769px) {
    /** Section **/
    .container.request-catering { padding: 150px 0px; }
    
    /** content **/
    .crc-rs-text-head,
    .crc-rs-text                        { position: relative; left: 0px; width: 100%; min-width: unset; max-width: unset; }
    .crc-rss-texts                      { position: relative; width: 100%; }
    .crc-rs-row-two                     { margin-left: 0px; margin-top: 0px; width: 100%; flex-direction: column; }
    .crc-rs-row-two .crc-rsr-image      { width: 100%; max-height: 380px; height: 100%; }
    .crc-rs-row-two .crc-rsr-image img  { height: 100%; }
    .crc-rs-images                      { padding:0; }
    .crc-imprir-image img               { animation-duration: 25s; }
    .crco-choice {
        width: 100%;
        padding: 0;
        margin-left: 0px;
    }
    .crc-option {
        padding: 0px 0px;
    }
    .crco-choice:before, .crco-choice:after {
        display: none;
    }
    .crco-choice h2::before, .crco-choice h2::after {
        display: none;
    }

    .crco-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .crcobc-info {
        display: none;
    }
    .crc-button {
        margin-bottom: 10px;
    }
    .container.request-catering h1 {
        text-align: center;
    }
    .crclf-header {
        padding-left: 0px;
    }
    .crc-has-border {
        padding: 40px 30px;
    }
    .crclf-container[data-before]::before {
        left: -23px;
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
    .crclf-container {
        flex-direction: column;
    }
    .fmg-75 > * {
        width: 100%;
    }
    .crc-form-group.fmg-35 {
        margin: 0;
    }
    .crc-fmg {
        margin: 0;
    }
    .crclf-header-intern {
        margin-bottom: 50px;
    }
    .crclf-legal p {
        margin-bottom: 20px;
    }
}






