/* ===== Farbschema "Marine und Sand" ===== */
/* Marine #1b2a41 · Marine dunkel #141f31 · Sand #c8963e · Sand dunkel (Text) #9a6a1e · Off-White #f5f1ea · Papier #faf8f4 */

body { color: #3a3f47; }

/* Navigation */
.navbar-default { background: #faf8f4; border-bottom: 1px solid #e8e2d6; }
.navbar-default .navbar-brand { color: #1b2a41; }
.navbar ul.nav > li > a:hover,
.navbar ul.nav > li.active > a,
.navbar ul.nav > li.open > a { border-top-color: #c8963e; }

/* Links */
a { color: #1b2a41; }
a:hover, a:focus { color: #9a6a1e; }

/* Farbige Abschnitte: flaches Marine statt Verlauf */
.text-gradient {
  background: #1b2a41 !important;
  background-image: none !important;
  filter: none !important;
  color: #f5f1ea;
}
.text-gradient h2.title { border-color: #c8963e; color: #f5f1ea; }
.text-gradient a { color: #e2c48a; }
.text-gradient a:hover { color: #ffffff; }

/* Helle Abschnitte: warmes Off-White statt Grau */
.text-gray { background: #f5f1ea !important; }
@media (max-width: 1199px) { .text-gray { background: #f5f1ea !important; } }

/* Überschriften der Abschnitte */
.section h2.title { color: #1b2a41; border-color: #c8963e; }

/* Footer */
#footer { background: #141f31; color: #a9b1be; }

/* Überschriften und Buttons auf Marine-Flächen (höhere Spezifität) */
.section.text-gradient h2.title { color: #f5f1ea; border-color: #c8963e; }
.section.text-gradient .btn,
.section.text-gradient .btn-primary { background: transparent; color: #f5f1ea; border: 1px solid #c8963e; }
.section.text-gradient .btn:hover,
.section.text-gradient .btn-primary:hover { background: #c8963e; color: #1b2a41; }

/* Social-Icons im Footer passend zum Schema */
#footer p.social a { background: #2a3d5c !important; color: #e2c48a !important; }
#footer p.social a:hover { background: #c8963e !important; color: #141f31 !important; }

/* ===== Neuer Kopfbereich (ersetzt das Vollbild-Foto) ===== */
#intro.hero-marine { background: #141f31; color: #f5f1ea; height: auto !important; padding: 140px 0 80px; border-bottom: 3px solid #c8963e; }
.hero-row { display: flex; align-items: center; flex-wrap: wrap; }
.hero-kicker { color: #c8963e; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin-bottom: 6px; }
.hero-marine h1 { font-family: 'Roboto Slab', serif; font-size: 56px; font-weight: 400; color: #f5f1ea; margin: 6px 0 22px; text-transform: none; }
.hero-role { font-size: 18px; line-height: 1.6; color: #e2d6bf; margin-bottom: 18px; }
.hero-lead { font-size: 16px; line-height: 1.6; color: #a9b1be; max-width: 470px; margin-bottom: 26px; }
.hero-btn { background: #c8963e; color: #141f31 !important; border: 1px solid #c8963e; padding: 10px 24px; margin-right: 8px; border-radius: 3px; }
.hero-btn:hover { background: #e2c48a; border-color: #e2c48a; }
.hero-btn-ghost { background: transparent; color: #f5f1ea !important; }
.hero-btn-ghost:hover { background: rgba(200,150,62,.15); }
.hero-collage { max-width: 500px; margin: 0 auto; }
@media (max-width: 991px) {
  #intro.hero-marine { padding: 110px 0 50px; }
  .hero-marine h1 { font-size: 40px; }
  .hero-row > div { width: 100%; }
  .hero-collage { width: 100%; max-width: 380px; margin-top: 40px; }
}

/* Publikationslisten (aus publications.bib erzeugt) */
p.pub { margin: 0 0 12px 0; line-height: 1.5; }
p.pub em { font-style: italic; }

/* Teaching: Ueberschriften nach Universitaet */
h4.teach-place { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: #c8963e; margin: 25px 0 12px; }

/* Collaborations: Abstand zwischen den Reihen */
#Collaborationpartners .row { margin-bottom: 30px; }

/* Handy: kein seitliches Scrollen durch verschachtelte Bootstrap-Reihen */
@media (max-width: 767px) {
  #about .row .row { margin-left: 0; margin-right: 0; }
  #about img.img-circle { margin-bottom: 20px; }
}
