:root {
  --background-color: #ffffff;
  --primary-color: #003153;
  --text-color: #333333;
  --hover-color: #3A5FCD;
  --accent-blue: #42c6ff;
  --main-blue: #003153;
  --text-dark: #333333;
  --footer-bg: #003153;
  --footer-text: #ffffff;
  --gold-icon: #f0c040;

  --ikarus-white: #ffffff;
  --ikarus-blue: #003153;
  --ikarus-blue-dark: #002847;
  --ikarus-blue-light: #0b4e79;
  --ikarus-gold: #f0c040;
  --ikarus-gold-text: #b08a57;
  --ikarus-border: #d8b36a;
}

/* Grundlayout */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Header */
.main-header {
  background: linear-gradient(135deg, #003b63 0%, #002f4f 100%);
  color: var(--background-color);
  padding: 18px 36px;
  min-height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 72px;
  width: auto;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-decoration: none;
  font-weight: 700;

  padding: 10px 16px;
  border-radius: 12px;
  min-height: 42px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);

  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 100%),
    linear-gradient(135deg, #0b4e79 0%, #003b63 55%, #002b49 100%);

  color: #d2ac75;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 6px 16px rgba(0, 0, 0, 0.16);

  transform: translateY(-1px);
}


.main-nav {
  display: flex;
  align-items: center;
}

/* Hauptbereich */
main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #003b63 0%, #002f4f 100%);
  color: var(--background-color);
  text-align: left;
  padding: 40px 0;
  width: 100%;
}

.footer-table {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: transparent;
  color: var(--footer-text);
  padding: 0 40px;
  border-spacing: 0;
  table-layout: fixed;
}

.footer-table td {
  vertical-align: top;
  font-size: 0.96rem;
  width: 33.333%;
  padding-right: 48px;
}

.footer-table h4 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-table ul li {
  margin-bottom: 10px;
  line-height: 1.45;
}

.footer-table ul li a {
  color: var(--ikarus-gold-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-table ul li a:hover {
  color: #d8b36a;
  text-shadow: 0 0 8px rgba(216, 179, 106, 0.18);
}

.footer-table a {
  color: var(--ikarus-gold-text);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-table a:hover {
  color: #d8b36a;
  text-shadow: 0 0 8px rgba(216, 179, 106, 0.18);
}

.social-icons img {
  height: 42px;
  width: 42px;
  margin-right: 10px;
  background: rgba(255,255,255,0.08);
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(216, 179, 106, 0.35);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.social-icons img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

/* Buttons allgemein */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-open {
  background-color: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.btn-open:hover {
  background-color: #fff;
  color: var(--accent-blue);
}

.btn-download {
  background-color: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
}

.btn-download:hover {
  background-color: #fff;
  color: var(--main-blue);
}

/* PDF-Layout */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.pdf-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pdf-thumb-container {
  width: 200px;
  height: 290px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fff;
}

.pdf-thumb-object {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pdf-desc {
  flex: 1;
}

.pdf-desc h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--main-blue);
}

.pdf-desc p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.pdf-desc .btn + .btn {
  margin-left: 10px;
}

/* Kachel-Layout */
.kachel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.kachel {
  display: block;
  width: 320px;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.kachel:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.kachel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.kachel h3 {
  margin: 10px 0 5px;
  font-size: 1.4rem;
}

.kachel p {
  font-size: 0.95rem;
  padding: 0 10px 10px;
  color: #444;
}

/* Flyer-Bereich */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 20px 0;
  align-items: start;
}

.flyer-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid var(--ikarus-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 51, 85, 0.10);
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flyer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 51, 85, 0.14);
}

.flyer-card {
  margin: 0 12px;   /* Abstand links + rechts */
}

.flyer-thumb-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 210 / 297;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1.5px solid var(--ikarus-border);
}

.flyer-preview-link {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
}

.flyer-pdf-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
}

.flyer-preview-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  background: #fff;
}

.flyer-title {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ikarus-blue);
  text-align: center;
  letter-spacing: 0.01em;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flyer-desc {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: #444;
  text-align: left;
  width: 100%;
}

.flyer-btn-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: nowwrap;
  margin-top: auto;
}

.flyer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0px;
  min-max: 170px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--ikarus-gold-text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.08) 22%, rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, var(--ikarus-blue-light) 0%, var(--ikarus-blue) 55%, var(--ikarus-blue-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -8px 16px rgba(0, 0, 0, 0.10),
    0 8px 18px rgba(0, 59, 99, 0.22);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.flyer-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 48%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

.flyer-btn:hover {
  transform: translateY(-2px);
  color: #d2ac75;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.10) 22%, rgba(255,255,255,0.02) 100%),
    linear-gradient(135deg, #0e5b8d 0%, #00456f 55%, #003050 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 0, 0, 0.12),
    0 12px 22px rgba(0, 59, 99, 0.28);
}

.flyer-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18), 0 5px 12px rgba(0, 59, 99, 0.18);
}

@media (max-width: 1100px) {
  .flyer-grid {
    grid-template-columns: 1fr;
  }

  .flyer-btn-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .flyer-btn-row {
    flex-direction: column;
    gap: 12px;
  }

  .flyer-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Flyer Titel */



