/* ============================================
   CONTAINER
============================================ */



/* Volle Breite für Header + Footer mit zentriertem Inhalt */
.site-header,
.site-footer {
  width: 100%;
  background-color: #f5f5f5; /* Beispiel */
}

/* Zentrierter Inhalt */
.header-inner,
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.site-main {
  margin: 0 auto;
  padding: 2rem;
  max-width: 1200px;
}




/* ============================================
   SITECOLORS
============================================ */

/*#F93943 /*imperial red*/
/*#445E93 YlnMn Blue */
/* https://coolors.co/f4e04d-f5f9fc-0d1321-1d2d44-3e5c76 */
/* https://coolors.co/f93943-f0f6fa-ccd3ea-1d2d44-3e5c76 */
/* AUSWAHL : https://coolors.co/f93943-f0f6fa-ccd3ea-2b4364-3e5c76 */

:root {
  --red: #f93943;
  --bg-blue: #F1F5F9; //#f0f6fa;
  --highlight-blue: #A9BEDA; //#ccd3ea;
  --dark-blue: #2b4364;
  --grey-blue:#3e5c76;
}

/* ============================================
   HEADER
============================================ */

header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-blue);
  background: #f9f9f9;
}

/*.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  max-width: 50%;
  height: auto;
  display: block;
}
*/
.site-logo {
  display: inline-block;
  max-width: 100%;
}

.site-logo a {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: auto;
  max-width: 50%;
  width: auto;
}

/* Optional:  Größenanpassung für mobile Geräte */
@media (max-width: 600px) {
  .logo-img {
    max-width: 240px;
  }
}

/* ============================================
   FONTS
============================================ */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
html {
  font-size: 1rem;
}
body {
  font-size: 1rem;
  line-height: 1.4;
}
h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.25rem;
}
p {
  margin-bottom: 1rem;
}

/* ============================================
   GENERAL SETTINGS
============================================ */


.space-row {
  flex-direction: column;
  height: 80px;
}
.line-space {
  flex: 1;
  border-bottom: 1px dotted #999;
  margin-top: 0.5rem;
}



input[readonly] {
  background-color: transparent;
  border: none;
/*  border-bottom: 1px solid var(--dark-blue); */
  color: var(--dark-blue);
  pointer-events: none;
  user-select: none;
  font-weight: bold;
}

.slash {
  margin: 0 0.5rem;
  line-height: 1;
  display: inline-block;
  align-self: center;
  font-weight: normal;
}
.right-note {
  font-size: 0.9rem;
  margin-left: auto;
}

============================================
   QUITTUNG-BEREICH
============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.receipt-sheet {
  max-width: 800px;
  margin: 0 auto;
/*  margin-top: 2rem; */
  background-color: var(--bg-blue);
  padding: 2rem;
  border: 1px solid var(--dark-blue);
  box-sizing: border-box;
  width: 100%;
}

.receipt-sheet h1 {
  text-align: right;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.row {
  border: 1px solid var(--dark-blue);
  padding: 0.5em 0.5em 0.25em 0.5em;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  background-color: var(--bg-blue);
}

.row label {
  flex: 0 0 200px;
  font-size: 0.9rem;
  color: var(--dark-blue);
}

.row input,
.row select {
  flex: 1;
  font-family: inherit;
  font-weight: bold;
  /* font-size: 0.9rem; */
  border: none;
/*  border-bottom: 1px solid var(--dark-blue); */
  background-color: var(--bg-blue);
  padding: 0.1rem;
  color: #000;
}

.row.right-align {
  justify-content: flex-end;
  width: 50%;
  margin-left: auto;
}

.row.right-align label {
  flex: 0 0 150px;
  text-align: right;
  margin-right: 1rem;
}

.row.right-align input,
.row.right-align select {
  flex: 1;
  max-width: 200px;
  text-align: right;
}

.row.highlight ,
.row.highlight input,
.row.highlight split-field {
  background-color: var(--highlight-blue);
}

/* invisible labels  */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*
input[type="text"],
textarea {
  min-height: 24px;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}
*/

/* ============================================
   EURO BEREICH
============================================ */

.row.split-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
  border: none;
  margin: 0;
  padding: 0;
}

.split-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.5em 0.5em 0.25em 0.5em; // 1rem;
  border: 1px solid var(--dark-blue);
  box-sizing: border-box;
  gap: 1rem;
  background-color: var(--bg-blue);
  margin-bottom: 0.2rem;
}

.split-field:first-child {
  justify-content: flex-start;
}

.split-field:first-child label,
.split-field:first-child input {
  text-align: left;
}

.split-field:last-child {
  justify-content: flex-end;
}

.split-field:last-child label,
.split-field:last-child input {
  text-align: right;
}

.split-field-empty {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.5em 0.5rem;
  border: 0px;
  box-sizing: border-box;
  gap: 1rem;
  background-color: var(--bg-blue);
  margin-bottom: 0.2rem;
}

.split-field label {
  flex: 0 0 120px;
  text-align: right;
  white-space: nowrap;
}

.split-field input,
.split-field select {
  flex: 1;
  font-family: inherit;
  font-size: 0.9rem;
  text-align: right;
  border: none;
  background: none;
  box-sizing: border-box;
}

.split-field.highlight {
  background-color: var(--highlight-blue);
/*  padding: 0.5rem; */
}

.split-field.highlight input,
.split-field.highlight select {
  background-color: var(--highlight-blue);
/*  border: none;
  border-bottom: 1px solid #000; */
}


/* ============================================
   COMMENT / SIGNATURE ROW
============================================ */

.signature-split {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0rem;
  align-items: flex-start;
}

.signature-left,
.signature-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.signature-left label {
  text-align: left;
  margin-bottom: 0.2rem;
  flex: 0 1 auto;

}

.signature-right label {
  text-align: right;
  margin-bottom: 0.2rem;
  flex: 0 1 auto;
}

.signature-left input {
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    font-family: inherit;
    font-weight: bold;
    border: none;
    padding: 0.1rem;
    color: #000;
}



textarea {
  font-family: inherit;
  line-height: 1.2;
  width: 100%;
  resize: none;
  box-sizing: border-box;
  padding: 0rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: hidden;
  background-color: var(--bg-blue);
  border: none;
  /*overflow-y: hidden;*/
/*  border-bottom: 1px solid var(--dark-blue); */
}



.booking-note {
  height: auto;
  min-height: 4.8em; /* ca. 2 Zeilen */
  max-height: 5em;
  padding: 0;
  margin: 0;

  /*font-size: 0.9rem;*/
}


/*.signature-left textarea {
  flex: initial !important;
  min-height: 3.5rem;
  line-height: 1.2;
  margin: 0;
  resize: none;
  padding: 0.5em 0 0;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  width: 100%;
  background-color: #f5f9fc;
  border: none;
  border-bottom: 1px solid #6e94c0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  color: #000;
}



.row.bottom {
  border-top: 2px solid var(--dark-blue);
  font-size: 0.9rem;
  color: #2f5a99;
  font-weight: bold;
  height: 100px;
}
*/

/* ============================================
   DATE / PLACE ROW
============================================ */
/*
.date-location-row {
  padding: 0.5em 0.5em 0.25em 0.5em;
  margin-bottom: 0.25rem;
  border: 1px solid var(--dark-blue);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.date-location-row label {
  flex: 0 0 200px;
  color: var(--dark-blue);
}

.date-location-row input {
  border: none;
  background-color: var(--bg-blue);
/* border-bottom: 1px solid var(--dark-blue);
  box-sizing: border-box;
  padding: 0.1rem;
  font-size: 0.9rem;
  line-height: 1.2;
}

.date-field {
  flex-shrink: 0;
  flex-grow: 0;
  width: 6rem;
}

.place-field {
  flex: 1 1 auto;
  min-width: 150px;
}
*/




.row.uneven-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
/*  border: 1px solid var(--dark-blue); */
  padding: 0;
  border: 0;
  background-color: var(--bg-blue);
  gap: 0.5em;
}

.split-field-left,
.split-field-right {
  display: flex;
  align-items: center;
  /*padding: 0.25em 0;*/
  box-sizing: border-box;
  gap: 0.5rem;
}

.split-field-left {
  flex: 0 0 auto;
  padding-right: 1em;
  border: 1px solid var(--dark-blue);
  padding: 0.5em 0.5em 0.25em 0.5em;
  margin-bottom: 0rem;
}

.split-field-right {
  flex: 1 1 auto;
  border: 1px solid var(--dark-blue);
  padding: 0.5em 0.5em 0.25em 0.5em;
/*  margin-bottom: 0.25rem; */
}

.split-field-left label,
.split-field-right label {
  flex: 0 0 auto;
  color: var(--dark-blue);
  white-space: nowrap;
  padding-right: 0.25em;
}

.split-field-left input,
.split-field-right input {
  /*flex: 1;*/
  border: none;
/* border-bottom: 1px solid var(--dark-blue); */
  background-color: var(--bg-blue);
  font-family: inherit;
  /*padding: 0.1rem;*/
}



/* ============================================
   RADIO BUTTONS
============================================ */
.receipt-type-switcher {
  padding: 0rem 0;
  text-align: center;
  font-family: inherit;
  color: var(--dark-blue);
}

.receipt-type-switcher label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.type-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0rem;
}

.type-options label {
  font-family: inherit;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.4rem;
/* font-size: 1rem; */
  white-space: nowrap;
}

.custom-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: border 0.2s ease;
}

/* Äußerer Ring (wenn aktiv) */
.custom-radio input[type="radio"]:checked {
  border-color: #f93943ff;
}

/* Innerer Punkt */
.custom-radio input[type="radio"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #f93943;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Punkt sichtbar bei :checked */
.custom-radio input[type="radio"]:checked::before {
  opacity: 1;
}

/* ============================================
  BUTTONS PRINT AND PDF
============================================ */

.form-controls {
  text-align: center;
  margin-top: 0.5rem;
}

.form-controls button {
  background-color: var(--dark-blue);
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form-controls button:hover {
  background-color: var(--grey-blue);
}

/* ============================================
   FAQ-PAGE
============================================ */

.faq-wrapper {
  display: flex;
  justify-content: center;
  /*padding: 2rem 1rem;
  max-width: 1200px;
  /*flex-direction: column /* falls flex gewünscht ist
  width: 100%;
  max-width: 800px;*/
  margin: 0 auto;
  padding: 2rem;
  color: #2f5a99;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0 0.5em 0;
}
/*
.faq-question {
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-right: 1.5rem;
}
*/
.faq-question {
  cursor: pointer;
  font-weight: bold;
  position: relative;
/*  font-size: 1.1rem;*/
  padding: 0.5em 1.5em 0.5em 0;
  display: block;
  color: #042a2b;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
}

.faq-item.active .faq-question::after {
  content: "−";
}



.faq-item.active .faq-answer {
  display: block;
}



.faq-answer {
  display: none;
  padding: 1em 1.5em 1em 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}


.page-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  /*padding: 1rem;
  color: #2f5a99;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;*/
}

/* ============================================
   FOOTER
============================================ */

footer {
  margin-top: 2em;
  padding: 2rem 0;
  border-top: 1px solid var(--grey-blue);
  border-bottom: 1px solid var(--grey-blue);
  font-size: 0.9rem;
  background: #f9f9f9;
  font-family: inherit;
  color: var(--dark-blue);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.footer-col {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-info {
flex:2;
flex-direction: column;
justify-content: flex-start;
line-height: 1.5;
padding: 0;
margin: 0;
}

.footer-info p {
margin: 0 0 0.5em 0;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li {
  margin-bottom: 0.5rem;
}
.footer-menu a {
  text-decoration: none;
  color: var(--dark-blue);
}
.footer-menu a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
.footer-grid {
    flex-direction: column;
}

/* ============================================
     MOBILE VIEW SETTINGS
============================================ */
@media screen and (max-width: 1200px) {
  .row,
  .row.split-row,
  .row.uneven-split {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .row label,
  .split-field label,
  .split-field-left label,
  .split-field-right label {
    width: 100%;
    /*margin: 0 0 0.25rem 0;*/
    flex: none;
  }

  .row input,
  .row select,
  .split-field input,
  .split-field select,
  .split-field-left input,
  .split-field-right input,
  .split-field-left select,
  .split-field-right select {
    width: 100%;
    flex: none;
  }

  .split-field,
  .split-field-left,
  .split-field-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0.25rem;
  }

  .row.split-row .split-field-empty {
    display: none;
  }

  .right-note,
  .signature-right {
    display: none;
  }
}






/* ============================================
   PRINT SETTINGS
============================================ */

@media all {
  .pdf-export .row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1mm !important;
  }

  .pdf-export .receipt-sheet,
  .pdf-export .receipt-form {
    width: 800px !important;
    max-width: none !important;
    margin: 0 auto !important;
  }

  .pdf-export label {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  .pdf-export input,
  .pdf-export select,
  .pdf-export textarea {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

@page {
  margin: 0;
  size: A4 portrait;
}
