@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #000A29;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 48px;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: background 0.3s ease, transform 0.2s ease;
}

.to-top-btn:hover {
  background-color: #333a5c;
  transform: scale(1.05);
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f7f7f7;
    color: #000A29;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    font-style: normal;
}

/* Navigation */
.navbar {
    width: 100%;
    background: none;
    box-shadow: none;
    padding: 0.8rem 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: static;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 10, 41, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #000A29;
    font-weight: 400;
    font-size: 1.05rem;
    font-family: 'Roboto', sans-serif;
    transition: color 0.2s;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover {
    color: #555;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #000A29;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar-separator {
    height: 4px;
    background-color: #BEE7DF;
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: none;
    color: #000A29;
    padding: 3.5rem 1rem 4rem 1rem;
}

.hero-content h1 {
    font-family: 'Inria Serif', serif;
    font-size: 3rem;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #000A29;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif;
}

.cta-button {
    display: inline-block;
    padding: 0.7rem 1.7rem;
    background: #000B28;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #333a5c;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.hero-image {
    width: 90vw;
    max-width: 1300px;
    aspect-ratio: 2.3/1;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: none;
    background: #eee;
    border: 6px solid #BEE7DF;
}

.hero-icon {
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin-left: 0.7rem;
    object-fit: contain;
    opacity: 0.8;
}

.services {
    padding: 4rem 0 2rem 0;
    background: none;
}

.services h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
    width: 100%;
    display: block;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10rem;
    margin-bottom: 8rem;
}

.service-card {
    background: none;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    min-width: 220px;
}

.service-card i {
    font-size: 2.2rem;
    color: #000A29;
    margin-bottom: 1rem;
}

.service-card h3, .service-card p {
    text-align: center;
    width: 100%;
}

.service-card h3 {
    margin-bottom: 0.7rem;
    color: #000A29;
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.service-card p {
    color: #000A29;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    max-width: 320px;
    margin: 0 auto;
}

.service-icon {
    display: block;
    margin: 0 auto 0.7rem auto;
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.7;
}

/* About Section */
.about {
    margin-top: 5rem;
    padding: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #000A29;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 3rem;
}

.about-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.about-image {
    width: 90vw;
    max-width: 1300px;
    aspect-ratio: 2.3/1;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: none;
    background: #eee;
    border: 6px solid #BEE7DF;
}

/* Contact Section */
.contact {
    padding: 1.5rem 0 2rem 0;
    background: none;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    color: #000A29;
    font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    padding: 0.7rem 1.7rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: #333;
}

.contact-form-iframe {
    max-width: 1300px;
    width: 90vw;
    margin: 0 auto;
    padding: 2rem;
}

/* Footer */
footer {
    background: none;
    border-top: 1px solid #eee;
    background-color: #000A29;
    color: #ffffff;
    padding: 3rem 2rem 1.5rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    padding: 0 2rem;
    flex-direction: row;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
}

.footer-section {
    text-align: center;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
}

.footer-section p {
    font-family: 'Roboto', sans-serif;
    color: #ccc;
}

.footer-bottom p {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #555;
}

.footer-links span {
    color: #aaa;
}

.footer-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.footer-left a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-left i {
  font-size: 1.3rem;
}

.footer-left span {
  font-size: 1.05rem;
}

.footer-left a:hover {
  color: #BEE7DF;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  color: #ffffff;
}

.footer-right a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  font-size: 1.05rem;
  line-height: 1.4;
}

.footer-right a:hover {
  color: #BEE7DF;
}

.footer-right span {
  color: #aaa;
}

.linkedin-link {
    display: block;
    text-align: center;
    margin-top: 0.7rem;
    color: #000A29;
    font-size: 1rem;
    word-break: break-all;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .services-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1rem 0 1rem;
    }
    .nav-links {
        margin-top: 1rem;
        gap: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

.resources-section {
    background: #ececec;
    padding: 8rem 0 3rem 0;
}

.resources-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.resources-text {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    align-self: center;
}

.resources-text h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #000A29;
}

.resources-text p {
    text-align: center;
    font-size: 1.15rem;
    color: #000A29;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif;
}

.resources-text ul {
    text-align: left;
    margin: 0 auto;
    display: table;
}

.resources-text li {
    text-align: left;
}

.resources-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.resources-image {
    width: 100%;
    height: 100%;
    max-width: 520px;
    aspect-ratio: 2.3/1;
    object-fit: cover;
    border-radius: 2rem;
    background: #eee;
    border: 6px solid #BEE7DF;
}

.services h2,
.about h2,
.resources-text h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    font-style: normal;
    color: #000A29;
}

.resources-headline {
    text-align: center;
    font-style: normal;
    font-size: 2.2rem;
    margin-top: -2cm;
    margin-bottom: 3rem;
}

.resources-grid .resources-text h2 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 1rem !important;
} 

.team {
    padding: 6rem 1rem;
    background-color: #f7f7f7;
    text-align: center;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    font-style: normal;
    color: #000A29;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #BEE7DF;
    background: #eee;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 1rem;
    color: #000A29;
    max-width: 160px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.team-member .member-name {
    font-size: 1rem;
    font-weight: 500;
    color: #000A29;
    font-family: 'Roboto', sans-serif;
}

.team-member .member-role {
    font-size: 0.95rem;
    color: #000A29;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 0.5rem;
}

.linkedin-icon {
    color: #000B28;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.linkedin-icon:hover {
    color: #333a5c;
}

.team-row-centered {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.resources-card-text {
    width: 100%;
    max-width: 700px;
    aspect-ratio: unset;
    min-height: 220px;
    background-color: #000A29;
    border-radius: 2rem;
    border: 6px solid #BEE7DF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    color: #fff;
}

.card-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.card-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    opacity: 0.9;
    color: #ffffff;
}

/* Imprint page */
.impressum {
    margin-top: 5rem;
    padding: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0rem;
}

.impressum h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
}

.impressum-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #000A29;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.impressum p,
.impressum ul,
.impressum li {
  margin-bottom: 1.5rem; /* Adjust value to your preference */
  line-height: 1.6;
}

.imprint {
    margin-top: 2rem;
    padding: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imprint h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
}

.imprint-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #000A29;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 3rem;
}

.imprint p,
.imprint ul,
.imprint li {
  margin-bottom: 1.5rem; /* Adjust value to your preference */
  line-height: 1.6;
}

/* Data privacy page */
.datenschutz {
    margin-top: 5rem;
    padding: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0rem;
}

.datenschutz h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
}

.datenschutz-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #000A29;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.datenschutz p,
.datenschutz ul,
.datenschutz li {
  margin-bottom: 1.5rem; /* Adjust value to your preference */
  line-height: 1.6;
}

.dataprivacy {
    margin-top: 2rem;
    padding: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dataprivacy h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #000A29;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
}

.dataprivacy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #000A29;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 3rem;
}

.dataprivacy p,
.dataprivacy ul,
.dataprivacy li {
  margin-bottom: 1.5rem; /* Adjust value to your preference */
  line-height: 1.6;
}

/* Privacy banner */

.privacy-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000A29;
  color: #ffffff;
  font-size: 0.6rem;
  font-family: 'Roboto', sans-serif;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1rem;
}

.privacy-banner {
  text-align: center;
  flex: 1;
}

.privacy-banner a {
  color: #BEE7DF;
  text-decoration: underline;
}

.privacy-banner a:hover {
  color: #ffffff;
}

.dismiss-button {
  cursor: pointer;
  color: #fff;
  margin-left: 1rem;
  margin-right: 0.3rem;
  font-size: 1.5rem;
  padding: 0 0.5rem;
  user-select: none;
}

.dismiss-checkbox:checked + .privacy-banner-wrapper {
  display: none;
}
