/* Gemeinsame Gestaltung für Website und Block-Editor. */
:root, .editor-styles-wrapper {
  --lo-ink: #1a171b;
  --lo-white: #fff;
  --lo-grey: #6f6e6d;
  --lo-light: #f2f2f2;
  --lo-accent: #aeb019;
  --lo-highlight: #bebe00;
  --lo-line: #cecece;
  --lo-sans: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --lo-serif: "Source Serif 4", Georgia, serif;
  --lo-content: 760px;
  --lo-wide: 1200px;
  --lo-gutter: clamp(1.25rem, 4vw, 4rem);
}
body.look-one-site, .editor-styles-wrapper {
  color: var(--lo-ink);
  background: var(--lo-white);
  font: 400 1.125rem/1.55 var(--lo-sans);
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--lo-sans);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-transform: none;
  overflow-wrap: break-word;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) h4 { font-size: 1.375rem; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) h5 { font-size: 1.125rem; font-weight: 700; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) h6 { font-size: 1rem; font-weight: 700; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :where(p, li) > a,
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-text-link {
  text-decoration: underline;
  text-decoration-color: currentColor;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) a:hover { text-decoration-thickness: 2px; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--lo-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--lo-white);
}

/* Die Absatzregeln des klassischen Parent-Themes nicht in die Blöcke vererben. */
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) p {
  font-family: inherit; font-size: inherit; line-height: 1.55; font-weight: 400;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) p:not(.has-text-color) { color: inherit; }

/* Eckige dunkle Buttons mit olivfarbener Serifenschrift wie auf der Referenz.
 * Explizit gesetzte Blockfarben bleiben durch die WordPress-Presetklassen erhalten. */
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(.wp-block-button__link, .wp-block-file__button, .wp-block-search__button, .lo-button, input[type="submit"], button[type="submit"]) {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: .65rem 1.25rem;
  border: 2px solid var(--lo-ink);
  border-radius: 0;
  background: var(--lo-ink);
  color: var(--lo-accent);
  font: italic 400 1.0625rem/1.3 var(--lo-serif);
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(.wp-block-button__link, .wp-block-file__button, .wp-block-search__button, .lo-button, input[type="submit"], button[type="submit"]):hover {
  background: var(--lo-accent);
  border-color: var(--lo-accent);
  color: var(--lo-ink);
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  color: inherit;
  border: 2px solid currentColor;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background: var(--lo-accent);
  border-color: var(--lo-accent);
  color: var(--lo-ink);
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(button, input):disabled { opacity: .55; cursor: not-allowed; }

/* Navigation-Block; Silverstorm-Menüs werden separat in frontend.css ergänzt. */
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-navigation { font-family: var(--lo-sans); font-size: 1.25rem; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-navigation-item__content { padding: .5rem .75rem; text-decoration: none; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-navigation-item__content:hover,
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  background: var(--lo-highlight); color: var(--lo-ink);
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-navigation__submenu-container { border: 1px solid var(--lo-line); border-radius: 0; }

/* Wiederverwendbare Gutenberg-Komponenten; Klassen im Block unter Erweitert. */
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-section {
  box-sizing: border-box;
  padding: clamp(3rem, 7vw, 6rem) var(--lo-gutter);
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-inner {
  box-sizing: border-box;
  width: 100%; max-width: var(--lo-wide);
  margin-inline: auto;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-inner > .wp-block-group__inner-container { max-width: none; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(.lo-lead, .lo-editorial) { font-family: var(--lo-serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-eyebrow { font: 700 .875rem/1.4 var(--lo-sans); letter-spacing: .08em; text-transform: uppercase; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-number { color: var(--lo-accent); font-size: 1.75rem; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-hero-title { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 700; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-hero-columns { align-items: center; gap: clamp(2rem, 5vw, 5rem); }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(.lo-work-grid, .lo-split) { gap: clamp(2rem, 5vw, 4rem); }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-hero-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dotted currentColor; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-project { padding-block: 1.5rem; border-top: 1px dotted currentColor; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-service-list .wp-block-columns { padding-block: 1.5rem; border-top: 1px dotted currentColor; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(.lo-project, .lo-hero-art) img { display: block; width: 100%; height: auto; border-radius: 0; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-card { border: 1px solid var(--lo-line); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 0; box-shadow: none; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-separator:not(.is-style-dots) { border: 0; border-top: 1px dotted currentColor; background: transparent; opacity: 1; height: 0; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-quote { border-left: 3px solid var(--lo-accent); padding-inline-start: 1.5rem; margin-inline-start: 0; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-pullquote { font-family: var(--lo-serif); border-block: 1px dotted currentColor; padding-block: 2rem; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-details { border-block-end: 1px dotted currentColor; padding-block: 1rem; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-details summary { cursor: pointer; font-weight: 700; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-table { overflow-x: auto; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-table :is(td, th) { border: 1px solid var(--lo-line); padding: .75rem; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .wp-block-table th { background: var(--lo-light); color: var(--lo-ink); text-align: start; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) figcaption { font-size: .875rem; }

/* Textfelder statt aller input-Typen: Checkboxen, Radios und versteckte Felder bleiben funktional. */
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], input[type="date"], textarea, select) {
  box-sizing: border-box; max-width: 100%; min-height: 44px;
  padding: .75rem; border: 1px solid var(--lo-grey); border-radius: 0;
  background: var(--lo-white); color: var(--lo-ink); font: inherit;
}
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) textarea { width: 100%; min-height: 10rem; resize: vertical; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) input::placeholder,
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) textarea::placeholder { color: var(--lo-grey); opacity: 1; }
:is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--lo-ink); }
@media (max-width: 781px) {
  :is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) .lo-hero-columns { gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  :is(html.silverstorm-theme #colibri.look-one-site, .editor-styles-wrapper) :is(.wp-block-button__link, .lo-button, button, input[type="submit"]) { transition: none; }
}
