@import url('https://fonts.googleapis.com/css2?family=Lora&family=Raleway:wght@600&display=swap');

/* Abschnitt: Trude-Seite */

body {
  padding-top: 0; /* oder entsprechend der tatsächlichen Höhe deines Menüs */
}

.trude-section {
  background-color: #fdfcf9;
  padding: 40px 20px;
  color: #333;
  margin-bottom: 25px;
}

.trude-section h2, .trude-section h1 {
  color: #A8583A;
  font-family: 'Raleway', sans-serif;
}

.trude-section p {
  font-family: 'Lora', serif;
  color: #333;
  line-height: 1.7em;
  font-size: 1.1em;
}

.trude-section .container3 {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px 15px;
}

.trude-section .container-trude {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px 15px;
  padding-top: 440px;
}

.trude-section .container-blog {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px 15px;
  padding-top: 5px;
}

.container-willkommen {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px 15px;
  font-size: 1.1em;
  line-height: 1.6em;
  display: flex; 
  flex-wrap: wrap; 
  gap: 40px; 
  align-items: flex-start;
}

.trude-section .steckbrief {
  float: right;
  width: 300px;
  margin: 0 0 20px 30px;
  background-color: #f8f6f3;
  line-height: 1.4em;
  padding: 30px;
  border-left: 5px solid #A8583A;
}

.trude-section .steckbrief h3 {
  margin-bottom: 20px;
  color: #A8583A;
}

.trude-section .steckbrief ul {
  list-style: none;
  padding: 0;
}

.trude-header {
  background: linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.4)), url('../images/trude-bg1.png');
  background-size: cover;
  padding: 60px 20px;
  text-align: left;
  padding-left: 80px;
}

.trude-header h1 {
  color: #FFEEC7;
  font-family: 'Raleway', sans-serif;
  font-size: 2.5em;
}

.trude-header p {
  color: #ffffff;
  font-family: 'Lora', serif;
  font-size: 1.2em;
}

.trude-header img.logo-trude {
  max-height: 320px;
  margin-bottom: 10px;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trude-section a.btn,
.trude-section button.btn {
  background-color: #A8583A;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  display: block;
  text-align: center;
}

.trude-section a.btn:hover,
.trude-section button.btn:hover {
  background-color: #8C3A2D;
}

.container-split {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.intro, .history {
  flex: 1 1 45%;
  min-width: 280px;
}

.trude-section.blog-preview {
  background: #653d27;
  text-align: center;
  display: grid;
  justify-content: center;
  padding: 40px 20px;
}

.trude-section.blog-teaser p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.button-group.horizontal {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button-group.horizontal .btn {
  flex: 1 1 auto;
}

.trude-hero {
  background: url('/images/trude-hero.jpg') center center / cover no-repeat;
  padding: 160px 20px;
  text-align: center;
  position: relative;
  color: #fff;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 50px;
  display: inline-block;
  border-radius: 12px;
}
.hero-overlay h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-family: 'Raleway', sans-serif;
}
.hero-overlay p {
  font-size: 1.2em;
  font-family: 'Lora', serif;
  margin-bottom: 20px;
}

.intro-heading-title {
  font-family: "Allison", sans-serif !important; 
  font-size: 60px !important;
  font-weight: 600;
  line-height: 10px !important; 
  color: #ffffff !important;
  text-shadow: #6c757d 2px 2px 2px;
  text-align: left !important;
  margin: 0 0 10px 0;
  z-index: 3;
  position: relative; /* <--- wichtig */
}

.welcome-heading-title {
  font-family: "Allison", sans-serif !important; 
  font-size: 60px !important;
  font-weight: 600;
  color: var(--e-global-color-secondary);
  text-shadow: #6c757d 2px 2px 2px;
  margin: 0 0 2px 0;
  z-index: 3;
  position: relative; /* <--- wichtig */
  line-height: 0.6em !important;
  text-align: center;
}

.heading-title {
  font-size: 70px;
  font-weight: 1200 !important;
  line-height: 1.2;
  color: #d4c5b4 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
  position: relative; /* <--- ebenfalls nötig */
}

.status-title {
  font-size: 50px;
  font-weight: 1200 !important;
  line-height: 1.1;
  color: #eee7de !important;
  text-transform: uppercase;
  z-index: 2;
  position: relative; /* <--- ebenfalls nötig */
}

.galerie-title {
  font-size: 50px;
  font-weight: 1200 !important;
  line-height: 1.2em;
  color: #7e531c !important;
  text-transform: uppercase;
  text-align: left;
  z-index: 2;
  position: relative; /* <--- ebenfalls nötig */
}

.trude-intro {
  background-color: #fdfcf9;
  padding: 60px 20px;
}
.intro-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
}
.intro-left, .intro-right {
  flex: 1 1 45%;
}
.intro-left h2 {
  color: #A8583A;
}
.intro-right h3 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 10px;
}
.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.blog-list h3 {
  margin-top: 0;
  color: #A8583A;
  font-family: 'Raleway', sans-serif;
  font-size: 1.4em;
}

.blog-list-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.entry-left {
  width: 20px;
  text-align: right;
  font-weight: bold;
  color: #A8583A;
}

.entry-right {
  flex: 1;
}

.blog-entry-date {
  font-size: 0.8em;
  color: #888;
  margin-bottom: 4px;
}

.blog-entry-title {
  font-size: 1em;
  color: inherit;
  text-decoration: none;
  line-height: 1.3;
}

.blog-preview-wrapper {
  display: flex;
  flex-wrap: wrap;
  background-color: #653d27;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-preview-header {
  flex: 1 1 250px;
}

.blog-preview-header h2 {
  font-size: 3.2em;
  font-weight: bold;
  color: #9d563d;
  margin-top: -12px;
}

.blog-preview-cards {
  flex: 3 1 700px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-content {
  padding: 16px;
}

.blog-card h3 {
  font-size: 1.05em;
  margin-bottom: 8px;
  font-weight: 600;
}

.blog-card p {
  font-size: 0.9em;
  color: #444;
  margin-bottom: 10px;
}

.blog-card a {
  font-weight: bold;
  color: #9d563d;
  text-decoration: none;
}

.blog-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.load-more-btn {
  margin-top: 30px;
  background-color: #fdf6ee;
  color: #A8583A;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.btn {
  background-color: #A8583A;
  color: white;
  border-radius: 8px;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
}
.btn:hover {
  background-color: #8C3A2D;
}

.trude-section.trude-status {
  background-color: #ac9f90;
  padding: 3em 1em;
}

.trude-status-wrapper {
  background-color: #ac9f90;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  margin-bottom: 15px;
}

.status-item {
  background: white;
  border-left: 6px solid #ccc;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.500);
}

.status-item.done {
  border-left-color: #28a745;
}

.status-item.cancelled {
  border-left-color: #dc3545;
}

.status-item.progress {
  border-left-color: #ffc107;
}

.status-item.open {
  border-left-color: #6c757d;
}

.status-item h4 {
  margin: 0 0 0.5em;
}

.status-footer {
  margin-top: 2em;
  text-align: center;
  color: #555;
}

.trude-infobox {
  background-color: #fff8f0;
  border-left: 6px solid #A8583A;
  padding: 1.5em;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  font-family: 'Lora', serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.trude-infobox h4 {
  margin-top: 0;
  color: #A8583A;
  font-family: 'Raleway', sans-serif;
  font-size: 1.3em;
}

.trude-infobox span {
  color: #333;
}

.trude-funfact {
  margin: 20px auto;
  max-width: 800px;
  font-family: 'Lora', serif;
  background-color: #fdfcf9;
  padding: 1em 1.5em;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  font-size: 1em;
  color: #555;
}

.trude-diary-box {
  background-color: #fff4e9;
  border-left: 6px solid #A8583A;
  padding: 1.5em;
  margin: 40px auto;
  max-width: 700px;
  border-radius: 10px;
  font-family: 'Lora', serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.trude-diary-box h4 {
  margin-top: 0;
  color: #A8583A;
  font-family: 'Raleway', sans-serif;
  font-size: 1.5em;
}

.trude-diary-box p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
}

.trude-zitat {
  font-style: italic;
  color: #666;
  font-size: 0.95em;
  margin-bottom: 1em;
}

.trude-diary-box .btn {
  background-color: #A8583A;
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  display: inline-block;
}

.trude-diary-box .btn:hover {
  background-color: #8C3A2D;
}

.trude-section.tech-tabs .container {
  display: block; /* Verhindert flex-row-Nebeneinander-Effekte */
  max-width: 1000px;
  margin: 0 auto;
}

.tab-header {
  text-align: center;
  margin-bottom: 20px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px auto;
}

.tab-btn {
  background: #eee;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.tab-btn.active {
  background-color: #A8583A;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tech-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Lora', serif;
  font-size: 1.1em;
  line-height: 1.6em;
}

.tech-list li {
  margin-bottom: 10px;
}

.tab-images {
  display: flex;
  justify-content: center;
  margin: 30px auto;
}

.tab-img {
  max-width: 100%;
  width: 100%;
  max-width: 900px;
  display: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.tab-img.active {
  display: block;
}

.sortable-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 40px; /* vorher 10px */
  position: relative;
}

.preview-thumb {
  position: relative;
  width: 120px;
  height: 90px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fafafa;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: move;
  margin-top: 20px;
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drag-handle {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 16px;
  color: #999;
  cursor: grab;
}

.preview-thumb.titelbild {
  border: 2px solid #a8583a;
}

.preview-thumb.titelbild::before {
  content: "Titelbild";
  position: absolute;
  background: yellow;
  color: black;
  top: 0;
  left: 0;
  font-size: 0.75em;
  font-weight: bold;
  color: #a8583a;
  background-color: #fff8f6;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  z-index: 1;
}

.blog-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-start;
}

.blog-image-item {
  flex: 1 1 150px; /* mindestens 150px, wächst mit */
  max-width: 240px;
}

.blog-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blog-image:hover {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.inline-float {
  float: right;
  width: 240px;
  height: auto;
  margin: 10px 0 10px 20px;
  border-radius: 6px;
}

.inline-float.left {
  float: left;
  margin: 10px 20px 10px 0;
}

.inline-float.right {
  float: right;
  margin: 10px 20px 10px 0;
}

.blog-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.blog-gallery img {
  width: 150px;
  height: auto;
  border-radius: 6px;
}

.modal {
  display: none;
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -25%);
  background: #fff8f6;
  border: 2px solid #a8583a;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 25px 30px;
  z-index: 9999;
  width: 300px;
  font-family: 'Raleway', sans-serif;
}

.modal-content {
  position: relative;
  color: #333;
}

.modal-content label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
  color: #a8583a;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 4px;
  box-sizing: border-box;
}

.modal-content button[type="submit"] {
  margin-top: 15px;
  background-color: #a8583a;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.modal-content button[type="submit"]:hover {
  background-color: #944b31;
}

.close {
  position: absolute;
  right: 10px;
  top: 5px;
  cursor: pointer;
  color: #a8583a;
  font-weight: bold;
  font-size: 18px;
}

.share-buttons {
  margin: 2em 0;
  padding: 1em;
  background: #fef6f2;
  border-left: 4px solid #a8583a;
  border-radius: 8px;
  font-size: 1em;
}

.share-buttons a {
  margin-right: 10px;
  text-decoration: none;
  color: #a8583a;
  font-weight: bold;
}

.share-buttons a:hover {
  text-decoration: underline;
}

.trude-tuev-countdown {
  background-color: #fff6e5;
  border-left: 6px solid #a8583a;
  padding: 20px;
  margin: 40px auto;
  max-width: 700px;
  font-family: 'Raleway', sans-serif;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}

.trude-tuev-countdown h4 {
  margin-top: 0;
  font-size: 1.2em;
  color: #a8583a;
}

.trude-tuev-countdown .update-date {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.tuev-status {
  background-color: #fff8e1;
  padding: 15px;
  border-left: 5px solid #f0b400;
  font-size: 1.1em;
  margin: 20px 0;
  position: relative;
}
.tuev-status a {
  font-size: 0.9em;
  margin-left: 8px;
  text-decoration: none;
}

.trude-compare-wrapper {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  font-family: 'Lora', serif;
}

.trude-compare-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  aspect-ratio: 16/9;
}

.trude-compare-img {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  width: 100%;
  object-fit: cover;
}

.trude-compare-img.after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.2s ease;
}

.trude-compare-slider {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 3px;
  background-color: #A8583A;
  cursor: ew-resize;
  z-index: 10;
}

.trude-compare-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 1em;
  color: #444;
}

.accordion-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.accordion-btn {
  background: #fdfcf9;
  border: none;
  width: 100%;
  text-align: left;
  padding: 10px 15px;
  font-size: 1.05em;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-family: 'Lora', serif;
  transition: background 0.2s ease;
}

.accordion-btn:hover {
  background: #f6f2ee;
}

.accordion-content {
  display: none;
  padding: 8px 15px 12px 30px;
  background: #faf8f5;
  border-left: 3px solid #A8583A;
  font-size: 0.95em;
}

.accordion-btn.active + .accordion-content {
  display: block;
}

.trude-h-check {
  background: #fff;
  border-left: 5px solid #A8583A;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 30px auto;
}

.trude-h-check h3 {
  color: #A8583A;
  margin-bottom: 15px;
}

.trude-h-check .note {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}
