/*
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.8
Requires PHP: 7.2
Version: 1.2
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
*/

/*
 * 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;
}

strong {
	font-family: Autumn;
	color: #000;
	background: #51E70E;
	padding: 5px 15px 5px 15px;
	margin-left: -15px;
	clip-path: polygon(
	  6% 0, 92% 0, 100% 11%, 98% 38%,
	  100% 74%, 93% 99%, 82% 94%, 67% 100%,
	  48% 95%, 29% 100%, 14% 90%, 2% 94%, 0 78%, 4% 14%
	);
}

.volle_breite img {
	width: 100% !important;
}

.is-style-text-display {
	font-family: Autumn;
	font-size: 2rem;
}

.wp-block-heading {
  /* display: inline-block; */
	display: table;
	text-align: left;
  padding: 0.4em 0.7em; /* seitlich mehr Raum */
  background: #000;
	color: #51E70E !important;
  position: relative;
  clip-path: polygon(
    5% 0, 95% 0, 100% 18%, 97% 42%,
    100% 73%, 95% 100%, 5% 100%, 0 83%, 3% 15%
  );
	box-shadow: 1px 1px 0 #51E70E;
	font-weight: normal !important;
}

h3.wp-block-heading  { 
	color: white !important;
	font-weight: 300;
}


.dreckiger-balken {
  background: #000;
  color: #fff;
  padding: 32px 20px;
  /* Unregelmäßiger, sportlicher Look oben und unten */
  clip-path: polygon(
    0% 6%, 10% 0%, 30% 5%, 50% 0%, 66% 8%,
    84% 0, 100% 11%, 100% 93%, 92% 100%, 81% 94%,
    65% 100%, 49% 94%, 29% 99%, 13% 94%, 0 100%
  );
}
.header-dreckig {
  position: relative;
  z-index: 10;
  background: #000;
  height: 30px; /* oder gewünschte Höhe */
  width: 100vw;
  box-sizing: border-box;
  margin-top: -2px;
	margin-bottom: 50px;
   clip-path: polygon(
    0 0, 100% 0, 100% 80%, 95% 97%, 85% 100%,
    80% 92%, 68% 100%, 60% 90%, 50% 100%, 38% 92%,
    28% 100%, 20% 87%, 8% 100%, 0 85%
  );
}

@media (max-width: 700px) {
  .header-dreckig {
    height: 58px;
    font-size: 1.1rem;
    clip-path: polygon(
      0 0, 100% 0, 100% 89%, 92% 100%, 76% 98%,
      61% 100%, 45% 95%, 30% 100%, 17% 96%, 0 93%
    );
  }
}

/* Bilder  und Fotos */
	.img-dreckig {
	  display: block;
	  width: 100%;
	  height: auto;
	  object-fit: cover;
	  clip-path: polygon(
		0% 2%, 7% 0, 22% 1.5%, 34% 0, 49% 1%, 60% 0, 75% 2%, 91% 0, 100% 4%,
		100% 97%, 95% 100%, 80% 98.5%, 65% 100%, 51% 99%, 38% 100%, 23% 98%, 9% 100%, 0% 98%
	  );
	  box-shadow: 0 2px 8px -4px #0004;
	}

/* Menü */
		.menu-insta {
			margin-top: 30px !important; 
			margin-bottom: 30px !important;
			font-size: 1rem !important;
		}

		.menu-insta a::before {
		  content: '';
		  display: inline-block;
		  vertical-align: middle;
		  width: 1.1em;
		  height: 1.1em;
		  margin-right: 0.35em;
		  background: url('https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png') no-repeat center center/contain;
		}


		.wp-block-navigation__responsive-container.is-menu-open {
			position: relative;
		  background: #000;
		  clip-path: polygon(
			7% 0%, 93% 0%, 100% 10%, 100% 90%, 90% 100%,
			75% 94%, 70% 100%, 50% 95%, 31% 100%, 25% 92%, 0% 93%, 0% 10%
		  );
		  padding: 48px 0 32px 0;
		  margin-top: -80px;
			margin-bottom: 30px;   /* Optional: mehr Abstand nach unten */
		  display: block !important;
		  text-align: right;
			font-size: 3rem;
		}

		.wp-block-navigation__responsive-container.is-menu-open a {
		  color: #51E70E;                    
		  font-size: 2.2rem;                 
		  letter-spacing: 2px;
		  padding: 14px 32px;
		  margin: 8px 0;
		  display: block;
		  position: relative;
		  text-align: left;
		  text-decoration: none;
		  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
		  /* leichter Hintergrund-Effekt beim Hover */
		}
		.wp-block-navigation__responsive-container.is-menu-open a:hover,
		.wp-block-navigation__responsive-container.is-menu-open a:focus {
		  color: #fff;
		  background: rgba(92, 178, 47, 0.20);
		  box-shadow: 4px 4px 0 #5cb22f, 0 0 24px #000;
		  outline: none;
		}

		.is-menu-open .wp-block-navigation__responsive-container-open {
		  display: none !important;
		}
		.wp-block-navigation__responsive-container.is-menu-open .is-current-page > a,
		.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__active > a,
		.wp-block-navigation__responsive-container.is-menu-open .current-menu-item > a {
		  color: #000;
			padding: 5px 5px 5px 15px !important;
		  background: #51E70E;
			 clip-path: polygon(
				  2% 0%, 98% 0%, 100% 10%, 100% 95%, 90% 100%,
				  60% 98%, 30% 100%, 5% 93%, 0 10%
				);
		}
		
		li.wp-block-navigation-item:first-child {
		  display: none !important;
		}
	

		@media (max-width: 700px) {
			  .wp-block-navigation__responsive-container.is-menu-open {
				top: 0;
				left: 0;
				right: 0;
				width: 100vw;

				  height: 100vh;
				max-width: 100vw;
				padding: 32px 0 18px 0;
				font-size: 2rem;
				box-sizing: border-box;
				margin-top: -115px !important;
				/* Passe clip-path ggf. für Mobil an, z.B.: */
				clip-path: polygon(
				  7% 0%, 93% 0%, 100% 10%, 100% 95%, 90% 100%,
				  60% 98%, 30% 100%, 5% 93%, 0 10%
				);
			  }
			  .wp-block-navigation__responsive-container.is-menu-open a {
				font-size: 1.3rem;
				padding: 12px 18px;

			  }
				.main-menu {
					display: inline-block;
					background: #000;
					float: right;
				}
		}




/* Seitentitel in Header */

		.header-link-start, .header-link-start a {
		  font-family: 'Autumn', sans-serif !important;
			text-decoration: none;
			float: left;
			background: #000;
		}
		.header-link-start a em {
			font-size: 2.3rem;
			padding-right: 15px;
			white-space: nowrap;
		}

		@media (max-width: 700px) {
			.header-link-start, .header-link-start a {
				font-size: 0.8rem !important;
				display: block;
			}
			.header-link-start a em {
				font-size: 1.5rem !important;
				display: block;
			}
			  .wp-block-navigation__responsive-container.is-menu-open {
				left: 0;
				right: 0;
				max-width: 100vw;   /* max. Gerätebreite */
				min-width: unset;   /* falls noch gesetzt */
				width: 100vw;       /* volle Breite */
				margin: 0;
				box-sizing: border-box;
				padding: 24px 30px 18px 10px;
				  clip-path: none;
				  font-size: 2rem !important;
			);
			  }
		}


.rechtliches {
	  font-size: 0.8em !important;
}

/* TABELLE */
	.wp-block-table.is-style-stripes {
	  position: relative;
	  margin: 2em auto;
	  padding: 16px 0;
	  clip-path: polygon(
		4% 0, 96% 0, 100% 10%, 100% 98%, 95% 100%,
		83% 94%, 62% 100%, 39% 97%, 17% 100%, 0 90%, 0 6%
	  );
	  box-shadow: 0 6px 20px -8px #0006;
	  overflow: hidden;
	}
	.wp-block-table.is-style-stripes td:first-child,
	.wp-block-table.is-style-stripes th:first-child {
	  white-space: nowrap;
		  vertical-align: top;

	}


.infos-block .info-label {
  color: #98ff47;
  font-weight: bold;
  display: inline-block;
  min-width: 110px;
  vertical-align: top;
}
.infos-block {
  background: #646464;
  color: #f1f1f1;
  border-radius: 7px;
  padding: 12px 14px;
}

/* Button auf schwarzen Grund */
	.wp-block-button__link {
	  background: #51E70E;
	  color: #000;
	  padding: 14px 34px;
	  border: none;
	  cursor: pointer;
	  position: relative;
	  /* Dreckiger Polygon-Style */
	  clip-path: polygon(
		6% 0, 94% 0, 100% 16%, 98% 94%,
		92% 100%, 81% 92%, 73% 100%, 61% 94%,
		50% 100%, 33% 96%, 18% 100%, 4% 91%, 0 18%
	  );
	  box-shadow: 0 6px 24px -5px #51E70E88, 0 0 0 3px #51E70E;
	  transition: background 0.2s, color 0.2s, box-shadow 0.2s, clip-path 0.2s;
	}

	.wp-block-button__link:hover,
	.wp-block-button__link:focus {
	  background: #51E70E;
	  color: #000;
	  box-shadow: 0 2px 12px #51E70Ecc, 0 0 0 3px #000;
	  clip-path: polygon(
		0 0, 100% 0, 100% 15%, 93% 100%,
		83% 97%, 72% 100%, 66% 92%, 54% 100%,
		50% 93%, 30% 98%, 17% 100%, 6% 91%, 0 18%
	  );
	  outline: none;
	}

	.wp-block-button { /* zentriert auf Seite mit Abstand */
	  text-align: center;
	  background: transparent;
	}

	/* Optional: Noch „schmutzigerer“ Glow-Effekt */
	.wp-block-button__link {
	  text-shadow: 0 0 7px #51E70E66;
	}

