:root {
    --primary-color: #346394;
    --secondary-color: #003063;
    --text-color: #ffffff;
    --font-family: 'Titillium Web', sans-serif;
}

/* General body styles */
html, body {
    font-size: 0.9rem;
    height: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 70px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    overflow-y: scroll;
}

a:visited {
    color: var(--primary-color) !important;
}

/* Top Section */
.top-section {
    background-color: white;
    padding: 16px 20px 8px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.top-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 6px;
}

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

.logo {
    width: 12vw;
    max-width: 100px;
    height: auto;
    margin-right: 15px;
}

.flag-container {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: 50px;
    height: auto;
}

.flag-icon {
    width: 6vw;
    max-width: 50px;
    height: auto;
}

.name-subtitle {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.name-subtitle h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
    line-height: 1;
}

.first-name, .last-name {
    font-size: 1em;
    font-family: var(--font-family);
}

.first-name {
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: -0.06em;
}

.last-name {
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    font-family: var(--font-family);
    font-weight: 300;
    line-height: 1.1;
    margin-top: 0;
}

.experience {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.tagline {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1.3;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 10px 20px 18px;;        
  background: none;
  margin: 0;
}

.hero-left {
  padding: 0;
  margin: 0;
}

.hero-left h2,
.hero-left p {
  padding: 0;
  margin: 0;
}

/* Blue Section */
.blue-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    background-color: var(--primary-color);
    padding: 20px;
    color: var(--text-color);
    align-items: start;
}

.blue-left {
    padding-top: 0;
    padding-bottom: 20px;
    margin: 0;
}

.blue-left h2, .blue-left h3, .blue-left p, .blue-left ul {
    margin: 0;
    padding: 0;
}

.blue-left h3.selected-cases {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.65);
}

.blue-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: auto;
    box-sizing: border-box;
}

/* Selected cases link list */
.selected-cases-list {
  list-style: none;
  padding-left: 0;
}

.selected-cases-list li {
  margin-bottom: 8px;
}

.selected-cases-list a {
  color: #ffffff;
  text-decoration: none !important;   /* ← THIS is the key */
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
}

.selected-cases-list a:hover {
  border-bottom-color: #ffffff;
}


.profile-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    max-height: 350px;
}

.blue-section ul {
    font-size: 0.9rem;
    padding-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
}

.blue-section li {
    margin-bottom: 5px;
    line-height: 1.5;
    padding-left: 0;
}

.blue-section h3, .blue-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    padding-left: 0px;
    color: var(--text-color);
}



/* ============================================================
   ACCORDION – light, readable list style
   ============================================================ */

.accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  background-color: rgba(53, 98, 140, 0.04);   /* permanent light tint */
  color: var(--primary-color);
  cursor: pointer;

  padding: 12px 16px;
  width: 100%;
  text-align: left;

  border: none;
  border-bottom: 1px solid rgba(53, 98, 140, 0.22);

  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.3;
}

/* Hover state – subtle, calm */
.accordion:hover {
  background-color: rgba(53, 98, 140, 0.08);
}

/* Active (open) state */
.accordion.active {
  background-color: rgba(53, 98, 140, 0.12);
}

/* Chevron */
.accordion i {
  flex: 0 0 auto;
  color: rgba(53, 98, 140, 0.9);
  transition: transform 0.2s ease;
}

.accordion.active i {
  transform: rotate(180deg);
}

/* ============================================================
   ACCORDION HEADER CONTENT
   ============================================================ */

.accordion .acc-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Top line: role + company */
.accordion .acc-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.accordion .acc-role {
  font-weight: 500;                            /* primary emphasis */
}

.accordion .acc-company {
  font-weight: 400;
  color: rgba(53, 98, 140, 0.85);
}

/* Second line: date / meta */
.accordion .acc-meta {
  font-size: 0.85em;
  color: rgba(53, 98, 140, 0.75);
}

/* ============================================================
   PANEL (kept minimal and safe)
   ============================================================ */

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
}

.panel.show {
  display: block;
  padding: 10px 18px 14px;
}




/* Profile */
.profile-container {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Experience Heading */
.experience-heading {
    color: var(--secondary-color);
    font-family: var(--font-family);
    font-size: 1.1rem;
    padding-left: 20px;
    margin: 20px 0 10px 0;
    font-weight: 400;
}

/* Strong tags in descriptions */
.description strong {
    color: var(--primary-color) !important;
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Optional Enhancement: Blue-section links */
.blue-section a,
.blue-section a:visited {
    color: white !important;
    text-decoration: underline;
}

.blue-section a:hover {
    color: #e0e0e0;
}


/* Download page */

.downloads-page {
  padding: 0;
}

.downloads-hero {
  background: #35628c; /* use your existing blue */
  color: #fff;
  padding: 28px 20px;
}

.downloads-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.downloads-hero h2 {
  margin: 0 0 6px;
}

.downloads-hero p {
  margin: 0;
  opacity: 0.9;
}

.downloads-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.download-card {
  max-width: 720px;
  background: #ffffff;
  /* border-radius: 6px; */
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 22px 26px;

  /* drop shadow */
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

.download-list a {
  color: #1f3f5f;              /* same tone as footer links */
  text-decoration: none;
  font-weight: 400;
}

.download-list a:hover {
  text-decoration: underline;
}


/* ===== Legal pages (Impressum, Datenschutz etc.) ===== */
.legal-page {
  padding: 0;
}

.legal-hero {
  background: #35628c; /* use your site blue */
  color: #fff;
  padding: 28px 20px;
}

.legal-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-hero h2 {
  margin: 0 0 6px;
}

.legal-hero p {
  margin: 0;
  opacity: 0.9;
}

.legal-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.legal-card {
  max-width: 760px;
  background: #fff;
  border-radius: 6px;
  padding: 22px 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 1px 3px rgba(0, 0, 0, 0.06);
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card a {
  color: inherit;           /* same “footer-like” link behavior */
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}
