/* ==========================================================================
   CHRISS – Schnellzeichnerin · statische Version
   ========================================================================== */

/* PT Sans – lokal eingebunden (keine Verbindung zu Google) */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pt-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pt-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #fed300;
  --orange: #e6ae48;
  --text: #666;
  --heading: #393939;
  --heading-2: #5d5d5d;
  --label: #8d8d8d;
  --page-bg: #f5f5f5;
  --header-h: 100px;
  --container: 1100px;
}

/* --- Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font: 400 13px/23px 'PT Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; border: 0; }

a { color: #000; text-decoration: none; transition: color .15s ease-out; }
a:hover { color: var(--yellow); }

p { margin: 0; letter-spacing: .5px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1 { font-size: 24px; line-height: 1.3125; letter-spacing: 4px; color: var(--heading-2); }
h2 { font-size: 16px; line-height: 1.2; letter-spacing: 2px; color: var(--heading); }
h3 { font-size: 18px; line-height: 1.2857; color: var(--heading-2); }
h4 { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8b8b8b; }

ul { margin: 0; padding: 0; list-style: disc inside; }

.container { max-width: var(--container); margin: 0 auto; }

/* --- Header --------------------------------------------------------------- */
.page-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .11);
}
.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 15px;
  max-width: calc(var(--container) + 30px);
}
.logo { display: block; height: var(--header-h); flex-shrink: 0; }
.logo img { height: 100%; width: auto; }

.main-menu ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-menu a {
  display: block;
  padding: 0 24px;
  line-height: var(--header-h);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
}
.main-menu li:last-child a { padding-right: 0; }
.main-menu a:hover,
.main-menu a.current { color: var(--yellow); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0 14px 0 0;
  margin: 0;
  height: var(--header-h);
  color: var(--heading-2);
  cursor: pointer;
}
.menu-toggle svg { display: block; width: 14px; height: 14px; }
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] { color: var(--orange); }

.mobile-menu { display: none; }

/* --- Inhalt / Sektionen --------------------------------------------------- */
.content { padding-top: var(--header-h); }

.section {
  background-color: #dadad9;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.section > .container { padding: 0; }

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; min-width: 0; }
.col-1  { width: 8.3333%; }
.col-4  { width: 33.3333%; }
.col-5  { width: 41.6667%; }
.col-6  { width: 50%; }
.col-8  { width: 66.6667%; }
.col-12 { width: 100%; }

.center { text-align: center; }
.justify p { text-align: justify; }

.space { display: block; }
.h20 { height: 20px; } .h30 { height: 30px; } .h40 { height: 40px; } .h45 { height: 45px; }
.h50 { height: 50px; } .h52 { height: 52px; } .h55 { height: 55px; } .h70 { height: 70px; }
.h81 { height: 81px; } .h90 { height: 90px; }

.yellow { color: var(--yellow); }

/* Videokonferenz-Sektion */
.video-text { padding-top: 20px; }

/* Themen-Spalten */
.topic { padding-top: 35px; }

/* Referenz-Bilder */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ref-grid img { width: 100%; }

/* Rechtstexte (Impressum/Datenschutz) */
.legal h1 { margin-bottom: 0; }
.legal h2 { margin-top: 0; }
.legal ul { margin: 0; }

/* --- Kontaktformular ------------------------------------------------------ */
.contact-form h2 { margin: 12px 0; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4.05%;
  row-gap: 14px;
  margin-bottom: 26px;
}
.field label {
  display: block;
  font-size: 13px;
  line-height: 16.9px;
  letter-spacing: .5px;
  color: var(--label);
  margin-bottom: 4px;
}
.field .req { color: var(--label); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"] {
  display: block;
  width: 100%;
  height: 35px;
  padding: 8px 10px;
  font: 13px 'PT Sans', sans-serif;
  color: var(--label);
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus { border-color: #999; color: #555; }
.field.invalid input { border-color: #e04b4b; }
.field .error {
  display: none;
  margin-top: 3px;
  font-size: 12px;
  line-height: 16px;
  color: #e04b4b;
}
.field.invalid .error { display: block; }

.consent-text { margin: 0 0 26px; font-size: 12px; line-height: 19px; color: var(--label); }
.consent-text a { color: #000; }

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

.btn-submit {
  display: inline-block;
  min-width: 125px;
  height: 38px;
  padding: 0 24px;
  font: 14px 'PT Sans', sans-serif;
  color: var(--heading);
  background: #fff;
  border: 1px solid #5d5d5d;
  border-radius: 3px;
  box-shadow: 1px 2px 3px 0 #c6c8cc;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
a.btn-submit { line-height: 36px; text-align: center; }
.btn-submit:hover { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.btn-submit[disabled] { opacity: .6; cursor: wait; }

.form-msg {
  display: none;
  margin-bottom: 20px;
  padding: 12px 15px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 20px;
}
.form-msg.show { display: block; }
.form-msg.ok { background: #fff; border: 1px solid var(--yellow); color: #555; }
.form-msg.fail { background: #fff; border: 1px solid #e04b4b; color: #c33; }

/* --- Footer --------------------------------------------------------------- */
.page-footer { padding: 82px 15px 76px; text-align: center; color: var(--yellow); }
.page-footer p { letter-spacing: .5px; }
.page-footer a { color: var(--yellow); }
.page-footer a:hover { color: #000; }
.page-footer .sep { margin: 0 .6em; }

/* --- Nach-oben-Button ----------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 65px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #d1d1d1;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background-color .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--yellow); color: #fff; }
.back-to-top svg { width: 14px; height: 14px; }

/* --- Responsiv ------------------------------------------------------------ */
@media (max-width: 1160px) {
  .container { padding-left: 30px !important; padding-right: 30px !important; }
  .page-header .container { padding-left: 30px !important; padding-right: 30px !important; }
}

@media (max-width: 1000px) {
  .main-menu { display: none; }
  .menu-toggle { display: block; }
  .page-header .container { justify-content: flex-start; padding-left: 15px !important; padding-right: 15px !important; }
  .logo { margin-left: -4px; }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height .3s ease;
  }
  .mobile-menu.open { max-height: 400px; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0 15px; }
  .mobile-menu li { border-bottom: 1px solid #eaeaea; }
  .mobile-menu li:last-child { border-bottom: 0; }
  .mobile-menu a {
    display: block;
    padding: 9px 0;
    font-size: 13px;
    line-height: 17px;
    color: var(--heading-2);
  }
  .mobile-menu a:hover,
  .mobile-menu a.current { color: var(--orange); }
}

@media (max-width: 768px) {
  .col-1 { display: none; }
  .col-4, .col-5, .col-6, .col-8 { width: 100%; }
  .section .container { padding-left: 45px !important; padding-right: 45px !important; }
  .mobile-none { display: none; }
  .ref-grid { gap: 20px; }
}

@media (max-width: 480px) {
  .section .container { padding-left: 37px !important; padding-right: 37px !important; }
  .logo { height: var(--header-h); max-width: calc(100% - 40px); }
  .logo img { height: auto; max-height: 100%; width: 100%; object-fit: contain; object-position: left center; }
  .form-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .back-to-top { right: 15px; bottom: 30px; }
}
