/* styles.css 2025-12-05 */

/* ========================================= */
/* 🌍 Global Reset & Basics */
/* ========================================= */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #2a2a2a 0%, #101010 100%);
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
}

/* ========================================= */
/* 🟢 Header / Navigation */
/* ========================================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 0;
  position: relative;
  background: linear-gradient(to bottom, #2a2a2a 0%, #101010 100%);
  min-height: 60px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  padding: 18px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header-right {
  display: flex; /* Desktop immer sichtbar */
  gap: 0;
  align-items: stretch;
}

.header-right a {
  color: #ddd;
  padding: 18px 24px;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 100px;
  justify-content: center;
  border-bottom: 3px solid transparent;
}

.header-right a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #999999;
  border-bottom: 3px solid #6a11cb;
}

.header-right a.active {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 3px solid #2575fc;
}

.menu-toggle {
  color: #fff;
  display: none; /* Desktop versteckt */
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

/* -------------------- */
/* Links                */
/* -------------------- */
a:link,
a:visited {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

a:hover {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 5px;
}

a.active {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ========================================= */
/* 🟡 Gradient Header (Seiten-Titel) */
/* ========================================= */
.gradient-header {
  background: linear-gradient(to bottom, #2a2a2a 0%, #101010 100%);
  padding: 15px;
  text-align: center;
  border-radius: 0 0 30px 30px;
  margin-bottom: 40px;
}

.gradient-header .placeholderpage {
  font-size: 30px;
  margin: 0;
  line-height: 1.2;
  color: white;
  font-family: "Michroma", sans-serif;
  font-weight: 400;
}

/* ========================================= */
/* 🔹 Standard Sections */
/* ========================================= */
section {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 50%;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

/* 🔐 Passwort Generator Styles */

.password-container h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

#passwordForm label {
  display: block;
  margin: 10px 0;
  font-size: 1.1rem;
  text-align: left;
}

#passwordForm input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

#passwordForm select,
#passwordForm button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
}

#passwordForm button {
  font-family: "Michroma", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  cursor: pointer;
  transition: 0.3s ease;
}

#passwordForm button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

.password-output {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: monospace;
  font-size: 1.2rem;
  padding: 15px;
  border-radius: 10px;
  word-break: break-word;
}

/* ========================================= */
/* Blog */
/* ========================================= */
.blog-list {
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  text-align: left;
}

.blog-preview {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-bottom: 1px solid #555;
  padding-bottom: 2.5rem; 
  margin-bottom: 2rem; 
  max-width: 100%;
}

.blog-thumbnail {
  width: 300px;
  min-width: 300px;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.blog-preview-content {
  flex: 1;
}

.blog-preview h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #fff;
}

.blog-preview .date {
  font-size: 0.9rem;
  color: #aaa; /* Helles Grau für Datum */
}

.blog-preview p {
  color: #ddd; /* Heller Text für Excerpt */
}

.blog-preview .read-more {
  text-decoration: none;
  color: #4da6ff;
}

.blog-preview .read-more:hover {
  color: #80bfff;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: #4da6ff;
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.back-link:hover {
  color: #80bfff;
  font-weight: bold;
  text-decoration: none;
}

.blog-post {
  color: #fff; /* Weißer Text */
  margin: auto 20px auto 20px;
  text-align: left;
}

.blog-post img {
  max-width: 50%;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
}

.blog-post h1 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 0.5rem;
  color: #fff;
}

.blog-post .date {
  font-size: 0.9rem;
  text-align: left;
  color: #aaa;
  margin-bottom: 1rem;
}

.blog-post p {
  color: #ddd;
  text-align: left;
  line-height: 1.6;
}

.back-button {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #4da6ff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.back-button:hover {
  background: transparent;
  color: #80bfff;
}

/* Mobile: Bild oben, Text unten */
@media (max-width: 768px) {
  .blog-preview {
    flex-direction: column;
  }
  
  .blog-thumbnail {
    width: 100%;
    min-width: unset;
    height: auto;
    aspect-ratio: 4/3;
  }
}

/* -------------------- */
/* Lightbox Gallery */
/* -------------------- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery a img {
  border: 1px solid #ccc;
  max-width: 100%;
  height: auto;
  display: block;
}

.caption {
  text-align: center;
  font-size: 0.9em;
  color: #ccc;
  margin-top: 5px;
  word-wrap: break-word;
  max-width: 100%;
}

/* ========================================= */
/* 🥋 Chuck Norris Section */
/* ========================================= */
#chuckSection {
  width: 50%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

#chuckSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.chuck-joke {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 80px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

#newJokeBtn {
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#newJokeBtn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

/* ========================================= */
/* 📝 Search / DNS / Upload - Einheitlich wie Network Tools */
/* ========================================= */
#searchSection,
#dnsSection,
#uploadSection {
  width: 50%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

#searchSection h2,
#dnsSection h2,
#uploadSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.search-container,
#multiSearchForm,
.dns-form-container,
.upload-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

#searchSection input[type="text"],
#dnsSection input[type="text"],
#multiSearchForm input[type="text"],
#uploadSection input[type="text"],
#searchSection select,
#dnsSection select,
#multiSearchForm select {
  flex: 1 1 150px;
  min-width: 150px;
  padding: 8px 10px;
  font-size: 0.95rem;
  font-family: "Open Sans", sans-serif;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
}

#searchSection select,
#dnsSection select,
#multiSearchForm select {
  appearance: none;
  background: white
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='gray' d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 8px center;
  background-size: 14px 14px;
  cursor: pointer;
}

#searchSection button,
#dnsSection button,
#uploadSection button,
#multiSearchForm button {
  flex: 0 0 auto;
  padding: 10px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

#searchSection button:hover,
#dnsSection button:hover,
#uploadSection button:hover,
#multiSearchForm button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

/* Ergebnis-Boxen */
#dnsResult,
#searchResult,
#uploadResult {
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 10px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin-top: 10px;
  min-height: 100px;
}

/* Copy-Button DNS-Lookup-Section */

.copy-btn-dns {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  display: block;
  width: fit-content;
}

.copy-btn-dns:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
} /* Ersetze die .copy-btn-dns Regel in styles.css durch diese Version mit höherer Spezifität: */

#dnsSection .copy-btn-dns {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33) !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#dnsSection .copy-btn-dns:hover {
  background: linear-gradient(135deg, #007e33, #00c851) !important;
  transform: translateY(-2px);
} /* Füge diese Klasse zu deinem CSS hinzu */

.copy-btn-dns {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.copy-btn-dns:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
}

/* ========================================= */
/* Color Converter Section */
#colorConverterSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#colorConverterSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.colorconverter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

#colorInput {
  flex: 1 1 200px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  text-align: center;
}

#colorResult {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 100px;
  text-align: left;
}

.copy-btn-color {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.copy-btn-color:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
}

/* ========================================= */
/* PX ⇄ EM Converter Section */
#pxEmConverterSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#pxEmConverterSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

/* Haupt-Layout */
.pxem-form {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

/* Spalten (je ein Feld + ggf. Button) */
.pxem-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 30%;
  min-width: 180px;
}

/* Eingabefelder – Stil wie bei anderen Tools */
#pxEmConverterSection input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  height: 42px; /* gleiche Höhe wie die anderen Inputs */
}

/* Buttons unter den Feldern */
#pxEmConverterSection button {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#pxEmConverterSection button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

/* Copy Button (zentriert unter der Reihe) */
#pxEmConverterSection .copy-btn-tool {
  display: block;
  margin: 20px auto 0 auto;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#pxEmConverterSection .copy-btn-tool:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
}

/* Responsiv */
@media screen and (max-width: 768px) {
  .pxem-form {
    flex-direction: column;
    align-items: stretch;
  }

  .pxem-column {
    width: 100%;
  }

  #pxEmConverterSection button {
    width: 100%;
  }
}

/* ========================================= */
/* QR Code & Lorem Ipsum Sections - basierend auf IP Lookup */
#qrCodeSection,
#loremIpsumSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#qrCodeSection h2,
#loremIpsumSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.qr-form,
.lorem-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

#qrInput,
#loremCount {
  flex: 1 1 200px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#qrGenerateBtn,
#loremGenerateBtn {
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#qrGenerateBtn:hover,
#loremGenerateBtn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

#qrResult,
#loremResult {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 120px;
  text-align: center;
}

#loremResult {
  text-align: left !important;
}

.copy-btn-tool {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.copy-btn-tool:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
}

/* ========================================= */
/* IP Lookup Section */
#ipLookupSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#ipLookupSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.iplookup-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

#ipInput {
  flex: 1 1 200px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#ipLookupBtn {
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#ipLookupBtn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

#ipLookupResult {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 120px;
}

/* ========================================= */
/* Header Check Section - basierend auf IP Lookup */
#headerCheckSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#headerCheckSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.headercheck-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

#headerUrl {
  flex: 1 1 200px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#headerCheckBtn {
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#headerCheckBtn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

#headerCheckResult {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 120px;
  text-align: left !important;
}

/* ========================================= */
/* SSL/TLS Check Section */
#sslCheckSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#sslCheckSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.ssl-check-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

#sslDomain {
  flex: 1 1 200px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#sslCheckBtn {
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

#sslCheckBtn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

#sslCheckResult {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 160px;
  text-align: left;
}

.copy-btn-ssl {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.copy-btn-ssl:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
}

/* ========================================= */
/* Performance Check Section */
#performanceSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

#performanceSection .perf-black {
  color: black;
  font-size: 0.95rem;
  margin-top: 10px;
}

#perfVisuals {
  display: none;
  margin-top: 20px;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

/* Kreisdiagramm */
.circular-chart {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3;
}

.circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transition:
    stroke-dasharray 1s ease,
    stroke 0.5s ease;
}

.percentage {
  font-size: 1rem;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: middle;
  transform: rotate(90deg);
}

/* Balken */
.perf-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
}

.bar-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-container span {
  font-size: 0.8rem;
  font-weight: 500;
}

.bar-bg {
  width: 100%;
  background-color: #ddd;
  border-radius: 6px;
  height: 16px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition:
    width 1s ease,
    background-color 0.5s ease;
}

.bar-fill.green {
  background-color: green;
}
.bar-fill.orange {
  background-color: orange;
}
.bar-fill.red {
  background-color: red;
}

.bar-container span:last-child {
  text-align: right;
  font-weight: bold;
}

/* ========================================= */
/* 📂 Upload Section */
/* ========================================= */
.upload-input {
  display: none;
}

.custom-file-label {
  display: inline-block;
  background: #444;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 22px;
}

.custom-file-label:hover {
  background-color: darkgrey;
}

.upload-filename {
  flex: 2;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  color: #333;
  height: 44px;
}

.upload-button {
  padding: 0 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  cursor: pointer;
  height: 44px;
  transition: background 0.3s ease;
}

.upload-button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

.upload-filename::after {
  content: "";
}

/* ========================================= */
/* 📊 Netzwerk-Tools Section */
.tools-headline {
  font-family: "Michroma", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

#networkToolsSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.network-tools-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  justify-content: center; /* zentriert die Boxen */
}

.tool-box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 15px;
  flex: 1 1 280px; /* Basisbreite flexibel, kleiner als vorher */
  max-width: 100%; /* verhindert Überlauf */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: "Open Sans", sans-serif;
  display: flex;
  flex-direction: column;
}

.tool-box h3 {
  font-family: "Michroma", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #222;
}

.tool-box input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

/* --------------------------- */
/* Buttons für alle Network Tools */
.tool-box button {
  width: 100%;
  padding: 10px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.tool-box button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

/* --------------------------- */
/* Ergebnis-Box */
.tool-box pre {
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9rem;
  text-align: left;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: "Courier New", monospace;
  margin-top: 10px;
  max-height: 250px;
}

/* ============================== */
/* Performance Visuals Container */
#perfVisuals {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
}

/* Kreisdiagramm */
.perf-circle {
  text-align: center;
  flex: 0 0 140px; /* Desktop-Basis */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.circular-chart {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

/* Score-Text im Kreis */
#perfScoreText {
  font-size: 1rem; /* kleiner als vorher, passt für Desktop */
}

/* Balkendiagramme */
.perf-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 250px; /* flexibel */
  min-width: 200px;
}

/* Balken */
.bar-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-container span {
  font-size: 0.8rem;
  font-weight: 500;
}

.bar-bg {
  width: 100%;
  background-color: #ddd;
  border-radius: 6px;
  height: 16px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition:
    width 1s ease,
    background-color 0.5s ease;
}

.bar-fill.green {
  background-color: green;
}
.bar-fill.orange {
  background-color: orange;
}
.bar-fill.red {
  background-color: red;
}

.bar-container span:last-child {
  text-align: right;
  font-weight: bold;
}

/* ========================================= */
/* 🌐 Webscraper Section */
/* ========================================= */
#webscraperSection {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  color: white;
  text-align: center;
}

#webscraperSection h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.webscraper-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

#webscraperSection input[type="text"] {
  flex: 1 1 250px;
  min-width: 250px;
  padding: 8px 10px;
  font-size: 0.95rem;
  font-family: "Open Sans", sans-serif;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
}

#webscraperSection button {
  flex: 0 0 auto;
  padding: 10px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

#webscraperSection button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

/* Statistics Grid */
#scraperStats {
  margin: 20px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  font-family: "Michroma", sans-serif;
}

.stat-label {
  font-size: 0.85rem;
  color: #ddd;
  margin-top: 5px;
}

/* Tabs */
#scraperTabs {
  margin: 20px 0;
}

.tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.tab-btn {
  padding: 10px 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  color: #ddd;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tab-btn.active {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  border-color: transparent;
  font-weight: bold;
}

.tabs-content {
  min-height: 200px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-pane pre {
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border-radius: 12px;
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 500px;
  overflow-y: auto;
  line-height: 1.6;
}

/* Action Buttons */
#scraperActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.action-btn {
  flex: 1 1 200px;
  padding: 12px 20px;
  font-family: "Michroma", sans-serif;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #00c851, #007e33);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: linear-gradient(135deg, #007e33, #00c851);
  transform: translateY(-2px);
}

#copyResultBtn {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}

#copyResultBtn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.4);
}

/* Responsive - Tablet */
@media screen and (max-width: 768px) {
  #webscraperSection {
    width: 100%;
    max-width: 980px;
    margin: 20px auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs-header {
    justify-content: center;
  }

  .tab-btn {
    flex: 1 1 120px;
  }

  #scraperActions {
    flex-direction: column;
  }

  .action-btn {
    flex: 1 1 100%;
  }
}

/* Responsive - Mobile */
@media screen and (max-width: 400px) {
  #webscraperSection {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 15px;
  }

  .webscraper-form-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #webscraperSection input[type="text"] {
    flex: 1 1 100%;
    min-width: unset;
  }

  #webscraperSection button {
    flex: 1 1 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tab-btn {
    flex: 1 1 100%;
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .tab-pane pre {
    font-size: 0.85rem;
    max-height: 400px;
  }
}

/* Responsive - Tablet */
@media screen and (max-width: 768px) {
  #webscraperSection {
    width: 100%;
    max-width: 980px;
    margin: 20px auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs-header {
    justify-content: center;
  }

  .tab-btn {
    flex: 1 1 120px;
  }

  #scraperActions {
    flex-direction: column;
  }

  .action-btn {
    flex: 1 1 100%;
  }
}

/* Responsive - Mobile */
@media screen and (max-width: 400px) {
  #webscraperSection {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 15px;
  }

  .webscraper-form-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #webscraperSection input[type="text"] {
    flex: 1 1 100%;
    min-width: unset;
  }

  #webscraperSection button {
    flex: 1 1 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tab-btn {
    flex: 1 1 100%;
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .tab-pane pre {
    font-size: 0.85rem;
    max-height: 400px;
  }
}

/* Responsive - Tablet */
@media screen and (max-width: 768px) {
  #webscraperSection {
    width: 100%;
    max-width: 980px;
    margin: 20px auto;
  }
}

/* Responsive - Mobile */
@media screen and (max-width: 400px) {
  #webscraperSection {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 15px;
  }

  .webscraper-form-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #webscraperSection input[type="text"] {
    flex: 1 1 100%;
    min-width: unset;
  }

  #webscraperSection button {
    flex: 1 1 100%;
  }

  #webscraperResult {
    font-size: 0.85rem;
    max-height: 300px;
  }
}

/* ========================================= */
/* 🌡️ Klima-Page spezifische Sections */
.klima-page .klima-section {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  color: #fff;
  box-sizing: border-box; /* <- neu */
  overflow-x: hidden; /* <- neu */
}

.klima-page .wetter-section {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 20px auto;
  text-align: center;
  color: #fff;
}

/* Klima Dashboard */
.klima-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  width: 100%;
}

.klima-page .dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 100%;
  max-width: 980px;
  margin: 0;
  align-items: stretch;
}

.klima-page .card {
  background: rgba(240, 240, 240, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.klima-page .card h2 {
  white-space: nowrap;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.klima-page .card-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 15px 0;
  white-space: nowrap;
}

.klima-page #pressure.card-value {
  font-size: 2rem;
}

.klima-page .unit {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-left: 4px;
}

.klima-page h1 {
  text-align: center;
  margin: 20px 0 30px;
}

.klima-page .iframe-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 50px;
  width: 100%;
  max-width: 1200px;
}

.klima-page .wetter-widget {
  border: 1px solid transparent;
  border-radius: 20px;
  width: 300px;
  height: 365px;
  flex-shrink: 0;
}

/* 🌡️ Raumklima spezifische Texte & Werte */
.klima-page .klima-value {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
}
.klima-page .klima-value .unit {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-left: 4px;
}
.klima-page .klima-text {
  color: #fff;
  font-size: 1rem;
  margin: 0.5em 0 0 0;
}

.klima-page #pressure.klima-value {
  font-size: 2.5rem; /* kleiner als die anderen Werte */
  white-space: nowrap; /* Zeilenumbruch verhindern */
}

.klima-page #pressure.klima-value .unit {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-left: 4px;
}

/* Responsive: 2 Karten pro Reihe auf Tablet */
@media screen and (max-width: 1100px) {
  .klima-page .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: alle Karten untereinander auf Mobil */
@media screen and (max-width: 700px) {
  .klima-page .dashboard {
    grid-template-columns: 1fr;
  }
  .klima-page .wetter-widget {
    width: 100%;
    max-width: 300px;
    height: 365px;
  }
}

/* ========================================= */
/* 🌤️ Weather Styles (klima-page) */
/* ========================================= */

.klima-page .wetter-daten-section {
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  color: #fff;
}

.klima-page .wetter-daten-section h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.klima-page .weather-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

.klima-page .weather-card {
  background: rgba(240, 240, 240, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.klima-page .weather-card h3 {
  font-family: "Michroma", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.klima-page .weather-temp {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 15px 0;
}

.klima-page .weather-desc {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.klima-page .weather-extra {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: #bbb;
  margin-bottom: 10px;
}

.klima-page .weather-extra span {
  display: block;
}

.klima-page .weather-time {
  font-size: 0.8rem;
  color: #999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

/* Responsive: 2 Karten pro Reihe auf Tablet */
@media screen and (max-width: 1100px) {
  .klima-page .weather-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: alle Karten untereinander auf Mobil */
@media screen and (max-width: 700px) {
  .klima-page .wetter-daten-section {
    padding: 20px;
  }

  .klima-page .weather-cards-container {
    grid-template-columns: 1fr;
  }

  .klima-page .weather-card {
    padding: 15px;
    min-height: 180px;
  }
}

/* Weather Forecast */
.klima-page .forecast-items {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.klima-page .forecast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #bbb;
  padding: 0 15px;
  position: relative;
}

.klima-page .forecast-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.klima-page .forecast-day {
  font-weight: bold;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.klima-page .forecast-icon {
  width: 50px;
  height: 50px;
}

.klima-page .forecast-temp {
  font-weight: bold;
  color: #fff;
  font-size: 0.9rem;
}

.klima-page .forecast-max {
  color: #ff6b6b;
}

.klima-page .forecast-min {
  color: #6ab7ff;
}

/* ========================================= */
/* 📊 Widgets & Sonstiges */
.iframe-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.wetter-widget {
  border: 1px solid #ffbe00;
  border-radius: 20px;
  width: 300px;
  height: 365px;
}

/* ========================================= */
/* SpaceDashboard */
#satellite-map,
#meteor-map,
#sky-map {
  width: 100%;
  height: 500px; /* fixierte Höhe */
  min-height: 400px;
}

/* -------------------- */
/* Impressum & Datenschutz */
/* -------------------- */
.impressum-section,
.datenschutz-section {
  width: 50%;
  margin: 20px auto 40px auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
}

.impressum-section h1,
.datenschutz-section h2 {
  font-family: "Michroma", sans-serif;
  font-size: 28px;
  margin: 0 0 20px 0;
  color: #fff;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
}

.impressum-section p,
.datenschutz-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.datenschutz-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.datenschutz-section ul li {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.impressum-section strong,
.datenschutz-section strong {
  font-weight: bold;
  color: #fff;
}

.info-line {
  margin: 1em 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-line .label {
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
}

.info-line .value {
  display: inline-block;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: break-word;
}

.impressum-button-container {
  text-align: center !important;
  margin-top: 30px !important;
}

.impressum-button {
  padding: 10px 20px !important;
  font-family: "Michroma", sans-serif !important;
  font-size: 1rem !important;
  color: #fff !important;
  background: linear-gradient(135deg, #6a11cb, #2575fc) !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition:
    background 0.3s ease,
    transform 0.2s ease !important;
}

.impressum-button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb) !important;
  transform: translateY(-2px) !important;
  font-weight: bold !important;
}

/* ============================= */
/* Lost Places Page Styles */
/* ============================= */

/* Page Title */
.lp-header {
  text-align: center;
  margin: 40px auto 20px auto;
}

.lp-header h1.lp {
  font-family: "Michroma", sans-serif;
  font-size: 2.5rem;
  color: #fff;
}

/* Gallery Links */
.lp-gallery {
  display: flex;
  flex-direction: column; /* alles untereinander */
  align-items: center; /* Items horizontal zentrieren */
  gap: 20px; /* Abstand zwischen Items */
}

.lp-item {
  width: 300px; /* feste Breite für alle Items */
  box-sizing: border-box;
  text-align: center; /* optional, zentriert Text */
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.lp-item a.lplink {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

.lp-item:hover {
  background: rgba(70, 70, 70, 0.9);
  transform: translateY(-5px);
}

/* About Section */
.lp-about {
  max-width: 980px;
  margin: 0 auto 40px auto;
  padding: 20px;
  background: rgba(40, 40, 40, 0.8);
  border-radius: 12px;
  color: #fff;
  line-height: 1.6;
}

.lp-about h2 {
  font-family: "Michroma", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* ========================================= */
/* 📚 Typografie */
h1,
h2,
h3 {
  font-family: "Michroma", sans-serif;
  color: white;
  text-align: center;
}

/* Placeholder-Seiten spezifisch */
.placeholderpage {
  font-family: "Michroma", sans-serif;
  color: white;
  text-align: center;
}

/* Überschriften innerhalb von Sections - linksbündig */
section h1,
section h2,
section h3 {
  font-family: "Michroma", sans-serif;
  color: white;
  text-align: left;
}

/* ========================================= */
/* Einzug Impressum */
.info-line {
  margin: 0.5em 0;
}

.info-line .label {
  display: inline-block;
  width: 5em; /* feste Breite für das Label */
  font-weight: bold;
}

.info-line .value {
  display: inline-block;
  vertical-align: top;
}

/* ========================================= */
/* 🔻 Scrollbutton */
/* ========================================= */


/* ========================================= */
/* 🔻 Footer */
/* ========================================= */
.footer {
  line-height: 1.4; /* oder einen festen Wert wie 20px */
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  font-family: "Michroma", sans-serif;
  font-weight: 400;
  color: white;
  padding: 30px 15px;
  margin-top: 40px;
  background: linear-gradient(to bottom, #2a2a2a 0%, #101010 100%);
  border-radius: 30px 30px 0 0;
}

.footer a:link {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer a.active {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tablet */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .header-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(#3d3d3d, #1c1c1c);
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9;
  }
  .header-right.active {
    display: flex;
  }
}

section,
#searchSection,
#dnsSection,
#uploadSection {
  width: 100%;
  max-width: 980px; /* entspricht der Widget-Breite */
  margin: 20px auto 40px auto;
  padding: 20px;
}

.impressum-section,
.datenschutz-section {
  width: 100%;
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.impressum-section h1,
.datenschutz-section h2 {
  font-size: 26px;
  margin: 0 0 20px 0;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

.impressum-section p,
.datenschutz-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.datenschutz-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.datenschutz-section ul li {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-line {
  margin: 1em 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-line .label {
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
}

.info-line .value {
  display: inline-block;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: break-word;
}

.lp-gallery {
  flex-direction: column;
  align-items: center;
}

.lp-item {
  flex: 1 1 90%;
}

.network-tools-container {
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}

.tool-box {
  flex: 1 1 100%;
}

#perfVisuals {
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.perf-circle {
  flex: 0 0 auto;
  width: 180px; /* größer im Tablet/Mobile */
}

.circular-chart {
  width: 180px;
  height: 180px;
}

#perfScoreText {
  font-size: 1.1rem; /* Tablet */
}

.perf-bars {
  flex: 1 1 100%;
  min-width: 0;
  width: 90%;
}

.wetter-daten-section {
  padding: 20px;
  margin: 30px auto 20px auto;
}

.wetter-daten-section h2 {
  font-size: 1.5rem;
}

.weather-cards-container {
  flex-direction: column;
  align-items: stretch;
}

.weather-card {
  flex: 1 1 100%;
  max-width: 100%;
}

#chuckSection {
  width: 90%;
}

.blog-post img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.blog-post p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.blog-post h1 {
  font-size: 1.5rem;
}

/* ========================================= */
/* 📱 Mobile Optimierung – iPhone SE */
@media screen and (max-width: 400px) {
  /* Header bleibt Flex-Container */
  .header {
    position: relative;
  }

  /* Hamburger/X Button sichtbar und absolut positioniert */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
  }
  .header-right {
    position: absolute;
    top: 100%;
    right: 0;
    width: 90vw;
    max-width: 250px;
    display: none;
    flex-direction: column;
    z-index: 9;
  }
  .header-right.active {
    display: flex;
  }
  .header a.logo {
    font-size: 16px;
  }

  /* Sections auf fast volle Breite */
  section,
  #searchSection,
  #dnsSection,
  #uploadSection {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 15px;
  }

  /* Netzwerktools / Formulare untereinander */
  .network-tools-container,
  .search-container,
  #multiSearchForm,
  .dns-form-container,
  .upload-form-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* Footer kleiner */
  .footer {
    font-size: 13px;
  }

  .klima-page .klima-section {
    padding: 15px; /* von 30px auf 15px reduzieren */
  }

  .klima-page .dashboard {
    gap: 15px; /* von 25px auf 15px */
  }

  .klima-page .card {
    padding: 15px; /* von 30px auf 15px */
    min-height: 180px; /* von 220px */
  }

  /* Widgets */
  .iframe-container {
    justify-content: center;
    gap: 20px;
  }

  .wetter-widget {
    width: 100%;
    max-width: 300px;
    height: 365px;
  }

  .impressum-section,
  .datenschutz-section {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .impressum-section h1,
  .datenschutz-section h2 {
    font-size: 20px;
    margin: 0 0 15px 0;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .impressum-section p,
  .datenschutz-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .datenschutz-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
  }

  .datenschutz-section ul li {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .info-line {
    margin: 0.8em 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .info-line .label {
    display: inline-block;
    font-weight: bold;
    margin-right: 8px;
  }

  .info-line .value {
    display: inline-block;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .lp-header h1.lp {
    font-size: 1.8rem;
  }

  .lp-item {
    padding: 15px 20px;
  }

  .lp-about {
    padding: 15px;
  }

  .tool-box {
    padding: 12px; /* Etwas mehr Abstand innen auf sehr kleinen Screens */
  }

  .perf-circle {
    width: 200px; /* Mobile richtig groß */
  }

  .circular-chart {
    width: 200px;
    height: 200px;
  }

  #perfScoreText {
    font-size: 1.2rem; /* Tablet */
  }

  .perf-bars {
    width: 95%;
  }

  .blog-thumbnail {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  /* Mobile Optimierung – DNS & Search Felder angleichen */
  @media screen and (max-width: 400px) {
    .placeholderpage {
      font-size: 22px;
      word-break: break-word;
      overflow-wrap: break-word;
    }

    .tools-headline {
      font-size: 1.5rem;
      word-break: break-word;
      overflow-wrap: break-word;
    }

    #dnsSection input[type="text"],
    #dnsSection select,
    #searchSection input[type="text"],
    #searchSection select {
      flex: 1 1 100%;
      min-width: unset;
    }

    #dnsSection button,
    #searchSection button {
      flex: 1 1 100%;
    }

    .dns-form-container,
    .search-container {
      flex-direction: column;
      gap: 10px;
    }
  }
}