:root {
  --brand-hero: deepskyblue;
  --brand-blue: #3291c7;
  --brand-blue-dark: #2477a5;
  --link-blue: #2aa3e0;
  --link-blue-dark: #1f6e94;
}

html {
  scroll-behavior: smooth; /* weiches Scrollen */
}

body {
  font-family: Arial, sans-serif;
  background-image: url("bg.png");
  background-image: url("bg-sm2.webp");
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("bg-sm2.webp");
  background-repeat: repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  color: #333;
}
.container {
  position: relative;
  max-width: 666px;
  margin: 3rem auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.small {
  font-size: 12px;
  display: block;
  padding: 10px;
}

h1,
h2,
h3,
h4 {
  color: var(--brand-blue);
  padding-top: 1rem;
}

h1 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 40px;
}

h3 {
  padding-top: 2.5em;
}

h2 + h3 {
  padding-top: 1em;
}

.user-chat h4 {
  color: #fff;
  margin-top: 0;
  padding-top: 0;
}

.user-chat {
  margin-top: 1em;
}

nav {
  padding-bottom: 2em;
  display: flex;
}

nav li {
  line-height: 2;
}

p,
li {
  line-height: 1.6;
}
ol {
  margin-left: 0; /* 1.5rem; */
}
.button {
  display: inline-block;
  margin: 0.6rem;
  padding: 0.6rem 1.5rem;
  background-color: #3291c7; /* #0078d7 */
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
/*
.button:hover {
  background-color: #005fa3;
}
  */
.faq {
  margin-top: 2.5rem;
  background-color: #e1f0fc;
  border-radius: 8px;
  padding: 1rem 1.5rem;
}
.faq strong {
  color: #3291c7; /* #005fa3 */
}
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  padding-bottom: 40rem;
}
a {
  color: var(--link-blue);
  text-decoration: underline;
  text-underline-offset: 3px; /* etwas Abstand für modernen Look */
  text-decoration-thickness: 1px;
  transition: color 0.2s ease-in-out;
}
a:hover,
a:focus {
  color: var(--brand-blue-dark); /* dunkler beim Hover für gutes Feedback */
}

nav > ul > li:first-child > a {
  text-decoration-thickness: 2px;
}
/*
a:visited {
  color: var(--link-blue-dark);
}
*/

.container picture {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 86px; /* Standardgröße für das Logo */
  height: auto;
  z-index: 10; /* Stellt sicher, dass das Logo über anderen Elementen liegt */
}

.container picture img {
  max-width: 100%;
  height: auto;
  /* border-radius: 50%;
  border: 3px solid 3291c7; */ /* #0078d7;  
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

summary {
  text-decoration: underline;
}

details {
  cursor: pointer;
}

.desc {
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-style: dotted !important;
  text-decoration-color: inherit;
}

.example {
  width: 100%;
  height: 200px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

h2.subtitle {
  font-size: 16px;
  color: #333;
  padding: 0 0 1em 0;
  margin: 0;
  line-height: 1.5;
}

#nutzer,
#advertiser {
  padding-top: 80px;
  margin-bottom: 0;
}

.extra-info {
  font-size: 0.8em;
}

/* Hero-Bereich */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -1px;
  color: var(--brand-hero);
}

.hero-subtitle {
  font-size: 1.4em;
  font-weight: 500;
  margin-bottom: 30px;
  opacity: 0.95;
}

.kurzbeschreibung-label {
  display: block;
  color: var(--brand-hero) !important;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin: 30px 0 10px 0;
  color: rgba(255, 255, 255, 0.8);
}

.kurzbeschreibung-text {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA-Button im Hero */
.hero-cta {
  display: inline-block;
  background: white;
  color: var(--link-blue);
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 25px;
  transition: transform 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
/* hero ohne gradient */
/*
.hero {
  background: #f8f9fa;
  color: #333;
  border: 2px solid #e9ecef;
}
*/
.tooltip {
  position: relative;
  border-bottom: 1px dotted #aaa; /* die Punktlinie */
  cursor: help;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: max-content;
  max-width: 220px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 10px;
  position: absolute;
  z-index: 1;
  bottom: 120%; /* positioniert über dem Wort */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 0.9rem;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  nav {
    display: block;
  }
  .extra-info {
    display: block;
  }

  .hero h1 {
    font-size: 7vw;
  }

  .container picture {
    width: 60px; /* Kleinere Größe auf kleineren Bildschirmen */
    top: 15px;
    right: 15px;
  }

  .container {
    margin-top: 0;
    padding: 1.5rem;
  }

  h1 {
    font-size: 28px;
    margin-top: 0;
  }

  ol {
    margin-left: 0;
  }

  #not-yet {
    display: block;
    font-size: 0.8em;
    padding-left: 2em;
  }

  ul {
    padding-left: 20px;
  }
}

.demo-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border: 2px solid #e9ecef;
}

.demo-section h3 {
  color: #0088cc;
  margin-bottom: 20px;
  font-size: 1.3em;
}

.faq h4 {
  margin-bottom: 0;
}
.faq p {
  padding-top: 0;
  margin-top: 0;
}

.telegram-message-mock {
  position: relative;
  max-width: 400px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.telegram-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.telegram-caption {
  padding: 15px;
  background: #f7f7f7;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.telegram-caption strong {
  font-size: 17px;
  display: block;
  margin-bottom: 8px;
  color: #000;
}

.telegram-button {
  background: #0088cc;
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: not-allowed;
  border-top: 1px solid #e0e0e0;
  transition: background 0.2s;
}

.telegram-button:hover {
  background: #006699;
}

/* Telegram-typische Details */
.telegram-message-mock::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

/* Optional: Telegram-Chat-Bubble-Style */
.telegram-chat-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
  border-radius: 12px;
}

.telegram-chat-wrapper .telegram-message-mock {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.telegram-buttons {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #f7f7f7;
}

.telegram-inline-button {
  flex: 1;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #0088cc;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.telegram-inline-button:hover {
  background: #f0f0f0;
  border-color: #0088cc;
}

.telegram-inline-button:active {
  background: #e8e8e8;
}

/* Für Bot-Frage oberhalb */
.telegram-bot-message {
  padding: 15px;
  background: white;
  color: #333;
  font-size: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.telegram-buttons-vertical {
  padding: 15px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.telegram-inline-button-full {
  width: 100%;
  /* Rest wie oben */
}

/* to-top-pfeil */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 0px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  font-size: 1.6rem;
  font-family: monospace;
  line-height: 48px;
  text-decoration: none;
  text-align: center;
  border-radius: 50%;
  /* box-shadow: 0 6px 14px rgba(50, 145, 199, 0.25); */
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  opacity: 1;
  display: none;
}

.to-top:hover,
.to-top:focus {
  background: #2477a5;
  transform: translateX(-50%) scale(1.1);
  color: #fff;
}

/* mobile kleiner */
@media (max-width: 480px) {
  .to-top {
    bottom: 10px;
    font-size: 1.4rem;
    padding: 0;
  }
}
