/* =====================================================================
   Gentle Forces – Website-Styles
   Nachbau des bestehenden Layouts (Desktop / Tablet / Mobil)
   ===================================================================== */

/* ---------- Schriften (Avenir Next, Lizenz über fonts.net) ---------- */
@font-face {
  font-family: "AvenirNext-Regular";
  src: url("../fonts/avenir-next-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "AvenirNext-Demi";
  src: url("../fonts/avenir-next-demi.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "AvenirNext-DemiItalic";
  src: url("../fonts/avenir-next-demi-italic.woff2") format("woff2");
  font-display: swap;
}

:root {
  --gold: #b6986b;
  --sand: #f4f0e9;
  --white: #ffffff;
  --f-regular: "AvenirNext-Regular", "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-demi: "AvenirNext-Demi", "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-demi-italic: "AvenirNext-DemiItalic", "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-regular);
  font-size: 15px;
  color: var(--gold);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
img { display: block; max-width: 100%; }
p { text-align: left; }
h1, h2, h3, h4, p, li, strong { color: var(--gold); font-weight: normal; }
h1 { font-size: 26px; padding-bottom: 20px; }
h2, h1.ph { font-family: var(--f-demi); }
strong, b { font-family: var(--f-demi); font-weight: normal; }
em, i { font-style: italic; }

.fitalic { font-family: var(--f-demi-italic); text-align: left; }
.inlinelist { list-style: none; }
.inlinelist li { text-align: left; }
.inlinelist li::before { content: "_ "; padding-right: 5px; }
.inlineh2 { font-family: var(--f-demi); color: var(--gold); }
.alignleft { text-align: left; }
.aligncenter { text-align: center; }
.spec { padding-bottom: 30px !important; }
.cell-img2 { margin-top: -15px !important; }
.quote-author { text-align: right; font-family: var(--f-demi); }
.gentlegold { color: var(--gold); }
.floatleft { float: none; }
.clear { clear: both; }
.tbr { display: none; }

/* ---------- Grundgerüst ---------- */
#sheet { min-height: 100%; overflow: hidden; }
header { background: var(--white); }
#header { position: relative; margin: 0 auto; height: 100%; }
#content { margin: 0 auto; text-align: center; }
#footer { margin: 0 auto; text-align: center; }
#footer .footer-claim { color: var(--white); text-align: center; font-weight: normal; }
.text { background: var(--white); overflow: auto; }
.square-content.image img { width: 100%; height: 100%; object-fit: cover; }

/* Logo & Untertitel */
.logo-link { display: block; width: max-content; margin: 0 auto; }
.subtitle { position: absolute; left: 0; color: var(--gold); text-align: left; padding: 0 !important; }

/* Buttons */
.button {
  display: inline-block;
  background-color: var(--gold);
  color: var(--white);
  border: none;
  padding: 5px 9px;
  margin: 4px 2px;
  font-family: var(--f-demi);
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.button:hover, .button:focus-visible { background-color: var(--sand); color: var(--gold); }

/* Zertifikats-Logos */
.certlogo { float: left; width: auto !important; margin-right: 20px; }

/* ---------- Navigation (Hamburger auf allen Geräten) ---------- */
.header-right { position: absolute; top: 0; right: 0; bottom: 0; }
input.toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
label.toggle { position: absolute; right: 0; cursor: pointer; display: block; }
label.toggle span {
  display: block;
  background: var(--gold);
  margin-bottom: 5px;
}
nav { display: none; }
#toggle:checked ~ nav { display: block; }
.togglemenu {
  position: absolute;
  z-index: 10;
  right: 0;
  list-style: none;
  background-color: var(--gold);
  text-align: left;
}
.togglemenu li { list-style: none; }
.togglemenu ul { list-style: none; }
.togglemenu ul li { margin-left: 20px; }
.togglemenu a {
  display: block;
  color: var(--white);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.togglemenu a:hover, .togglemenu a:focus-visible { color: var(--sand); }
.togglemenu a.current { font-family: var(--f-demi); }

/* ---------- Akkordeon (FAQ) ---------- */
.accordion {
  display: block;
  width: 100%;
  color: var(--gold);
  background: var(--white);
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--f-demi-italic);
  font-size: 16px;
  letter-spacing: .5px;
  padding: 0 0 20px 15px;
  text-indent: -16px;
  transition: .4s;
}
.accordion::before { content: "\003E\00a0"; }
.accordion.active::before, .accordion:hover::before { content: "\003C\00a0"; }
.accordion:focus-visible { text-decoration: underline; }
.panel { display: none; padding: 0 18px; background: var(--white); overflow: hidden; }
.panel.open { display: block; }

/* ---------- 404 ---------- */
#error404box { padding: 60px 20px; text-align: center; }
#error404box h1 { font-family: var(--f-demi); line-height: 1.3; }
#error404box p { text-align: center; padding-bottom: 20px; }

/* =====================================================================
   DESKTOP (ab 1025px)
   ===================================================================== */
@media only screen and (min-width: 1025px) {
  p { font-size: 16px; line-height: 23px; padding-bottom: 20px; }
  #home p { padding-bottom: 30px; }
  h2, h1.ph { font-size: 19px; letter-spacing: 1px; padding-bottom: 20px; }
  h3 { font-size: 16px; line-height: 23px; padding-bottom: 20px; }
  #home h2, #home h1.ph, #home h3 { padding-bottom: 10px; }
  .layout-columns #centerbox h3 { font-size: 18px; }
  h4 { font-size: 18px; padding-bottom: 20px; }
  strong { font-size: 16px; }
  .inlinelist { padding-bottom: 20px; }
  .inlinelist li { font-size: 16px; line-height: 22px; padding-left: 18px; text-indent: -18px; }
  .inlineh2 { font-size: 18px; line-height: 34px; }

  #sheet { background: var(--sand); }
  header { height: 185px; }
  #header, #content, #footer { width: 82vw; }
  #header { padding: 0 4vw; }
  #header .header-right { right: 4vw; }

  .subtitle { left: 4vw; bottom: 21px; font-size: 18px; line-height: 22px; }
  #logo { width: 280px; height: auto; padding-top: 28px; }

  label.toggle { top: 34px; }
  label.toggle span { width: 33px; height: 4px; }
  .togglemenu { top: 75px; width: 300px; padding: 20px 0; }
  .togglemenu a { font-size: 18px; line-height: 25px; margin-left: 20px; padding-right: 20px; }
  #startb { position: absolute; right: 20px; bottom: 15px; white-space: nowrap; margin: 0; }

  #square-container {
    display: grid;
    grid-template-columns: 35vw 35vw;
    column-gap: 4vw;
    justify-content: center;
    margin-top: 43px;
  }
  .square-box { position: relative; width: 35vw; aspect-ratio: 1 / 1; overflow: hidden; }
  .square-content { position: absolute; inset: 0; }
  .text { padding: 30px 20px 20px 40px; text-align: center; }

  /* Spalten-Layout (Services, Overview) */
  .layout-columns #centerbox { padding: 30px 1.2vw 0 0; }
  .layout-columns #square-container { margin-top: 20px; align-items: stretch; }
  .layout-columns .square-box { aspect-ratio: auto; min-height: 34vh; }
  #overview-our-body .square-box { min-height: 60vh; }
  .layout-columns .square-content { position: static; height: 100%; }
  .layout-columns .text { overflow: visible; }
  .layout-columns .text img { float: left; width: 50%; margin: 0 0 0 -20px; }
  #afterbox { padding-top: 15px; }

  .certlogo { height: 80px; }

  footer { margin-top: 22px; background: var(--gold); }
  #footer .footer-claim { font-size: 16px; line-height: 23px; letter-spacing: 1px; padding: 10px; }
}

/* =====================================================================
   TABLET (768px – 1024px)
   ===================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  p { font-size: 16px; line-height: 23px; padding-bottom: 25px; }
  #home p { padding-bottom: 30px; }
  h2, h1.ph { font-size: 19px; letter-spacing: 1px; padding-bottom: 20px; }
  h3 { font-size: 16px; line-height: 23px; padding-bottom: 20px; }
  #home h2, #home h1.ph, #home h3 { padding-bottom: 10px; }
  .layout-columns #centerbox h3 { font-size: 18px; }
  h4 { font-size: 18px; padding-bottom: 20px; }
  strong { font-size: 16px; }
  .inlinelist { padding-bottom: 20px; }
  .inlinelist li { font-size: 16px; line-height: 22px; padding-left: 18px; text-indent: -18px; }
  .inlineh2 { font-size: 18px; line-height: 34px; }

  #sheet { background: var(--sand); }
  header { height: 200px; }
  #header, #content, #footer { width: 90vw; }

  .subtitle { bottom: 30px; font-size: 16px; line-height: 20px; max-width: 26vw; }
  #logo { width: 35vw; height: auto; padding-top: 40px; }

  label.toggle { top: 35px; }
  label.toggle span { width: 33px; height: 4px; }
  .togglemenu { top: 85px; width: 340px; padding: 20px 0; }
  .togglemenu a { font-size: 18px; line-height: 40px; margin-left: 20px; padding-right: 20px; }
  #startb { position: absolute; right: 0; bottom: 30px; white-space: nowrap; margin: 0; }

  #square-container { margin-top: 30px; }
  .square-box { margin-bottom: 30px; }
  .square-content.image img { aspect-ratio: 1 / 1; }
  .text { padding: 25px; text-align: center; }
  .layout-columns #centerbox { padding-top: 30px; }
  .layout-columns #square-container { margin-top: 0; }
  .layout-columns .text img { float: left; width: 40%; margin: 0 10% 10px 0; }
  #afterbox { padding-bottom: 30px; }

  .certlogo { height: 80px; }

  footer { background: var(--gold); }
  #footer .footer-claim { font-size: 16px; line-height: 23px; padding: 12px; }
  .accordion { font-size: 14px; }
}

/* =====================================================================
   MOBIL (bis 767px)
   ===================================================================== */
@media only screen and (max-width: 767px) {
  p { font-size: 14px; line-height: 20px; padding-bottom: 20px; }
  #home p { padding-bottom: 30px; }
  h1 { font-size: 18px; padding-bottom: 5px; }
  h2, h1.ph { font-size: 16px; letter-spacing: 1px; padding-top: 15px; padding-bottom: 10px; }
  h3 { font-size: 16px; line-height: 23px; padding-bottom: 20px; }
  #home h2, #home h1.ph, #home h3 { padding-bottom: 10px; }
  h4 { font-size: 16px; padding-bottom: 20px; }
  .h4br { display: none; }
  strong { font-size: 14px; }
  #home .mo, #services .mo, .mo-hide { display: none; }
  .inlinelist { padding-bottom: 20px; }
  .inlinelist li { font-size: 14px; line-height: 22px; padding-left: 18px; text-indent: -18px; }
  .inlineh2 { font-size: 16px; line-height: 34px; }
  .tbr { display: block; }

  #sheet { background: var(--white); }
  .layout-columns #sheet, body.layout-columns { background: var(--sand); }
  header { height: 80px; }
  .layout-columns header { height: 91px; }
  #header, #content, #footer { width: 93vw; }

  .subtitle { top: 48px; font-size: 9px; line-height: 11px; max-width: 28vw; }
  #logo { width: 33vw; height: auto; padding-top: 18px; }

  label.toggle { top: 25px; }
  label.toggle span { width: 28px; height: 3px; }
  .togglemenu { top: 90px; right: -3.5vw; width: 220px; padding: 20px 0; }
  .togglemenu a { font-size: 13px; line-height: 25px; margin-left: 10px; padding-right: 10px; }
  #startb { display: none; }

  #square-container { margin-top: 10px; }
  .square-box { margin-bottom: 10px; }
  .square-content.image img { aspect-ratio: 1 / 1; }
  .text { background: var(--sand); padding: 15px; text-align: center; }
  .layout-columns .text { background: var(--white); }
  .layout-columns #centerbox { padding-top: 10px; }
  .layout-columns #square-container { margin-top: 0; }
  .layout-columns .text img { width: 100%; margin-bottom: 15px; }
  #afterbox { padding-bottom: 20px; }

  .certlogo { height: 50px; }

  .accordion { background: var(--sand); font-size: 14px; text-indent: -14px; }
  .panel { background: var(--sand); }
  .layout-columns .accordion, .layout-columns .panel { background: var(--white); }

  .button { font-size: 12px; }

  footer { margin-top: 0; }
  #footer { margin-top: 10px; background: var(--gold); }
  #footer .footer-claim { font-family: var(--f-demi); font-size: 10px; line-height: 14px; padding: 4px 0; letter-spacing: 0; }
}

/* Wartungsmodus */
.maintenance-box { min-height: calc(100vh - 230px); display: flex; flex-direction: column; justify-content: center; }
.maintenance-box a { text-decoration: underline; }
.admin-bar {
  position: sticky; top: 0; z-index: 60;
  background: #c0392b; color: #fff; text-align: center;
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; padding: 9px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.admin-bar strong { color: #fff; font-family: inherit; font-weight: 700; font-size: inherit; }
.admin-bar a { color: #fff; text-decoration: underline; font-weight: 600; margin-left: 6px; }

/* Clearfix für schwebende Bilder/Logos in Textboxen */
.text::after { content: ""; display: table; clear: both; }

/* Druck */
@media print {
  header nav, label.toggle, #startb { display: none !important; }
  .text { overflow: visible !important; }
}
