/*
Theme Name: DAM
*/

.dam-header-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dam-header-modules {
  display: flex;
  gap: 2.5rem;
  align-items: flex-end;
}
.dam-header-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.dam-header-module:hover .dam-header-module-title {
  color: #e30613;
}
.dam-header-module-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.18em;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}
.dam-header-module-title {
  font-size: 0.89rem;
  margin: 0;
  text-align: center;
  max-width: 8.5em;
  line-height: 1.15;
  color: #222;
  font-weight: 500;
}
@media (max-width: 900px) {
  .dam-header-modules {
    gap: 1.2rem;
  }
  .dam-header-module-title {
    font-size: 0.92rem;
    max-width: 7em;
  }
}
@media (max-width: 700px) {
  .dam-header-center {
    order: 3;
    margin-top: 0.7em;
    margin-bottom: 0.2em;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .dam-header-modules {
    gap: 0.7rem;
  }
  .dam-header-module-icon {
    width: 32px;
    height: 32px;
  }
}

html, body {
  margin: 0;
  padding: 0;
}

Theme URI: https://dma.swiss/
Author: Dein Name
Description: Custom Theme für DAM Landingpage (Bund-konform, modern, multilingual)
Version: 1.0
*/

.dam-footer {
  background: #f7f7f7;
  border-top: 1px solid #e5e5e5;
  font-size: 0.98rem;
  color: #444;
  margin-top: 4rem;
}
.dam-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem 2vw 1.1rem 2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.dam-footer-left {
  flex: 1 1 60%;
  min-width: 200px;
  color: #444;
}
.dam-footer-right {
  flex: 1 1 40%;
  min-width: 180px;
  text-align: right;
  color: #444;
}
.dam-footer-right a {
  color: #444;
  text-decoration: none;
  margin-left: 1.1rem;
  font-size: 0.98rem;
  transition: color 0.15s;
}
.dam-footer-right a:hover {
  color: #e30613;
}
.dam-footer-divider {
  color: #bbb;
  margin: 0 0.7rem;
}
@media (max-width: 700px) {
  .dam-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 4vw 1.1rem 4vw;
    gap: 0.6rem;
  }
  .dam-footer-right {
    text-align: left;
    margin-left: 0;
    margin-top: 0.2rem;
  }
  .dam-footer-right a {
    margin-left: 0.8rem;
  }
}


body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #222;
}


/* Modul-Vorlage Styles */
.modul-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2vw 2.5rem 2vw;
  background: #fff;
}
.modul-header {
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
}
.modul-header-inner {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.modul-header-icon {
  width: 72px;
  height: 72px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  background: #f5f5f5;
}
.modul-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.modul-link-main {
  display: inline-block;
  margin: 0.2rem 0 0 0;
  font-size: 1.1rem;
  color: #1769c2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.modul-link-main:hover {
  color: #e30613;
  text-decoration: underline;
}
.modul-content {
  margin-top: 2.4rem;
  font-size: 1.09rem;
  color: #222;
  line-height: 1.7;
}
.modul-content h2 {
  font-size: 1.13rem;
  font-weight: 700;
  margin: 2.2rem 0 0.7rem 0;
  color: #1a1a1a;
}
.modul-content ul, .modul-content ol {
  margin-left: 1.3rem;
  margin-bottom: 1.1rem;
}

.modul-content hr {
  border: none;
  border-top: 1px solid #e1e1e1;
  margin: 2.2rem 0;
}

@media (max-width: 700px) {
  .modul-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .modul-header-icon {
    width: 54px;
    height: 54px;
  }

  .modul-title {
    font-size: 1.25rem;
  }

  .modul-main {
    padding: 1.2rem 2vw 1.2rem 2vw;
  }
}

.dam-header {
  display: flex;
  background: #f7f7f7;
  border-bottom: 1px solid #d6d6d6;
  box-shadow: 0 4px 18px -6px rgba(0,0,0,0.12);
  margin-bottom: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dam-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1400px;
  margin: 0;
  padding: 0;
  min-height: 90px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.dam-header-left {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0;
  padding-left: 0.5vw;
}
.dam-bundeslogo {
  height: 90px;
  width: auto;
  margin-right: 0.25rem;
  display: block;
}
.dam-header-divider {
  color: #222;
  font-size: 2.8rem;
  line-height: 90px;
  margin: 0 0.3rem 0 0.18rem;
  font-weight: 300;
  letter-spacing: 0.07em;
  height: 90px;
  display: flex;
  align-items: center;
}
.dam-header-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #222;
  letter-spacing: 0.01em;
  margin-right: 0.3rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.dam-header-right {
  display: flex;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 0;
  height: 100%;
}
.dam-langswitch-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 0.2rem;
}
.dam-linkicon {
  display: inline-flex;
  align-items: center;
  color: #222;
  border-radius: 7px;
  padding: 1.1rem 2.2rem 1.1rem 1.3rem;
  font-size: 1.32rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.15s, color 0.15s;
  margin: 0 1.1rem 0 0;
}
.dam-linkicon img {
  height: 56px !important;
  margin-right: 1.1em !important;
}
.dam-lang-main {
  background: none;
  border: none;
  color: #222;
  font-size: 1.05rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
  padding: 0.1rem 0.7rem 0.1rem 0.5rem;
  border-radius: 3px;
  transition: background 0.15s;
  outline: none;
  display: flex;
  align-items: center;
}
.dam-lang-main:hover, .dam-lang-main:focus {
  background: #e5e5e5;
  color: #e30613;
}
.dam-lang-arrow {
  font-size: 0.88em;
  margin-left: 0.3em;
  color: #888;
}
.dam-lang-list {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  min-width: 80px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  z-index: 50;
  padding: 0.3rem 0;
  margin: 0;
  list-style: none;
}
.dam-langswitch-dropdown:hover .dam-lang-list,
.dam-langswitch-dropdown:focus-within .dam-lang-list {
  display: block;
}
.dam-lang-list li {
  margin: 0;
}
.dam-lang-list a {
  display: block;
  color: #222;
  text-decoration: none;
  font-size: 1.05rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  padding: 0.3rem 1.1rem 0.3rem 0.9rem;
  border-radius: 2px;
  transition: background 0.13s, color 0.13s;
}
.dam-lang-list a:hover {
  background: #e5e5e5;
  color: #e30613;
}

@media (max-width: 600px) {
  .dam-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1vw 0.5rem 1vw;
  }
  .dam-header-right {
    margin-top: 0.7rem;
    width: 100%;
    justify-content: flex-end;
  }
}


h1, h2, h3, h4, h5 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.dam-hero-title {
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 1 rem;
  margin-top: 0;
  letter-spacing: -0.01em;
  color: #222;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.dam-hero-lead {
  font-size: 1.55rem;
  color: #444;
  font-weight: 400;
}

.dam-module-grid-float {
  display: flex;
  justify-content: center;
  gap: 4vw;
  margin: 1rem 0 2rem 0;
  flex-wrap: wrap;
}
.dam-module-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0.5vw;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  position: relative;
}
.dam-module-icon-float {
  height: 32vw;
  max-height: 400px;
  min-height: 160px;
  width: auto;
  margin-bottom: 1.3rem;
  margin-top: 0.2rem;
  filter: drop-shadow(0 4px 32px rgba(0,0,0,0.10));
  z-index: 1;
  transition: filter 0.2s, transform 0.2s;
  will-change: transform;
}
@media (max-width: 900px) {
  .dam-module-grid-float {
    gap: 2vw;
  }
  .dam-module-icon-float {
    height: 40vw;
    max-height: 260px;
  }
}
@media (max-width: 600px) {
  .dam-module-grid-float {
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }
  .dam-module-float {
    max-width: 100%;
  }
  .dam-module-icon-float {
    height: 54vw;
    max-height: 180px;
  }
}

.dam-module-float:hover .dam-module-icon-float {
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.18));
}
.dam-module-float h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.7rem 0 0.7rem 0;
  color: #222;
  text-align: center;
  width: 100%;
  max-width: 340px;
  white-space: normal;
  word-break: keep-all;
}
.dam-module-float p {
  color: #555;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}
/* Subtile zufällige wobble Animation */
@keyframes wobble {
  0% { transform: translateY(0) rotate(-0.3deg) scale(1.01); }
  25% { transform: translateY(-2px) rotate(0.6deg) scale(1.02); }
  50% { transform: translateY(1.5px) rotate(-0.6deg) scale(0.995); }
  75% { transform: translateY(-1px) rotate(0.3deg) scale(1.01); }
  100% { transform: translateY(0) rotate(0deg) scale(1.01); }
}
.wobble {
  animation: wobble 6.4s infinite cubic-bezier(.4,0,.2,1);
  animation-delay: var(--wobble-delay, 0s);
  will-change: transform;
}
@keyframes wobble-alt {
  0% { transform: translateY(0) rotate(0.3deg) scale(1.01); }
  25% { transform: translateY(2px) rotate(-0.6deg) scale(1.02); }
  50% { transform: translateY(-1.5px) rotate(0.6deg) scale(0.995); }
  75% { transform: translateY(1px) rotate(-0.3deg) scale(1.01); }
  100% { transform: translateY(0) rotate(0deg) scale(1.01); }
}

.dam-hero-title {
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1.1rem;
  margin-top: 1.1rem;
  letter-spacing: -0.01em;
  color: #222;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (max-width: 900px) {
  .dam-hero-title {
    font-size: 2.1rem;
    margin-top: 0.7rem;
  }
}
.dam-module-float h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.7rem 0 0.7rem 0;
  color: #222;
  text-align: center;
  width: 100%;
  max-width: 340px;
  white-space: normal;
  word-break: keep-all;
}
@media (max-width: 900px) {
  .dam-module-float h2 {
    font-size: 1.08rem;
    max-width: 220px;
  }
}

@media (max-width: 900px) {
  .dam-module-float h2 {
    font-size: 1.25rem;
    max-width: 220px;
  }
}

@media (max-width: 900px) {
  .dam-module-grid-float {
    gap: 2vw;
  }
  .dam-module-icon-float {
    height: 110px;
  }
}
@media (max-width: 600px) {
  .dam-module-grid-float {
    flex-direction: column;
    align-items: center;

.btn-gray {
  background: #f5f5f5;
  color: #222;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  margin-top: 1.1rem;
  display: inline-block;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-gray:hover {
  background: #e5e5e5;
  color: #e30613;
}


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

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