:root {
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --color-text: #3b2f2f;            /* Dunkles Braun */
  --color-muted: #7a6e6e;           /* Weiches Grau-Braun */
  --color-border: #d9c8ba;          /* Helles Creme */
--color-bg: #ffffff; /* Weiß */
  --color-accent: #b46846;          /* Warmer Terrakotta-Ton */
  --color-accent-dark: #8f4a2e;     /* Dunklerer Terrakotta-Akzent */
  --color-shadow: rgba(180, 104, 70, 0.15); /* Sanfter Schatten */

  --radius: 10px;
  --max-width: 900px;
  --spacing: 2rem;
}


.intro-block {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(147, 51, 234, 0.06));
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

/* Basis-Stile */
body {
  font-family: var(--font-main);
  line-height: 1.65;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  text-align: left; /* Grundtext linksbündig */
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing);

  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Weniger Abstand zwischen Sektionen */
}

.about-me {
  padding: 2rem;
  border-radius: 1rem;
  
  text-align: center;
}


/* Header */
header {
  text-align: center;
  margin-bottom: 1rem; /* Weniger Abstand zum nächsten Bereich */
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
color: #000
}


.subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  font-weight: 400;
  margin: 0;
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid linear-gradient(135deg, #8c82fc, #6b65d8);
  box-shadow: 0 6px 15px var(--color-shadow);
  display: block;
  margin: 2rem auto 3rem;
  pointer-events: auto;
}


/* Sektionen */
section {
  margin-bottom: 1.5rem; /* Weniger Abstand unter Sektionen */
  text-align: left; /* Text linksbündig */
}

.about-me {
  text-align: center;
}



/* Überschriften Sektionen */
h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #b388ff, #80d8ff) 1;
  padding-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-align: left;
  color: #000; /* Schwarz, da Verlauf im Strich */
}


/* Job- & Ausbildungskacheln */
.job, .edu {
  background: #fff;
  border: 1px solid #000; /* Schwarz statt Creme */
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px var(--color-shadow);
  cursor: default;
  text-align: left;
  transition: none;
}


.job:last-child,
.edu:last-child {
  margin-bottom: 0;
}

.job:hover, .edu:hover {
  background: #fff;           /* kein Farbwechsel */
  box-shadow: 0 6px 18px var(--color-shadow); /* kein zusätzlicher Schatten */
  transform: none;
}

.education {
  padding-bottom: 5rem;
}

/* Links */
.links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.links li {
  margin-bottom: 0.6rem;
}

.links a {
  color: #000; /* Schwarz */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}


/* Footer */
footer {
  text-align: left;
  color: #000; /* Schwarz */;
  font-size: 0.95rem;
  margin-top: 4rem;
  font-style: italic;
}

/* Portfolio Grid */
.portfolio {
  margin-top: 2.5rem;
}

.portfolio h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem; /* weniger Abstand */
  text-align: left;
}

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* weniger Abstand zwischen Projekt-Karten */
}


.project-card {
  background: #ffffff; /* Hellgrau */
border: 1px solid #444;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-decoration: none;
color: #000; /* für Haupttext */
  box-shadow: 0 8px 22px rgba(180, 104, 70, 0.18);
  transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.project-card:hover {
  background: linear-gradient(135deg, #b388ff, #80d8ff);
  box-shadow: 0 20px 40px rgba(128, 216, 255, 0.5);
  transform: translateY(-10px) scale(1.02);
  color: #000; /* schwarzer Standardtext */
}

.project-card:hover h3,
.project-card:hover p {
  color: #000; /* sorgt dafür, dass auch Titel & Beschreibung schwarz bleiben */
}


.project-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #000; /* <-- Jetzt schwarz */
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-align: left;
}


.project-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-align: left;
}

.downloads ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.downloads li {
  margin-bottom: 0.8rem;
}

.downloads a {
  color: #000; /* Schwarz */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.downloads a::before {
  content: "📎 ";
  margin-right: 0.2rem;
}

.links a:hover,
.downloads a:hover {
  color: transparent;
  background-image: linear-gradient(90deg, #b388ff, #80d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  text-decoration: none;
}

.emoji {
  margin-right: 0.5rem;
}
