/*
Theme Name: full-ctrl-it
Theme URI: https://fullctrl.it
Description: Replicated Mac-style layout from robertm project.
Version: 1.0.7
Author: Emdad
Text Domain: full-ctrl-it
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand: #168EE9; /* #168EE9; */
  --brand-2: #0f7bd1; /* #0f7bd1; */
  --brand-accent: #fbbf24;
  --text-on-brand: #ffffff;
  /* Theme surfaces */
  --outer-bg: #000000; /* #0f172a; /* Outside the Mac: solid dark blue */
  --inner-bg-start: #083255; /* #3b82f6; /* Inside the Mac: lighter gradient start */
  --inner-bg-end: #07243d; /* #168EE9; /* Inside the Mac: lighter gradient end */

  /* --logo-gray: #2c3133;        Dein Logo-Schwarzton */
}

.brand-logo-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.brand-logo-link:hover {
  transform: translateY(-3px) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  /* background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, var(--outer-bg) 100%); */
  background: linear-gradient(135deg, #000000 0%, #000000 50%, var(--outer-bg) 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Removed unused 'float' keyframes to simplify CSS */

/* Laptop/Monitor Container */
.device-container {
  width: 100%; /* 96%; */
  max-width: 1920px; /* 1440px; /* 1280px; */
  max-height: 95vh;
  aspect-ratio: 16/12;
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  z-index: 10;
  animation: slideUp 0.8s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Laptop Frame */
.laptop-frame {
  background: linear-gradient(145deg, #2d2d2d 0%, #424349 100%);
  /* background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%); */
  border-radius: 20px 20px;
  padding: 25px 25px 20px 25px;
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  border: 2px solid #efefef;
  /* border-bottom: none; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Laptop Top Bar (MacBook style) */
.laptop-topbar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

.screen-wrapper {
  padding: 1% 4% 0 4%;
  overflow: hidden;
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(135deg, var(--inner-bg-start) 0%, var(--inner-bg-end) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Screen Container */
.screen-container {
  background: #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}


/* Browser Chrome */
.browser-chrome {
  background: linear-gradient(180deg, #545454 0%, #3f3f3f 100%);
  padding: 3px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.chrome-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot:hover {
  transform: translateY(-3px) !important;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.tab-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 100%);
  color: #e5e7eb;
  font-size: 12px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  line-height: 1.1;  
  padding: 4px 10px;
}

.tab.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* mini-Tab-favicon style */
.tab-favicon {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: 16px;  /* Fixe Höhe des Containers */
}

.tab-favicon img {
  height: 30px !important;
  width: 30px !important;
  vertical-align: top;     /* Oben ausrichten */
  object-fit: contain;
}

.tab-title {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-close {
  opacity: 0.7;
  cursor: pointer;
}

.tab-close:hover {
  opacity: 1;
  transform: translateY(-1px) !important;
}

.add-tab {
  width: 28px;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.omnibox {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #2b2b2b 0%, #1f1f1f 100%);
  padding: 4px 12px;
  border-radius: 999px;
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.omnibox:focus-within {
  box-shadow: 0 0 0 2px rgba(22, 142, 233, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.omnibox input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: #e5e7eb;
  caret-color: var(--brand);
  outline: none;
}

.omnibox input::placeholder {
  color: #9ca3af;
}

.omnibox-lock,
.omnibox-action {
  color: #cbd5e1;
  font-size: 15px;
  opacity: 0.9;
  cursor: pointer;
}

.omnibox-lock:hover {
  transform: translateY(-3px) !important;
}

.omnibox-action:hover {
  opacity: 1;
  transform: translateY(-2px) !important;
}

.browser-controls {
  display: flex;
  gap: 8px;
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

/* Navigation Bar */
.main-nav {
  width: 100%;
  background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  /* padding: 0; */
  padding: 4px 12px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px 8px 0 0;
  flex-wrap: wrap;  /* NEU */
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
}


.nav-items {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 6px 12px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(100, 116, 139, 0.3);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: all 0.3s ease;
  transform: translateX(-50%);
} 

.nav-link:hover {
  background: rgba(59, 130, 246, 0.1);
  color: white;
  transform: translateY(-3px) !important;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.highlight {
  background: white;
  color: black;
  font-weight: 600;
  border-radius: 2px;
}

/* Dropdown Menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  animation: slideDown 0.3s ease-out;
}

.dropdown-content a {
  position: relative;
}

.dropdown-content a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: all 0.3s ease;
  transform: translateX(-98%);
}

.dropdown-content a:hover::after {
  width: 40%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
  transition: all 0.3s ease;
  font-size: 13px;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(59, 130, 246, 0.15);
  color: white;
  padding-left: 25px;
  transform: translateY(-3px) !important;
}

/* Right Side Navigation */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #e2e8f0;
  font-size: 18px;
  font-weight: 500;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px 6px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px) !important;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 6px 12px rgba(22, 142, 233, 0.3);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav-right span {
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-right span:hover {
  color: var(--brand);
  transform: scale(1.1);
  transform: translateY(-4px) !important;
}

.nav-right a[href*="linkedin"] {
  transform: none !important;
}

/* für alle: .browser-chrome span:hover { */
span[onclick="history.back()"]:hover,
span[onclick="history.forward()"]:hover,
span[onclick="location.reload()"]:hover {
  transform: translateY(-3px) !important;
}

/* Content Area with Yellow Border */
.content-wrapper {
  background: #f8fafc;
  overflow-y: auto;
  position: relative;
  flex: 1;
  min-height: 0;
}

/* ORIGINAL Scrollable content!
.scrollable-content {
  /* margin: 1%; < still a comment (* /)
  padding: 50px;
  background: white;
  flex: 1;
  min-height: 95%
} */

/* SCROLLABLE CONTENT 2002 alles auskommentiert */ 
/* HAUPTCONTAINER - Basis-Styling für scrollbaren Inhaltsbereich */
/* .scrollable-content {
  --logo-gray: #2c3133; 																	/* Logo-Grau verfügbar machen
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; 	/* Moderne, klare Schriftfamilie mit Fallbacks
  color: #1f2937; 																			/* Dunkler Grauton für Text - gute Lesbarkeit
  background: linear-gradient(135deg, #fdfdfd 0%, #f9fafc 100%); 							/* Subtiler Farbverlauf von weiß zu hellem Grau
  padding: clamp(16px, 3vw, 32px) clamp(24px, 5vw, 48px); 									/* Responsive Innenabstand, passt sich Bildschirm an
  line-height: 1.65; 																		/* Optimale Zeilenhöhe für Lesbarkeit
  font-size: clamp(15px, 1.1vw + 13px, 18px); 												/* Flexible Schriftgröße, skaliert mit Viewport
  border-radius: 16px; 																		/* Abgerundete Ecken für modernes Aussehen
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.03); 											/* Leichte Innenschatten für Tiefenwirkung * /
} */

/* RESET ALLE DIREKTEN KINDER - Eliminiert Standard-Margins/Paddings */
.scrollable-content * {
  margin: 0;
  padding: 0;
}

.scrollable-content {
  padding-top: 1.2em; /* Frame-Abstand komplett eliminieren */
  padding-inline: clamp(18px, 5vw, 48px); /* Links/Rechts behalten */
}

/* ÜBERSCHRIFTEN - Gemeinsame Basis für alle Überschriften */
.scrollable-content h1,
.scrollable-content h2,
.scrollable-content h3,
.scrollable-content h4 {
  font-weight: 700; 		/* Fett für Hierarchie */
  color: #0f172a; 			/* Dunkle Farbe für starken Kontrast */
  line-height: 1.15; 		/* Kompakte Zeilenhöhe */
  margin-bottom: 0.6em; 	/* Abstand zum folgenden Inhalt */
}

/* H1 */
.scrollable-content h1 {
  font-size: clamp(20px, 3.5vw, 30px); 	/* Responsive Größe */
  margin-top: 0.2em; 					/* Oberer Abstand */
}

.scrollable-content > h1:first-child {
  margin-top: 0; /* KEIN oberer Abstand bei allererster H1 */
}

/* H2 - Brand-Farbe */
.scrollable-content h2 {
  font-size: clamp(18px, 2.8vw, 26px); 	/* Responsive Größe */
  margin-top: 1em; 						/* Oberer Abstand */
  color: #0e4371; 						/* Marken-Blau für visuelle Hierarchie */
}

/* H3 */
.scrollable-content h3 {
  font-size: clamp(16px, 2.2vw, 22px); 	/* Responsive Größe */
  margin-top: 0.9em; 					/* Oberer Abstand */
  font-weight: 600; 					/* Halbfett */
  color: #374151; 						/* Mittelgrau-Blau */
}

/* H4 */
.scrollable-content h4 {
  font-size: clamp(14px, 2vw, 18px); 	/* Responsive Größe */
  margin-top: 0.8em; 					/* Oberer Abstand */
  font-weight: 600; 					/* Halbfett */
}

/* ABSÄTZE - Textkörper-Styling */
.scrollable-content p {
  font-size: inherit; 					/* Vererbt von Container */
  color: #374151; 						/* Gute Lesefarbe */
  margin: clamp(1em, 2vh, 1.4em) 0; 	/* Responsive vertikaler Abstand */
  text-align: justify; 					/* Gleichmäßige Linienbreite */
}

/* AUFEINANDERFOLGENDE ABSÄTZE */
.scrollable-content p + p {
  margin-top: 0.8em; 				/* Weniger Abstand zwischen Paragraphen */
}

/* Footnotes */
ol.wp-block-footnotes,
.wp-block-footnotes-list {
  font-size: clamp(0.8em, 2vw, 0.9em);
  line-height: 1.4;
  margin: clamp(1.5em, 3vh, 2em) 0;
  padding-left: clamp(1.2em, 2.5vw, 1.8em);
  color: #4b5563;
}

ol.wp-block-footnotes li,
.wp-block-footnotes li {
  margin-bottom: 0.5em;
  font-weight: 400;
}

ol.wp-block-footnotes a,
.wp-block-footnotes a {
  color: #0e4371;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
}

ol.wp-block-footnotes a:hover,
.wp-block-footnotes a:hover {
  color: #374151;
  text-decoration: underline;
}

ol.wp-block-footnotes a svg,
.wp-block-footnotes a svg {
  width: 0.75em;
  height: 0.75em;
  vertical-align: middle;
  margin-left: 0.2em;
}

/* Footnotes end */

/* Zertifizierungen, Certs */
.cert-images .cert-image {
  position: relative;  /* neu hinzufügen */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-images .cert-image::after {
  content: '';
  position: absolute;
  bottom: 0%; /* Abstand Strich zu Img */
  left: 50%;
  width: 0;
  height: 3px;  /* dicker Strich */
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.cert-images .cert-image:hover {
	  position: relative;
	transform: translateY(-5px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-images .cert-image:hover::after {
  width: 80%;  /* animiert zur Breite */
}

/* LISTEN - UL/OL Styling */
.scrollable-content ul,
.scrollable-content ol {
  margin: clamp(1em, 2vh, 1.4em) 0; 		/* Responsive Abstand */
  padding-left: clamp(1.5em, 3vw, 2.2em); 	/* Responsive Einrückung */
}

/* LISTENELEMENTE */
.scrollable-content li {
  margin-bottom: 0.4em; 	/* Unterer Abstand */
  color: #4b5563; 			/* Hellgrau für Listen */
}

/* AUFEINANDERFOLGENDE LISTEN - Minimaler Abstand */
.scrollable-content li + li {
  margin-top: 0.2em; 	/* Kleiner Abstand zwischen Listeneinträgen */
}

/* BETONUNGEN - Strong/Bold */
.scrollable-content strong,
.scrollable-content b {
  font-weight: 600; /* Halbfett */
  color: #1f2937; 	/* Dunklere Farbe für Hervorhebung */
}

/* ZITATE - Blockquote Styling */
.scrollable-content blockquote {
  background: rgba(22, 142, 233, 0.08); /* Hellblaues Transparent */
  border-left: 4px solid var(--brand); 	/* Akzentleiste links */
  padding: 0.5em 0.8em; 				/* Innenabstände */
  margin: 1em 0; 						/* Außenabstände */
  font-style: italic; 					/* Kursiv für Zitatgefühl */
  border-radius: 0 8px 8px 0; 			/* Rundung rechts */
}

/* Wordpress Block "Media & Text Block" - Engere Ränder/Abstände */
.scrollable-content .wp-block-media-text__content {
  padding-left: clamp(0em, 0.2vw, 0em) !important;
  padding-right: clamp(0.8em, 0.2vw, 1em) !important;
}

/* Media-Seite (Bild) anpassen */
.scrollable-content .wp-block-media-text__media {
  padding: 0 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;   /* ← Auch unten */
}

.scrollable-content .wp-block-media-text__media img {
  margin-top: clamp(0.5em, 2.5vh, 1em) !important;
  display: block;                /* ← Kein Inline-Space */
}

/* MEDIEN - Bilder, Videos, Pictures */
.scrollable-content img,
.scrollable-content picture,
.scrollable-content video {
  max-width: 100%; 							/* Responsive Breite */
  height: auto; 							/* Automatische Höhe */
  display: block; 							/* Kein Inline-Raum */
  margin: clamp(1.2em, 3vh, 1.8em) auto; 	/* Zentriert, responsive Abstand */
  border-radius: 12px; 						/* Abgerundete Ecken */
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); 	/* Schatten für Tiefe */
}

/* PLATZHALTER FÜR MEDIEN */
.scrollable-content .image-placeholder,
.scrollable-content .video-placeholder {
  max-width: 100%; 							/* Responsive */
  margin: clamp(1.2em, 3vh, 1.8em) auto; 	/* Zentriert, responsive Abstand */
  border-radius: 12px; 						/* Rundung */
  box-shadow: 0 12px 32px rgba(0,0,0,0.15); /* Stärkerer Schatten */
}

/* CONTENT-SECTIONS - Karten/Kontainer */
.scrollable-content .content-section {
  background: rgba(255,255,255,0.85); 		/* Semi-transparentes Weiß */
  backdrop-filter: blur(10px); 				/* Glas-Effekt */
  padding: clamp(24px, 4vw, 36px); 			/* Responsive Innenabstand */
  margin-bottom: clamp(24px, 4vw, 36px); 	/* Responsive Abstand unten */
  border: 1px solid rgba(229,231,235,0.6); 	/* Transparenter Rand */
  border-radius: 16px; 						/* Rundung */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); 	/* Leichter Schatten */
}

@supports not (backdrop-filter: blur(0)) {
  .scrollable-content .content-section,
  .donut-item {
    backdrop-filter: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
}


/* GRID-GAPS */
.scrollable-content .content-grid {
  gap: clamp(24px, 4vw, 40px); /* Responsive Abstände zwischen Grid-Items */
}

/* HEADER-BEREICH */
.scrollable-content .content-header {
  margin-bottom: clamp(32px, 5vw, 48px); 	/* Großer Abstand unten */
  padding-bottom: clamp(20px, 3vw, 32px); 	/* Unterer Innenabstand */
}

/* BUTTON-ROWS */
.scrollable-content .button-row {
  margin-top: clamp(32px, 5vw, 48px); 	/* Großer Abstand oben */
  padding-top: clamp(20px, 3vw, 32px); 	/* Oberer Innenabstand */
}

/* MOBILE OPTIMIERUNG - Tablet (max 768px) */
@media (max-width: 768px) {
  .scrollable-content {
    padding: clamp(18px, 6vw, 28px); /* Reduzierter Innenabstand */
  }

/* Fullscreen ohne Abstände auf Mobile */
body {
  padding: 0 !important;
  margin: 0 !important;
  overflow-y: auto; /* Erlaubt vertikales Scrollen auf Handys */
}
.device-container {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

  .scrollable-content .content-section {
    padding: clamp(16px, 5vw, 24px); 		/* Kleinerer Innenabstand */
    margin-bottom: clamp(16px, 4vw, 24px); 	/* Kleinerer Abstand */
  }

}

/* MOBILE OPTIMIERUNG - Smartphone (max 480px) */
@media (max-width: 480px) {
  .scrollable-content {
    padding: clamp(12px, 7vw, 22px); /* Noch kleinerer Innenabstand */
  
   /* absolut kein rand ausserhalb des äußersten containers. */
	  html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
  }
  .device-container {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important; 
    border-radius: 0 !important;
  }
}
	
/*  .scrollable-content p {
    text-align: left; /* Links statt justify - bessere Lesbarkeit 
  }*/
} 

/* GUTENBERG FIX - center text */
.scrollable-content .has-text-align-center { text-align: center !important; }

/* DONUT CHART */
/* core */
.donut-chart {
  --percent: 38; /* Prozentwert */
  --size: clamp(110px, 18vw, 160px); /* responsive Größe */
  --thickness: clamp(14px, 2vw, 20px); /* Ringdicke */
  --brand-fill: #172134; /* Haupt-Blau */
  --brand-bg: linear-gradient(135deg, var(--inner-bg-start), var(--inner-bg-end));
 
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: clamp(1.2rem, 2.5vh, 2rem) auto;
  border-radius: 50%;
  
  /* Haupt-Kreis */
  background: conic-gradient(var(--brand-fill) calc(var(--percent) * 3.6deg), #e2e8f0 0), var(--brand-bg);
  
  box-shadow: 0 8px 24px rgba(23,33,52,0.25), inset 0 2px 4px rgba(255,255,255,0.2);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* innerer Kreis */
.donut-chart::before {
  content: '';
  position: absolute;
  inset: var(--thickness);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0%, transparent 50%), linear-gradient(135deg, #f8fafc, #f1f5f9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

/* zentrierter Text */
.donut-chart::after {
  content: var(--custom-label, attr(data-label) '%');
  /* content: attr(data-label) '%'; */
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(16px, 3.4vw, 24px) 'Inter', sans-serif; /* font: bold clamp(18px, 4vw, 28px) 'Inter', sans-serif; */
  color: #0f172a;
  line-height: 1.1;
  white-space: pre;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
  font-variation-settings: 'wght' 700;
}

/* Hover-Effekt */
.donut-chart:hover {
  transform: scale(1.5) rotate(10deg);
  filter: drop-shadow(0 12px 32px rgba(23,33,52,0.4));
}

/* Farbvarianten - Blau-Töne */
.donut-blue-dark  { --brand-fill: #172134; }
.donut-blue-deep  { --brand-fill: #092945; }
.donut-blue-theme { --brand-fill: var(--brand); }

/* Grün-Töne */
.donut-green-theme { --brand-fill: #00c85e}

/* Größen */
.donut-compact { --size: clamp(95px, 16vw, 140px); --thickness: 9px; }

/* flexibles Grid */
.donut-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 0.1rem); 			/* Abstände zwischen Cards */
  margin: clamp(1rem, 2vh, 1rem) 0; 	/* oben/unten */
  padding: clamp(0.75rem, 1vw, 0.5rem); 	/* Grid-Innenabstand */
}

/* Grid-Konfigurationen */
.donut-grid-1 { grid-template-columns: 1fr; }
.donut-grid-2 { grid-template-columns: repeat(2, 1fr); }
.donut-grid-3 { grid-template-columns: repeat(3, 1fr); }
.donut-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Item Container */
.donut-item {
  text-align: center;
  padding: clamp(0.1rem, 1vw, 0.01rem); /* Abstände innen um den Donut */
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(229,231,235,0.6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.donut-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(23,33,52,0.15);
  border-color: rgba(107,114,128,0.4);
}

/* Standard <p> Text - inline mit * */
.donut-item p {
  font-size: clamp(13px, 1.9vw, 15px);      /* responsive Schriftgröße */
  color: #0f172a;                           /* Textfarbe */
  line-height: 1.45;                        /* Zeilenhöhe */
  font-weight: 500;                         /* halb-fett */
  hyphens: auto;                            /* Worttrennung */
  
  /* Zentrierung ohne Block-Verhalten */
  display: inline-block;                    /* inline aber kontrollierbar */
  width: 100%;                              /* volle Breite */
  text-align: center;                       /* horizontal zentriert */
  margin: clamp(0.75rem, 2vh, 1rem) auto clamp(0.5rem, 1.5vh, 0.75rem) auto; /* oben/unten zentriert, links/rechts auto */
}

/* Link * am Satzende */
.donut-item p a {
  color: var(--brand);
  font-size: 0.85em;
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.15rem;
}

.donut-item p a:hover {
  text-decoration: underline;
}

/* Allgemeines Tabellenstyling */
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

/* Rahmen + Innenabstände */
.wp-block-table th,
.wp-block-table td {
    border: 1.5px solid #0e4371;
    padding: 12px;
}

/* Abstand nach unten zur nächsten Sektion / Text */
.wp-block-table {
    margin-bottom: 8px;
}


/* Responsive */
@media (max-width: 1200px) { 
  .donut-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) { 
  .donut-grid-3, .donut-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { 
  .donut-grid-2, .donut-grid-3, .donut-grid-4 { grid-template-columns: 1fr; }
}


/* *************** END of new scrollable content ************* */

/* Headers */
.content-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 3px solid #f3f4f6;
  position: relative;
}

.content-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.content-header h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.content-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brand);
  letter-spacing: -0.3px;
}

.content-header h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}


/* Content Grid 2002 alles auskommentiert
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin: 50px 0;
} see below new */

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 4vw, 35px);
  margin: 50px 0;
}

.content-section {
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.content-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
}

.content-section h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-section h3::before {
  content: '◆';
  color: var(--brand);
  font-size: 14px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 14px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* Image Placeholder */
.image-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.image-grid .image-placeholder {
  height: 140px;
  font-size: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.image-grid .image-placeholder:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Video Placeholder */
.video-placeholder {
  background: #000;
  /* height: 500px; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin: 40px 0;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder::before {
  content: "▶";
  font-size: 80px;
  position: absolute;
  opacity: 0.7;
  z-index: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.button-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 3px solid var(--brand-accent);
}

.btn {
  padding: 14px 35px;
  border: 2px solid var(--brand);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--brand);
  flex: 1;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: white;
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Dock (MacBook style) */
.dock {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  padding: 4px 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  margin: 5px auto;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-icon {
  width: 40px;
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.dock-icon:hover {
  transform: translateY(-10px) scale(1.5); /* vergrößerung beim hovern */
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

.dock-icon img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Footer */
.footer {
  width: 100%;
  background: linear-gradient(to bottom, #0f172a 0%, #020617 100%);
  padding: 6px 12px;
  text-align: left;
  color: #94a3b8;
  font-size: 12px;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 0 0 8px 8px;
}

.footer p {
  margin: 5px 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}


.mac-base {
  width: 115.5%;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(135deg, #5a5a5a 0%, #4a4a4a 100%);
  border-radius: 16px;
  padding: 40px 35px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 2px solid #6a6a6a;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-icon {
  font-size: 60px;
  margin-bottom: 20px;
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.modal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.modal-content p {
  font-size: 13px;
  color: #d0d0d0;
  margin-bottom: 24px;
  line-height: 1.7;
  font-weight: 500;
}

.modal-btn,
.modal-btn-more { /* Zweiter Button im Modal: Learn more Link */
  color: white;
  font-size: 14px;
  border: none;
  padding: 12px 60px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(22, 142, 233, 0.4);
}

.modal-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

.modal-btn-more {
  background: linear-gradient(70deg, var(--brand) 50%, var(--brand-2) 80%);
  margin-bottom: 6px;
}

.modal-btn:hover,
.modal-btn-more:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(22, 142, 233, 0.6);
}

.modal-btn:active,
.modal-btn-more:active {
  transform: translateY(0);
}

/******************* Contact modal *******************/
#contact-modal .modal-content {
  background: linear-gradient(to bottom, #0f172a 0%, #020617 100%);
  border-color: rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
  max-width: 520px;
  text-align: left;
}

#contact-modal .modal-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

#contact-modal h3 {
  color: #fff;
  margin-bottom: 12px;
}

#contact-modal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

#contact-modal input,
#contact-modal textarea {
  width: 100%;
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0b1220;
  color: #e5e7eb;
  outline: none;
}

#contact-modal input::placeholder,
#contact-modal textarea::placeholder {
  color: #64748b;
}

#contact-modal input:focus,
#contact-modal textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 40%, transparent);
}

#contact-modal .checkbox-group {
    margin: 15px 0 20px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

#contact-modal .checkbox-group label {
    display: inline-flex; /* display: flex; */
    align-items: center;
    margin: 10px 0;
    font-size: 14px;
    cursor: pointer;
}


#contact-modal .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

#contact-modal .modal-actions {
  display: flex;
  gap: 10px;
}

#contact-modal .modal-btn {
  width: auto;
  padding: 10px 20px;
}

#contact-modal .modal-btn.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}

#contact-modal .modal-btn:not(.primary) {
  background: transparent;
  border: 1px solid #475569;
  color: #e2e8f0;
  box-shadow: none;
}

#contact-modal .form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  border-radius: 8px;
  font-size: 13px;
}

#contact-modal .form-success.show {
  display: block;
}

@media (max-width: 768px) {
  #contact-modal .modal {
    overflow-y: auto;
    padding: 20px 0;
  }

  #contact-modal .modal-content {
    max-height: none;
    height: auto;
    margin: 20px auto;
  }
}
@media (max-width: 480px) {
  /* Modal scrollbar aktivieren */
  #contact-modal.modal {
/*    display: none !important; */
    overflow-y: auto !important;
    padding: 10px 10px 40px 10px;
    height: 100dvh;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  #contact-modal .modal-content {
    margin: 20px auto !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
    padding-bottom: 80px; /* Extra Platz für Buttons unten */
  }

  /* Checkbox-Bereich: kleiner machen */
  #contact-modal .checkbox-group {
    margin: 10px 0 15px !important;
    padding: 10px !important;
    max-height: 200px;
    overflow-y: auto;
  }

  /* Checkbox-Text: kleine Schriftgröße */
  #contact-modal .checkbox-group label {
    font-size: 12px !important;
    margin: 6px 0 !important;
  }

  #contact-modal .checkbox-group input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
    margin-right: 8px !important;
  }

  /* Buttons */
  #contact-modal .modal-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  #contact-modal .modal-btn {
    width: 100%;
  }
}

/******************* End Contact modal *******************/

/******************* Windows modal *******************/
	
/* Vollständiger animierter Windows Boot-Modal - Auto-Open integriert */
#windows-modal .windows-modal {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#windows-modal .windows-modal.active {
  display: flex !important;
}

#windows-modal .windows-modal-content {
  background: #c0c0c0;
  border-radius: 0;
  padding: 0;
  width: 460px;
  height: 320px;
  box-shadow: 0 0 0 20px rgba(128, 128, 128, 0.5);
  border: 2px solid #808080;
  border-top: 3px solid #000080;
  font-family: 'MS Shell Dlg 2', 'Segoe UI', Tahoma, sans-serif;
  display: flex;
  position: relative;
  overflow: hidden;
}

#windows-modal .windows-modal-body {
  flex: 1;
  padding: 20px 24px 56px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

#windows-modal .windows-title {
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

#windows-modal .windows-message {
  font-size: 11px;
  color: #000000;
  margin: 0 auto;
  line-height: 1.35;
  font-weight: 400;
  height: 180px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
  max-width: 380px;
}

#windows-modal .windows-message::-webkit-scrollbar {
  display: none;
}

#windows-modal .message-line:nth-child(3)::after {
  content: '';
  animation: blinkCursor 0.2s infinite;
  animation-delay: 1s;
  animation-duration: 0.3s;
  display: inline-block !important;
  width: 6px;
  height: 14px;
  background: #000;
  vertical-align: bottom;
  margin-left: 4px;
}

@keyframes blinkCursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

#windows-modal .cursor-container {
  display: inline-block;
}

#windows-modal .message-line {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp 0.5s ease-out forwards;
  margin-bottom: 2px;
}

#windows-modal .message-line:nth-child(1) { animation-delay: 0.3s; }
#windows-modal .message-line:nth-child(2) { animation-delay: 1.2s; }
#windows-modal .message-line:nth-child(3) { animation-delay: 1.4s; }
#windows-modal .message-line:nth-child(4) { animation-delay: 2.2s; }
#windows-modal .message-line:nth-child(5) { animation-delay: 2.8s; }
#windows-modal .message-line:nth-child(6) { animation-delay: 3.1s; }
#windows-modal .message-line:nth-child(7) { animation-delay: 3.6s; }
#windows-modal .message-line:nth-child(8) { animation-delay: 4.0s; }
#windows-modal .message-line:nth-child(9) { animation-delay: 6.0s; color: #ff0012; text-align: center; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#windows-modal .auto-open-link {
  color: #ff0012;
  text-decoration: underline;
  cursor: default;
  pointer-events: none;
  font-weight: 600;
}

#windows-modal .loading-spinner {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  opacity: 0;
  animation: fadeInSpinner 0.3s ease-out 5.5s forwards, spin 1s linear infinite 5.5s;
}

#windows-modal .loading-spinner::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 3px solid transparent;
  border-top-color: #0078d4;
  border-radius: 50%;
}

@keyframes fadeInSpinner {
  to { opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#windows-modal .spinner-message {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  opacity: 0;
  animation: fadeInSpinner 0.3s ease-out 7s forwards;
  text-align: center;
  white-space: nowrap;
  margin-top: 8px;
}

#windows-modal .windows-buttons {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

#windows-modal .windows-btn {
  background: #bfbfbf;
  color: #000000;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #a0a0a0;
  padding: 5px 14px 6px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 64px;
  font-family: 'MS Shell Dlg 2', 'Segoe UI', Tahoma, sans-serif;
}

#windows-modal .windows-btn:hover {
  background: #b0b0b0;
  border-color: #909090;
}

#windows-modal .windows-btn:active {
  background: #a0a0a0;
  border-color: #808080;
}

/* Windows Modal - Mobile Feinschliff */
@media (max-width: 480px) {
  #windows-modal .windows-modal-content {
    padding: 16px 14px;
    border-radius: 6px;
  }

  .windows-modal-body {
    font-size: 13px;
  }
}

/******************* End Windows modal *******************/

/* Scrollbar Styling */
.content-wrapper::-webkit-scrollbar {
  width: 12px;
}

.content-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.content-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

.content-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .laptop-frame {
    padding: 25px 25px 20px 25px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .device-container {
    max-height: 96vh;
    /* aspect-ratio: auto; */
  }

  .laptop-frame {
    padding: 20px 20px 15px 20px;
  }

  .content-header h1 {
    font-size: 32px;
  }

  .content-header h2 {
    font-size: 20px;
  }

  .content-section h3 {
    font-size: 18px;
  }

  .content-section p {
    font-size: 14px;
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 5px;
  }

  .device-container {
    max-width: 100%;
    max-height: 97vh;
    height: 90%;
    width: 90%;
  }

  .laptop-frame {
    padding: 12px 12px 8px 12px;
    border-radius: 12px;
  }


  .browser-chrome {
    padding: 2px 10px;
    gap: 6px;
  }

  .home-icon {
    padding: 10px 12px;
    font-size: 14px;
  }

  .nav-items {
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 9px 12px;
    font-size: 11px;
  }

  .nav-right {
    gap: 10px;
    padding-right: 10px;
    font-size: 11px;
  }

  .content-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }

  .content-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .content-header h2 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .content-header h3 {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  .content-section {
    padding: 15px;
    border-radius: 8px;
  }

  .content-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .content-section p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 25px 0;
  }

  .image-grid .image-placeholder {
    height: 100px;
    border-radius: 8px;
  }

  .image-placeholder {
    height: 200px;
    margin: 20px 0;
    border-radius: 8px;
  }

  .video-placeholder {
    height: 250px;
    margin: 25px 0;
    border-radius: 8px;
  }

  .button-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 13px;
  }

  .dock {
    padding: 4px 8px;
    gap: 4px;
    margin: 12px auto;
  }

  .dock-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer {
    padding: 12px 15px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 3px;
  }
	
  .device-container {
    max-height: 92vh;
    /* aspect-ratio: 1; */
  }

  .laptop-frame {
    padding: 10px 10px 6px 10px;
    border-radius: 10px;
  }

  .browser-chrome {
  padding: 1px 6px !important;  /* War: 2px 8px */
  gap: 4px !important;         /* NEU */  
  }

  .home-icon {
    padding: 8px 10px;
    font-size: 13px;
  }

  .nav-items {
    width: 100%;
  }

  .nav-item {
    flex: 1;
  }

  .nav-link {
    flex: 1;
    text-align: center;
    padding: 7px 6px;
    font-size: 10px;
    border-right: none;
  }

	/* 2026 */
	.nav-right {
  display: flex !important;
  gap: 8px !important;
  font-size: 14px !important;
}

  .browser-controls {
    display: none;
  }

  .browser-dots .dot {
    width: 8px !important;
    height: 8px !important;
  }
  .tab {
    padding: 2px 6px !important;
    font-size: 10px !important;
  }
  .tab-favicon img {
    height: 18px !important;
    width: 18px !important;
  }
  .tab-title {
    max-width: 100px !important;
  }
  .omnibox {
    padding: 2px 8px !important;
    max-width: 220px !important;
    gap: 4px !important;
  }
  .omnibox input {
    font-size: 11px !important;
  }
  .omnibox-lock,
  .omnibox-action {
    font-size: 12px !important;
  }
  .add-tab {
    width: 20px !important;
  }
  .tab-strip {
    gap: 4px !important;
    overflow-x: auto;
    padding-bottom: 4px;
  }
	
  .scrollable-content {
    padding: 12px;
    margin: 6px;
    /* Sorgt für einen komischen gelben Rand auf mobile
     * border: 2px solid var(--brand-accent); */
  }

  .content-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .content-header h1 {
    font-size: 20px;
    margin-bottom: 6px;
    line-height: 1.1;
  }

  .content-header h2 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .content-header h3 {
    font-size: 11px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
  }

  .content-section {
    padding: 12px;
    border-radius: 6px;
  }

  .content-section h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .content-section h3::before {
    font-size: 10px;
    margin-right: 6px;
  }

  .content-section p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin: 15px 0;
  }

  .image-grid .image-placeholder {
    height: 80px;
    border-radius: 6px;
  }

  .image-placeholder {
    height: 150px;
    margin: 15px 0;
    border-radius: 6px;
  }

  .video-placeholder {
    height: 200px;
    margin: 15px 0;
    border-radius: 6px;
  }

  .video-placeholder::before {
    font-size: 50px;
  }

  .button-row {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--brand-accent);
  }

  .btn {
    padding: 10px 15px;
    font-size: 12px;
  }
	
  .dock {
    padding: 3px 6px;
    padding-bottom: env(safe-area-inset-bottom, 20px) !important;
    gap: 3px;
    margin: 4px auto;
    margin-bottom: calc(24px + env(safe-area-inset-bottom));
    /* overflow-x: scroll;*/

  }

  .dock-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
    border-radius: 8px;
  }

  .footer {
    padding: 10px 10px;
    font-size: 10px;
  }

  .footer p {
    margin: 3px 0;
  }
}

@media (max-width: 320px) {
  .device-container {
    max-height: 90vh;
  }

  .laptop-frame {
    padding: 6px 6px 2px 6px;
  }

  .nav-link {
    padding: 5px 4px;
    font-size: 9px;
  }

  .content-header h1 {
    font-size: 18px;
  }

  .content-section h3 {
    font-size: 12px;
  }

  .content-section p {
    font-size: 11px;
  }
}