/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/* =========================================
   Landingpage Cards (LP Patterns)
   ========================================= */

/* Alle großen Inhaltssektionen als Karten */
.wp-site-blocks > .wp-block-group {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(2, 8, 23, 0.10);
  padding: 26px;
  margin: 22px auto;
  max-width: 1120px;
}

/* Etwas mehr Luft auf Mobil */
@media (max-width: 768px) {
  .wp-site-blocks > .wp-block-group {
    padding: 20px;
    margin: 16px 12px;
  }
}

/* Überschriften angenehmer */
.wp-site-blocks h2 {
  margin-top: 0;
}

/* ====== LP Design Tokens (aus Original) ====== */
:root{
  --lp-bg:#f6f8fb;
  --lp-surface:#ffffff;
  --lp-text:#0f172a;
  --lp-muted:#556070;
  --lp-brand:#1097d6;
  --lp-brand2:#0b74a6;
  --lp-cross:#cf2e2e;
  --lp-border:rgba(15,23,42,.10);
  --lp-shadow:0 14px 35px rgba(2, 8, 23, .10);
  --lp-radius:18px;
  --lp-max:1120px;
}

/* Seite/Background näher an Original */
body{ background:#f6f8fb; color:#0f172a; }
a{ color: var(--lp-brand); }
a:hover{ color: var(--lp-brand2); }

/* ====== TOPBAR (Header) ====== */
.lp-topbar{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  box-shadow:0 14px 35px rgba(2,8,23,.10);
  padding:12px 14px;
  position: sticky;
  top: 12px;
  z-index: 50;
}


/* Navigation als Pills */
.lp-nav a{
  display:inline-block;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  color:#0f172a;
  font-size:13px;
  text-decoration:none;
  transition:.15s ease;
  white-space:nowrap;
}
.lp-nav a:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(2,8,23,.10);
}


/* ====== CARDS ====== */
.lp-card{
  background: var(--lp-surface);
  border:1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  padding: 26px;
  margin: 22px auto;
  max-width: var(--lp-max);
}

/* ====== HERO ====== */
.wp-site-blocks .lp-hero{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow:0 14px 35px rgba(2,8,23,.10);
  position:relative;
  overflow:hidden;
  padding:28px;
  margin:18px auto 16px;
  max-width:1120px;
}
.wp-site-blocks .lp-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(16,151,214,.18), transparent 60%),
    radial-gradient(700px 300px at 90% 30%, rgba(207,46,46,.10), transparent 60%);
  pointer-events:none;
}


.lp-hero{
  background: var(--lp-surface);
  border:1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  overflow:hidden;
  margin: 18px auto 22px;
  max-width: var(--lp-max);
  position: relative;
}

/* Gradient-Overlays wie im Original */
.lp-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(16,151,214,.18), transparent 60%),
    radial-gradient(700px 300px at 90% 30%, rgba(207,46,46,.10), transparent 60%);
  pointer-events:none;
}

/* Optional: falls du im Hero oben ein Bild-Block als „Top-Art“ hast:
   Gib diesem Bild-Block zusätzlich die Klasse lp-hero-topart,
   dann wirkt er wie der Header-Bildstreifen im Original. */
.lp-hero-topart img{
  width:100%;
  height:150px;
  object-fit:cover;
  display:block;
}

/* Typo näher an Original */
.lp-hero h1{
  line-height:1.08;
  letter-spacing:-.6px;
}
.lp-muted{ color: var(--lp-muted); }

/* Mobile */
@media (max-width: 768px){
  .lp-card{ padding: 20px; margin: 16px 12px; }
  .lp-hero{ margin: 16px 12px; }
  .lp-hero-topart img{ height:190px; }
}

/* LP Cards – sichtbar erzwingen */
.wp-site-blocks .lp-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow:0 14px 35px rgba(2,8,23,.10);
  padding:26px;
  margin:22px auto;
  max-width:1120px;
}

/* Hero (eigener Look) */
.wp-site-blocks .lp-hero{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow:0 14px 35px rgba(2,8,23,.10);
  position:relative;
  overflow:hidden;
  padding:28px;
  margin:18px auto 22px;
  max-width:1120px;
}
.wp-site-blocks .lp-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(16,151,214,.18), transparent 60%),
    radial-gradient(700px 300px at 90% 30%, rgba(207,46,46,.10), transparent 60%);
  pointer-events:none;
}

