/* Ergänzungen zum exportierten Divi-CSS. Alles hier ist neu gegenüber WordPress.
   Gestaltung nach dem Entwurf „Gold & Grau Politur“ in Claude Design
   (https://claude.ai/artifact/Xafzm4MZRpsfDU5FHWZoPL), Variante B „Ruhiger“ mit dem Kopf von C.
   Selektoren beginnen mit #main-content bzw. .et-l--header, damit sie Divis Modul-CSS
   (.et_pb_text_0 h1 …) ohne !important schlagen. Farben nicht global setzen: Divi stellt Text
   auf dunklen Flächen selbst auf Weiß. */

:root {
  --gg-grau: #686b74;
  --gg-sand: #ddd8d4;
  --gg-gold: #8f7f53;
  --gg-gold-dunkel: #6f6340; /* Gold als Schrift: 5,6:1 auf Weiß */
  --gg-text: #33353b;
  --gg-serif: 'FoundryMonoline', 'Raleway', sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
#main-content { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Datenschutzerklärung steckt in einem Code-Modul mit langen Adressen ohne Leerzeichen. */
#main-content .et_pb_code_inner { overflow-wrap: anywhere; }

/* ── Kopf: Zeichen und Name links, Menü rechts ─────────────────────────────── */
.et-l--header .et_pb_row { width: 90%; max-width: 1280px; }
.et-l--header .et_pb_menu_inner_container { display: flex; align-items: center; gap: 24px; }
.et-l--header .et_pb_menu__wrap { flex: 1 1 auto; justify-content: flex-end; }
.gg-marke { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff !important;
  text-decoration: none; font-family: var(--gg-serif); font-size: 16px; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.gg-marke img { width: 20px; height: 25px; object-fit: contain; }
.gg-marke:hover { opacity: .85; }
.et-l--header .mobile_menu_bar:before { color: #fff !important; }
.et-l--header .mobile_nav { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; }
@media (min-width: 981px) and (max-width: 1180px) {
  .et-l--header .et-menu > li { padding-left: 9px; padding-right: 9px; }
  .gg-marke { font-size: 14px; letter-spacing: 2px; }
}

/* ── Seitentitel im großen Kopfbereich (GOLD & GRAU, Projekttitel) ─────────── */
#main-content .et_pb_fullwidth_header .et_pb_module_header {
  font-weight: 300; letter-spacing: 10px; font-size: 46px; line-height: 1.15; }

/* ── Überschriften: klein, gesperrt, mit feiner Goldlinie ──────────────────── */
#main-content .et_pb_text_inner h1,
#main-content .et_pb_text_inner h2 {
  font-weight: 500; letter-spacing: 5px; text-transform: uppercase; line-height: 1.35; font-size: 24px; }
#main-content .et_pb_text_inner h1::after,
#main-content .et_pb_text_inner h2::after {
  content: ''; display: block; width: 40px; height: 1px; margin: 16px 0 4px; background: var(--gg-gold); }
#main-content .et_pb_text_inner h1.gg-mitte::after,
#main-content .et_pb_text_inner h2.gg-mitte::after { margin-left: auto; margin-right: auto; }
#main-content .et_pb_text_inner h1.gg-rechts::after,
#main-content .et_pb_text_inner h2.gg-rechts::after { margin-left: auto; margin-right: 0; }
#main-content .et_pb_text_inner h4,
#main-content .et_pb_blurb .et_pb_module_header {
  font-weight: 500; letter-spacing: 3px; text-transform: uppercase; line-height: 1.4; }

/* ── Fließtext in Raleway, ruhig und überall gleich groß ───────────────────── */
#main-content .et_pb_text_inner p,
#main-content .et_pb_text_inner li,
#main-content .et_pb_blurb_description p,
#main-content .et_pb_toggle_content p {
  font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 17px; line-height: 1.8; }
/* Zeilenlänge um 70 Zeichen; zentrierte Absätze bleiben mittig (Klasse aus seite.js). */
#main-content .et_pb_text_inner p,
#main-content .et_pb_text_inner ul,
#main-content .et_pb_text_inner ol { max-width: 42em; }
#main-content .et_pb_text_inner .gg-mitte { margin-left: auto; margin-right: auto; }
#main-content .et_pb_text_inner .gg-rechts { margin-left: auto; }
#main-content .et_pb_text_inner p strong,
#main-content .et_pb_text_inner p b { font-weight: 600; }

/* ── Knöpfe mit Goldrand ─────────────────────────────────────────────────────
   Schrift dunkel, nicht gold: Gold auf Sand (#ddd8d4) hat nur 4,2:1, auf Hellgrau 3,0:1.
   Auf dunklem Grund (Klasse gg-auf-dunkel aus seite.js) weiße Schrift.
   28 px statt ganz rund, damit zweizeilige Beschriftungen in schmalen Spalten nicht wie
   eine verzogene Pille aussehen. */
body #page-container #main-content .et_pb_button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 9px 26px !important; border: 1px solid var(--gg-gold) !important; border-radius: 28px !important;
  background: transparent !important; color: #1b1b1b !important;
  font-family: var(--gg-serif) !important; font-size: 15px !important; letter-spacing: 1.5px !important;
  text-transform: uppercase; line-height: 1.35 !important; transition: background .2s, color .2s, border-color .2s;
  hyphens: manual; -webkit-hyphens: manual; text-align: center; box-shadow: none !important; }
body #page-container #main-content .et_pb_button:hover {
  background: var(--gg-gold-dunkel) !important; border-color: var(--gg-gold-dunkel) !important; color: #fff !important; }
body #page-container #main-content .et_pb_button.gg-auf-dunkel { color: #fff !important; border-color: #c9bb95 !important; }
body #page-container #main-content .et_pb_button.gg-auf-dunkel:hover {
  background: #fff !important; border-color: #fff !important; color: #1b1b1b !important; }
body #page-container #main-content .et_pb_button:after { display: none !important; }
/* Icon links (Instagram, LinkedIn): Divi setzt es absolut und rechnet mit 2em Innenabstand.
   In der Pille steht es stattdessen im Fluss vor dem Text. */
body #page-container #main-content .et_pb_button:before {
  position: static !important; margin: 0 10px 0 0 !important; transform: none !important;
  font-size: 1.15em !important; line-height: 1 !important; letter-spacing: 0 !important; color: inherit !important; }
body #page-container #main-content .et_pb_button:hover:before { margin: 0 10px 0 0 !important; }

/* ── Handy ─────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  #main-content .et_pb_row, .et-l--header .et_pb_row { width: 88%; }
  #main-content .et_pb_fullwidth_header .et_pb_module_header { font-size: min(26px, 7vw); letter-spacing: .18em; }
  #main-content .et_pb_fullwidth_header .et_pb_module_header:not(:has(br)) { white-space: nowrap; }
  #main-content .et_pb_fullwidth_header { padding-top: 48px !important; padding-bottom: 52px !important; }
  #main-content .et_pb_text_inner h1,
  #main-content .et_pb_text_inner h2 { font-size: 18px; letter-spacing: 4px; }
  #main-content .et_pb_text_inner h4,
  #main-content .et_pb_blurb .et_pb_module_header { font-size: 17px; letter-spacing: 2px; }
  #main-content .et_pb_text_inner p,
  #main-content .et_pb_text_inner li,
  #main-content .et_pb_blurb_description p,
  #main-content .et_pb_toggle_content p { font-size: 16px; line-height: 1.75; }
  #main-content br.gg-umbruch { display: none; }
  #main-content .et_pb_code_inner h1,
  #main-content .et_pb_code_inner h2 { font-size: 18px; letter-spacing: 2px; overflow-wrap: normal; }
  .gg-marke { font-size: 14px; letter-spacing: 2.5px; gap: 10px; }
}

/* ── Kontaktformular: Bot-Falle unsichtbar, Datenschutzhinweis unter den Feldern ─ */
.gg-feld-falle { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.et_pb_contact_form .gg-datenschutz { width: 100%; margin: 0 0 16px; padding: 0 !important; font-size: 14px; line-height: 1.55; clear: both; }
.et_pb_contact_form .gg-datenschutz a { text-decoration: underline; color: inherit; }
.et_pb_contact_form.gg-dunkel .gg-datenschutz { color: #fff; }

/* ── Cookie-Hinweis: schwebende Karte, unten rechts (am Handy über die Breite) ── */
.gg-cookie { position: fixed; right: 24px; bottom: 24px; z-index: 99999; width: 420px; max-width: calc(100vw - 24px);
  box-sizing: border-box; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  background: #fff; color: var(--gg-text); border: 1px solid #d9d5d0; border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .16); font-family: 'Raleway', sans-serif; text-align: left; }
.gg-cookie[hidden] { display: none; }
.gg-cookie p { margin: 0; padding: 0; }
.gg-cookie-titel { font-size: 15px; font-weight: 600; color: #1b1b1b; }
.gg-cookie-text { font-size: 14px; line-height: 1.55; }
.gg-cookie a { color: #1b1b1b; text-decoration: underline; }
.gg-cookie-knoepfe { display: flex; gap: 10px; }
.gg-cookie button { flex: 1 1 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--gg-gold); border-radius: 999px;
  background: #fff; color: #1b1b1b; font: 600 14px/1 'Raleway', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.gg-cookie button:hover { background: var(--gg-gold); color: #fff; }
.gg-cookie button:focus-visible, .gg-marke:focus-visible { outline: 2px solid var(--gg-gold); outline-offset: 2px; }
@media (max-width: 767px) {
  .gg-cookie { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; padding: 16px; }
}
